Lines Matching full:latch
638 * Latch sequence counters (seqcount_latch_t)
666 * raw_read_seqcount_latch() - pick even/odd latch data copy
700 * raw_write_seqcount_latch() - redirect latch readers to even/odd copy
703 * The latch technique is a multiversion concurrency control method that allows
710 * latch allows the same for non-atomic updates. The trade-off is doubling the
727 * void latch_modify(struct latch_struct *latch, ...)
730 * latch->seq.sequence++;
733 * modify(latch->data[0], ...);
736 * latch->seq.sequence++;
739 * modify(latch->data[1], ...);
744 * struct entry *latch_query(struct latch_struct *latch, ...)
750 * seq = raw_read_seqcount_latch(&latch->seq);
753 * entry = data_query(latch->data[idx], ...);
756 * } while (raw_read_seqcount_latch_retry(&latch->seq, seq));