Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance
/fs/ceph/ |
D | locks.c | 410 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument 433 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 444 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 460 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument 473 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 474 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist() 485 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist() 486 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
|
D | mds_client.c | 3853 struct ceph_filelock *flocks = NULL; in reconnect_caps_cb() local 3865 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb() 3868 if (!flocks) { in reconnect_caps_cb() 3872 err = ceph_encode_locks_to_buffer(inode, flocks, in reconnect_caps_cb() 3876 kfree(flocks); in reconnect_caps_cb() 3877 flocks = NULL; in reconnect_caps_cb() 3883 kfree(flocks); in reconnect_caps_cb() 3884 flocks = NULL; in reconnect_caps_cb() 3926 ceph_locks_to_pagelist(flocks, pagelist, in reconnect_caps_cb() 3931 kfree(flocks); in reconnect_caps_cb()
|
D | super.h | 1246 struct ceph_filelock *flocks, 1249 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
|