Searched refs:seqcount (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | seqlock.h | 286 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 648 seqcount_t seqcount; member 656 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 887 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock() 899 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock() 913 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_bh() 926 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_bh() 940 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_irq() 952 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_irq() 961 do_write_seqcount_begin(&sl->seqcount.seqcount); in __write_seqlock_irqsave() [all …]
|
A D | sched.h | 346 seqcount_t seqcount; member
|
/linux-6.3-rc2/kernel/sched/ |
A D | cputime.c | 719 write_seqcount_begin(&vtime->seqcount); in vtime_account_kernel() 721 write_seqcount_end(&vtime->seqcount); in vtime_account_kernel() 728 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 731 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 738 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 745 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 762 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 774 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() 794 write_seqcount_end(&vtime->seqcount); in vtime_task_switch_generic() 807 write_seqcount_end(&vtime->seqcount); in vtime_task_switch_generic() [all …]
|
/linux-6.3-rc2/Documentation/filesystems/ |
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
|
/linux-6.3-rc2/init/ |
A D | init_task.c | 172 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
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()
|
A D | book3s_hv.c | 2808 count = acc->seqcount; in debugfs_timings_read() 2813 if (count == acc->seqcount) { in debugfs_timings_read()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | tsc.c | 79 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in cyc2ns_read_begin() 86 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in cyc2ns_read_begin()
|
/linux-6.3-rc2/Documentation/locking/ |
A D | seqlock.rst | 103 stored in struct seqcount and lockdep's "lock is held" assertions are
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | kvm_host.h | 426 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
/linux-6.3-rc2/fs/ |
A D | namei.c | 1968 if (__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq)) in handle_dots() 1970 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots() 2361 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init() 2362 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | asm-offsets.c | 389 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 2168 seqcount_init(&p->vtime.seqcount); in copy_process()
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | sdma.c | 2330 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|
Completed in 67 milliseconds