Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ceph/ !
Dlocks.c414 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
423 dout("encoding %d flock and %d fcntl locks\n", num_flock_locks, in ceph_encode_locks_to_buffer()
443 if (seen_flock > num_flock_locks) { in ceph_encode_locks_to_buffer()
465 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
482 nlocks = cpu_to_le32(num_flock_locks); in ceph_locks_to_pagelist()
487 if (num_flock_locks > 0) { in ceph_locks_to_pagelist()
489 num_flock_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
Dsuper.h1288 int num_flock_locks);
1291 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3965 int num_fcntl_locks, num_flock_locks; in reconnect_caps_cb() local
3972 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in reconnect_caps_cb()
3975 num_flock_locks = 0; in reconnect_caps_cb()
3977 if (num_fcntl_locks + num_flock_locks > 0) { in reconnect_caps_cb()
3978 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb()
3987 num_flock_locks); in reconnect_caps_cb()
4009 (num_fcntl_locks + num_flock_locks) * in reconnect_caps_cb()
4040 num_fcntl_locks, num_flock_locks); in reconnect_caps_cb()