Lines Matching full:latch
577 * Latch sequence counters (seqcount_latch_t)
605 * raw_read_seqcount_latch() - pick even/odd latch data copy
639 * raw_write_seqcount_latch() - redirect latch readers to even/odd copy
642 * The latch technique is a multiversion concurrency control method that allows
649 * latch allows the same for non-atomic updates. The trade-off is doubling the
666 * void latch_modify(struct latch_struct *latch, ...)
669 * latch->seq.sequence++;
672 * modify(latch->data[0], ...);
675 * latch->seq.sequence++;
678 * modify(latch->data[1], ...);
683 * struct entry *latch_query(struct latch_struct *latch, ...)
689 * seq = raw_read_seqcount_latch(&latch->seq);
692 * entry = data_query(latch->data[idx], ...);
695 * } while (raw_read_seqcount_latch_retry(&latch->seq, seq));