Searched refs:num_lockers (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/net/ceph/ |
D | cls_lock_client.c | 234 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers) in ceph_free_lockers() argument 238 for (i = 0; i < num_lockers; i++) in ceph_free_lockers() 279 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() argument 292 *num_lockers = ceph_decode_32(p); in decode_lockers() 293 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers() 297 for (i = 0; i < *num_lockers; i++) { in decode_lockers() 314 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers() 328 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument 370 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
|
/Linux-v4.19/include/linux/ceph/ |
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-v4.19/drivers/block/ |
D | rbd.c | 2844 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument 2855 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info() 2859 if (*num_lockers == 0) { in get_lock_owner_info() 2938 u32 num_lockers; in rbd_try_lock() local 2947 ret = get_lock_owner_info(rbd_dev, &lockers, &num_lockers); in rbd_try_lock() 2951 if (num_lockers == 0) in rbd_try_lock() 2980 ceph_free_lockers(lockers, num_lockers); in rbd_try_lock() 2984 ceph_free_lockers(lockers, num_lockers); in rbd_try_lock()
|