Home
last modified time | relevance | path

Searched refs:lockers (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/net/ceph/
Dcls_lock_client.c235 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.10/include/linux/ceph/
Dcls_lock_client.h47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);
53 struct ceph_locker **lockers, u32 *num_lockers);
/Linux-v5.10/Documentation/locking/
Dlockdep-design.rst404 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-v5.10/drivers/block/
Drbd.c1774 struct ceph_locker *lockers; in rbd_object_map_lock() local
1794 &lockers, &num_lockers); in rbd_object_map_lock()
1808 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock()
1811 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock()
1812 &lockers[0].id.name); in rbd_object_map_lock()
1813 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock()
3896 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument
3907 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info()
3929 if (strncmp((*lockers)[0].id.cookie, RBD_LOCK_COOKIE_PREFIX, in get_lock_owner_info()
3932 (*lockers)[0].id.cookie); in get_lock_owner_info()
[all …]