Lines Matching refs:params

430 int uv__io_uring_setup(int entries, struct uv__io_uring_params* params) {  in uv__io_uring_setup()  argument
431 return syscall(__NR_io_uring_setup, entries, params); in uv__io_uring_setup()
504 struct uv__io_uring_params params; in uv__iou_init() local
531 memset(&params, 0, sizeof(params)); in uv__iou_init()
532 params.flags = flags | no_sqarray; in uv__iou_init()
535 params.sq_thread_idle = 10; /* milliseconds */ in uv__iou_init()
538 ringfd = uv__io_uring_setup(entries, &params); in uv__iou_init()
545 if (!(params.features & UV__IORING_FEAT_RSRC_TAGS)) in uv__iou_init()
549 if (!(params.features & UV__IORING_FEAT_SINGLE_MMAP)) in uv__iou_init()
553 if (!(params.features & UV__IORING_FEAT_NODROP)) in uv__iou_init()
556 sqlen = params.sq_off.array + params.sq_entries * sizeof(uint32_t); in uv__iou_init()
558 params.cq_off.cqes + params.cq_entries * sizeof(struct uv__io_uring_cqe); in uv__iou_init()
560 sqelen = params.sq_entries * sizeof(struct uv__io_uring_sqe); in uv__iou_init()
591 iou->sqhead = (uint32_t*) (sq + params.sq_off.head); in uv__iou_init()
592 iou->sqtail = (uint32_t*) (sq + params.sq_off.tail); in uv__iou_init()
593 iou->sqmask = *(uint32_t*) (sq + params.sq_off.ring_mask); in uv__iou_init()
594 iou->sqflags = (uint32_t*) (sq + params.sq_off.flags); in uv__iou_init()
595 iou->cqhead = (uint32_t*) (sq + params.cq_off.head); in uv__iou_init()
596 iou->cqtail = (uint32_t*) (sq + params.cq_off.tail); in uv__iou_init()
597 iou->cqmask = *(uint32_t*) (sq + params.cq_off.ring_mask); in uv__iou_init()
599 iou->cqe = sq + params.cq_off.cqes; in uv__iou_init()
611 sqarray = (uint32_t*) (sq + params.sq_off.array); in uv__iou_init()