Lines Matching full:latch
592 * Latch sequence counters (seqcount_latch_t)
620 * raw_read_seqcount_latch() - pick even/odd latch data copy
654 * raw_write_seqcount_latch() - redirect latch readers to even/odd copy
657 * The latch technique is a multiversion concurrency control method that allows
664 * latch allows the same for non-atomic updates. The trade-off is doubling the
681 * void latch_modify(struct latch_struct *latch, ...)
684 * latch->seq.sequence++;
687 * modify(latch->data[0], ...);
690 * latch->seq.sequence++;
693 * modify(latch->data[1], ...);
698 * struct entry *latch_query(struct latch_struct *latch, ...)
704 * seq = raw_read_seqcount_latch(&latch->seq);
707 * entry = data_query(latch->data[idx], ...);
710 * } while (raw_read_seqcount_latch_retry(&latch->seq, seq));