Searched refs:cephlock (Results 1 – 1 of 1) sorted by relevance
404 struct ceph_filelock *cephlock) in lock_to_ceph_filelock() argument409 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock()410 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()411 cephlock->client = cpu_to_le64(0); in lock_to_ceph_filelock()412 cephlock->pid = cpu_to_le64((u64) lock->c.flc_pid); in lock_to_ceph_filelock()413 cephlock->owner = cpu_to_le64(secure_addr(lock->c.flc_owner)); in lock_to_ceph_filelock()417 cephlock->type = CEPH_LOCK_SHARED; in lock_to_ceph_filelock()420 cephlock->type = CEPH_LOCK_EXCL; in lock_to_ceph_filelock()423 cephlock->type = CEPH_LOCK_UNLOCK; in lock_to_ceph_filelock()
Completed in 3 milliseconds