Home
last modified time | relevance | path

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

/linux-5.19.10/fs/ceph/
Dlocks.c418 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
428 num_fcntl_locks); in ceph_encode_locks_to_buffer()
436 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
469 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
474 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
479 if (num_fcntl_locks > 0) { 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()
Dsuper.h1267 int num_fcntl_locks,
1271 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3808 int num_fcntl_locks, num_flock_locks; in reconnect_caps_cb() local
3815 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in reconnect_caps_cb()
3817 num_fcntl_locks = 0; in reconnect_caps_cb()
3820 if (num_fcntl_locks + num_flock_locks > 0) { in reconnect_caps_cb()
3821 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb()
3829 num_fcntl_locks, in reconnect_caps_cb()
3852 (num_fcntl_locks + num_flock_locks) * in reconnect_caps_cb()
3883 num_fcntl_locks, num_flock_locks); in reconnect_caps_cb()