Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/RCU/
DarrayRCU.txt40 have not been used with RCU. Rik van Riel recommends using seqlock in
45 using seqlock?
151 using seqlock is that frequent updates can livelock readers.
152 One way to avoid this problem is to assign a seqlock for
DRTFP.txt2613 RCU, and seqlock.
/Linux-v5.4/include/drm/
Ddrm_vblank.h109 seqlock_t seqlock; member
/Linux-v5.4/include/net/
Dsch_generic.h110 spinlock_t seqlock; member
140 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
159 if (!spin_trylock(&qdisc->seqlock)) in qdisc_run_begin()
177 spin_unlock(&qdisc->seqlock); in qdisc_run_end()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_vblank.c107 write_seqlock(&vblank->seqlock); in store_vblank()
110 write_sequnlock(&vblank->seqlock); in store_vblank()
465 seqlock_init(&vblank->seqlock); in drm_vblank_init()
802 seq = read_seqbegin(&vblank->seqlock); in drm_vblank_count_and_time()
805 } while (read_seqretry(&vblank->seqlock, seq)); in drm_vblank_count_and_time()
/Linux-v5.4/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.rst233 ``rename_lock`` is a seqlock that is updated whenever any dentry is
332 ``mount_lock`` is a global seqlock, a bit like ``rename_lock``. It can be used to
337 the value in the seqlock is read, then the code finds the mount that
345 a little more care is needed. In this case the seqlock (which
685 samples the status of a seqlock using ``read_seqcount_begin()`` or a
691 RCU-walk accesses two different fields in a seqlock-protected
718 We already met the ``mount_lock`` seqlock when REF-walk used it to
748 the per-dentry ``d_seq`` seqlock, and stores the sequence number in the
/Linux-v5.4/net/sched/
Dsch_generic.c855 spin_lock_init(&sch->seqlock); in qdisc_alloc()
869 lockdep_set_class(&sch->seqlock, &dev->qdisc_tx_busylock_key); in qdisc_alloc()
1136 spin_lock_bh(&qdisc->seqlock); in dev_deactivate_queue()
1147 spin_unlock_bh(&qdisc->seqlock); in dev_deactivate_queue()
/Linux-v5.4/fs/nfs/
Dnfs4proc.c1598 write_seqlock(&state->seqlock); in nfs_clear_open_stateid()
1602 write_sequnlock(&state->seqlock); in nfs_clear_open_stateid()
1610 __must_hold(&state->seqlock) in nfs_set_open_stateid_locked()
1634 write_sequnlock(&state->seqlock); in nfs_set_open_stateid_locked()
1648 write_seqlock(&state->seqlock); in nfs_set_open_stateid_locked()
1673 write_seqlock(&state->seqlock); in nfs_state_set_open_stateid()
1686 write_sequnlock(&state->seqlock); in nfs_state_set_open_stateid()
1705 write_seqlock(&state->seqlock); in nfs_state_set_delegation()
1708 write_sequnlock(&state->seqlock); in nfs_state_set_delegation()
1713 write_seqlock(&state->seqlock); in nfs_state_clear_delegation()
[all …]
Dnfs4_fs.h185 seqlock_t seqlock; /* Protects the stateid/open_stateid */ member
Dnfs4state.c676 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()
/Linux-v5.4/tools/perf/
Ddesign.txt318 __u32 lock; /* seqlock for synchronization */
/Linux-v5.4/
DMAINTAINERS9591 F: include/linux/seqlock.h