objagg_hints 1318 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct objagg_hints *hints) objagg_hints 1380 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct objagg_hints *hints, bool *p_rehash_needed) objagg_hints 1421 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct objagg_hints *hints; objagg_hints 1451 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct objagg_hints *hints = hints_priv; objagg_hints 1460 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct objagg_hints *hints = hints_priv; objagg_hints 21 include/linux/objagg.h struct objagg_hints; objagg_hints 30 include/linux/objagg.h struct objagg_hints *hints, void *priv); objagg_hints 57 include/linux/objagg.h struct objagg_hints *objagg_hints_get(struct objagg *objagg, objagg_hints 59 include/linux/objagg.h void objagg_hints_put(struct objagg_hints *objagg_hints); objagg_hints 61 include/linux/objagg.h objagg_hints_stats_get(struct objagg_hints *objagg_hints); objagg_hints 35 lib/objagg.c objagg_hints_lookup(struct objagg_hints *objagg_hints, void *obj) objagg_hints 37 lib/objagg.c if (!objagg_hints) objagg_hints 39 lib/objagg.c return rhashtable_lookup_fast(&objagg_hints->node_ht, obj, objagg_hints 40 lib/objagg.c objagg_hints->ht_params); objagg_hints 51 lib/objagg.c struct objagg_hints *hints; objagg_hints 515 lib/objagg.c struct objagg_hints *objagg_hints, void *priv) objagg_hints 529 lib/objagg.c if (objagg_hints) { objagg_hints 530 lib/objagg.c objagg->hints = objagg_hints; objagg_hints 531 lib/objagg.c objagg_hints->refcount++; objagg_hints 649 lib/objagg.c objagg_hints_node_create(struct objagg_hints *objagg_hints, objagg_hints 666 lib/objagg.c hnode->root_id = objagg_hints->root_count++; objagg_hints 671 lib/objagg.c err = rhashtable_insert_fast(&objagg_hints->node_ht, &hnode->ht_node, objagg_hints 672 lib/objagg.c objagg_hints->ht_params); objagg_hints 676 lib/objagg.c list_add(&hnode->list, &objagg_hints->node_list); objagg_hints 678 lib/objagg.c objagg_hints->node_count++; objagg_hints 687 lib/objagg.c static void objagg_hints_flush(struct objagg_hints *objagg_hints) objagg_hints 691 lib/objagg.c list_for_each_entry_safe(hnode, tmp, &objagg_hints->node_list, list) { objagg_hints 693 lib/objagg.c rhashtable_remove_fast(&objagg_hints->node_ht, &hnode->ht_node, objagg_hints 694 lib/objagg.c objagg_hints->ht_params); objagg_hints 842 lib/objagg.c objagg_opt_simple_greedy_fillup_hints(struct objagg_hints *objagg_hints, objagg_hints 862 lib/objagg.c hnode = objagg_hints_node_create(objagg_hints, objagg_hints 878 lib/objagg.c hnode = objagg_hints_node_create(objagg_hints, objagg_hints 896 lib/objagg.c int (*fillup_hints)(struct objagg_hints *objagg_hints, objagg_hints 913 lib/objagg.c struct objagg_hints *objagg_hints = objagg_hints 914 lib/objagg.c container_of(ht, struct objagg_hints, node_ht); objagg_hints 915 lib/objagg.c const struct objagg_ops *ops = objagg_hints->ops; objagg_hints 940 lib/objagg.c struct objagg_hints *objagg_hints_get(struct objagg *objagg, objagg_hints 944 lib/objagg.c struct objagg_hints *objagg_hints; objagg_hints 947 lib/objagg.c objagg_hints = kzalloc(sizeof(*objagg_hints), GFP_KERNEL); objagg_hints 948 lib/objagg.c if (!objagg_hints) objagg_hints 951 lib/objagg.c objagg_hints->ops = objagg->ops; objagg_hints 952 lib/objagg.c objagg_hints->refcount = 1; objagg_hints 954 lib/objagg.c INIT_LIST_HEAD(&objagg_hints->node_list); objagg_hints 956 lib/objagg.c objagg_hints->ht_params.key_len = objagg->ops->obj_size; objagg_hints 957 lib/objagg.c objagg_hints->ht_params.key_offset = objagg_hints 959 lib/objagg.c objagg_hints->ht_params.head_offset = objagg_hints 961 lib/objagg.c objagg_hints->ht_params.obj_cmpfn = objagg_hints_obj_cmp; objagg_hints 963 lib/objagg.c err = rhashtable_init(&objagg_hints->node_ht, &objagg_hints->ht_params); objagg_hints 967 lib/objagg.c err = algo->fillup_hints(objagg_hints, objagg); objagg_hints 971 lib/objagg.c if (WARN_ON(objagg_hints->node_count != objagg->obj_count)) { objagg_hints 976 lib/objagg.c return objagg_hints; objagg_hints 980 lib/objagg.c objagg_hints_flush(objagg_hints); objagg_hints 981 lib/objagg.c rhashtable_destroy(&objagg_hints->node_ht); objagg_hints 983 lib/objagg.c kfree(objagg_hints); objagg_hints 994 lib/objagg.c void objagg_hints_put(struct objagg_hints *objagg_hints) objagg_hints 996 lib/objagg.c if (--objagg_hints->refcount) objagg_hints 998 lib/objagg.c objagg_hints_flush(objagg_hints); objagg_hints 999 lib/objagg.c rhashtable_destroy(&objagg_hints->node_ht); objagg_hints 1000 lib/objagg.c kfree(objagg_hints); objagg_hints 1022 lib/objagg.c objagg_hints_stats_get(struct objagg_hints *objagg_hints) objagg_hints 1029 lib/objagg.c objagg_hints->node_count), objagg_hints 1035 lib/objagg.c list_for_each_entry(hnode, &objagg_hints->node_list, list) { objagg_hints 883 lib/test_objagg.c static void pr_debug_hints_stats(struct objagg_hints *objagg_hints) objagg_hints 887 lib/test_objagg.c stats = objagg_hints_stats_get(objagg_hints); objagg_hints 894 lib/test_objagg.c static int check_expect_hints_stats(struct objagg_hints *objagg_hints, objagg_hints 901 lib/test_objagg.c stats = objagg_hints_stats_get(objagg_hints); objagg_hints 912 lib/test_objagg.c struct objagg_hints *hints;