Home
last modified time | relevance | path

Searched refs:num_lockers (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
H A Dcls_lock_client.c235 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()
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()
326 * ceph_free_lockers(lockers, num_lockers);
332 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info()
374 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
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 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()
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()
332 * ceph_free_lockers(lockers, num_lockers);
338 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info()
380 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
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 Dcls_lock_client.h47 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 Dcls_lock_client.h47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);
53 struct ceph_locker **lockers, u32 *num_lockers);
/kernel/linux/linux-5.10/drivers/block/
H A Drbd.c1798 u32 num_lockers; in rbd_object_map_lock() local
1817 &lockers, &num_lockers); in rbd_object_map_lock()
1827 if (num_lockers == 0) in rbd_object_map_lock()
1836 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock()
3945 u32 num_lockers; in get_lock_owner_info() local
3954 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info()
3960 if (num_lockers == 0) { in get_lock_owner_info()
3977 WARN_ON(num_lockers != 1); in get_lock_owner_info()
3991 ceph_free_lockers(lockers, num_lockers); in get_lock_owner_info()
/kernel/linux/linux-6.6/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()
3880 u32 num_lockers; in get_lock_owner_info() local
3888 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info()
3894 if (num_lockers == 0) { in get_lock_owner_info()
3911 WARN_ON(num_lockers != 1); in get_lock_owner_info()
3935 ceph_free_lockers(lockers, num_lockers); in get_lock_owner_info()

Completed in 20 milliseconds