Home
last modified time | relevance | path

Searched refs:rht_obj (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/linux/
Drhashtable.h113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() function
168 const char *ptr = rht_obj(ht, he); in rht_head_hashfn()
609 params.obj_cmpfn(&arg, rht_obj(ht, he)) : in __rhashtable_lookup()
610 rhashtable_compare(&arg, rht_obj(ht, he))) in __rhashtable_lookup()
648 return he ? rht_obj(ht, he) : NULL; in rhashtable_lookup()
748 params.obj_cmpfn(&arg, rht_obj(ht, head)) : in __rhashtable_insert_fast()
749 rhashtable_compare(&arg, rht_obj(ht, head)))) { in __rhashtable_insert_fast()
754 data = rht_obj(ht, head); in __rhashtable_insert_fast()
884 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert()
909 const char *key = rht_obj(ht, obj); in rhashtable_lookup_insert_fast()
[all …]
/linux-6.6.21/lib/
Drhashtable.c511 ht->p.obj_cmpfn(&arg, rht_obj(ht, head)) : in rhashtable_lookup_one()
512 rhashtable_compare(&arg, rht_obj(ht, head)))) { in rhashtable_lookup_one()
518 return rht_obj(ht, head); in rhashtable_lookup_one()
828 return rht_obj(ht, rhlist ? &list->rhead : p); in __rhashtable_walk_find_next()
879 return rht_obj(ht, rhlist ? &list->rhead : p); in rhashtable_walk_next()
909 return rht_obj(ht, ht->rhlist ? &list->rhead : p); in rhashtable_walk_peek()
1107 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1115 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
Dtest_rhashtable.c498 p = rht_obj(ht, pos); in print_ht()
538 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()