Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c mlxsw_sp_dpipe_table_adj_entries_get() -> devlink_dpipe_entry_ctx_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dump_ctx | 1840213260387880960 |
| PARAM_VALUE | 0 | dump_ctx->cmd | 32 |
| PARAM_VALUE | 0 | dump_ctx->hdr | 1-u64max |
| PARAM_VALUE | 0 | dump_ctx->info | 4201664097468477440 |
| PARAM_VALUE | 0 | dump_ctx->nest | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_pid | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_seq | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data_len | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->gen->s.len | 0-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.base_seq | 1-u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.gencursor | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.function | 1626621062881370112 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.xfrm_cfg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | *dump_ctx->skb->sk->private->addtl | 0-255 |
| PARAM_VALUE | 1 | entry | 775289319517270016 |
| PARAM_VALUE | 1 | entry->action_values | 8197634459642593280 |
| PARAM_VALUE | 1 | entry->action_values_count | 2 |
| PARAM_VALUE | 1 | entry->index | 0-s32max |
| PARAM_VALUE | 1 | entry->match_values | 2362204059248746496 |
| PARAM_VALUE | 1 | entry->match_values_count | 3 |
| DATA_SOURCE | 0 | dump_ctx | $3 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| 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 | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c mlxsw_sp_dpipe_table_erif_entries_dump() -> devlink_dpipe_entry_ctx_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dump_ctx | 1840213260387880960 |
| PARAM_VALUE | 0 | dump_ctx->cmd | 32 |
| PARAM_VALUE | 0 | dump_ctx->hdr | 1-u64max |
| PARAM_VALUE | 0 | dump_ctx->info | 4201664097468477440 |
| PARAM_VALUE | 0 | dump_ctx->nest | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_pid | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_seq | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data_len | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->gen->s.len | 0-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.base_seq | 1-u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.gencursor | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.function | 1626621062881370112 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.xfrm_cfg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | *dump_ctx->skb->sk->private->addtl | 0-255 |
| PARAM_VALUE | 1 | entry | 4074506801759502336 |
| PARAM_VALUE | 1 | entry->action_values | 6552143627067199488 |
| PARAM_VALUE | 1 | entry->action_values_count | 1 |
| PARAM_VALUE | 1 | entry->index | 0-u16max |
| PARAM_VALUE | 1 | entry->match_values | 1085324207218565120 |
| PARAM_VALUE | 1 | entry->match_values_count | 1 |
| DATA_SOURCE | 0 | dump_ctx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| 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 | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c mlxsw_sp_dpipe_table_host_entries_get() -> devlink_dpipe_entry_ctx_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dump_ctx | 1840213260387880960 |
| PARAM_VALUE | 0 | dump_ctx->cmd | 32 |
| PARAM_VALUE | 0 | dump_ctx->hdr | 1-u64max |
| PARAM_VALUE | 0 | dump_ctx->info | 4201664097468477440 |
| PARAM_VALUE | 0 | dump_ctx->nest | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_pid | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data->nlmsg_seq | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->data_len | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->gen->s.len | 0-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.base_seq | 1-u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->nft.gencursor | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.policy_hthresh.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.state_hash_work.function | 1626621062881370112 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->__sk_common.skc_net.net->xfrm.xfrm_cfg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dump_ctx->skb->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | *dump_ctx->skb->sk->private->addtl | 0-255 |
| PARAM_VALUE | 1 | entry | 6516409399242743808 |
| PARAM_VALUE | 1 | entry->action_values | 1266583109439111168 |
| PARAM_VALUE | 1 | entry->action_values_count | 1 |
| PARAM_VALUE | 1 | entry->index | 0-s32max |
| PARAM_VALUE | 1 | entry->match_values | 3019772192055853056 |
| PARAM_VALUE | 1 | entry->match_values_count | 2 |
| PARAM_VALUE | 1 | *entry->action_values->value | 0-255 |
| DATA_SOURCE | 0 | dump_ctx | $3 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |