Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/xen/pvcalls-back.c __pvcalls_back_accept() -> inet_accept()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 1 newsock 4096-ptr_max
PARAM_VALUE 2 arg 7819251174321094656
PARAM_VALUE 2 arg->err 0
PARAM_VALUE 2 arg->flags 2048
PARAM_VALUE 2 arg->is_empty 0
PARAM_VALUE 2 arg->kern 1
BUF_SIZE 1 newsock 192
DATA_SOURCE 1 newsock r sock_alloc
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_accept_one() -> (struct proto_ops)->accept()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 1 newsock 4096-ptr_max
PARAM_VALUE 1 newsock->ops 4096-ptr_max
PARAM_VALUE 2 arg 5574709596003188736
PARAM_VALUE 2 arg->err 0
PARAM_VALUE 2 arg->flags 2048
PARAM_VALUE 2 arg->is_empty 0
PARAM_VALUE 2 arg->kern 0
DATA_SOURCE 0 sock $0
CONTAINER 0 -48-32+0 $(-1)
HALF_LOCKED2 &pool->lock

net/socket.c do_accept() -> (struct proto_ops)->accept()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->file 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->ops->owner 0,4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_prot_creator 4096-ptr_max
PARAM_VALUE 1 newsock 4096-ptr_max
PARAM_VALUE 1 newsock->file 4096-ptr_max
PARAM_VALUE 1 newsock->file->__f_path.dentry 4096-ptr_max
PARAM_VALUE 1 newsock->file->__f_path.mnt 0
PARAM_VALUE 1 newsock->file->f_cred 0,4096-ptr_max
PARAM_VALUE 1 newsock->file->f_ep 0
PARAM_VALUE 1 newsock->file->f_flags 0-18433,32770
PARAM_VALUE 1 newsock->file->f_inode 4096-ptr_max
PARAM_VALUE 1 newsock->file->f_iocb_flags 0,2,16,18,131072,131074,131088,131090
PARAM_VALUE 1 newsock->file->f_mapping 4096-ptr_max
PARAM_VALUE 1 newsock->file->f_mode 167772160,168296448-705560583
PARAM_VALUE 1 newsock->file->f_op 4096-ptr_max
PARAM_VALUE 1 newsock->file->f_owner 0
PARAM_VALUE 1 newsock->file->f_pos 0
PARAM_VALUE 1 newsock->file->f_pos_lock.first_waiter 0
PARAM_VALUE 1 newsock->file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 1 newsock->file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 1 newsock->file->f_pos_lock.owner.counter 0
PARAM_VALUE 1 newsock->file->f_ra.async_size 0
PARAM_VALUE 1 newsock->file->f_ra.mmap_miss 0
PARAM_VALUE 1 newsock->file->f_ra.order 0
PARAM_VALUE 1 newsock->file->f_ra.prev_pos 0
PARAM_VALUE 1 newsock->file->f_ra.ra_pages 0
PARAM_VALUE 1 newsock->file->f_ra.size 0
PARAM_VALUE 1 newsock->file->f_ra.start 0
PARAM_VALUE 1 newsock->file->f_ref.refcnt.counter 0
PARAM_VALUE 1 newsock->file->f_sb_err 0
PARAM_VALUE 1 newsock->file->f_wb_err 0
PARAM_VALUE 1 newsock->file->private_data 0
PARAM_VALUE 1 newsock->ops 4096-ptr_max
PARAM_VALUE 2 arg 2546821792761110528,9022666269616066560
PARAM_VALUE 2 arg->err 0
PARAM_VALUE 2 arg->is_empty (-1)-0
PARAM_VALUE 2 arg->kern 0
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 1 newsock 192
DATA_SOURCE 1 newsock r sock_alloc
DATA_SOURCE 2 arg $1
HARD_MAX 2 arg->is_empty 0
RX_PATH
TASK_NOT_RUNNING

net/socket.c kernel_accept() -> (struct proto_ops)->accept()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 1 newsock 0,4096-ptr_max
PARAM_VALUE 2 arg 4597830373140774912
PARAM_VALUE 2 arg->err 0
PARAM_VALUE 2 arg->flags 0,2048
PARAM_VALUE 2 arg->is_empty 0
PARAM_VALUE 2 arg->kern 1
DATA_SOURCE 0 sock $0
HALF_LOCKED2 &lsmc->clcsock_release_lock
HALF_LOCKED2 &rtn->rds_tcp_accept_lock
HALF_LOCKED2 global &rfcomm_mutex
HALF_LOCKED2 lsk