Searched refs:seqlock (Results 1 – 2 of 2) sorted by relevance
47 struct seqlock { struct51 typedef struct seqlock seqlock_t; argument115 seqlock_init(struct seqlock *seqlock) in seqlock_init() argument122 mtx_init(&seqlock->seql_lock, "seqlock", NULL, MTX_DEF|MTX_NOWITNESS); in seqlock_init()123 seqcount_init(&seqlock->seql_count); in seqlock_init()127 lkpi_write_seqlock(struct seqlock *seqlock, const bool irqsave) in lkpi_write_seqlock() argument129 mtx_lock(&seqlock->seql_lock); in lkpi_write_seqlock()132 write_seqcount_begin(&seqlock->seql_count); in lkpi_write_seqlock()136 write_seqlock(struct seqlock *seqlock) in write_seqlock() argument138 lkpi_write_seqlock(seqlock, false); in write_seqlock()[all …]
88 #define CK_SEQUENCE_READ(seqlock, version) \ argument90 (*(version) != 0) && (*(version) = ck_sequence_read_begin(seqlock), 1); \91 *(version) = ck_sequence_read_retry(seqlock, *(version)))