Searched refs:num_lockers (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/net/ceph/ |
| D | cls_lock_client.c | 235 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.4/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-v5.4/drivers/block/ |
| D | rbd.c | 1869 u32 num_lockers; in rbd_object_map_lock() local 1888 &lockers, &num_lockers); in rbd_object_map_lock() 1898 if (num_lockers == 0) in rbd_object_map_lock() 1907 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3988 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument 3999 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info() 4003 if (*num_lockers == 0) { in get_lock_owner_info() 4082 u32 num_lockers; in rbd_try_lock() local 4091 ret = get_lock_owner_info(rbd_dev, &lockers, &num_lockers); in rbd_try_lock() 4095 if (num_lockers == 0) in rbd_try_lock() [all …]
|