Home
last modified time | relevance | path

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

/linux/net/ceph/
H A 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/include/linux/ceph/
H A Dcls_lock_client.h47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);
53 struct ceph_locker **lockers, u32 *num_lockers);
/linux/drivers/block/
H A Drbd.c1735 u32 num_lockers; in rbd_object_map_lock() local
1754 &lockers, &num_lockers); in rbd_object_map_lock()
1764 if (num_lockers == 0) in rbd_object_map_lock()
1773 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock()
3876 u32 num_lockers; in get_lock_owner_info() local
3884 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info()
3890 if (num_lockers == 0) { in get_lock_owner_info()
3907 WARN_ON(num_lockers != 1); in get_lock_owner_info()
3931 ceph_free_lockers(lockers, num_lockers); in get_lock_owner_info()