Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ceph/
Dlocks.c401 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
411 num_fcntl_locks); in ceph_encode_locks_to_buffer()
419 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
452 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
457 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
462 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
464 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
475 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1069 int num_fcntl_locks,
1073 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3013 int num_fcntl_locks, num_flock_locks; in encode_caps_cb() local
3020 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in encode_caps_cb()
3022 num_fcntl_locks = 0; in encode_caps_cb()
3025 if (num_fcntl_locks + num_flock_locks > 0) { in encode_caps_cb()
3026 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in encode_caps_cb()
3034 num_fcntl_locks, in encode_caps_cb()
3057 (num_fcntl_locks + num_flock_locks) * in encode_caps_cb()
3079 num_fcntl_locks, in encode_caps_cb()