Home
last modified time | relevance | path

Searched refs:seqcount (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/include/linux/
Dseqlock.h47 typedef struct seqcount { struct
402 struct seqcount seqcount; member
412 .seqcount = SEQCNT_ZERO(lockname), \
418 seqcount_init(&(x)->seqcount); \
430 return read_seqcount_begin(&sl->seqcount); in read_seqbegin()
435 return read_seqcount_retry(&sl->seqcount, start); in read_seqretry()
446 write_seqcount_begin(&sl->seqcount); in write_seqlock()
451 write_seqcount_end(&sl->seqcount); in write_sequnlock()
458 write_seqcount_begin(&sl->seqcount); in write_seqlock_bh()
463 write_seqcount_end(&sl->seqcount); in write_sequnlock_bh()
[all …]
/linux-4.4.14/arch/s390/kernel/
Didle.c41 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.4.14/arch/s390/include/asm/
Didle.h15 seqcount_t seqcount; member
/linux-4.4.14/Documentation/filesystems/
Dpath-lookup.txt96 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.4.14/arch/powerpc/include/asm/
Dkvm_host.h384 u64 seqcount; /* used to synchronize access, also count * 2 */ member
/linux-4.4.14/fs/
Duserfaultfd.c49 struct seqcount refile_seq;
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv.c1528 count = acc->seqcount; in debugfs_timings_read()
1533 if (count == acc->seqcount) { in debugfs_timings_read()
/linux-4.4.14/arch/powerpc/kernel/
Dasm-offsets.c470 DEFINE(TAS_SEQCOUNT, offsetof(struct kvmhv_tb_accumulator, seqcount)); in main()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsdma.c2043 (const seqcount_t *)&sde->head_lock.seqcount); in sdma_check_progress()