Searched refs:seqcount (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | seqlock.h | 64 typedef struct seqcount { struct 178 seqcount_init(&____s->seqcount); \ 200 seqcount_t seqcount; \ 207 return &s->seqcount; \ 213 unsigned seq = READ_ONCE(s->seqcount.sequence); \ 226 seq = READ_ONCE(s->seqcount.sequence); \ 286 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 648 seqcount_t seqcount; member 656 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 663 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount) [all …]
|
H A D | sched.h | 346 seqcount_t seqcount; member
|
/openbmc/linux/kernel/sched/ |
H A D | cputime.c | 725 write_seqcount_begin(&vtime->seqcount); in vtime_account_kernel() 727 write_seqcount_end(&vtime->seqcount); in vtime_account_kernel() 734 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 737 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 744 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 751 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 764 write_seqcount_begin(&vtime->seqcount); in vtime_guest_enter() 768 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 776 write_seqcount_begin(&vtime->seqcount); in vtime_guest_exit() 780 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | path-lookup.txt | 96 using d_seq for synchronisation (see seqcount based lookups, below). 192 no non-atomic stores to shared data), and to recheck the seqcount when we are 193 "done" with the operation. Retry or abort if the seqcount does not match. 198 protect the dentry object from disappearing, can perform a seqcount based 203 Inodes are also rcu freed, so the seqcount lookup dentry's inode may also be 216 walking is operating on each dentry. rcu-walk uses seqcount based dentry 277 It is, in some sense, a bit of a house of cards. If the seqcount check of the
|
/openbmc/linux/init/ |
H A D | init_task.c | 173 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 239 seq = curr->seqcount; in accumulate_time() 240 curr->seqcount = seq + 1; in accumulate_time() 248 curr->seqcount = seq + 2; in accumulate_time()
|
H A D | book3s_hv.c | 2829 count = acc->seqcount; in debugfs_timings_read() 2834 if (count == acc->seqcount) { in debugfs_timings_read()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tsc.c | 77 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in __cyc2ns_read() 84 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in __cyc2ns_read()
|
/openbmc/linux/Documentation/locking/ |
H A D | seqlock.rst | 103 stored in struct seqcount and lockdep's "lock is held" assertions are
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_host.h | 426 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
/openbmc/linux/fs/ |
H A D | namei.c | 1976 if (__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq)) in handle_dots() 1978 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots() 2369 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init() 2370 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 393 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
/openbmc/linux/kernel/ |
H A D | fork.c | 2399 seqcount_init(&p->vtime.seqcount); in copy_process()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 2328 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|