Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/netfilter/ipvs/ip_vs_core.c ip_vs_new_conn_out() -> ip_vs_control_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->app->app | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app_data | 0 |
| PARAM_VALUE | 0 | cp->control | 0 |
| PARAM_VALUE | 0 | cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->flags | 0,64-u32max |
| PARAM_VALUE | 0 | cp->fwmark | 0 |
| PARAM_VALUE | 0 | cp->hn0.dir | 0 |
| PARAM_VALUE | 0 | cp->hn0.node.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn0.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.dir | 1 |
| PARAM_VALUE | 0 | cp->hn1.node.next->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->in_pkts.counter | 0 |
| PARAM_VALUE | 0 | cp->ipvs | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ipvs->conn_count.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->n_control.counter | 0 |
| PARAM_VALUE | 0 | cp->old_state | 0 |
| PARAM_VALUE | 0 | cp->packet_xmit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->module | 0 |
| PARAM_VALUE | 0 | cp->protocol | 17 |
| PARAM_VALUE | 0 | cp->state | 0 |
| PARAM_VALUE | 0 | cp->sync_endtime | 0,4-u64max |
| PARAM_VALUE | 0 | cp->timeout | 750 |
| PARAM_VALUE | 0 | cp->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | cp->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | cp->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctl_cp | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest->flags | 1-u32max |
| PARAM_VALUE | 1 | ctl_cp->flags | 0,64-u32max |
| PARAM_VALUE | 1 | ctl_cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->module | 0 |
| PARAM_VALUE | 1 | ctl_cp->protocol | 0-255 |
| CAPPED_DATA | 0 | cp | 1 |
| CAPPED_DATA | 0 | cp->daf | 1 |
| CAPPED_DATA | 1 | ctl_cp | 1 |
| CAPPED_DATA | 1 | ctl_cp->dest | 1 |
| CAPPED_DATA | 1 | ctl_cp->protocol | 1 |
| DATA_SOURCE | 0 | cp | r ip_vs_conn_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/ipvs/ip_vs_core.c ip_vs_sched_persist() -> ip_vs_control_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->app->app | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app_data | 0 |
| PARAM_VALUE | 0 | cp->control | 0 |
| PARAM_VALUE | 0 | cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->flags | 0,64-u32max |
| PARAM_VALUE | 0 | cp->hn0.dir | 0 |
| PARAM_VALUE | 0 | cp->hn0.node.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn0.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.dir | 1 |
| PARAM_VALUE | 0 | cp->hn1.node.next->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->in_pkts.counter | 0 |
| PARAM_VALUE | 0 | cp->ipvs | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ipvs->conn_count.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->n_control.counter | 0 |
| PARAM_VALUE | 0 | cp->old_state | 0 |
| PARAM_VALUE | 0 | cp->packet_xmit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->module | 0 |
| PARAM_VALUE | 0 | cp->protocol | 0-255,65462,65534 |
| PARAM_VALUE | 0 | cp->state | 0 |
| PARAM_VALUE | 0 | cp->sync_endtime | 0,4-u64max |
| PARAM_VALUE | 0 | cp->timeout | 750 |
| PARAM_VALUE | 0 | cp->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | cp->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | cp->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctl_cp | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest->flags | 1-u32max |
| PARAM_VALUE | 1 | ctl_cp->flags | 0,64-u32max |
| PARAM_VALUE | 1 | ctl_cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->module | 0 |
| PARAM_VALUE | 1 | ctl_cp->protocol | 0-255 |
| CAPPED_DATA | 0 | cp | 1 |
| CAPPED_DATA | 0 | cp->protocol | 1 |
| CAPPED_DATA | 1 | ctl_cp | 1 |
| CAPPED_DATA | 1 | ctl_cp->dest | 1 |
| CAPPED_DATA | 1 | ctl_cp->protocol | 1 |
| DATA_SOURCE | 0 | cp | r ip_vs_conn_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/ipvs/ip_vs_ftp.c ip_vs_ftp_in() -> ip_vs_control_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->app->app | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app_data | 0 |
| PARAM_VALUE | 0 | cp->control | 0 |
| PARAM_VALUE | 0 | cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->flags | 0,64-u32max |
| PARAM_VALUE | 0 | cp->hn0.dir | 0 |
| PARAM_VALUE | 0 | cp->hn0.node.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn0.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.dir | 1 |
| PARAM_VALUE | 0 | cp->hn1.node.next->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->in_pkts.counter | 0 |
| PARAM_VALUE | 0 | cp->ipvs | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ipvs->conn_count.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->n_control.counter | 0 |
| PARAM_VALUE | 0 | cp->old_state | 0 |
| PARAM_VALUE | 0 | cp->packet_xmit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->module | 0 |
| PARAM_VALUE | 0 | cp->protocol | 0-255,65462,65534 |
| PARAM_VALUE | 0 | cp->state | 0 |
| PARAM_VALUE | 0 | cp->sync_endtime | 0,4-u64max |
| PARAM_VALUE | 0 | cp->timeout | 750 |
| PARAM_VALUE | 0 | cp->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | cp->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | cp->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctl_cp | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->app | 1-u64max |
| PARAM_VALUE | 1 | ctl_cp->app_data | 0 |
| PARAM_VALUE | 1 | ctl_cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->callback_head.func | 1-u64max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.__pad | s16min-s16max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.__rcuref.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.__use | s32min-s32max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.dst_trace_seq.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.error | s16min-s16max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.header_len | 0-u16max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.obsolete | s16min-s16max |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.tclassid | 0-4294967295 |
| PARAM_VALUE | 1 | ctl_cp->dest->dest_dst->dst_cache->u.dst.trailer_len | 0-u16max |
| PARAM_VALUE | 1 | ctl_cp->dest->dst_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctl_cp->dest->flags | 0,2-u32max |
| PARAM_VALUE | 1 | ctl_cp->dest->inactconns.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctl_cp->ipvs | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->ipvs->sysctl_conn_max | (-2147483647)-s32max |
| PARAM_VALUE | 1 | ctl_cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->pe->module | 0 |
| PARAM_VALUE | 1 | ctl_cp->state | 1 |
| BUF_SIZE | 1 | ctl_cp | (-1)-s32max |
| BUF_SIZE | 1 | ctl_cp | (-1)-s32max |
| CAPPED_DATA | 0 | cp | 1 |
| CAPPED_DATA | 0 | cp->af | 1 |
| CAPPED_DATA | 0 | cp->protocol | 1 |
| DATA_SOURCE | 0 | cp | r ip_vs_conn_new |
| DATA_SOURCE | 1 | ctl_cp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/ipvs/ip_vs_ftp.c ip_vs_ftp_out() -> ip_vs_control_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->app->app | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->app_data | 0 |
| PARAM_VALUE | 0 | cp->control | 0 |
| PARAM_VALUE | 0 | cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->flags | 0,64-u32max |
| PARAM_VALUE | 0 | cp->hn0.dir | 0 |
| PARAM_VALUE | 0 | cp->hn0.node.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn0.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.dir | 1 |
| PARAM_VALUE | 0 | cp->hn1.node.next->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->hn1.node.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->in_pkts.counter | 0 |
| PARAM_VALUE | 0 | cp->ipvs | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ipvs->conn_count.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->n_control.counter | 0 |
| PARAM_VALUE | 0 | cp->old_state | 0 |
| PARAM_VALUE | 0 | cp->packet_xmit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->ct_match | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->hashkey_raw | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pe->module | 0 |
| PARAM_VALUE | 0 | cp->protocol | 0-255 |
| PARAM_VALUE | 0 | cp->state | 0 |
| PARAM_VALUE | 0 | cp->sync_endtime | 0,4-u64max |
| PARAM_VALUE | 0 | cp->timeout | 750 |
| PARAM_VALUE | 0 | cp->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | cp->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | cp->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctl_cp | 4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->app | 1-u64max |
| PARAM_VALUE | 1 | ctl_cp->app_data | 1,3 |
| PARAM_VALUE | 1 | ctl_cp->dest | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctl_cp->dest->flags | 0,2-u32max |
| PARAM_VALUE | 1 | ctl_cp->dest->inactconns.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctl_cp->ipvs->sysctl_conn_max | (-2147483647)-s32max |
| PARAM_VALUE | 1 | ctl_cp->state | 1 |
| CAPPED_DATA | 0 | cp | 1 |
| CAPPED_DATA | 0 | cp->af | 1 |
| CAPPED_DATA | 0 | cp->protocol | 1 |
| DATA_SOURCE | 0 | cp | r ip_vs_conn_new |
| DATA_SOURCE | 1 | ctl_cp | $1 |
| BIT_INFO | 1 | ctl_cp->app_data | 0x1,0x3 |
| BIT_INFO | 1 | ctl_cp->flags | 0x0,0xfffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |