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