Searched refs:objagg (Results 1 – 6 of 6) sorted by relevance
/linux/include/trace/events/ |
H A D | objagg.h | 5 #define TRACE_SYSTEM objagg 12 struct objagg; 16 TP_PROTO(const struct objagg *objagg), 18 TP_ARGS(objagg), 21 __field(const void *, objagg) 25 __entry->objagg = objagg; 28 TP_printk("objagg %p", __entry->objagg) 32 TP_PROTO(const struct objagg *objagg), 34 TP_ARGS(objagg), 37 __field(const void *, objagg) [all …]
|
/linux/lib/ |
H A D | objagg.c | 43 struct objagg { struct 158 static struct objagg_obj *objagg_obj_lookup(struct objagg *objagg, void *obj) in objagg_obj_lookup() argument 160 return rhashtable_lookup_fast(&objagg->obj_ht, obj, objagg->ht_params); in objagg_obj_lookup() 163 static int objagg_obj_parent_assign(struct objagg *objagg, in objagg_obj_parent_assign() argument 173 delta_priv = objagg->ops->delta_create(objagg->priv, parent->obj, in objagg_obj_parent_assign() 185 trace_objagg_obj_parent_assign(objagg, objagg_obj, in objagg_obj_parent_assign() 191 static int objagg_obj_parent_lookup_assign(struct objagg *objagg, in objagg_obj_parent_lookup_assign() argument 197 list_for_each_entry(objagg_obj_cur, &objagg->obj_list, list) { in objagg_obj_parent_lookup_assign() 203 err = objagg_obj_parent_assign(objagg, objagg_obj, in objagg_obj_parent_lookup_assign() 211 static void __objagg_obj_put(struct objagg *objagg, [all …]
|
H A D | test_objagg.c | 47 struct objagg *objagg, in world_obj_get() argument 55 objagg_obj = objagg_obj_get(objagg, &key); in world_obj_get() 72 objagg_obj_put(objagg, objagg_obj); in world_obj_get() 76 static void world_obj_put(struct world *world, struct objagg *objagg, in world_obj_put() argument 84 objagg_obj_put(objagg, objagg_obj); in world_obj_put() 151 static int test_nodelta_obj_get(struct world *world, struct objagg *objagg, in test_nodelta_obj_get() argument 163 objagg_obj = world_obj_get(world, objagg, key_id); in test_nodelta_obj_get() 200 objagg_obj_put(objagg, objagg_obj); in test_nodelta_obj_get() 204 static int test_nodelta_obj_put(struct world *world, struct objagg *objagg, in test_nodelta_obj_put() argument 209 world_obj_put(world, objagg, key_id); in test_nodelta_obj_put() [all …]
|
/linux/include/linux/ |
H A D | objagg.h | 18 struct objagg; 26 struct objagg_obj *objagg_obj_get(struct objagg *objagg, void *obj); 27 void objagg_obj_put(struct objagg *objagg, struct objagg_obj *objagg_obj); 28 struct objagg *objagg_create(const struct objagg_ops *ops, 30 void objagg_destroy(struct objagg *objagg); 49 const struct objagg_stats *objagg_stats_get(struct objagg *objagg); 56 struct objagg_hints *objagg_hints_get(struct objagg *objagg,
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_erp.c | 66 struct objagg *objagg; member 1015 objagg_obj = objagg_obj_get(erp_table->objagg, &key); in mlxsw_sp_acl_erp_mask_get() 1029 objagg_obj_put(erp_table->objagg, objagg_obj); in mlxsw_sp_acl_erp_mask_put() 1316 erp_table->objagg = objagg_create(&mlxsw_sp_acl_erp_objagg_ops, in mlxsw_sp_acl_erp_table_create() 1318 if (IS_ERR(erp_table->objagg)) { in mlxsw_sp_acl_erp_table_create() 1319 err = PTR_ERR(erp_table->objagg); in mlxsw_sp_acl_erp_table_create() 1341 objagg_destroy(erp_table->objagg); in mlxsw_sp_acl_erp_table_destroy() 1379 ostats = objagg_stats_get(erp_table->objagg); in mlxsw_sp_acl_erp_hints_check() 1415 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
|
/linux/ |
H A D | MAINTAINERS | 17199 F: include/linux/objagg.h 17200 F: lib/objagg.c
|