Lines Matching defs:wrapped
42 bool *wrapped;
695 bool *wrapped;
698 /* Make @ptr->wrapped as big as @idx */
707 wrapped = realloc(ptr->wrapped, cnt * sizeof(bool));
708 if (!wrapped)
711 wrapped[cnt - 1] = false;
713 ptr->wrapped = wrapped;
733 * than the size of the ring buffer, it has wrapped around.
742 * wrapped around. To find we need to check if we have data at the very
760 * been there and has numerically wrapped around at least once.
775 bool wrapped;
790 * Check to see if *head has wrapped around. If it hasn't only the
793 * wrapped around the entire size of the AUX ring buffer it taken.
795 wrapped = ptr->wrapped[idx];
796 if (!wrapped && cs_etm_buffer_has_wrapped(data, mm->len, *head)) {
797 wrapped = true;
798 ptr->wrapped[idx] = true;
805 if (!wrapped)
809 * *head has wrapped around - adjust *head and *old to pickup the
859 zfree(&ptr->wrapped);