Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__io_accept

Proto:static int __io_accept(struct io_kiocb *req, struct io_kiocb **nxt, bool force_nonblock)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
struct io_kiocb **nxt
boolforce_nonblock
2378  accept = accept
2382  file_flags = If force_nonblock Then O_NONBLOCK Else 0
2383  ret = __sys_accept4_file(file, file_flags, addr, addr_len, flags)
2385  If ret == -EAGAIN && force_nonblock Then Return -EAGAIN
2387  If ret == -These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see. Then ret = -EINTR
2389  If ret < 0 Then req_set_fail_links(req)
2391  io_cqring_add_event(req, ret)
2392  Drop reference to request, return next in chain (if there is one) if this* was the last reference to this request.
2393  Return 0
Caller
NameDescribe
io_accept_finish
io_accept