Searched refs:wbk (Results 1 – 3 of 3) sorted by relevance
364 struct afs_wb_key *wbk = NULL; in afs_get_writeback_key() local375 wbk = list_entry(p, struct afs_wb_key, vnode_link); in afs_get_writeback_key()376 _debug("wbk %u", key_serial(wbk->key)); in afs_get_writeback_key()377 ret2 = key_validate(wbk->key); in afs_get_writeback_key()379 refcount_inc(&wbk->usage); in afs_get_writeback_key()380 _debug("USE WB KEY %u", key_serial(wbk->key)); in afs_get_writeback_key()384 wbk = NULL; in afs_get_writeback_key()393 *_wbk = wbk; in afs_get_writeback_key()428 struct afs_wb_key *wbk = NULL; in afs_store_data() local438 ret = afs_get_writeback_key(vnode, &wbk); in afs_store_data()[all …]
70 void afs_put_wb_key(struct afs_wb_key *wbk) in afs_put_wb_key() argument72 if (wbk && refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()73 key_put(wbk->key); in afs_put_wb_key()74 kfree(wbk); in afs_put_wb_key()83 struct afs_wb_key *wbk, *p; in afs_cache_wb_key() local85 wbk = kzalloc(sizeof(struct afs_wb_key), GFP_KERNEL); in afs_cache_wb_key()86 if (!wbk) in afs_cache_wb_key()88 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()89 wbk->key = af->key; in afs_cache_wb_key()93 if (p->key == wbk->key) in afs_cache_wb_key()[all …]
797 struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, in afs_evict_inode() local799 list_del(&wbk->vnode_link); in afs_evict_inode()800 afs_put_wb_key(wbk); in afs_evict_inode()