Home
last modified time | relevance | path

Searched refs:hash_list (Results 1 – 4 of 4) sorted by relevance

/fs/jbd/
Drevoke.c122 struct list_head *hash_list; in insert_revoke_hash() local
132 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
134 list_add(&record->hash, hash_list); in insert_revoke_hash()
151 struct list_head *hash_list; in find_revoke_record() local
154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
157 record = (struct jbd_revoke_record_s *) hash_list->next; in find_revoke_record()
158 while (&(record->hash) != hash_list) { in find_revoke_record()
241 struct list_head *hash_list; in journal_destroy_revoke_table() local
244 hash_list = &table->hash_table[i]; in journal_destroy_revoke_table()
245 J_ASSERT(list_empty(hash_list)); in journal_destroy_revoke_table()
[all …]
/fs/jbd2/
Drevoke.c123 struct list_head *hash_list; in insert_revoke_hash() local
133 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
135 list_add(&record->hash, hash_list); in insert_revoke_hash()
152 struct list_head *hash_list; in find_revoke_record() local
155 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
158 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record()
159 while (&(record->hash) != hash_list) { in find_revoke_record()
240 struct list_head *hash_list; in jbd2_journal_destroy_revoke_table() local
243 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table()
244 J_ASSERT(list_empty(hash_list)); in jbd2_journal_destroy_revoke_table()
[all …]
/fs/nfsd/
Dnfscache.c34 static struct hlist_head * hash_list; variable
65 hash_list = kcalloc (HASHSIZE, sizeof(struct hlist_head), GFP_KERNEL); in nfsd_reply_cache_init()
66 if (!hash_list) in nfsd_reply_cache_init()
91 kfree (hash_list); in nfsd_reply_cache_shutdown()
92 hash_list = NULL; in nfsd_reply_cache_shutdown()
111 hlist_add_head(&rp->c_hash, hash_list + REQHASH(rp->c_xid)); in hash_refile()
141 rh = &hash_list[REQHASH(xid)]; in nfsd_cache_lookup()
/fs/
Ddcookies.c36 struct list_head hash_list; member
74 dcs = list_entry(pos, struct dcookie_struct, hash_list); in find_dcookie()
88 list_add(&dcs->hash_list, list); in hash_dcookie()
287 dcs = list_entry(pos, struct dcookie_struct, hash_list); in dcookie_exit()
288 list_del(&dcs->hash_list); in dcookie_exit()