Home
last modified time | relevance | path

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

/openbmc/linux/fs/afs/
H A Dfile.c88 if (wbk && refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()
89 key_put(wbk->key); in afs_put_wb_key()
90 kfree(wbk); in afs_put_wb_key()
99 struct afs_wb_key *wbk, *p; in afs_cache_wb_key() local
102 if (!wbk) in afs_cache_wb_key()
104 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()
105 wbk->key = af->key; in afs_cache_wb_key()
109 if (p->key == wbk->key) in afs_cache_wb_key()
113 key_get(wbk->key); in afs_cache_wb_key()
116 af->wb = wbk; in afs_cache_wb_key()
[all …]
H A Dwrite.c330 struct afs_wb_key *wbk = NULL; in afs_get_writeback_key() local
345 refcount_inc(&wbk->usage); in afs_get_writeback_key()
350 wbk = NULL; in afs_get_writeback_key()
359 *_wbk = wbk; in afs_get_writeback_key()
390 struct afs_wb_key *wbk = NULL; in afs_store_data() local
409 afs_put_wb_key(wbk); in afs_store_data()
443 op->key = key_get(wbk->key); in afs_store_data()
449 afs_put_wb_key(wbk); in afs_store_data()
973 struct afs_wb_key *wbk, *tmp; in afs_prune_wb_keys() local
990 list_del(&wbk->vnode_link); in afs_prune_wb_keys()
[all …]
H A Dinode.c830 struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, in afs_evict_inode() local
832 list_del(&wbk->vnode_link); in afs_evict_inode()
833 afs_put_wb_key(wbk); in afs_evict_inode()