Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ceph/
Dlocks.c431 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
441 num_fcntl_locks); in ceph_encode_locks_to_buffer()
449 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
482 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
487 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
492 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
494 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
505 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1352 int num_fcntl_locks,
1356 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c4377 int num_fcntl_locks, num_flock_locks; in reconnect_caps_cb() local
4384 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in reconnect_caps_cb()
4386 num_fcntl_locks = 0; in reconnect_caps_cb()
4389 if (num_fcntl_locks + num_flock_locks > 0) { in reconnect_caps_cb()
4390 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb()
4398 num_fcntl_locks, in reconnect_caps_cb()
4421 (num_fcntl_locks + num_flock_locks) * in reconnect_caps_cb()
4452 num_fcntl_locks, num_flock_locks); in reconnect_caps_cb()