Searched refs:seqcount (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/include/linux/ |
D | seqlock.h | 46 typedef struct seqcount { struct 282 struct seqcount seqcount; member 292 .seqcount = SEQCNT_ZERO(lockname), \ 298 seqcount_init(&(x)->seqcount); \ 310 return read_seqcount_begin(&sl->seqcount); in read_seqbegin() 315 return read_seqcount_retry(&sl->seqcount, start); in read_seqretry() 326 write_seqcount_begin(&sl->seqcount); in write_seqlock() 331 write_seqcount_end(&sl->seqcount); in write_sequnlock() 338 write_seqcount_begin(&sl->seqcount); in write_seqlock_bh() 343 write_seqcount_end(&sl->seqcount); in write_sequnlock_bh() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | idle.c | 41 write_seqcount_begin(&idle->seqcount); in enabled_wait() 47 write_seqcount_end(&idle->seqcount); in enabled_wait() 59 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count() 63 } 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() 95 seq = read_seqcount_begin(&idle->seqcount); in arch_cpu_idle_time() 98 } while (read_seqcount_retry(&idle->seqcount, seq)); in arch_cpu_idle_time()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | idle.h | 15 seqcount_t seqcount; member
|
/linux-4.1.27/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-4.1.27/arch/powerpc/include/asm/ |
D | kvm_host.h | 371 u64 seqcount; /* used to synchronize access, also count * 2 */ member
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv.c | 1519 count = acc->seqcount; in debugfs_timings_read() 1524 if (count == acc->seqcount) { in debugfs_timings_read()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | asm-offsets.c | 471 DEFINE(TAS_SEQCOUNT, offsetof(struct kvmhv_tb_accumulator, seqcount)); in main()
|