Lines Matching full:wrapped
40 bool *wrapped; member
498 bool *wrapped; in arm_spe_alloc_wrapped_array() local
508 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
515 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
516 if (!wrapped) in arm_spe_alloc_wrapped_array()
523 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
526 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
541 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
554 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
573 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
587 bool wrapped; in arm_spe_find_snapshot() local
602 * Check to see if *head has wrapped around. If it hasn't only the in arm_spe_find_snapshot()
605 * wrapped around the entire size of the AUX ring buffer it taken. in arm_spe_find_snapshot()
607 wrapped = ptr->wrapped[idx]; in arm_spe_find_snapshot()
608 if (!wrapped && arm_spe_buffer_has_wrapped(data, mm->len, *head)) { in arm_spe_find_snapshot()
609 wrapped = true; in arm_spe_find_snapshot()
610 ptr->wrapped[idx] = true; in arm_spe_find_snapshot()
619 if (!wrapped) in arm_spe_find_snapshot()
623 * *head has wrapped around - adjust *head and *old to pickup the in arm_spe_find_snapshot()
650 zfree(&sper->wrapped); in arm_spe_recording_free()