Home
last modified time | relevance | path

Searched refs:seqlock (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/Documentation/RCU/
DarrayRCU.rst46 have not been used with RCU. Rik van Riel recommends using seqlock in
51 Why is it so important that updates be rare when using seqlock?
160 Why is it so important that updates be rare when using seqlock?
163 using seqlock is that frequent updates can livelock readers.
164 One way to avoid this problem is to assign a seqlock for
DRTFP.txt2613 RCU, and seqlock.
/kernel/linux/linux-5.10/Documentation/locking/
Dindex.rst17 seqlock
Dseqlock.rst239 .. kernel-doc:: include/linux/seqlock.h
/kernel/linux/linux-5.10/include/drm/
Ddrm_vblank.h111 seqlock_t seqlock; member
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h111 spinlock_t seqlock; member
144 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
163 if (spin_trylock(&qdisc->seqlock)) in qdisc_run_begin()
198 if (!spin_trylock(&qdisc->seqlock)) in qdisc_run_begin()
218 spin_unlock(&qdisc->seqlock); in qdisc_run_end()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank.c179 write_seqlock(&vblank->seqlock); in store_vblank()
182 write_sequnlock(&vblank->seqlock); in store_vblank()
538 seqlock_init(&vblank->seqlock); in drm_vblank_init()
942 seq = read_seqbegin(&vblank->seqlock); in drm_vblank_count_and_time()
945 } while (read_seqretry(&vblank->seqlock, seq)); in drm_vblank_count_and_time()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dpath-lookup.txt94 These members are also protected by d_seq seqlock, although this offers
120 dentry. So a seqlock is used to detect when a rename has occurred, and so the
172 rename seqlock is also used to cover this race in much the same way, by
184 dentry seqlock (d_seq) is used to take a "coherent snapshot" of what the dentry
301 * Have a per-dentry seqlock to protect the dentry name, parent, and inode,
313 * If seqlock verification fails anywhere along the path, do a full restart
Dpath-lookup.rst234 ``rename_lock`` is a seqlock that is updated whenever any dentry is
340 ``mount_lock`` is a global seqlock, a bit like ``rename_lock``. It can be used to
345 the value in the seqlock is read, then the code finds the mount that
353 a little more care is needed. In this case the seqlock (which
701 samples the status of a seqlock using ``read_seqcount_begin()`` or a
707 RCU-walk accesses two different fields in a seqlock-protected
734 We already met the ``mount_lock`` seqlock when REF-walk used it to
764 the per-dentry ``d_seq`` seqlock, and stores the sequence number in the
/kernel/linux/linux-5.10/net/sched/
Dsch_generic.c888 spin_lock_init(&sch->seqlock); in qdisc_alloc()
889 lockdep_set_class(&sch->seqlock, in qdisc_alloc()
1199 spin_lock_bh(&qdisc->seqlock); in dev_reset_queue()
1207 spin_unlock_bh(&qdisc->seqlock); in dev_reset_queue()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4proc.c1655 write_seqlock(&state->seqlock); in nfs_clear_open_stateid()
1659 write_sequnlock(&state->seqlock); in nfs_clear_open_stateid()
1667 __must_hold(&state->seqlock) in nfs_set_open_stateid_locked()
1691 write_sequnlock(&state->seqlock); in nfs_set_open_stateid_locked()
1706 write_seqlock(&state->seqlock); in nfs_set_open_stateid_locked()
1731 write_seqlock(&state->seqlock); in nfs_state_set_open_stateid()
1744 write_sequnlock(&state->seqlock); in nfs_state_set_open_stateid()
1763 write_seqlock(&state->seqlock); in nfs_state_set_delegation()
1766 write_sequnlock(&state->seqlock); in nfs_state_set_delegation()
1771 write_seqlock(&state->seqlock); in nfs_state_clear_delegation()
[all …]
Dnfs4_fs.h188 seqlock_t seqlock; /* Protects the stateid/open_stateid */ member
Dnfs4state.c675 seqlock_init(&state->seqlock); in nfs4_alloc_open_state()
1027 seq = read_seqbegin(&state->seqlock); in nfs4_copy_open_stateid()
1033 } while (read_seqretry(&state->seqlock, seq)); in nfs4_copy_open_stateid()
/kernel/linux/linux-5.10/tools/memory-model/Documentation/
Dsimple.txt151 Additional information may be found in include/linux/seqlock.h.
/kernel/linux/linux-5.10/tools/perf/
Ddesign.txt319 __u32 lock; /* seqlock for synchronization */
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch132 + * of q->seqlock to protect from racing with requeuing.
478 spin_unlock_bh(&qdisc->seqlock);
/kernel/linux/linux-5.10/
DMAINTAINERS10270 F: include/linux/seqlock.h