Home
last modified time | relevance | path

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

/linux-6.1.9/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()
601 params.obj_cmpfn(&arg, rht_obj(ht, he)) : in __rhashtable_lookup()
602 rhashtable_compare(&arg, rht_obj(ht, he))) in __rhashtable_lookup()
640 return he ? rht_obj(ht, he) : NULL; in rhashtable_lookup()
739 params.obj_cmpfn(&arg, rht_obj(ht, head)) : in __rhashtable_insert_fast()
740 rhashtable_compare(&arg, rht_obj(ht, head)))) { in __rhashtable_insert_fast()
745 data = rht_obj(ht, head); in __rhashtable_insert_fast()
875 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert()
900 const char *key = rht_obj(ht, obj); in rhashtable_lookup_insert_fast()
[all …]
/linux-6.1.9/lib/
Drhashtable.c508 ht->p.obj_cmpfn(&arg, rht_obj(ht, head)) : in rhashtable_lookup_one()
509 rhashtable_compare(&arg, rht_obj(ht, head)))) { in rhashtable_lookup_one()
515 return rht_obj(ht, head); in rhashtable_lookup_one()
824 return rht_obj(ht, rhlist ? &list->rhead : p); in __rhashtable_walk_find_next()
875 return rht_obj(ht, rhlist ? &list->rhead : p); in rhashtable_walk_next()
905 return rht_obj(ht, ht->rhlist ? &list->rhead : p); in rhashtable_walk_peek()
1103 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1111 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
Dtest_rhashtable.c500 p = rht_obj(ht, pos); in print_ht()
540 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()