Home
last modified time | relevance | path

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

/linux-6.15/Documentation/locking/
H A Dindex.rst17 seqlock
H A Dseqlock.rst239 .. kernel-doc:: include/linux/seqlock.h
/linux-6.15/Documentation/translations/zh_CN/locking/
H A Dindex.rst28 * seqlock
/linux-6.15/include/drm/
H A Ddrm_vblank.h136 seqlock_t seqlock; member
/linux-6.15/include/net/
H A Dsch_generic.h127 spinlock_t seqlock; member
170 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
197 if (spin_trylock(&qdisc->seqlock)) in qdisc_run_begin()
212 return spin_trylock(&qdisc->seqlock); in qdisc_run_begin()
220 spin_unlock(&qdisc->seqlock); in qdisc_run_end()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_vblank.c192 write_seqlock(&vblank->seqlock); in store_vblank()
195 write_sequnlock(&vblank->seqlock); in store_vblank()
547 seqlock_init(&vblank->seqlock); in drm_vblank_init()
954 seq = read_seqbegin(&vblank->seqlock); in drm_vblank_count_and_time()
957 } while (read_seqretry(&vblank->seqlock, seq)); in drm_vblank_count_and_time()
/linux-6.15/Documentation/filesystems/
H A 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
H A 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
700 samples the status of a seqlock using ``read_seqcount_begin()`` or a
706 RCU-walk accesses two different fields in a seqlock-protected
733 We already met the ``mount_lock`` seqlock when REF-walk used it to
763 the per-dentry ``d_seq`` seqlock, and stores the sequence number in the
/linux-6.15/net/sched/
H A Dsch_generic.c976 spin_lock_init(&sch->seqlock); in qdisc_alloc()
977 lockdep_set_class(&sch->seqlock, in qdisc_alloc()
1308 spin_lock_bh(&qdisc->seqlock); in dev_reset_queue()
1317 spin_unlock_bh(&qdisc->seqlock); in dev_reset_queue()
/linux-6.15/fs/nfs/
H A Dnfs4proc.c1752 write_seqlock(&state->seqlock); in nfs_clear_open_stateid()
1756 write_sequnlock(&state->seqlock); in nfs_clear_open_stateid()
1764 __must_hold(&state->seqlock) in nfs_set_open_stateid_locked()
1804 write_seqlock(&state->seqlock); in nfs_set_open_stateid_locked()
1829 write_seqlock(&state->seqlock); in nfs_state_set_open_stateid()
1842 write_sequnlock(&state->seqlock); in nfs_state_set_open_stateid()
1861 write_seqlock(&state->seqlock); in nfs_state_set_delegation()
1864 write_sequnlock(&state->seqlock); in nfs_state_set_delegation()
1869 write_seqlock(&state->seqlock); in nfs_state_clear_delegation()
2273 write_seqlock(&state->seqlock); in nfs4_open_recover()
[all …]
H A Dnfs4_fs.h191 seqlock_t seqlock; /* Protects the stateid/open_stateid */ member
H A Dnfs4state.c673 seqlock_init(&state->seqlock); in nfs4_alloc_open_state()
1019 seq = read_seqbegin(&state->seqlock); in nfs4_copy_open_stateid()
1025 } while (read_seqretry(&state->seqlock, seq)); in nfs4_copy_open_stateid()
/linux-6.15/Documentation/mm/
H A Dphysical_memory.rst504 The seqlock to protect ``zone_start_pfn`` and ``spanned_pages``. It is a
505 seqlock because it has to be read outside of ``zone->lock``, and it is done in
506 the main allocator path. However, the seqlock is written quite infrequently.
/linux-6.15/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst87 notifier invalidation. This is not a real seqlock but described in
423 The MMU interval seqlock for a userptr gpu_vma is used in the following
/linux-6.15/tools/memory-model/Documentation/
H A Dsimple.txt151 Additional information may be found in include/linux/seqlock.h.
/linux-6.15/tools/perf/
H A Ddesign.txt322 __u32 lock; /* seqlock for synchronization */
/linux-6.15/Documentation/RCU/
H A DRTFP.txt2613 RCU, and seqlock.
/linux-6.15/
H A DMAINTAINERS13885 F: include/linux/seqlock.h