Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/shaper/shaper.c net_shaper_nl_cap_get_doit() -> (struct net_shaper_ops)->capabilities()

Type Parameter Key Value
PARAM_VALUE 0 binding 4096-ptr_max
PARAM_VALUE 0 binding->type 0
PARAM_VALUE 2 flags 8679083987826761728
PARAM_VALUE 2 *flags 0
BUF_SIZE 0 binding 16
DATA_SOURCE 0 binding r net_shaper_binding_from_ctx
DATA_SOURCE 1 scope r nla_get_u32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/shaper/shaper.c net_shaper_nl_cap_get_dumpit() -> (struct net_shaper_ops)->capabilities()

Type Parameter Key Value
PARAM_VALUE 0 binding 4096-ptr_max
PARAM_VALUE 0 binding->type 0
PARAM_VALUE 1 scope 0-3
PARAM_VALUE 2 flags 7796972972222935040
PARAM_VALUE 2 *flags 0
BUF_SIZE 0 binding 16
DATA_SOURCE 0 binding r net_shaper_binding_from_ctx
FUZZY_MAX 1 scope 3
HARD_MAX 1 scope 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/shaper/shaper.c net_shaper_validate_caps() -> (struct net_shaper_ops)->capabilities()

Type Parameter Key Value
PARAM_VALUE 0 binding 4096-ptr_max
PARAM_VALUE 0 binding->netdev 4096-ptr_max
PARAM_VALUE 0 binding->netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 binding->type 0
PARAM_VALUE 2 flags 3952656293313163264
PARAM_VALUE 2 *flags 0
BUF_SIZE 0 binding (-1),16
BUF_SIZE 0 binding (-1),16
DATA_SOURCE 0 binding $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/shaper/shaper.c net_shaper_validate_nesting() -> (struct net_shaper_ops)->capabilities()

Type Parameter Key Value
PARAM_VALUE 0 binding 4096-ptr_max
PARAM_VALUE 0 binding->netdev 4096-ptr_max
PARAM_VALUE 0 binding->netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 binding->type 0
PARAM_VALUE 1 scope 2-3
PARAM_VALUE 2 flags 6704378684310429696
PARAM_VALUE 2 *flags 0
BUF_SIZE 0 binding (-1),16
BUF_SIZE 0 binding (-1),16
DATA_SOURCE 0 binding $0
HARD_MAX 1 scope 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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