Home
last modified time | relevance | path

Searched refs:num_fcntl_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
424 num_fcntl_locks); in ceph_encode_locks_to_buffer()
432 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
465 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
470 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
475 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
477 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
488 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1287 int num_fcntl_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()
3974 num_fcntl_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()
3986 num_fcntl_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()