Sha256: 3aa90a26b1837c136bae30cafef7b22c1515245b5ac73bcfd151dc33bf7ad3b4

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

/* 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
uringmachine-0.5.1 vendor/liburing/src/int_flags.h
uringmachine-0.5 vendor/liburing/src/int_flags.h