Lines Matching refs:src_lock
309 struct nfs_lock_context *src_lock, in _nfs42_proc_copy() argument
337 src_lock->open_context, src_lock, FMODE_READ); in _nfs42_proc_copy()
369 &src_lock->open_context->state->flags); in _nfs42_proc_copy()
417 struct nfs_lock_context *src_lock; in nfs42_proc_copy() local
439 src_lock = nfs_get_lock_context(nfs_file_open_context(src)); in nfs42_proc_copy()
440 if (IS_ERR(src_lock)) in nfs42_proc_copy()
441 return PTR_ERR(src_lock); in nfs42_proc_copy()
443 src_exception.state = src_lock->open_context->state; in nfs42_proc_copy()
455 err = _nfs42_proc_copy(src, src_lock, in nfs42_proc_copy()
494 nfs_put_lock_context(src_lock); in nfs42_proc_copy()
1046 struct file *dst_f, struct nfs_lock_context *src_lock, in _nfs42_proc_clone() argument
1070 status = nfs4_set_rw_stateid(&args.src_stateid, src_lock->open_context, in _nfs42_proc_clone()
1071 src_lock, FMODE_READ); in _nfs42_proc_clone()
1115 struct nfs_lock_context *src_lock; in nfs42_proc_clone() local
1124 src_lock = nfs_get_lock_context(nfs_file_open_context(src_f)); in nfs42_proc_clone()
1125 if (IS_ERR(src_lock)) in nfs42_proc_clone()
1126 return PTR_ERR(src_lock); in nfs42_proc_clone()
1129 src_exception.state = src_lock->open_context->state; in nfs42_proc_clone()
1141 err = _nfs42_proc_clone(&msg, src_f, dst_f, src_lock, dst_lock, in nfs42_proc_clone()
1157 nfs_put_lock_context(src_lock); in nfs42_proc_clone()