Lines Matching refs:r_args
106 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
107 req->r_args.filelock_change.type = cmd; in ceph_lock_message()
108 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
109 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message()
110 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message()
111 req->r_args.filelock_change.length = cpu_to_le64(length); in ceph_lock_message()
112 req->r_args.filelock_change.wait = wait; in ceph_lock_message()
152 if (req->r_args.filelock_change.rule == CEPH_LOCK_FCNTL) in ceph_lock_wait_for_completion()
154 else if (req->r_args.filelock_change.rule == CEPH_LOCK_FLOCK) in ceph_lock_wait_for_completion()
158 BUG_ON(req->r_args.filelock_change.type == CEPH_LOCK_UNLOCK); in ceph_lock_wait_for_completion()
199 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
200 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
201 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()