blob: 7cfdd3c4d8250fc166a95a63b82f2e9db74db09f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* SPDX-License-Identifier: MIT */
#ifndef LIBURING_INT_FLAGS
#define LIBURING_INT_FLAGS
#define INT_FLAGS_MASK (IORING_ENTER_REGISTERED_RING)
enum {
INT_FLAG_REG_RING = IORING_ENTER_REGISTERED_RING,
INT_FLAG_REG_REG_RING = 1,
INT_FLAG_APP_MEM = 2,
};
static inline int ring_enter_flags(struct io_uring *ring)
{
return ring->int_flags & INT_FLAGS_MASK;
}
#endif
|