Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ipvs 4096-ptr_max
PARAM_VALUE 0 ipvs->conn_tab 0
PARAM_VALUE 0 ipvs->service_mutex.dep_map->name 0-255
PARAM_VALUE 0 ipvs->service_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ipvs->service_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ipvs->service_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ipvs->svc_table 0,4096-ptr_max
DATA_SOURCE 0 ipvs $0
DATA_SOURCE 1 buckets r ip_vs_conn_desired_size
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ipvs->service_mutex
TYPE_LOCK (struct netns_ipvs)->service_mutex

net/netfilter/ipvs/ip_vs_conn.c conn_resize_work_handler() -> ip_vs_conn_tab_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ipvs 4096-ptr_max
PARAM_VALUE 0 ipvs->conn_tab 4096-ptr_max
PARAM_VALUE 0 ipvs->conn_tab->new_tbl 4096-ptr_max
DATA_SOURCE 1 buckets r ip_vs_conn_desired_size
UNITS 1 buckets unit_array_size
HALF_LOCKED2 &pool->lock

net/netfilter/ipvs/ip_vs_sync.c start_sync_thread() -> ip_vs_conn_tab_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ipvs 4096-ptr_max
PARAM_VALUE 0 ipvs->conn_tab 0
PARAM_VALUE 0 ipvs->service_mutex.dep_map->name 0-255
PARAM_VALUE 0 ipvs->service_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ipvs->service_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ipvs->service_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ipvs->service_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ipvs->service_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &ipvs->service_mutex 1
DATA_SOURCE 0 ipvs $0
DATA_SOURCE 1 buckets r ip_vs_conn_desired_size
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ipvs->service_mutex
TYPE_LOCK (struct netns_ipvs)->service_mutex