Home
last modified time | relevance | path

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

/linux-4.19.296/fs/afs/
Dwrite.c314 struct afs_wb_key *wbk = NULL; in afs_store_data() local
331 wbk = list_entry(p, struct afs_wb_key, vnode_link); in afs_store_data()
332 _debug("wbk %u", key_serial(wbk->key)); in afs_store_data()
333 ret2 = key_validate(wbk->key); in afs_store_data()
342 afs_put_wb_key(wbk); in afs_store_data()
347 refcount_inc(&wbk->usage); in afs_store_data()
350 _debug("USE WB KEY %u", key_serial(wbk->key)); in afs_store_data()
353 if (afs_begin_vnode_operation(&fc, vnode, wbk->key)) { in afs_store_data()
379 p = wbk->vnode_link.next; in afs_store_data()
380 afs_put_wb_key(wbk); in afs_store_data()
[all …]
Dfile.c73 void afs_put_wb_key(struct afs_wb_key *wbk) in afs_put_wb_key() argument
75 if (refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()
76 key_put(wbk->key); in afs_put_wb_key()
77 kfree(wbk); in afs_put_wb_key()
86 struct afs_wb_key *wbk, *p; in afs_cache_wb_key() local
88 wbk = kzalloc(sizeof(struct afs_wb_key), GFP_KERNEL); in afs_cache_wb_key()
89 if (!wbk) in afs_cache_wb_key()
91 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()
92 wbk->key = af->key; in afs_cache_wb_key()
96 if (p->key == wbk->key) in afs_cache_wb_key()
[all …]
Dinode.c537 struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, in afs_evict_inode() local
539 list_del(&wbk->vnode_link); in afs_evict_inode()
540 afs_put_wb_key(wbk); in afs_evict_inode()