Symbol: objagg_hints
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1307
struct objagg_hints *hints)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1369
struct objagg_hints *hints, bool *p_rehash_needed)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1410
struct objagg_hints *hints;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1440
struct objagg_hints *hints = hints_priv;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1449
struct objagg_hints *hints = hints_priv;
include/linux/objagg.h
20
struct objagg_hints;
include/linux/objagg.h
29
struct objagg_hints *hints, void *priv);
include/linux/objagg.h
56
struct objagg_hints *objagg_hints_get(struct objagg *objagg,
include/linux/objagg.h
58
void objagg_hints_put(struct objagg_hints *objagg_hints);
include/linux/objagg.h
60
objagg_hints_stats_get(struct objagg_hints *objagg_hints);
lib/objagg.c
1007
objagg_hints_stats_get(struct objagg_hints *objagg_hints)
lib/objagg.c
1014
objagg_hints->node_count);
lib/objagg.c
1019
list_for_each_entry(hnode, &objagg_hints->node_list, list) {
lib/objagg.c
35
objagg_hints_lookup(struct objagg_hints *objagg_hints, void *obj)
lib/objagg.c
37
if (!objagg_hints)
lib/objagg.c
39
return rhashtable_lookup_fast(&objagg_hints->node_ht, obj,
lib/objagg.c
40
objagg_hints->ht_params);
lib/objagg.c
51
struct objagg_hints *hints;
lib/objagg.c
518
struct objagg_hints *objagg_hints, void *priv)
lib/objagg.c
532
if (objagg_hints) {
lib/objagg.c
533
objagg->hints = objagg_hints;
lib/objagg.c
534
objagg_hints->refcount++;
lib/objagg.c
652
objagg_hints_node_create(struct objagg_hints *objagg_hints,
lib/objagg.c
669
hnode->root_id = objagg_hints->root_count++;
lib/objagg.c
674
err = rhashtable_insert_fast(&objagg_hints->node_ht, &hnode->ht_node,
lib/objagg.c
675
objagg_hints->ht_params);
lib/objagg.c
679
list_add(&hnode->list, &objagg_hints->node_list);
lib/objagg.c
681
objagg_hints->node_count++;
lib/objagg.c
690
static void objagg_hints_flush(struct objagg_hints *objagg_hints)
lib/objagg.c
694
list_for_each_entry_safe(hnode, tmp, &objagg_hints->node_list, list) {
lib/objagg.c
696
rhashtable_remove_fast(&objagg_hints->node_ht, &hnode->ht_node,
lib/objagg.c
697
objagg_hints->ht_params);
lib/objagg.c
842
objagg_opt_simple_greedy_fillup_hints(struct objagg_hints *objagg_hints,
lib/objagg.c
862
hnode = objagg_hints_node_create(objagg_hints,
lib/objagg.c
878
hnode = objagg_hints_node_create(objagg_hints,
lib/objagg.c
896
int (*fillup_hints)(struct objagg_hints *objagg_hints,
lib/objagg.c
926
struct objagg_hints *objagg_hints_get(struct objagg *objagg,
lib/objagg.c
930
struct objagg_hints *objagg_hints;
lib/objagg.c
933
objagg_hints = kzalloc_obj(*objagg_hints);
lib/objagg.c
934
if (!objagg_hints)
lib/objagg.c
937
objagg_hints->ops = objagg->ops;
lib/objagg.c
938
objagg_hints->refcount = 1;
lib/objagg.c
940
INIT_LIST_HEAD(&objagg_hints->node_list);
lib/objagg.c
942
objagg_hints->ht_params.key_len = objagg->ops->obj_size;
lib/objagg.c
943
objagg_hints->ht_params.key_offset =
lib/objagg.c
945
objagg_hints->ht_params.head_offset =
lib/objagg.c
948
err = rhashtable_init(&objagg_hints->node_ht, &objagg_hints->ht_params);
lib/objagg.c
952
err = algo->fillup_hints(objagg_hints, objagg);
lib/objagg.c
956
if (WARN_ON(objagg_hints->node_count != objagg->obj_count)) {
lib/objagg.c
961
return objagg_hints;
lib/objagg.c
965
objagg_hints_flush(objagg_hints);
lib/objagg.c
966
rhashtable_destroy(&objagg_hints->node_ht);
lib/objagg.c
968
kfree(objagg_hints);
lib/objagg.c
979
void objagg_hints_put(struct objagg_hints *objagg_hints)
lib/objagg.c
981
if (--objagg_hints->refcount)
lib/objagg.c
983
objagg_hints_flush(objagg_hints);
lib/objagg.c
984
rhashtable_destroy(&objagg_hints->node_ht);
lib/objagg.c
985
kfree(objagg_hints);
lib/test_objagg.c
883
static void pr_debug_hints_stats(struct objagg_hints *objagg_hints)
lib/test_objagg.c
887
stats = objagg_hints_stats_get(objagg_hints);
lib/test_objagg.c
894
static int check_expect_hints_stats(struct objagg_hints *objagg_hints,
lib/test_objagg.c
901
stats = objagg_hints_stats_get(objagg_hints);
lib/test_objagg.c
912
struct objagg_hints *hints, struct objagg *objagg)
lib/test_objagg.c
965
struct objagg_hints *hints;