Home
last modified time | relevance | path

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

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