Searched refs:seqcount (Results 1 - 14 of 14) sorted by relevance

/linux-master/include/linux/
H A Dseqlock.h106 * @seqcount: The real sequence counter
126 seqcount_init(&____s->seqcount); \
148 return &s->seqcount; \
154 return &s->seqcount; \
160 unsigned seq = READ_ONCE(s->seqcount.sequence); \
173 seq = READ_ONCE(s->seqcount.sequence); \
239 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
479 * only if the seqcount write serialization lock is associated, and
503 * the seqcount writ
602 seqcount_t seqcount; member in struct:__anon611
[all...]
H A Dseqlock_types.h33 typedef struct seqcount { struct
64 seqcount_t seqcount; \
89 seqcount_spinlock_t seqcount; member in struct:__anon612
H A Dsched.h356 seqcount_t seqcount; member in struct:vtime
/linux-master/kernel/sched/
H A Dcputime.c719 write_seqcount_begin(&vtime->seqcount);
721 write_seqcount_end(&vtime->seqcount);
728 write_seqcount_begin(&vtime->seqcount);
731 write_seqcount_end(&vtime->seqcount);
738 write_seqcount_begin(&vtime->seqcount);
745 write_seqcount_end(&vtime->seqcount);
758 write_seqcount_begin(&vtime->seqcount);
762 write_seqcount_end(&vtime->seqcount);
770 write_seqcount_begin(&vtime->seqcount);
774 write_seqcount_end(&vtime->seqcount);
[all...]
/linux-master/init/
H A Dinit_task.c168 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_p9_entry.c239 seq = curr->seqcount;
240 curr->seqcount = seq + 1;
248 curr->seqcount = seq + 2;
H A Dbook3s_hv.c2886 count = acc->seqcount;
2891 if (count == acc->seqcount) {
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif.h2016 #define ROGUE_FWIF_TIME_CORR_CURR_INDEX(seqcount) \
2017 ((seqcount) % ROGUE_FWIF_TIME_CORR_ARRAY_SIZE)
/linux-master/arch/x86/kernel/
H A Dtsc.c77 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence);
84 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence)));
/linux-master/arch/powerpc/include/asm/
H A Dkvm_host.h425 u64 seqcount; /* used to synchronize access, also count * 2 */ member in class:kvmppc_slb::__anon72
/linux-master/arch/powerpc/kernel/
H A Dasm-offsets.c389 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount);
/linux-master/fs/
H A Dnamei.c758 * (eg. a seqcount has changed), then failure is returned and it's up to caller
1978 if (__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq))
1980 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))
2371 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount);
2372 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount);
/linux-master/drivers/infiniband/hw/hfi1/
H A Dsdma.c2328 (const seqcount_t *)&sde->head_lock.seqcount);
/linux-master/kernel/
H A Dfork.c2293 seqcount_init(&p->vtime.seqcount);

Completed in 254 milliseconds