Home
last modified time | relevance | path

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

/Linux-v5.10/net/ceph/
Dcls_lock_client.c235 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers) in ceph_free_lockers() argument
239 for (i = 0; i < num_lockers; i++) in ceph_free_lockers()
283 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() argument
296 *num_lockers = ceph_decode_32(p); in decode_lockers()
297 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers()
301 for (i = 0; i < *num_lockers; i++) { in decode_lockers()
318 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers()
332 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument
374 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
/Linux-v5.10/include/linux/ceph/
Dcls_lock_client.h47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);
53 struct ceph_locker **lockers, u32 *num_lockers);
/Linux-v5.10/drivers/block/
Drbd.c1775 u32 num_lockers; in rbd_object_map_lock() local
1794 &lockers, &num_lockers); in rbd_object_map_lock()
1804 if (num_lockers == 0) in rbd_object_map_lock()
1813 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock()
3896 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument
3907 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info()
3911 if (*num_lockers == 0) { in get_lock_owner_info()
3990 u32 num_lockers; in rbd_try_lock() local
3999 ret = get_lock_owner_info(rbd_dev, &lockers, &num_lockers); in rbd_try_lock()
4003 if (num_lockers == 0) in rbd_try_lock()
[all …]