Lines Matching refs:file
55 struct afs_vnode *vnode = op->file[0].vnode; in afs_get_io_locks()
56 struct afs_vnode *vnode2 = op->file[1].vnode; in afs_get_io_locks()
67 if (!vnode2 || !op->file[1].need_io_lock || vnode == vnode2) in afs_get_io_locks()
99 struct afs_vnode *vnode = op->file[0].vnode; in afs_drop_io_locks()
100 struct afs_vnode *vnode2 = op->file[1].vnode; in afs_drop_io_locks()
138 struct afs_vnode *vnode = op->file[0].vnode; in afs_begin_vnode_operation()
144 if (op->file[0].need_io_lock) in afs_begin_vnode_operation()
148 afs_prepare_vnode(op, &op->file[0], 0); in afs_begin_vnode_operation()
149 afs_prepare_vnode(op, &op->file[1], 1); in afs_begin_vnode_operation()
228 if (op->file[0].modification) in afs_put_operation()
229 clear_bit(AFS_VNODE_MODIFYING, &op->file[0].vnode->flags); in afs_put_operation()
230 if (op->file[1].modification && op->file[1].vnode != op->file[0].vnode) in afs_put_operation()
231 clear_bit(AFS_VNODE_MODIFYING, &op->file[1].vnode->flags); in afs_put_operation()
232 if (op->file[0].put_vnode) in afs_put_operation()
233 iput(&op->file[0].vnode->vfs_inode); in afs_put_operation()
234 if (op->file[1].put_vnode) in afs_put_operation()
235 iput(&op->file[1].vnode->vfs_inode); in afs_put_operation()