Defined in 2 files as a function:
Referenced in 21 files:
- net/can/af_can.c, line 176
- net/can/bcm.c, line 1993
- net/can/isotp.c, line 1528
- net/can/j1939/socket.c, line 670
- net/can/raw.c, line 457
- net/ieee802154/socket.c
- net/ipv4/inet_hashtables.c
- net/ipv4/inet_timewait_sock.c, line 153
- net/ipv4/ping.c
- net/ipv4/raw.c
- net/ipv4/udp.c
- net/ipv6/inet6_hashtables.c, line 364
- net/ipv6/ipv6_sockglue.c
- net/mptcp/protocol.c
- net/mptcp/token.c
- net/netlink/af_netlink.c
- net/packet/af_packet.c
- net/sctp/socket.c
- net/smc/af_smc.c
- net/unix/af_unix.c
- net/xdp/xsk.c
Smatch caller information:
net/can/raw.c raw_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
net/ipv4/ping.c ping_get_port() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| CAPPED_DATA | 0 | net | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &ping_table.lock | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct ping_table)->lock |
net/ipv4/ping.c ping_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &ping_table.lock | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct ping_table)->lock |
net/packet/af_packet.c packet_create() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 1943109656970969088 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | &net->packet.sklist_lock | 1 |
| DATA_SOURCE | 0 | net | $0 |
| NS_CAPABLE | 0 | 13 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| HALF_LOCKED2 | global &bt_proto_lock |
net/packet/af_packet.c packet_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| CAPPED_DATA | 0 | &net->packet.sklist_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
net/ipv4/raw.c raw_hash_sk() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/raw.c raw_unhash_sk() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &h->lock | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct raw_hashinfo)->lock |
net/sctp/socket.c sctp_clone_sock() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | sk |
net/sctp/socket.c sctp_destroy_sock() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
net/sctp/socket.c sctp_init_sock() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &bt_proto_lock |
net/ipv6/inet6_hashtables.c __inet6_check_established() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | sk |
net/can/bcm.c bcm_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
net/unix/af_unix.c unix_create1() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| UNITS | 0 | net | unit_byte |
net/unix/af_unix.c unix_sock_destructor() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/can/isotp.c isotp_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 447976096808783872 |
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->core.prot_inuse | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 6159194853380927488 |
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 447976096808783872 |
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->core.prot_inuse | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 1128835168651894784 |
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/mptcp/protocol.c mptcp_check_listen_stop() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
net/mptcp/protocol.c mptcp_listen() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &ls_lock | ||
| HALF_LOCKED2 | global &o2nm_cluster_group.cs_subsys.su_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
net/can/af_can.c can_create() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| HALF_LOCKED2 | global &bt_proto_lock |
net/ipv4/udp.c udp_lib_get_port() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hslot->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct udp_hslot)->lock |
net/ipv4/udp.c udp_lib_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &hslot->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct udp_hslot)->lock |
net/smc/af_smc.c smc_hash_sk() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/smc/af_smc.c smc_unhash_sk() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &h->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct smc_hashinfo)->lock |
net/ipv4/inet_hashtables.c __inet_check_established() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c __inet_hash_connect() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | val | (-1) |
| CAPPED_DATA | 0 | net | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &head->lock | ||
| LOCK2 | &head2->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &once_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |
net/ipv4/inet_hashtables.c inet_ehash_nolisten() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | &head2->lock | ||
| HALF_LOCKED2 | bh |
net/ipv4/inet_hashtables.c inet_hash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ilb2->lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_listen_hashbucket)->lock |
net/ipv4/inet_hashtables.c inet_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ilb2->lock | ||
| TYPE_LOCK | (struct inet_listen_hashbucket)->lock |
net/ipv4/inet_hashtables.c inet_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | lock | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk |
net/ieee802154/socket.c dgram_hash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ieee802154/socket.c dgram_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | global &dgram_lock | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk |
net/ieee802154/socket.c raw_hash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ieee802154/socket.c raw_unhash() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | global &raw_lock | ||
| HALF_LOCKED2 | lsk | ||
| HALF_LOCKED2 | sk |
net/xdp/xsk.c xsk_create() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 3342189397318651904 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | &net->xdp.lock | 1 |
| DATA_SOURCE | 0 | net | $0 |
| NS_CAPABLE | 0 | 13 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| HALF_LOCKED2 | global &bt_proto_lock |
net/xdp/xsk.c xsk_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| CAPPED_DATA | 0 | &net->xdp.lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
net/ipv4/inet_timewait_sock.c inet_twsk_hashdance_schedule() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| BUF_SIZE | 1 | prot | (-1),448 |
| BUF_SIZE | 1 | prot | (-1),448 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/mptcp/token.c mptcp_token_accept() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/mptcp/token.c mptcp_token_destroy() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
net/mptcp/token.c mptcp_token_new_connect() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/can/j1939/socket.c j1939_sk_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
net/netlink/af_netlink.c netlink_create() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 5642522392523481088 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| CAPPED_DATA | 0 | net | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| HALF_LOCKED2 | global &bt_proto_lock |
net/netlink/af_netlink.c netlink_release() -> sock_prot_inuse_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prot | 5642522392523481088 |
| PARAM_VALUE | 2 | val | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |