Searched refs:num_lockers (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ceph/ |
| H A D | cls_lock_client.c | 241 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() 294 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() argument 307 ceph_decode_32_safe(p, end, *num_lockers, err_inval); in decode_lockers() 308 *lockers = kzalloc_objs(**lockers, *num_lockers, GFP_NOIO); in decode_lockers() 312 for (i = 0; i < *num_lockers; i++) { in decode_lockers() 333 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers() 347 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument 389 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
|
| /linux/include/linux/ceph/ |
| H A D | cls_lock_client.h | 47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers); 53 struct ceph_locker **lockers, u32 *num_lockers);
|
| /linux/drivers/block/ |
| H A D | rbd.c | 1728 u32 num_lockers; in rbd_object_map_lock() local 1747 &lockers, &num_lockers); in rbd_object_map_lock() 1757 if (num_lockers == 0) in rbd_object_map_lock() 1766 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3892 u32 num_lockers; in get_lock_owner_info() local 3900 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info() 3906 if (num_lockers == 0) { in get_lock_owner_info() 3923 WARN_ON(num_lockers != 1); in get_lock_owner_info() 3947 ceph_free_lockers(lockers, num_lockers); in get_lock_owner_info()
|