Home
last modified time | relevance | path

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

/linux-3.4.99/fs/ceph/
Dlocks.c199 struct ceph_filelock *flocks, in ceph_encode_locks_to_buffer() argument
218 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
231 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
247 int ceph_locks_to_pagelist(struct ceph_filelock *flocks, in ceph_locks_to_pagelist() argument
259 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist()
260 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
270 &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
271 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
Dsuper.h851 struct ceph_filelock *flocks,
854 extern int ceph_locks_to_pagelist(struct ceph_filelock *flocks,
Dmds_client.c2462 struct ceph_filelock *flocks; in encode_caps_cb() local
2468 flocks = kmalloc((num_fcntl_locks+num_flock_locks) * in encode_caps_cb()
2470 if (!flocks) { in encode_caps_cb()
2475 err = ceph_encode_locks_to_buffer(inode, flocks, in encode_caps_cb()
2480 kfree(flocks); in encode_caps_cb()
2493 err = ceph_locks_to_pagelist(flocks, pagelist, in encode_caps_cb()
2496 kfree(flocks); in encode_caps_cb()