Lines Matching refs:filelock_change
102 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
103 req->r_args.filelock_change.type = cmd; in ceph_lock_message()
104 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
105 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message()
106 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message()
107 req->r_args.filelock_change.length = cpu_to_le64(length); in ceph_lock_message()
108 req->r_args.filelock_change.wait = wait; in ceph_lock_message()
148 if (req->r_args.filelock_change.rule == CEPH_LOCK_FCNTL) in ceph_lock_wait_for_completion()
150 else if (req->r_args.filelock_change.rule == CEPH_LOCK_FLOCK) in ceph_lock_wait_for_completion()
154 BUG_ON(req->r_args.filelock_change.type == CEPH_LOCK_UNLOCK); in ceph_lock_wait_for_completion()
195 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
196 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
197 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()