Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 1 of 1) sorted by relevance

/io_uring/
Dio_uring.c837 struct io_accept accept; member
5341 struct io_accept *accept = &req->accept; in io_accept_prep() local
5348 accept->addr = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_accept_prep()
5349 accept->addr_len = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_accept_prep()
5350 accept->flags = READ_ONCE(sqe->accept_flags); in io_accept_prep()
5351 accept->nofile = rlimit(RLIMIT_NOFILE); in io_accept_prep()
5353 accept->file_slot = READ_ONCE(sqe->file_index); in io_accept_prep()
5354 if (accept->file_slot && (accept->flags & SOCK_CLOEXEC)) in io_accept_prep()
5356 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
5358 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
[all …]