Searched refs:seqcount (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | seqlock.h | 65 typedef struct seqcount { struct 179 seqcount_init(&____s->seqcount); \ 202 seqcount_t seqcount; \ 209 return &s->seqcount; \ 215 unsigned seq = READ_ONCE(s->seqcount.sequence); \ 228 seq = READ_ONCE(s->seqcount.sequence); \ 289 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 647 seqcount_t seqcount; member 655 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 662 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount) [all …]
|
D | sched.h | 319 seqcount_t seqcount; member
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | idle.c | 42 raw_write_seqcount_begin(&idle->seqcount); in enabled_wait() 48 raw_write_seqcount_end(&idle->seqcount); in enabled_wait() 60 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count() 64 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_count() 77 seq = read_seqcount_begin(&idle->seqcount); in show_idle_time() 81 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_time() 103 seq = read_seqcount_begin(&idle->seqcount); in arch_cpu_idle_time() 106 } while (read_seqcount_retry(&idle->seqcount, seq)); in arch_cpu_idle_time()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cputime.c | 717 write_seqcount_begin(&vtime->seqcount); in vtime_account_kernel() 719 write_seqcount_end(&vtime->seqcount); in vtime_account_kernel() 726 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 729 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 736 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 743 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 756 write_seqcount_begin(&vtime->seqcount); in vtime_guest_enter() 760 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 768 write_seqcount_begin(&vtime->seqcount); in vtime_guest_exit() 772 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() [all …]
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | idle.h | 16 seqcount_t seqcount; member
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
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
|
/kernel/linux/linux-5.10/init/ |
D | init_task.c | 173 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | tsc.c | 76 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in cyc2ns_read_begin() 83 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in cyc2ns_read_begin()
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | seqlock.rst | 103 stored in struct seqcount and lockdep's "lock is held" assertions are
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kvm_host.h | 435 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
/kernel/linux/linux-5.10/fs/ |
D | namei.c | 1834 if (unlikely(__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq))) in handle_dots() 1836 if (unlikely(__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))) in handle_dots() 2220 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init() 2221 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | asm-offsets.c | 489 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
/kernel/linux/linux-5.10/kernel/ |
D | fork.c | 2031 seqcount_init(&p->vtime.seqcount); in copy_process()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv.c | 2252 count = acc->seqcount; in debugfs_timings_read() 2257 if (count == acc->seqcount) { in debugfs_timings_read()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 2370 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|