wbk 70 fs/afs/file.c void afs_put_wb_key(struct afs_wb_key *wbk) wbk 72 fs/afs/file.c if (refcount_dec_and_test(&wbk->usage)) { wbk 73 fs/afs/file.c key_put(wbk->key); wbk 74 fs/afs/file.c kfree(wbk); wbk 83 fs/afs/file.c struct afs_wb_key *wbk, *p; wbk 85 fs/afs/file.c wbk = kzalloc(sizeof(struct afs_wb_key), GFP_KERNEL); wbk 86 fs/afs/file.c if (!wbk) wbk 88 fs/afs/file.c refcount_set(&wbk->usage, 2); wbk 89 fs/afs/file.c wbk->key = af->key; wbk 93 fs/afs/file.c if (p->key == wbk->key) wbk 97 fs/afs/file.c key_get(wbk->key); wbk 98 fs/afs/file.c list_add_tail(&wbk->vnode_link, &vnode->wb_keys); wbk 100 fs/afs/file.c af->wb = wbk; wbk 107 fs/afs/file.c kfree(wbk); wbk 786 fs/afs/inode.c struct afs_wb_key *wbk = list_entry(vnode->wb_keys.next, wbk 788 fs/afs/inode.c list_del(&wbk->vnode_link); wbk 789 fs/afs/inode.c afs_put_wb_key(wbk); wbk 361 fs/afs/write.c struct afs_wb_key *wbk = NULL; wbk 382 fs/afs/write.c wbk = list_entry(p, struct afs_wb_key, vnode_link); wbk 383 fs/afs/write.c _debug("wbk %u", key_serial(wbk->key)); wbk 384 fs/afs/write.c ret2 = key_validate(wbk->key); wbk 393 fs/afs/write.c afs_put_wb_key(wbk); wbk 399 fs/afs/write.c refcount_inc(&wbk->usage); wbk 402 fs/afs/write.c _debug("USE WB KEY %u", key_serial(wbk->key)); wbk 405 fs/afs/write.c if (afs_begin_vnode_operation(&fc, vnode, wbk->key, false)) { wbk 436 fs/afs/write.c p = wbk->vnode_link.next; wbk 437 fs/afs/write.c afs_put_wb_key(wbk); wbk 441 fs/afs/write.c afs_put_wb_key(wbk); wbk 825 fs/afs/write.c struct afs_wb_key *wbk, *tmp; wbk 832 fs/afs/write.c list_for_each_entry_safe(wbk, tmp, &vnode->wb_keys, vnode_link) { wbk 833 fs/afs/write.c if (refcount_read(&wbk->usage) == 1) wbk 834 fs/afs/write.c list_move(&wbk->vnode_link, &graveyard); wbk 841 fs/afs/write.c wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); wbk 842 fs/afs/write.c list_del(&wbk->vnode_link); wbk 843 fs/afs/write.c afs_put_wb_key(wbk);