Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/gen_stats.c ___gnet_stats_copy_basic() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xstats_len | 0,16,20,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 1,7 |
| PARAM_VALUE | 2 | buf | 1230905025327951872 |
| PARAM_VALUE | 3 | size | 16 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 2 | buf | 16 |
| DATA_SOURCE | 0 | d | $0 |
| DATA_SOURCE | 1 | type | $3 |
| HARD_MAX | 1 | type | 7 |
| MEM_ZERO | 0 | d | |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c ___gnet_stats_copy_basic() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->skb->data_len | 0 |
| PARAM_VALUE | 0 | d->xstats_len | 0,16,20,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 8 |
| PARAM_VALUE | 2 | buf | 3681015638398447616 |
| PARAM_VALUE | 3 | size | 8 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 2 | buf | 8 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_copy_app() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 3 |
| PARAM_VALUE | 0 | d->compat_xstats | 4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tail | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tc_stats.backlog | 0 |
| PARAM_VALUE | 0 | d->tc_stats.bps | 0 |
| PARAM_VALUE | 0 | d->tc_stats.bytes | 0 |
| PARAM_VALUE | 0 | d->tc_stats.drops | 0 |
| PARAM_VALUE | 0 | d->tc_stats.overlimits | 0 |
| PARAM_VALUE | 0 | d->tc_stats.packets | 0 |
| PARAM_VALUE | 0 | d->tc_stats.pps | 0 |
| PARAM_VALUE | 0 | d->tc_stats.qlen | 0 |
| PARAM_VALUE | 0 | d->xstats_len | 0,16,20,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 16,20,36,40,48,56,152 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 0 | d->xstats | (-1),4,8,16,20,24,36,40,48,56,152 |
| BUF_SIZE | 2 | buf | 16,20,36,40,48,56,152 |
| BUF_SIZE | 2 | buf | 16,20,36,40,48,56,152 |
| CAPPED_DATA | 0 | d->xstats_len | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | d | $0 |
| DATA_SOURCE | 2 | buf | $1 |
| DATA_SOURCE | 3 | size | $2 |
| HARD_MAX | 0 | d->xstats_len | 152 |
| HARD_MAX | 3 | size | 152 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_copy_queue() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tail | 1-u64max |
| PARAM_VALUE | 0 | d->xstats | 0 |
| PARAM_VALUE | 0 | d->xstats_len | 0 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | buf | 3248952610362732544 |
| PARAM_VALUE | 3 | size | 20 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 2 | buf | 20 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/core/gen_stats.c gnet_stats_copy_rate_est() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xstats_len | 0,16,20,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 2 | buf | 3463459194706251776 |
| PARAM_VALUE | 3 | size | 8 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 2 | buf | 8 |
| CAPPED_DATA | 0 | d->tc_stats.bps | 1 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_copy_rate_est() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->skb->data_len | 0 |
| PARAM_VALUE | 0 | d->tc_stats.bps | 0,u32max |
| PARAM_VALUE | 0 | d->xstats_len | 0,16,20,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 5 |
| PARAM_VALUE | 2 | buf | 6827322707234926592 |
| PARAM_VALUE | 3 | size | 16 |
| PARAM_VALUE | 4 | padattr | 6 |
| BUF_SIZE | 2 | buf | 16 |
| CAPPED_DATA | 0 | d->tc_stats.bps | 1 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_finish_copy() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tail | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->xstats_len | 0,4,8,16,20,24,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | buf | 2018084969522761784,3462898017463894072,4084372638051217464 |
| PARAM_VALUE | 3 | size | 40 |
| PARAM_VALUE | 4 | padattr | 5,9 |
| BUF_SIZE | 2 | buf | 40 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_finish_copy() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 3 |
| PARAM_VALUE | 0 | d->compat_xstats | 4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->skb->data_len | 0 |
| PARAM_VALUE | 0 | d->tail | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->xstats | 1-u64max |
| PARAM_VALUE | 0 | d->xstats_len | 0,4,8,16,20,24,36,40,48,56,152 |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 3 | size | 0,4,8,16,20,24,36,40,48,56,152 |
| PARAM_VALUE | 4 | padattr | 9 |
| BUF_SIZE | 2 | buf | 4,8,16,20,24,36,40,48,56,152 |
| DATA_SOURCE | 0 | d | $0 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
net/core/gen_stats.c gnet_stats_start_copy_compat() -> gnet_stats_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 2018084969522761728,3462898017463894016,4084372638051217408 |
| PARAM_VALUE | 0 | d->compat_tc_stats | 0,3 |
| PARAM_VALUE | 0 | d->compat_xstats | 0,4 |
| PARAM_VALUE | 0 | d->lock | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->padattr | 5,9 |
| PARAM_VALUE | 0 | d->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | d->skb->data_len | 0 |
| PARAM_VALUE | 0 | d->tail | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4,7 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | size | 0 |
| PARAM_VALUE | 4 | padattr | 5,9 |
| BUF_SIZE | 0 | d->skb | (-1)-s32max |
| DATA_SOURCE | 0 | d | $5 |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 4 | padattr | $6 |
| HARD_MAX | 0 | d->compat_tc_stats | 3 |
| HARD_MAX | 0 | d->compat_xstats | 4 |
| HARD_MAX | 0 | d->padattr | 9 |
| HARD_MAX | 1 | type | 7 |
| HARD_MAX | 4 | padattr | 9 |
| MEM_ZERO | 0 | d | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | d->skb->data | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | lock |