Lines Matching full:wrapped
40 bool *wrapped; member
472 bool *wrapped; in arm_spe_alloc_wrapped_array() local
482 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
489 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
490 if (!wrapped) in arm_spe_alloc_wrapped_array()
497 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
500 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
515 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
528 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
547 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
561 bool wrapped; in arm_spe_find_snapshot() local
576 * Check to see if *head has wrapped around. If it hasn't only the in arm_spe_find_snapshot()
579 * wrapped around the entire size of the AUX ring buffer it taken. in arm_spe_find_snapshot()
581 wrapped = ptr->wrapped[idx]; in arm_spe_find_snapshot()
582 if (!wrapped && arm_spe_buffer_has_wrapped(data, mm->len, *head)) { in arm_spe_find_snapshot()
583 wrapped = true; in arm_spe_find_snapshot()
584 ptr->wrapped[idx] = true; in arm_spe_find_snapshot()
593 if (!wrapped) in arm_spe_find_snapshot()
597 * *head has wrapped around - adjust *head and *old to pickup the in arm_spe_find_snapshot()
624 zfree(&sper->wrapped); in arm_spe_recording_free()