Home
last modified time | relevance | path

Searched refs:flocks (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/ceph/
Dlocks.c399 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument
422 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
433 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
449 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument
462 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist()
463 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
474 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
475 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
Dmds_client.c3061 struct ceph_filelock *flocks = NULL; in encode_caps_cb() local
3073 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in encode_caps_cb()
3076 if (!flocks) { in encode_caps_cb()
3080 err = ceph_encode_locks_to_buffer(inode, flocks, in encode_caps_cb()
3084 kfree(flocks); in encode_caps_cb()
3085 flocks = NULL; in encode_caps_cb()
3091 kfree(flocks); in encode_caps_cb()
3092 flocks = NULL; in encode_caps_cb()
3125 ceph_locks_to_pagelist(flocks, pagelist, in encode_caps_cb()
3131 kfree(flocks); in encode_caps_cb()
Dsuper.h1074 struct ceph_filelock *flocks,
1077 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,