Lines Matching refs:src_lock
223 struct nfs_lock_context *src_lock, in _nfs42_proc_copy() argument
241 status = nfs4_set_rw_stateid(&args->src_stateid, src_lock->open_context, in _nfs42_proc_copy()
242 src_lock, FMODE_READ); in _nfs42_proc_copy()
314 struct nfs_lock_context *src_lock; in nfs42_proc_copy() local
335 src_lock = nfs_get_lock_context(nfs_file_open_context(src)); in nfs42_proc_copy()
336 if (IS_ERR(src_lock)) in nfs42_proc_copy()
337 return PTR_ERR(src_lock); in nfs42_proc_copy()
339 src_exception.state = src_lock->open_context->state; in nfs42_proc_copy()
351 err = _nfs42_proc_copy(src, src_lock, in nfs42_proc_copy()
378 nfs_put_lock_context(src_lock); in nfs42_proc_copy()
679 struct file *dst_f, struct nfs_lock_context *src_lock, in _nfs42_proc_clone() argument
702 status = nfs4_set_rw_stateid(&args.src_stateid, src_lock->open_context, in _nfs42_proc_clone()
703 src_lock, FMODE_READ); in _nfs42_proc_clone()
733 struct nfs_lock_context *src_lock; in nfs42_proc_clone() local
742 src_lock = nfs_get_lock_context(nfs_file_open_context(src_f)); in nfs42_proc_clone()
743 if (IS_ERR(src_lock)) in nfs42_proc_clone()
744 return PTR_ERR(src_lock); in nfs42_proc_clone()
747 src_exception.state = src_lock->open_context->state; in nfs42_proc_clone()
759 err = _nfs42_proc_clone(&msg, src_f, dst_f, src_lock, dst_lock, in nfs42_proc_clone()
775 nfs_put_lock_context(src_lock); in nfs42_proc_clone()