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 …]
71 void afs_put_wb_key(struct afs_wb_key *wbk) in afs_put_wb_key() argument73 if (wbk && refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()74 key_put(wbk->key); in afs_put_wb_key()75 kfree(wbk); in afs_put_wb_key()84 struct afs_wb_key *wbk, *p; in afs_cache_wb_key() local86 wbk = kzalloc(sizeof(struct afs_wb_key), GFP_KERNEL); in afs_cache_wb_key()87 if (!wbk) in afs_cache_wb_key()89 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()90 wbk->key = af->key; in afs_cache_wb_key()94 if (p->key == wbk->key) in afs_cache_wb_key()[all …]
793 struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, in afs_evict_inode() local795 list_del(&wbk->vnode_link); in afs_evict_inode()796 afs_put_wb_key(wbk); in afs_evict_inode()