Home
last modified time | relevance | path

Searched refs:seqcount_t (Results 1 – 19 of 19) sorted by relevance

/linux/include/linux/
H A Dseqlock.h6 * seqcount_t / seqlock_t - a reader-writer consistency mechanism with
27 * The seqlock seqcount_t interface does not prescribe a precise sequence of
33 * via seqcount_t under KCSAN: upon beginning a seq-reader critical section,
41 static inline void __seqcount_init(seqcount_t *s, const char *name, in __seqcount_init()
57 * seqcount_init() - runtime initializer for seqcount_t
58 * @s: Pointer to the seqcount_t instance
66 static inline void seqcount_lockdep_reader_access(const seqcount_t *s) in seqcount_lockdep_reader_access()
68 seqcount_t *l = (seqcount_t *)s; in seqcount_lockdep_reader_access()
84 * SEQCNT_ZERO() - static initializer for seqcount_t
[all...]
H A Dseqlock_types.h10 * Sequence counters (seqcount_t)
38 } seqcount_t; typedef
64 seqcount_t seqcount; \
81 * - Comments on top of seqcount_t
87 * seqcount_spinlock_t instead of seqcount_t. Check __SEQ_LOCK().
H A Dflex_proportions.h34 seqcount_t sequence;
H A Du64_stats_sync.h66 seqcount_t seq;
H A Duprobes.h132 seqcount_t ri_seqcount;
H A Dmm_types.h1066 seqcount_t mm_lock_seq;
1095 seqcount_t write_protect_seq;
H A Dfs.h723 seqcount_t i_size_seqcount;
/linux/Documentation/locking/
H A Dseqlock.rst39 Sequence counters (``seqcount_t``)
59 seqcount_t foo_seqcount;
63 static seqcount_t foo_seqcount = SEQCNT_ZERO(foo_seqcount);
95 As discussed at :ref:`seqcount_t`, sequence count write side critical
119 seqcount_t or any of the seqcount_LOCKNAME_t variants above.
136 Write path: same as in :ref:`seqcount_t`, while running from a context
139 Read path: same as in :ref:`seqcount_t`.
148 where the embedded seqcount_t counter even/odd value is used to switch
164 This contains the :ref:`seqcount_t` mechanism earlier discussed, plus an
37 .. _seqcount_t: global() target in Introduction
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h108 seqcount_t link_seq;
/linux/net/core/
H A Dgen_estimator.c50 seqcount_t seq;
/linux/include/linux/netfilter/
H A Dx_tables.h336 DECLARE_PER_CPU(seqcount_t, xt_recseq);
/linux/fs/bcachefs/
H A Dbcachefs.h980 seqcount_t usage_lock;
1031 seqcount_t gc_pos_lock;
/linux/drivers/gpu/drm/v3d/
H A Dv3d_drv.h50 seqcount_t lock;
/linux/arch/s390/include/asm/
H A Dkvm_host.h435 seqcount_t cputm_seqcount;
/linux/net/netfilter/
H A Dx_tables.c1324 DEFINE_PER_CPU(seqcount_t, xt_recseq);
1433 seqcount_t *s = &per_cpu(xt_recseq, cpu); in xt_replace_table()
/linux/kernel/sched/
H A Dpsi.c179 static DEFINE_PER_CPU(seqcount_t, psi_seq) = SEQCNT_ZERO(psi_seq);
/linux/net/ipv4/netfilter/
H A Dip_tables.c747 seqcount_t *s = &per_cpu(xt_recseq, cpu); in get_counters()
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c2311 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
/linux/arch/x86/kvm/
H A Dx86.c2243 seqcount_t seq;