Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sunrpc/svcsock.c svc_addsock() -> svc_setup_socket()

Type Parameter Key Value
PARAM_VALUE 1 sock 4096-ptr_max
PARAM_VALUE 1 sock->sk 4096-ptr_max
PARAM_VALUE 1 sock->sk->__sk_common.skc_family 2,10
PARAM_VALUE 1 sock->sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 1 sock->sk->sk_protocol 6,17
PARAM_VALUE 1 sock->state 0-1
PARAM_VALUE 2 flags 0
BUF_SIZE 1 sock s32min-(-2),1-s32max
BUF_SIZE 1 sock s32min-(-2),1-s32max
CAPPED_DATA 1 sock->sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 serv $0
DATA_SOURCE 1 sock r sockfd_lookup
FUZZY_MAX 1 sock->state 1
BIT_INFO 1 sock->sk->__sk_common.skc_family 0x2,0xa
BIT_INFO 1 sock->sk->sk_protocol 0x0,0x17
HARD_MAX 1 sock->state 1
LOCK2 global &nfsd_mutex

net/sunrpc/svcsock.c svc_create_socket() -> svc_setup_socket()

Type Parameter Key Value
PARAM_VALUE 1 sock 4096-ptr_max
PARAM_VALUE 1 sock->sk 4096-ptr_max
PARAM_VALUE 1 sock->sk->sk_lock.owned 0-1
PARAM_VALUE 2 flags 0-1
BUF_SIZE 0 serv (-1),368
BUF_SIZE 0 serv (-1),368
CAPPED_DATA 1 sock->sk 1
DATA_SOURCE 0 serv $0
DATA_SOURCE 2 flags $5
STR_LEN 0 serv (-1),3
STR_LEN 0 serv (-1),3
HARD_MAX 2 flags 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nfsd_mutex

net/sunrpc/svcsock.c svc_tcp_accept() -> svc_setup_socket()

Type Parameter Key Value
PARAM_VALUE 1 sock 4096-ptr_max
PARAM_VALUE 1 sock->file 0,4096-ptr_max
PARAM_VALUE 1 sock->file->__f_path.dentry 4096-ptr_max
PARAM_VALUE 1 sock->file->__f_path.mnt 0
PARAM_VALUE 1 sock->file->f_cred 0,4096-ptr_max
PARAM_VALUE 1 sock->file->f_ep 0
PARAM_VALUE 1 sock->file->f_flags 0-18433,32770
PARAM_VALUE 1 sock->file->f_inode 4096-ptr_max
PARAM_VALUE 1 sock->file->f_iocb_flags 0,2,16,18,131072,131074,131088,131090
PARAM_VALUE 1 sock->file->f_mapping 4096-ptr_max
PARAM_VALUE 1 sock->file->f_mode 167772160,168296448-705560583
PARAM_VALUE 1 sock->file->f_op 4096-ptr_max
PARAM_VALUE 1 sock->file->f_owner 0
PARAM_VALUE 1 sock->file->f_pos 0
PARAM_VALUE 1 sock->file->f_pos_lock.first_waiter 0
PARAM_VALUE 1 sock->file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 1 sock->file->f_pos_lock.owner.counter 0
PARAM_VALUE 1 sock->file->f_ra.async_size 0
PARAM_VALUE 1 sock->file->f_ra.mmap_miss 0
PARAM_VALUE 1 sock->file->f_ra.order 0
PARAM_VALUE 1 sock->file->f_ra.prev_pos 0
PARAM_VALUE 1 sock->file->f_ra.ra_pages 0
PARAM_VALUE 1 sock->file->f_ra.size 0
PARAM_VALUE 1 sock->file->f_ra.start 0
PARAM_VALUE 1 sock->file->f_ref.refcnt.counter 0
PARAM_VALUE 1 sock->file->f_sb_err 0
PARAM_VALUE 1 sock->file->f_wb_err 0
PARAM_VALUE 1 sock->file->private_data 0
PARAM_VALUE 1 sock->sk 4096-ptr_max
PARAM_VALUE 1 sock->sk->sk_sndtimeo 7500
PARAM_VALUE 2 flags 3