Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c, line 1029
- include/trace/events/objagg.h, line 108
- lib/objagg.c
- lib/test_objagg.c
Smatch caller information:
lib/objagg.c objagg_obj_init_with_hints() -> objagg_obj_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objagg | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->hints | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->obj_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->ops->delta_check | 3477336857498935296,4706346761564774400,6532610917181788160 |
| PARAM_VALUE | 0 | objagg->ops->delta_create | 899933538010402816,4067561479529713664,7749549450181455872 |
| PARAM_VALUE | 0 | objagg->ops->delta_destroy | 2097361578409140224,6756229003579912192,7703451181295489024 |
| PARAM_VALUE | 0 | objagg->ops->obj_size | 4,97 |
| PARAM_VALUE | 0 | objagg->ops->root_create | 2646101948062932992,5355764697004888064 |
| PARAM_VALUE | 0 | objagg->ops->root_destroy | 4401887648083247104,6486793509058199552 |
| PARAM_VALUE | 1 | objagg_obj | 4096-ptr_max |
| BUF_SIZE | 0 | objagg | (-1)-s32max |
| BUF_SIZE | 0 | objagg | (-1)-s32max |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| DATA_SOURCE | 0 | objagg | $0 |
| DATA_SOURCE | 1 | objagg_obj | r __objagg_obj_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | objagg->obj_ht.tbl->size |
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_mask_put() -> objagg_obj_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| DATA_SOURCE | 1 | objagg_obj | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &erp_table->objagg_lock | ||
| HALF_LOCKED2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &vregion->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_acl_erp_table)->objagg_lock |
lib/test_objagg.c test_nodelta_obj_get() -> objagg_obj_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objagg | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->ht_params.head_offset | 0 |
| PARAM_VALUE | 0 | objagg->ht_params.key_len | 4 |
| PARAM_VALUE | 0 | objagg->ht_params.key_offset | 56 |
| PARAM_VALUE | 0 | objagg->obj_count | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.key_len | 0-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.max_elems | 0-2147483646,2147483648 |
| PARAM_VALUE | 0 | objagg->obj_ht.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | objagg->obj_ht.p.insecure_elasticity | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.p.min_size | 4-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.rhlist | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | objagg->obj_ht.run_irq_work.node.u_flags | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.run_work.func | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->ops | 8991132021121126400 |
| PARAM_VALUE | 0 | objagg->ops->delta_check | 4706346761564774400 |
| PARAM_VALUE | 0 | objagg->ops->delta_create | 7749549450181455872 |
| PARAM_VALUE | 0 | objagg->ops->delta_destroy | 6756229003579912192 |
| PARAM_VALUE | 0 | objagg->ops->root_create | 5355764697004888064 |
| PARAM_VALUE | 0 | objagg->ops->root_destroy | 6486793509058199552 |
| PARAM_VALUE | 0 | objagg->priv | 3677385442459394048 |
| PARAM_VALUE | 0 | objagg->priv->delta_count | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | objagg->priv->erp_table->num_max_atcam_erps | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->ops->erp_create | 903527341939081216,5503620461547425792,9058474647357362176 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->ops->erp_destroy | 765168036540801024,1826839957231652864,4065485671434936320,6447157295124811776 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_head | 0 |
| PARAM_VALUE | 0 | *objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | objagg_obj | 4096-ptr_max |
| BUF_SIZE | 0 | objagg | 584 |
| BUF_SIZE | 0 | objagg | 584 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| CAPPED_DATA | 1 | objagg_obj | 1 |
| DATA_SOURCE | 0 | objagg | $1 |
| DATA_SOURCE | 1 | objagg_obj | r world_obj_get |
| NOCHECK_CALL |
lib/test_objagg.c world_obj_get() -> objagg_obj_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objagg | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->hints->node_ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->ht_params.head_offset | 0 |
| PARAM_VALUE | 0 | objagg->ht_params.key_len | 4 |
| PARAM_VALUE | 0 | objagg->ht_params.key_offset | 56 |
| PARAM_VALUE | 0 | objagg->obj_ht.key_len | 0-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.max_elems | 0-2147483646,2147483648 |
| PARAM_VALUE | 0 | objagg->obj_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->obj_ht.p.insecure_elasticity | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.p.min_size | 4-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.rhlist | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | objagg->obj_ht.run_work.func | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->ops | 513021901943496704,8991132021121126400 |
| PARAM_VALUE | 0 | objagg->ops->delta_check | 4706346761564774400,6532610917181788160 |
| PARAM_VALUE | 0 | objagg->ops->delta_create | 899933538010402816,7749549450181455872 |
| PARAM_VALUE | 0 | objagg->ops->delta_destroy | 6756229003579912192,7703451181295489024 |
| PARAM_VALUE | 0 | objagg->ops->root_create | 5355764697004888064 |
| PARAM_VALUE | 0 | objagg->ops->root_destroy | 6486793509058199552 |
| PARAM_VALUE | 0 | objagg->priv | 695691696368566272,2307638881720102912,3677385442459394048,5662859272731041792 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | objagg->priv->erp_table->erp_core->bf->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | objagg->priv->erp_table->num_max_atcam_erps | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->ops->erp_create | 903527341939081216,5503620461547425792,9058474647357362176 |
| PARAM_VALUE | 0 | objagg->priv->erp_table->ops->erp_destroy | 765168036540801024,1826839957231652864,4065485671434936320,6447157295124811776 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_head | 0 |
| PARAM_VALUE | 0 | *objagg->priv->erp_table->erp_core->bf->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *objagg->priv->next_root_buf | 0-255 |
| PARAM_VALUE | 1 | objagg_obj | 4096-ptr_max |
| BUF_SIZE | 0 | objagg | 584 |
| BUF_SIZE | 0 | objagg | 584 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| BUF_SIZE | 1 | objagg_obj | (-1),60,153 |
| DATA_SOURCE | 0 | objagg | $1 |
| DATA_SOURCE | 1 | objagg_obj | r objagg_obj_get |
| HARD_MAX | 0 | objagg->ops | 8991132021121126400 |
| HARD_MAX | 0 | objagg->ops->delta_check | 6532610917181788160 |
| HARD_MAX | 0 | objagg->ops->delta_create | 7749549450181455872 |
| HARD_MAX | 0 | objagg->ops->delta_destroy | 7703451181295489024 |
| HARD_MAX | 0 | objagg->priv | 5662859272731041792 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | objagg->obj_ht.tbl->size |
lib/test_objagg.c world_obj_put() -> objagg_obj_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objagg | 4096-ptr_max |
| PARAM_VALUE | 0 | objagg->ht_params.head_offset | 0 |
| PARAM_VALUE | 0 | objagg->ht_params.key_len | 4 |
| PARAM_VALUE | 0 | objagg->ht_params.key_offset | 56 |
| PARAM_VALUE | 0 | objagg->obj_count | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->obj_ht.key_len | 0-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.max_elems | 0-2147483646,2147483648 |
| PARAM_VALUE | 0 | objagg->obj_ht.p.insecure_elasticity | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.p.min_size | 4-u16max |
| PARAM_VALUE | 0 | objagg->obj_ht.rhlist | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.run_work.func | 0 |
| PARAM_VALUE | 0 | objagg->obj_ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | objagg->ops | 513021901943496704,8991132021121126400 |
| PARAM_VALUE | 0 | objagg->ops->delta_check | 4706346761564774400,6532610917181788160 |
| PARAM_VALUE | 0 | objagg->ops->delta_create | 899933538010402816,7749549450181455872 |
| PARAM_VALUE | 0 | objagg->ops->delta_destroy | 6756229003579912192,7703451181295489024 |
| PARAM_VALUE | 0 | objagg->ops->root_create | 5355764697004888064 |
| PARAM_VALUE | 0 | objagg->ops->root_destroy | 6486793509058199552 |
| PARAM_VALUE | 0 | objagg->priv | 2307638881720102912,3677385442459394048,5662859272731041792 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | objagg->root_ida.xa.xa_head | 0 |
| BUF_SIZE | 0 | objagg | 584 |
| BUF_SIZE | 0 | objagg | 584 |
| DATA_SOURCE | 0 | objagg | $1 |
| HARD_MAX | 0 | objagg->ops | 8991132021121126400 |
| HARD_MAX | 0 | objagg->ops->delta_check | 6532610917181788160 |
| HARD_MAX | 0 | objagg->ops->delta_create | 7749549450181455872 |
| HARD_MAX | 0 | objagg->ops->delta_destroy | 7703451181295489024 |
| HARD_MAX | 0 | objagg->priv | 5662859272731041792 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | objagg->obj_ht.tbl->size |