Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance
/fs/ceph/ |
D | locks.c | 199 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument 218 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 231 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 247 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument 259 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 260 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist() 270 &flocks[num_fcntl_locks], in ceph_locks_to_pagelist() 271 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
|
D | super.h | 851 struct ceph_filelock *flocks, 854 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
|
D | mds_client.c | 2458 struct ceph_filelock *flocks; in encode_caps_cb() local 2464 flocks = kmalloc((num_fcntl_locks+num_flock_locks) * in encode_caps_cb() 2466 if (!flocks) { in encode_caps_cb() 2471 err = ceph_encode_locks_to_buffer(inode, flocks, in encode_caps_cb() 2476 kfree(flocks); in encode_caps_cb() 2489 err = ceph_locks_to_pagelist(flocks, pagelist, in encode_caps_cb() 2492 kfree(flocks); in encode_caps_cb()
|