Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dlocks.c400 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
410 num_fcntl_locks); in ceph_encode_locks_to_buffer()
418 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
451 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
456 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
461 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
463 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
474 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1075 int num_fcntl_locks,
1079 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3060 int num_fcntl_locks, num_flock_locks; in encode_caps_cb() local
3067 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in encode_caps_cb()
3069 num_fcntl_locks = 0; in encode_caps_cb()
3072 if (num_fcntl_locks + num_flock_locks > 0) { in encode_caps_cb()
3073 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in encode_caps_cb()
3081 num_fcntl_locks, in encode_caps_cb()
3104 (num_fcntl_locks + num_flock_locks) * in encode_caps_cb()
3126 num_fcntl_locks, in encode_caps_cb()