Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ceph/
A Dcls_lock_client.c241 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-6.3-rc2/include/linux/ceph/
A Dcls_lock_client.h47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);
53 struct ceph_locker **lockers, u32 *num_lockers);
/linux-6.3-rc2/Documentation/locking/
A 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-6.3-rc2/drivers/block/
A Drbd.c1711 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()
1749 &lockers[0].id.name); in rbd_object_map_lock()
3867 (*lockers)[0].id.cookie); in get_lock_owner_info()
3928 struct ceph_locker *lockers; in rbd_try_lock() local
3945 ret = find_watcher(rbd_dev, lockers); in rbd_try_lock()
3950 ENTITY_NAME(lockers[0].id.name)); in rbd_try_lock()
3953 &lockers[0].info.addr); in rbd_try_lock()
3962 lockers[0].id.cookie, in rbd_try_lock()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/sysctl/
A Dkernel.rst1365 and exposes the system to denials of service from the split lockers.
1367 lockers with intentional performance degradation.

Completed in 20 milliseconds