Lines Matching full:af
93 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument
101 wbk->key = af->key; in afs_cache_wb_key()
112 af->wb = wbk; in afs_cache_wb_key()
118 af->wb = p; in afs_cache_wb_key()
129 struct afs_file *af; in afs_open() local
141 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open()
142 if (!af) { in afs_open()
146 af->key = key; in afs_open()
153 ret = afs_cache_wb_key(vnode, af); in afs_open()
163 file->private_data = af; in afs_open()
168 kfree(af); in afs_open()
183 struct afs_file *af = file->private_data; in afs_release() local
193 if (af->wb) in afs_release()
194 afs_put_wb_key(af->wb); in afs_release()
204 key_put(af->key); in afs_release()
205 kfree(af); in afs_release()
497 struct afs_file *af = iocb->ki_filp->private_data; in afs_file_read_iter() local
506 ret = afs_validate(vnode, af->key); in afs_file_read_iter()
519 struct afs_file *af = in->private_data; in afs_file_splice_read() local
525 ret = afs_validate(vnode, af->key); in afs_file_splice_read()