Searched refs:seqcount (Results 1 – 14 of 14) sorted by relevance
| /Linux-v4.19/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 | 274 seqcount_t seqcount; member
|
| /Linux-v4.19/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() 78 seq = read_seqcount_begin(&idle->seqcount); in show_idle_time() 82 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_time() 96 seq = read_seqcount_begin(&idle->seqcount); in arch_cpu_idle_time() 99 } while (read_seqcount_retry(&idle->seqcount, seq)); in arch_cpu_idle_time()
|
| /Linux-v4.19/kernel/sched/ |
| D | cputime.c | 740 write_seqcount_begin(&vtime->seqcount); in vtime_account_system() 746 write_seqcount_end(&vtime->seqcount); in vtime_account_system() 753 write_seqcount_begin(&vtime->seqcount); in vtime_user_enter() 756 write_seqcount_end(&vtime->seqcount); in vtime_user_enter() 763 write_seqcount_begin(&vtime->seqcount); in vtime_user_exit() 770 write_seqcount_end(&vtime->seqcount); in vtime_user_exit() 783 write_seqcount_begin(&vtime->seqcount); in vtime_guest_enter() 786 write_seqcount_end(&vtime->seqcount); in vtime_guest_enter() 794 write_seqcount_begin(&vtime->seqcount); in vtime_guest_exit() 797 write_seqcount_end(&vtime->seqcount); in vtime_guest_exit() [all …]
|
| /Linux-v4.19/drivers/net/phy/ |
| D | fixed_phy.c | 39 seqcount_t seqcount; member 68 s = read_seqcount_begin(&fp->seqcount); in fixed_mdio_read() 76 } while (read_seqcount_retry(&fp->seqcount, s)); in fixed_mdio_read() 134 seqcount_init(&fp->seqcount); in fixed_phy_add()
|
| /Linux-v4.19/arch/s390/include/asm/ |
| D | idle.h | 16 seqcount_t seqcount; member
|
| /Linux-v4.19/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-v4.19/init/ |
| D | init_task.c | 152 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
|
| /Linux-v4.19/arch/powerpc/include/asm/ |
| D | kvm_host.h | 402 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | asm-offsets.c | 460 OFFSET(TAS_SEQCOUNT, kvmhv_tb_accumulator, seqcount); in main()
|
| /Linux-v4.19/fs/ |
| D | userfaultfd.c | 54 struct seqcount refile_seq;
|
| /Linux-v4.19/kernel/ |
| D | fork.c | 1771 seqcount_init(&p->vtime.seqcount); in copy_process()
|
| /Linux-v4.19/arch/powerpc/kvm/ |
| D | book3s_hv.c | 1900 count = acc->seqcount; in debugfs_timings_read() 1905 if (count == acc->seqcount) { in debugfs_timings_read()
|
| /Linux-v4.19/drivers/infiniband/hw/hfi1/ |
| D | sdma.c | 2363 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()
|