Home
last modified time | relevance | path

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

/fs/ceph/
Dlocks.c411 int num_fcntl_locks, int num_flock_locks) in ceph_encode_locks_to_buffer() argument
421 num_fcntl_locks); in ceph_encode_locks_to_buffer()
429 if (seen_fcntl > num_fcntl_locks) { in ceph_encode_locks_to_buffer()
462 int num_fcntl_locks, int num_flock_locks) in ceph_locks_to_pagelist() argument
467 nlocks = cpu_to_le32(num_fcntl_locks); in ceph_locks_to_pagelist()
472 if (num_fcntl_locks > 0) { in ceph_locks_to_pagelist()
474 num_fcntl_locks * sizeof(*flocks)); in ceph_locks_to_pagelist()
485 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
Dsuper.h1247 int num_fcntl_locks,
1251 int num_fcntl_locks, int num_flock_locks);
Dmds_client.c3852 int num_fcntl_locks, num_flock_locks; in reconnect_caps_cb() local
3859 ceph_count_locks(inode, &num_fcntl_locks, &num_flock_locks); in reconnect_caps_cb()
3861 num_fcntl_locks = 0; in reconnect_caps_cb()
3864 if (num_fcntl_locks + num_flock_locks > 0) { in reconnect_caps_cb()
3865 flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, in reconnect_caps_cb()
3873 num_fcntl_locks, in reconnect_caps_cb()
3896 (num_fcntl_locks + num_flock_locks) * in reconnect_caps_cb()
3927 num_fcntl_locks, num_flock_locks); in reconnect_caps_cb()