Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 36 files:
- crypto/algif_aead.c
- crypto/algif_rng.c
- crypto/algif_skcipher.c
- drivers/net/ppp/pppoe.c, line 1047
- drivers/net/ppp/pptp.c, line 629
- net/atm/pvc.c, line 114
- net/bluetooth/bnep/sock.c, line 185
- net/bluetooth/hci_sock.c, line 2192
- net/bluetooth/hidp/sock.c, line 236
- net/can/bcm.c, line 2116
- net/can/isotp.c, line 2012
- net/can/j1939/socket.c, line 1381
- net/can/raw.c, line 1074
- net/core/sock.c, line 3554
- net/ieee802154/socket.c
- net/ipv4/af_inet.c
- net/ipv6/af_inet6.c, line 703
- net/ipv6/raw.c, line 1294
- net/kcm/kcmsock.c
- net/key/af_key.c, line 3780
- net/l2tp/l2tp_ip.c, line 635
- net/l2tp/l2tp_ip6.c, line 764
- net/l2tp/l2tp_ppp.c, line 1643
- net/mctp/af_mctp.c, line 634
- net/netlink/af_netlink.c, line 2815
- net/nfc/llcp_sock.c, line 954
- net/nfc/rawsock.c
- net/packet/af_packet.c
- net/phonet/socket.c, line 440
- net/qrtr/af_qrtr.c, line 1238
- net/rds/af_rds.c, line 653
- net/rxrpc/af_rxrpc.c, line 1007
- net/tipc/socket.c, line 3366
- net/unix/af_unix.c, line 1000
- net/vmw_vsock/af_vsock.c, line 1633
- net/xdp/xsk.c, line 2142
Smatch caller information:
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 |