Lines Matching full:latch
638 * Latch sequence counters (seqcount_latch_t)
666 * raw_read_seqcount_latch() - pick even/odd latch data copy
699 * raw_write_seqcount_latch() - redirect latch readers to even/odd copy
702 * The latch technique is a multiversion concurrency control method that allows
709 * latch allows the same for non-atomic updates. The trade-off is doubling the
726 * void latch_modify(struct latch_struct *latch, ...)
729 * latch->seq.sequence++;
732 * modify(latch->data[0], ...);
735 * latch->seq.sequence++;
738 * modify(latch->data[1], ...);
743 * struct entry *latch_query(struct latch_struct *latch, ...)
749 * seq = raw_read_seqcount_latch(&latch->seq);
752 * entry = data_query(latch->data[idx], ...);
755 * } while (read_seqcount_latch_retry(&latch->seq, seq));