Lines Matching refs:r_args
121 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
122 req->r_args.filelock_change.type = cmd; in ceph_lock_message()
123 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
124 req->r_args.filelock_change.pid = cpu_to_le64((u64) fl->c.flc_pid); in ceph_lock_message()
125 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message()
126 req->r_args.filelock_change.length = cpu_to_le64(length); in ceph_lock_message()
127 req->r_args.filelock_change.wait = wait; in ceph_lock_message()
168 if (req->r_args.filelock_change.rule == CEPH_LOCK_FCNTL) in ceph_lock_wait_for_completion()
170 else if (req->r_args.filelock_change.rule == CEPH_LOCK_FLOCK) in ceph_lock_wait_for_completion()
174 BUG_ON(req->r_args.filelock_change.type == CEPH_LOCK_UNLOCK); in ceph_lock_wait_for_completion()
214 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
215 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
216 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()