Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/devlink/health.c devlink_health_reporter_get_from_attrs() -> devlink_port_get_from_attrs()

Type Parameter Key Value
PARAM_VALUE 1 attrs 4096-ptr_max
BUF_SIZE 1 attrs (-1)-s32max
BUF_SIZE 1 attrs (-1)-s32max
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 attrs $1
RX_PATH
TASK_NOT_RUNNING

net/devlink/rate.c devlink_rate_leaf_get_from_info() -> devlink_port_get_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 attrs 4096-ptr_max
BUF_SIZE 1 attrs (-1)-s32max
BUF_SIZE 1 attrs (-1)-s32max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 0 devlink $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
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/port.c devlink_port_get_from_info() -> devlink_port_get_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 attrs 4096-ptr_max
BUF_SIZE 1 attrs (-1)-s32max
BUF_SIZE 1 attrs (-1)-s32max
CAPPED_DATA 0 devlink->_net.net 1
DATA_SOURCE 0 devlink $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read