Home
last modified time | relevance | path

Searched refs:num_flock_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
427 dout("encoding %d flock and %d fcntl locks\n", num_flock_locks, in ceph_encode_locks_to_buffer()
447 if (seen_flock > num_flock_locks) { in ceph_encode_locks_to_buffer()
469 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
486 nlocks = cpu_to_le32(num_flock_locks); in ceph_locks_to_pagelist()
491 if (num_flock_locks > 0) { in ceph_locks_to_pagelist()
493 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
Dsuper.h1268 int num_flock_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()
3818 num_flock_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()
3830 num_flock_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()