Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/netfilter/ipvs/ip_vs_core.c ip_vs_out_hook() -> ip_vs_af_index()

Type Parameter Key Value
PARAM_VALUE 0 af 0-255
FUZZY_MAX 0 af 10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/netfilter/ipvs/ip_vs_ctl.c __ip_vs_del_service() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ipvs->service_mutex
TYPE_LOCK (struct netns_ipvs)->service_mutex

net/netfilter/ipvs/ip_vs_ctl.c ip_vs_add_service() -> ip_vs_af_index()

Type Parameter Key Value
PARAM_VALUE 0 af 0,2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ipvs->service_mutex
TYPE_LOCK (struct netns_ipvs)->service_mutex

net/netfilter/ipvs/ip_vs_ctl.c ip_vs_edit_service() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ipvs->service_mutex
TYPE_LOCK (struct netns_ipvs)->service_mutex

net/netfilter/ipvs/ip_vs_ctl.c ip_vs_service_find() -> ip_vs_af_index()

Type Parameter Key Value
CAPPED_DATA 0 af 1
DATA_SOURCE 0 af $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_expire() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_fill_cport() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_in_get() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_new() -> ip_vs_af_index()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read