Lines Matching refs:obj
481 const void *key, struct rhash_head *obj) in rhashtable_lookup_one() argument
508 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_lookup_one()
515 rcu_assign_pointer(*pprev, obj); in rhashtable_lookup_one()
518 rht_assign_locked(bkt, obj); in rhashtable_lookup_one()
533 struct rhash_head *obj, in rhashtable_insert_one() argument
560 RCU_INIT_POINTER(obj->next, head); in rhashtable_insert_one()
564 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_insert_one()
571 rht_assign_locked(bkt, obj); in rhashtable_insert_one()
581 struct rhash_head *obj) in rhashtable_try_insert() argument
593 hash = rht_head_hashfn(ht, tbl, obj, ht->p); in rhashtable_try_insert()
605 hash, key, obj); in rhashtable_try_insert()
607 hash, obj, data); in rhashtable_try_insert()
623 struct rhash_head *obj) in rhashtable_insert_slow() argument
629 data = rhashtable_try_insert(ht, key, obj); in rhashtable_insert_slow()
1089 static void rhashtable_free_one(struct rhashtable *ht, struct rhash_head *obj, in rhashtable_free_one() argument
1096 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1100 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_free_one()
1102 obj = &list->rhead; in rhashtable_free_one()
1104 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()