Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/devlink/dev.c devlink_nl_reload_doit() -> devlink_resources_validate()

Type Parameter Key Value
PARAM_VALUE 1 resource 0
PARAM_VALUE 2 info 4201664097468477440
PARAM_VALUE 2 info->attrs 0,16,4096-ptr_max
PARAM_VALUE 2 info->extack 4971238048455385088
PARAM_VALUE 2 info->family 4096-ptr_max
PARAM_VALUE 2 info->nlhdr 4096-ptr_max
DATA_SOURCE 2 info $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 info->snd_seq 0-u32max[u]
USER_PTR 2 info->genlhdr
USER_PTR 2 info->nlhdr
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/devlink/resource.c devlink_resources_validate() -> devlink_resources_validate()

Type Parameter Key Value
PARAM_VALUE 1 resource 4096-ptr_max
PARAM_VALUE 1 resource->size_valid 1
BUF_SIZE 0 devlink s32min-(-1),1-s32max
BUF_SIZE 0 devlink s32min-(-1),1-s32max
BUF_SIZE 2 info->attrs (-1)-s32max
BUF_SIZE 2 info->nlhdr (-1),1-s32max
CAPPED_DATA 1 &resource->list 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 resource $1 [m]
DATA_SOURCE 2 info $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 info->snd_seq 0-u32max[u]
USER_PTR 2 info->genlhdr
USER_PTR 2 info->nlhdr