Searched refs: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 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() argument 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() 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 | 1868 struct ceph_locker *lockers; in rbd_object_map_lock() local 1888 &lockers, &num_lockers); in rbd_object_map_lock() 1902 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock() 1905 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock() 1906 &lockers[0].id.name); 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() 4021 if (strncmp((*lockers)[0].id.cookie, RBD_LOCK_COOKIE_PREFIX, in get_lock_owner_info() 4024 (*lockers)[0].id.cookie); in get_lock_owner_info() [all …]
|