Searched refs:objagg (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/include/trace/events/ |
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-6.1.9/lib/ |
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 170 delta_priv = objagg->ops->delta_create(objagg->priv, parent->obj, in objagg_obj_parent_assign() 182 trace_objagg_obj_parent_assign(objagg, objagg_obj, in objagg_obj_parent_assign() 188 static int objagg_obj_parent_lookup_assign(struct objagg *objagg, in objagg_obj_parent_lookup_assign() argument 194 list_for_each_entry(objagg_obj_cur, &objagg->obj_list, list) { in objagg_obj_parent_lookup_assign() 200 err = objagg_obj_parent_assign(objagg, objagg_obj, in objagg_obj_parent_lookup_assign() 208 static void __objagg_obj_put(struct objagg *objagg, [all …]
|
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 …]
|
D | Makefile | 365 obj-$(CONFIG_OBJAGG) += objagg.o
|
D | Kconfig | 717 tristate "objagg" if COMPILE_TEST
|
/linux-6.1.9/include/linux/ |
D | objagg.h | 19 struct objagg; 27 struct objagg_obj *objagg_obj_get(struct objagg *objagg, void *obj); 28 void objagg_obj_put(struct objagg *objagg, struct objagg_obj *objagg_obj); 29 struct objagg *objagg_create(const struct objagg_ops *ops, 31 void objagg_destroy(struct objagg *objagg); 50 const struct objagg_stats *objagg_stats_get(struct objagg *objagg); 57 struct objagg_hints *objagg_hints_get(struct objagg *objagg,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_erp.c | 66 struct objagg *objagg; member 1013 objagg_obj = objagg_obj_get(erp_table->objagg, &key); in mlxsw_sp_acl_erp_mask_get() 1027 objagg_obj_put(erp_table->objagg, objagg_obj); in mlxsw_sp_acl_erp_mask_put() 1327 erp_table->objagg = objagg_create(&mlxsw_sp_acl_erp_objagg_ops, in mlxsw_sp_acl_erp_table_create() 1329 if (IS_ERR(erp_table->objagg)) { in mlxsw_sp_acl_erp_table_create() 1330 err = PTR_ERR(erp_table->objagg); in mlxsw_sp_acl_erp_table_create() 1352 objagg_destroy(erp_table->objagg); in mlxsw_sp_acl_erp_table_destroy() 1390 ostats = objagg_stats_get(erp_table->objagg); in mlxsw_sp_acl_erp_hints_check() 1426 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
|
/linux-6.1.9/ |
D | MAINTAINERS | 14915 F: include/linux/objagg.h 14916 F: lib/objagg.c
|