Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/netfilter/nfnetlink_hook.c nfnl_hook_dump() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 1-ptr_max
CAPPED_DATA 0 e 1
DATA_SOURCE 0 e r nfnl_hook_entries_head
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/netfilter/nfnetlink_hook.c nfnl_hook_dump_nat() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/netfilter/core.c __nf_hook_entries_try_shrink() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
CAPPED_DATA 0 e->num_hook_entries 1
DATA_SOURCE 0 e $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c __nf_hook_entries_try_shrink() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->num_hook_entries 1-u16max
BUF_SIZE 0 e s32min-s32max
DATA_SOURCE 0 e r allocate_hook_entries_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c hooks_validate() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->num_hook_entries 1-u16max
BUF_SIZE 0 e (-1),56-24608
BUF_SIZE 0 e (-1),56-24608
DATA_SOURCE 0 e $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c nf_hook_entries_free() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
DATA_SOURCE 0 e $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c nf_hook_entries_grow() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
DATA_SOURCE 0 e $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c nf_hook_entries_grow() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->num_hook_entries 1-1024
BUF_SIZE 0 e 56-24608
BUF_SIZE 0 e 56-24608
DATA_SOURCE 0 e r allocate_hook_entries_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/netfilter/core.c nf_remove_net_hook() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
DATA_SOURCE 0 e $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nf_hook_mutex
HALF_LOCKED2 global &nf_nat_proto_mutex

net/bridge/br_netfilter_hooks.c br_nf_hook_thresh() -> nf_hook_entries_get_hook_ops()

Type Parameter Key Value
PARAM_VALUE 0 e 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->ipv4.mfc_mutex
HALF_LOCKED2 &net->ipv6.mfc_mutex
HALF_LOCKED2 &sk->sk_callback_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk