Searched refs:objagg (Results 1 - 6 of 6) sorted by relevance

/linux-master/include/trace/events/
H A Dobjagg.h5 #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)
[all...]
/linux-master/include/linux/
H A Dobjagg.h19 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);
[all...]
/linux-master/lib/
H A Dobjagg.c10 #include <linux/objagg.h>
13 #include <trace/events/objagg.h>
43 struct objagg { struct
55 struct rhash_head ht_node; /* member of objagg->obj_ht */
56 struct list_head list; /* member of objagg->obj_list */
108 * @objagg_obj: objagg object instance
129 * @objagg_obj: objagg object instance
146 * @objagg_obj: objagg object instance
158 static struct objagg_obj *objagg_obj_lookup(struct objagg *objagg, voi argument
163 objagg_obj_parent_assign(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_obj *parent, bool take_parent_ref) argument
188 objagg_obj_parent_lookup_assign(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
211 objagg_obj_parent_unassign(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
221 objagg_obj_root_id_alloc(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_hints_node *hnode) argument
253 objagg_obj_root_id_free(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
261 objagg_obj_root_create(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_hints_node *hnode) argument
285 objagg_obj_root_destroy(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
295 objagg_obj_init_with_hints(struct objagg *objagg, struct objagg_obj *objagg_obj, bool *hint_found) argument
331 objagg_obj_init(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
355 objagg_obj_fini(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
364 objagg_obj_create(struct objagg *objagg, void *obj) argument
397 __objagg_obj_get(struct objagg *objagg, void *obj) argument
437 objagg_obj_get(struct objagg *objagg, void *obj) argument
450 objagg_obj_destroy(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
462 __objagg_obj_put(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
478 objagg_obj_put(struct objagg *objagg, struct objagg_obj *objagg_obj) argument
517 struct objagg *objagg; local
561 objagg_destroy(struct objagg *objagg) argument
604 objagg_stats_get(struct objagg *objagg) argument
777 objagg_tmp_graph_create(struct objagg *objagg) argument
839 objagg_opt_simple_greedy_fillup_hints(struct objagg_hints *objagg_hints, struct objagg *objagg) argument
937 objagg_hints_get(struct objagg *objagg, enum objagg_opt_algo_type opt_algo_type) argument
[all...]
H A Dtest_objagg.c10 #include <linux/objagg.h>
47 struct objagg *objagg,
55 objagg_obj = objagg_obj_get(objagg, &key);
72 objagg_obj_put(objagg, objagg_obj);
76 static void world_obj_put(struct world *world, struct objagg *objagg, argument
84 objagg_obj_put(objagg, objagg_obj);
151 static int test_nodelta_obj_get(struct world *world, struct objagg *objagg, argument
46 world_obj_get(struct world *world, struct objagg *objagg, unsigned int key_id) argument
204 test_nodelta_obj_put(struct world *world, struct objagg *objagg, unsigned int key_id, bool should_destroy_root) argument
226 check_stats_zero(struct objagg *objagg) argument
244 check_stats_nodelta(struct objagg *objagg) argument
307 struct objagg *objagg; local
740 check_expect_stats(struct objagg *objagg, const struct expect_stats *expect_stats, const char **errmsg) argument
757 test_delta_action_item(struct world *world, struct objagg *objagg, const struct action_item *action_item, bool inverse) argument
810 struct objagg *objagg; local
872 pr_debug_stats(struct objagg *objagg) argument
916 struct objagg *objagg; local
[all...]
H A DMakefile380 obj-$(CONFIG_OBJAGG) += objagg.o
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c11 #include <linux/objagg.h>
66 struct objagg *objagg; member in struct:mlxsw_sp_acl_erp_table
67 struct mutex objagg_lock; /* guards objagg manipulation */
1015 objagg_obj = objagg_obj_get(erp_table->objagg, &key);
1029 objagg_obj_put(erp_table->objagg, objagg_obj);
1329 erp_table->objagg = objagg_create(&mlxsw_sp_acl_erp_objagg_ops,
1331 if (IS_ERR(erp_table->objagg)) {
1332 err = PTR_ERR(erp_table->objagg);
1354 objagg_destroy(erp_table->objagg);
[all...]

Completed in 149 milliseconds