Searched refs:seqcount (Results 1 – 16 of 16) sorted by relevance
/linux/include/linux/ |
A D | seqlock.h | 289 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 652 seqcount_t seqcount; member 660 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \ 891 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock() 903 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock() 917 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_bh() 930 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_bh() 944 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_irq() 956 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_irq() 965 do_write_seqcount_begin(&sl->seqcount.seqcount); in __write_seqlock_irqsave() [all …]
|
A D | sched.h | 332 seqcount_t seqcount; member
|
/linux/kernel/sched/ |
A D | cputime.c | 701 write_seqcount_begin(&vtime->seqcount); in vtime_account_kernel() 703 write_seqcount_end(&vtime->seqcount); in vtime_account_kernel() 710 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 713 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 720 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 727 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 744 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 756 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() 776 write_seqcount_end(&vtime->seqcount); in vtime_task_switch_generic() 789 write_seqcount_end(&vtime->seqcount); in vtime_task_switch_generic() [all …]
|
/linux/arch/s390/kernel/ |
A D | idle.c | 62 raw_write_seqcount_begin(&idle->seqcount); in arch_cpu_idle() 68 raw_write_seqcount_end(&idle->seqcount); in arch_cpu_idle() 80 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count() 84 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_count() 97 seq = read_seqcount_begin(&idle->seqcount); in show_idle_time() 101 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_time() 123 seq = read_seqcount_begin(&idle->seqcount); in arch_cpu_idle_time() 126 } while (read_seqcount_retry(&idle->seqcount, seq)); in arch_cpu_idle_time()
|
/linux/arch/s390/include/asm/ |
A D | idle.h | 16 seqcount_t seqcount; member
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_p9_entry.c | 38 seq = curr->seqcount; in __accumulate_time() 39 curr->seqcount = seq + 1; in __accumulate_time() 47 curr->seqcount = seq + 2; in __accumulate_time()
|
A D | book3s_hv.c | 2619 count = acc->seqcount; in debugfs_timings_read() 2624 if (count == acc->seqcount) { in debugfs_timings_read()
|
/linux/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/init/ |
A D | init_task.c | 171 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
/linux/arch/x86/kernel/ |
A D | tsc.c | 77 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in cyc2ns_read_begin() 84 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in cyc2ns_read_begin()
|
/linux/Documentation/locking/ |
A D | seqlock.rst | 103 stored in struct seqcount and lockdep's "lock is held" assertions are
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_host.h | 422 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
/linux/fs/ |
A D | namei.c | 1942 if (unlikely(__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq))) in handle_dots() 1944 if (unlikely(__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))) in handle_dots() 2335 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init() 2336 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
/linux/arch/powerpc/kernel/ |
A D | asm-offsets.c | 387 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
/linux/kernel/ |
A D | fork.c | 2094 seqcount_init(&p->vtime.seqcount); in copy_process()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | sdma.c | 2328 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|
Completed in 52 milliseconds