Home
last modified time | relevance | path

Searched refs:filelock_change (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/ceph/
Dlocks.c121 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()
[all …]
/linux-6.12.1/include/linux/ceph/
Dceph_fs.h465 } __attribute__ ((packed)) filelock_change; member