Lines Matching refs:head
117 static void bucket_table_free_rcu(struct rcu_head *head) in bucket_table_free_rcu() argument
119 bucket_table_free(container_of(head, struct bucket_table, rcu)); in bucket_table_free_rcu()
235 struct rhash_head *head, *next, *entry; in rhashtable_rehash_one() local
264 head = rht_ptr(new_tbl->buckets + new_hash, new_tbl, new_hash); in rhashtable_rehash_one()
266 RCU_INIT_POINTER(entry->next, head); in rhashtable_rehash_one()
504 struct rhash_head *head; in rhashtable_lookup_one() local
508 rht_for_each_from(head, rht_ptr(bkt, tbl, hash), tbl, hash) { in rhashtable_lookup_one()
515 ht->p.obj_cmpfn(&arg, rht_obj(ht, head)) : in rhashtable_lookup_one()
516 rhashtable_compare(&arg, rht_obj(ht, head)))) { in rhashtable_lookup_one()
517 pprev = &head->next; in rhashtable_lookup_one()
522 return rht_obj(ht, head); in rhashtable_lookup_one()
525 plist = container_of(head, struct rhlist_head, rhead); in rhashtable_lookup_one()
528 head = rht_dereference_bucket(head->next, tbl, hash); in rhashtable_lookup_one()
529 RCU_INIT_POINTER(list->rhead.next, head); in rhashtable_lookup_one()
551 struct rhash_head *head; in rhashtable_insert_one() local
572 head = rht_ptr(bkt, tbl, hash); in rhashtable_insert_one()
574 RCU_INIT_POINTER(obj->next, head); in rhashtable_insert_one()