Home
last modified time | relevance | path

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

/Linux-v6.1/net/ceph/
Dcls_lock_client.c241 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers) in ceph_free_lockers() argument
245 for (i = 0; i < num_lockers; i++) in ceph_free_lockers()
289 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() argument
302 *num_lockers = ceph_decode_32(p); in decode_lockers()
303 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers()
307 for (i = 0; i < *num_lockers; i++) { in decode_lockers()
324 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers()
338 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument
380 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
/Linux-v6.1/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-v6.1/drivers/block/
Drbd.c1712 u32 num_lockers; in rbd_object_map_lock() local
1731 &lockers, &num_lockers); in rbd_object_map_lock()
1741 if (num_lockers == 0) in rbd_object_map_lock()
1750 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock()
3832 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument
3843 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info()
3847 if (*num_lockers == 0) { in get_lock_owner_info()
3930 u32 num_lockers; in rbd_try_lock() local
3939 ret = get_lock_owner_info(rbd_dev, &lockers, &num_lockers); in rbd_try_lock()
3943 if (num_lockers == 0) in rbd_try_lock()
[all …]