Searched refs:lockers (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/net/ceph/ |
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() argument 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() 338 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument 380 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
|
/Linux-v6.1/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-v6.1/Documentation/locking/ |
D | lockdep-design.rst | 404 There are three types of lockers: writers (i.e. exclusive lockers, like 405 spin_lock() or write_lock()), non-recursive readers (i.e. shared lockers, like 406 down_read()) and recursive readers (recursive shared lockers, like rcu_read_lock()). 407 And we use the following notations of those lockers in the rest of the document: 409 W or E: stands for writers (exclusive lockers). 412 S: stands for all readers (non-recursive + recursive), as both are shared lockers. 417 Recursive readers, as their name indicates, are the lockers allowed to acquire 515 because there are 3 types for lockers, there are, in theory, 9 types of lock
|
/Linux-v6.1/drivers/block/ |
D | rbd.c | 1711 struct ceph_locker *lockers; in rbd_object_map_lock() local 1731 &lockers, &num_lockers); in rbd_object_map_lock() 1745 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock() 1748 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock() 1749 &lockers[0].id.name); in rbd_object_map_lock() 1750 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3832 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument 3843 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info() 3865 if (strncmp((*lockers)[0].id.cookie, RBD_LOCK_COOKIE_PREFIX, in get_lock_owner_info() 3868 (*lockers)[0].id.cookie); in get_lock_owner_info() [all …]
|