Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/filesystems.c, line 112
- include/net/sock.h
- io_uring/napi.c, line 84
- net/bridge/br_cfm.c
- net/bridge/br_mrp.c, line 543
- net/ipv4/udp.c, line 334
- sound/core/seq/seq_ports.c
Smatch caller information:
net/key/af_key.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pfkey_mutex | ||
| HALF_LOCKED2 | global &bt_proto_lock |
net/ipv4/ping.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &ping_table.lock | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct ping_table)->lock |
net/packet/af_packet.c sk_add_node_tail_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| NS_CAPABLE | 0 | 13 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->packet.sklist_lock | ||
| HALF_LOCKED2 | global &bt_proto_lock | ||
| TYPE_LOCK | (struct netns_packet)->sklist_lock |
net/bridge/br_mrp.c br_mrp_add() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv4/raw.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &h->lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct raw_hashinfo)->lock |
io_uring/napi.c __io_napi_add_id() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctx->napi_lock | ||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->napi_lock |
fs/filesystems.c register_filesystem() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 4347546821088374784 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &file_systems_lock | ||
| HALF_LOCKED2 | global &ffs_lock | ||
| HALF_LOCKED2 | global &func_lock |
net/phonet/socket.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pnsocks.lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/udp.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| PREEMPT_ADD | |||
| 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_get_port() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hslot->lock | ||
| LOCK2 | &hslot2->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct udp_hslot)->lock |
net/bridge/br_cfm.c br_cfm_cc_peer_mep_add() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/bridge/br_cfm.c br_cfm_mep_create() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/xdp/xsk.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| NS_CAPABLE | 0 | 13 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->xdp.lock | ||
| HALF_LOCKED2 | global &bt_proto_lock | ||
| TYPE_LOCK | (struct netns_xdp)->lock |
net/mctp/af_mctp.c sk_add_node_rcu() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| DATA_SOURCE | 1 | h | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->mctp.bind_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct netns_mctp)->bind_lock |
sound/core/seq/seq_ports.c check_and_subscribe_port() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->next | 0 |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/core/seq/seq_ports.c check_and_subscribe_port() -> hlist_add_tail_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |