Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ceph/
Dlocks.c415 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
425 num_fcntl_locks); in ceph_encode_locks_to_buffer()
433 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
466 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
471 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
476 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
478 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
489 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1248 int num_fcntl_locks,
1252 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3844 int num_fcntl_locks, num_flock_locks; in reconnect_caps_cb() local
3851 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in reconnect_caps_cb()
3853 num_fcntl_locks = 0; in reconnect_caps_cb()
3856 if (num_fcntl_locks + num_flock_locks > 0) { in reconnect_caps_cb()
3857 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb()
3865 num_fcntl_locks, in reconnect_caps_cb()
3888 (num_fcntl_locks + num_flock_locks) * in reconnect_caps_cb()
3919 num_fcntl_locks, num_flock_locks); in reconnect_caps_cb()