Defined in 1 files as a function:
Referenced in 7 files:
- include/net/netfilter/nf_conntrack_zones.h
- net/bridge/netfilter/nf_conntrack_bridge.c
- net/ipv4/netfilter/nf_defrag_ipv4.c, line 50
- net/ipv6/netfilter/nf_defrag_ipv6_hooks.c, line 40
- net/netfilter/nf_conncount.c
- net/netfilter/nf_conntrack_core.c
- net/netfilter/nft_ct.c, line 165
Smatch caller information:
net/netfilter/nf_conncount.c __nf_conncount_add() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &list->list_lock | ||
| HALF_LOCKED2 | &rbconn->list.list_lock | ||
| TYPE_LOCK | (struct nf_conncount_list)->list_lock |
net/netfilter/nf_conncount.c __nf_conncount_add() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &list->list_lock | ||
| HALF_LOCKED2 | &rbconn->list.list_lock | ||
| TYPE_LOCK | (struct nf_conncount_list)->list_lock |
net/netfilter/nf_conncount.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| DATA_SOURCE | 1 | dir | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &list->list_lock | ||
| HALF_LOCKED2 | &rbconn->list.list_lock | ||
| TYPE_LOCK | (struct nf_conncount_list)->list_lock |
net/netfilter/nf_conncount.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| DATA_SOURCE | 0 | zone | $1 |
| DATA_SOURCE | 1 | dir | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &list->list_lock | ||
| HALF_LOCKED2 | &rbconn->list.list_lock | ||
| TYPE_LOCK | (struct nf_conncount_list)->list_lock |
net/netfilter/nf_nat_core.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| DATA_SOURCE | 1 | dir | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_nat_core.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | zone | 4 |
| DATA_SOURCE | 0 | zone | $1 |
| DATA_SOURCE | 1 | dir | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c nf_ct6_defrag_user() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-1 |
| FUZZY_MAX | 1 | dir | 1 |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/bridge/netfilter/nf_conntrack_bridge.c nf_ct_br_defrag4() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-1 |
| FUZZY_MAX | 1 | dir | 1 |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/bridge/netfilter/nf_conntrack_bridge.c nf_ct_br_defrag6() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-1 |
| FUZZY_MAX | 1 | dir | 1 |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nft_ct.c nft_ct_get_eval() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-1 |
| BUF_SIZE | 0 | zone | 4 |
| DATA_SOURCE | 0 | zone | r nf_ct_zone |
| FUZZY_MAX | 1 | dir | 1 |
| HARD_MAX | 1 | dir | 1 |
net/netfilter/nf_conntrack_core.c __nf_conntrack_confirm() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c __nf_ct_delete_from_lists() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &nf_conntrack_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c __nf_ct_delete_from_lists() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &nf_conntrack_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_conntrack_find_get() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | zone | (-1),4 |
| BUF_SIZE | 0 | zone | (-1),4 |
| DATA_SOURCE | 0 | zone | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_conntrack_find_get() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| BUF_SIZE | 0 | zone | (-1),4 |
| BUF_SIZE | 0 | zone | (-1),4 |
| DATA_SOURCE | 0 | zone | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
net/netfilter/nf_conntrack_core.c nf_conntrack_hash_check_insert() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/nf_conntrack_core.c nf_conntrack_hash_check_insert() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/nf_conntrack_core.c nf_conntrack_hash_resize() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | global &nf_conntrack_locks_all_lock | ||
| LOCK2 | global &nf_conntrack_mutex |
net/netfilter/nf_conntrack_core.c nf_conntrack_tuple_taken() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| BUF_SIZE | 0 | zone | 4 |
| DATA_SOURCE | 0 | zone | r nf_ct_zone |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_match_reverse() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_match_reverse() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_match_reverse() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_match_reverse() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-255 |
| DATA_SOURCE | 1 | dir | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_ct_zone_equal() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-255 |
| BUF_SIZE | 0 | zone | (-1),4 |
| BUF_SIZE | 0 | zone | (-1),4 |
| DATA_SOURCE | 0 | zone | $1 |
| DATA_SOURCE | 1 | dir | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c resolve_normal_ct() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | zone | (-1),4 |
| BUF_SIZE | 0 | zone | (-1),4 |
| DATA_SOURCE | 0 | zone | r nf_ct_zone_tmpl |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_conntrack_core.c resolve_normal_ct() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| BUF_SIZE | 0 | zone | (-1),4 |
| BUF_SIZE | 0 | zone | (-1),4 |
| DATA_SOURCE | 0 | zone | r nf_ct_zone_tmpl |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/netfilter/nf_defrag_ipv4.c nf_ct_defrag_user() -> nf_ct_zone_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 84,4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0-1 |
| FUZZY_MAX | 1 | dir | 1 |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |