Lines Matching full:delta

110  * 4. Deltas are packed tight in the remaining space, i.e. a delta
113 * part of a delta. Delta sizes vary.
115 * of the log, i.e. to the first delta header. Likewise, "od_head_ident"
183 int64_t l_mof; /* disk addr this delta is against */
184 int16_t l_nb; /* size of delta */
186 int32_t l_lof; /* log offset for delta header */
187 int32_t l_tid; /* transaction this delta is part of */
450 * Copy the delta contents to the destination buffer if in lufs_read_log()
592 lufs_logscan_read(int32_t *addr, struct delta *d) in lufs_logscan_read()
594 *addr = lufs_read_log(*addr, (caddr_t)d, sizeof (struct delta)); in lufs_logscan_read()
605 lufs_logscan_skip(int32_t *addr, struct delta *d) in lufs_logscan_skip()
610 * A DT_COMMIT delta has no size as such, but will in lufs_logscan_skip()
612 * The next delta header is found at the beginning in lufs_logscan_skip()
628 * Skip over the delta contents. in lufs_logscan_skip()
647 * If for every cancelled delta another one would've in lufs_logscan_freecancel()
649 * DT_CANCEL delta can lead to this as it is never in lufs_logscan_freecancel()
680 lufs_logscan_addmap(int32_t *addr, struct delta *d) in lufs_logscan_addmap()
718 * 1. The new delta is an exact match for an existing one, in lufs_logscan_addmap()
721 * The new delta completely supersedes the old one, so in lufs_logscan_addmap()
723 * Then add the new delta to the head of the hashchain. in lufs_logscan_addmap()
724 * 2. The new delta is an exact match for an existing one, in lufs_logscan_addmap()
731 * found which overlap the new delta (happens if that is in lufs_logscan_addmap()
735 * The new delta is then added directly before this in lufs_logscan_addmap()
738 * Unless this is a DT_CANCEL delta, whose only purpose in lufs_logscan_addmap()
740 * cancellation, add the new delta at the hash chain head. in lufs_logscan_addmap()
744 * which then ensures that delta merging is done in the same in lufs_logscan_addmap()
787 * this may happen - an existing previous delta in lufs_logscan_addmap()
793 * and we have to add the new delta immediately in lufs_logscan_addmap()
824 * This is case 4., add a new delta at the head of the chain. in lufs_logscan_addmap()
826 * If the new delta is a DT_CANCEL entry, we handled it by in lufs_logscan_addmap()
828 * get by without actually adding the delta itself to the in lufs_logscan_addmap()
943 * read the delta header
944 * add the delta to the logmap
945 * skip over the contents to the start of the next delta header
960 struct delta d; in lufs_logscan()
994 * has a delta against this byte range, and if so read it in, since
1031 * Found a delta in the log hash which overlaps in lufs_merge_deltas()
1033 * actual delta payload from the on-disk log in lufs_merge_deltas()
1056 * the delta. in lufs_merge_deltas()