Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/fs/ceph/ |
D | locks.c | 417 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument 440 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 451 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 467 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument 480 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 481 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist() 492 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist() 493 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
|
D | mds_client.c | 3809 struct ceph_filelock *flocks = NULL; in reconnect_caps_cb() local 3821 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb() 3824 if (!flocks) { in reconnect_caps_cb() 3828 err = ceph_encode_locks_to_buffer(inode, flocks, in reconnect_caps_cb() 3832 kfree(flocks); in reconnect_caps_cb() 3833 flocks = NULL; in reconnect_caps_cb() 3839 kfree(flocks); in reconnect_caps_cb() 3840 flocks = NULL; in reconnect_caps_cb() 3882 ceph_locks_to_pagelist(flocks, pagelist, in reconnect_caps_cb() 3887 kfree(flocks); in reconnect_caps_cb()
|
D | super.h | 1266 struct ceph_filelock *flocks, 1269 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
|