Searched refs:uring (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/lib/ |
D | tst_safe_io_uring.c | 12 struct tst_io_uring *uring) in safe_io_uring_init() argument 15 uring->fd = io_uring_setup(entries, params); in safe_io_uring_init() 17 if (uring->fd == -1) { in safe_io_uring_init() 23 return uring->fd; in safe_io_uring_init() 24 } else if (uring->fd < 0) { in safe_io_uring_init() 27 uring->fd); in safe_io_uring_init() 28 return uring->fd; in safe_io_uring_init() 31 uring->sqr_size = params->sq_entries; in safe_io_uring_init() 32 uring->cqr_size = params->cq_entries; in safe_io_uring_init() 33 uring->sqr_mapsize = params->sq_off.array + in safe_io_uring_init() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring02.c | 44 static struct tst_io_uring uring = { .fd = -1 }; variable 92 struct io_uring_sqe *sqe_ptr = uring.sqr_entries; in drain_fallback() 101 for (i = 0, tail = *uring.sqr_tail; i < 255; i++, tail++, sqe_ptr++) { in drain_fallback() 108 uring.sqr_array[tail & *uring.sqr_mask] = i; in drain_fallback() 118 uring.sqr_array[tail & *uring.sqr_mask] = i; in drain_fallback() 122 __atomic_store(uring.sqr_tail, &tail, __ATOMIC_RELEASE); in drain_fallback() 123 SAFE_IO_URING_ENTER(1, uring.fd, count, count, IORING_ENTER_GETEVENTS, in drain_fallback() 127 __atomic_load(uring.cqr_tail, &tail, __ATOMIC_ACQUIRE); in drain_fallback() 129 for (i = *uring.cqr_head; i != tail; i++, count--) { in drain_fallback() 130 cqe_ptr = uring.cqr_entries + (i & *uring.cqr_mask); in drain_fallback() [all …]
|
/third_party/ltp/include/ |
D | tst_safe_io_uring.h | 36 #define SAFE_IO_URING_INIT(entries, params, uring) \ argument 37 safe_io_uring_init(__FILE__, __LINE__, (entries), (params), (uring)) 40 struct tst_io_uring *uring); 46 #define SAFE_IO_URING_CLOSE(uring) \ argument 47 safe_io_uring_close(__FILE__, __LINE__, (uring)) 49 struct tst_io_uring *uring);
|
/third_party/node/tools/lint-md/ |
D | lint-md.mjs | 2874 uring: 'ů', property
|