Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/fs/ceph/ |
| D | locks.c | 390 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument 413 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 424 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer() 440 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument 453 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 454 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist() 465 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist() 466 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
|
| D | mds_client.c | 3384 struct ceph_filelock *flocks = NULL; in encode_caps_cb() local 3396 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in encode_caps_cb() 3399 if (!flocks) { in encode_caps_cb() 3403 err = ceph_encode_locks_to_buffer(inode, flocks, in encode_caps_cb() 3407 kfree(flocks); in encode_caps_cb() 3408 flocks = NULL; in encode_caps_cb() 3414 kfree(flocks); in encode_caps_cb() 3415 flocks = NULL; in encode_caps_cb() 3457 ceph_locks_to_pagelist(flocks, pagelist, in encode_caps_cb() 3462 kfree(flocks); in encode_caps_cb()
|
| D | super.h | 1137 struct ceph_filelock *flocks, 1140 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
|