/kernel/linux/linux-5.10/net/ceph/ |
H A D | cls_lock_client.c | 235 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers) in ceph_free_lockers() argument 240 kfree(lockers[i].id.cookie); in ceph_free_lockers() 241 kfree(lockers); in ceph_free_lockers() 283 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() 297 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers() 298 if (!*lockers) in decode_lockers() 302 ret = decode_locker(p, end, *lockers + i); in decode_lockers() 318 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers() 326 * ceph_free_lockers(lockers, num_locker 282 decode_lockers(void **p, void *end, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) decode_lockers() argument 328 ceph_cls_lock_info(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) ceph_cls_lock_info() argument [all...] |
/kernel/linux/linux-6.6/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 246 kfree(lockers[i].id.cookie); in ceph_free_lockers() 247 kfree(lockers); in ceph_free_lockers() 289 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() 303 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers() 304 if (!*lockers) in decode_lockers() 308 ret = decode_locker(p, end, *lockers + i); in decode_lockers() 324 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers() 332 * ceph_free_lockers(lockers, num_locker 288 decode_lockers(void **p, void *end, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) decode_lockers() argument 334 ceph_cls_lock_info(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) ceph_cls_lock_info() argument [all...] |
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | rbd.c | 1734 struct ceph_locker *lockers; in rbd_object_map_lock() local 1754 &lockers, &num_lockers); in rbd_object_map_lock() 1759 rbd_warn(rbd_dev, "failed to get object map lockers: %d", ret); in rbd_object_map_lock() 1768 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock() 1771 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock() 1772 &lockers[0].id.name); in rbd_object_map_lock() 1773 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3879 struct ceph_locker *lockers; in get_lock_owner_info() local 3888 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info() 3890 rbd_warn(rbd_dev, "failed to get header lockers in get_lock_owner_info() [all...] |
/kernel/linux/linux-5.10/drivers/block/ |
H A D | rbd.c | 1797 struct ceph_locker *lockers; in rbd_object_map_lock() local 1817 &lockers, &num_lockers); in rbd_object_map_lock() 1822 rbd_warn(rbd_dev, "failed to get object map lockers: %d", ret); in rbd_object_map_lock() 1831 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock() 1834 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock() 1835 &lockers[0].id.name); in rbd_object_map_lock() 1836 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3944 struct ceph_locker *lockers; in get_lock_owner_info() local 3954 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info() 3956 rbd_warn(rbd_dev, "failed to get header lockers in get_lock_owner_info() [all...] |