Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/ceph/ |
D | locks.c | 400 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument 423 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 434 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 450 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument 463 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 464 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist() 475 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist() 476 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
|
D | mds_client.c | 3014 struct ceph_filelock *flocks = NULL; in encode_caps_cb() local 3026 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in encode_caps_cb() 3029 if (!flocks) { in encode_caps_cb() 3033 err = ceph_encode_locks_to_buffer(inode, flocks, in encode_caps_cb() 3037 kfree(flocks); in encode_caps_cb() 3038 flocks = NULL; in encode_caps_cb() 3044 kfree(flocks); in encode_caps_cb() 3045 flocks = NULL; in encode_caps_cb() 3078 ceph_locks_to_pagelist(flocks, pagelist, in encode_caps_cb() 3084 kfree(flocks); in encode_caps_cb()
|
D | super.h | 1068 struct ceph_filelock *flocks, 1071 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
|