Searched refs:wbk (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/afs/ |
D | write.c | 313 struct afs_wb_key *wbk = NULL; in afs_store_data() local 330 wbk = list_entry(p, struct afs_wb_key, vnode_link); in afs_store_data() 331 _debug("wbk %u", key_serial(wbk->key)); in afs_store_data() 332 ret2 = key_validate(wbk->key); in afs_store_data() 341 afs_put_wb_key(wbk); in afs_store_data() 346 refcount_inc(&wbk->usage); in afs_store_data() 349 _debug("USE WB KEY %u", key_serial(wbk->key)); in afs_store_data() 352 if (afs_begin_vnode_operation(&fc, vnode, wbk->key)) { in afs_store_data() 378 p = wbk->vnode_link.next; in afs_store_data() 379 afs_put_wb_key(wbk); in afs_store_data() [all …]
|
D | file.c | 73 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 …]
|
D | inode.c | 522 struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, in afs_evict_inode() local 524 list_del(&wbk->vnode_link); in afs_evict_inode() 525 afs_put_wb_key(wbk); in afs_evict_inode()
|