Lines Matching refs:af
97 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument
105 wbk->key = af->key; in afs_cache_wb_key()
116 af->wb = wbk; in afs_cache_wb_key()
122 af->wb = p; in afs_cache_wb_key()
133 struct afs_file *af; in afs_open() local
145 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open()
146 if (!af) { in afs_open()
150 af->key = key; in afs_open()
157 ret = afs_cache_wb_key(vnode, af); in afs_open()
167 file->private_data = af; in afs_open()
172 kfree(af); in afs_open()
187 struct afs_file *af = file->private_data; in afs_release() local
197 if (af->wb) in afs_release()
198 afs_put_wb_key(af->wb); in afs_release()
208 key_put(af->key); in afs_release()
209 kfree(af); in afs_release()
584 struct afs_file *af = iocb->ki_filp->private_data; in afs_file_read_iter() local
587 ret = afs_validate(vnode, af->key); in afs_file_read_iter()
599 struct afs_file *af = in->private_data; in afs_file_splice_read() local
602 ret = afs_validate(vnode, af->key); in afs_file_splice_read()