Searched refs:seqcount (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | seqlock.h | 48 typedef struct seqcount { struct 405 struct seqcount seqcount; member 415 .seqcount = SEQCNT_ZERO(lockname), \ 421 seqcount_init(&(x)->seqcount); \ 433 return read_seqcount_begin(&sl->seqcount); in read_seqbegin() 438 return read_seqcount_retry(&sl->seqcount, start); in read_seqretry() 449 write_seqcount_begin(&sl->seqcount); in write_seqlock() 454 write_seqcount_end(&sl->seqcount); in write_sequnlock() 461 write_seqcount_begin(&sl->seqcount); in write_seqlock_bh() 466 write_seqcount_end(&sl->seqcount); in write_sequnlock_bh() [all …]
|
| D | sched.h | 260 seqcount_t seqcount; member
|
| /Linux-v5.4/arch/s390/kernel/ |
| D | idle.c | 42 write_seqcount_begin(&idle->seqcount); in enabled_wait() 48 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()
|
| /Linux-v5.4/kernel/sched/ |
| D | cputime.c | 741 write_seqcount_begin(&vtime->seqcount); in vtime_account_system() 747 write_seqcount_end(&vtime->seqcount); in vtime_account_system() 754 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 757 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 764 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 771 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 784 write_seqcount_begin(&vtime->seqcount); in vtime_guest_enter() 787 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 795 write_seqcount_begin(&vtime->seqcount); in vtime_guest_exit() 798 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() [all …]
|
| /Linux-v5.4/drivers/net/phy/ |
| D | fixed_phy.c | 37 seqcount_t seqcount; member 86 s = read_seqcount_begin(&fp->seqcount); in fixed_mdio_read() 95 } while (read_seqcount_retry(&fp->seqcount, s)); in fixed_mdio_read() 153 seqcount_init(&fp->seqcount); in fixed_phy_add_gpiod()
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | idle.h | 16 seqcount_t seqcount; member
|
| /Linux-v5.4/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
|
| /Linux-v5.4/init/ |
| D | init_task.c | 152 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | kvm_host.h | 428 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | asm-offsets.c | 468 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
| /Linux-v5.4/fs/ |
| D | userfaultfd.c | 64 struct seqcount refile_seq;
|
| /Linux-v5.4/kernel/ |
| D | fork.c | 1915 seqcount_init(&p->vtime.seqcount); in copy_process()
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_hv.c | 2180 count = acc->seqcount; in debugfs_timings_read() 2185 if (count == acc->seqcount) { in debugfs_timings_read()
|
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | sdma.c | 2370 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|