Lines Matching full:wrapped
37 bool *wrapped; member
344 bool *wrapped; in arm_spe_alloc_wrapped_array() local
354 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
361 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
362 if (!wrapped) in arm_spe_alloc_wrapped_array()
369 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
372 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
387 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
400 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
419 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
433 bool wrapped; in arm_spe_find_snapshot() local
448 * Check to see if *head has wrapped around. If it hasn't only the in arm_spe_find_snapshot()
451 * wrapped around the entire size of the AUX ring buffer it taken. in arm_spe_find_snapshot()
453 wrapped = ptr->wrapped[idx]; in arm_spe_find_snapshot()
454 if (!wrapped && arm_spe_buffer_has_wrapped(data, mm->len, *head)) { in arm_spe_find_snapshot()
455 wrapped = true; in arm_spe_find_snapshot()
456 ptr->wrapped[idx] = true; in arm_spe_find_snapshot()
465 if (!wrapped) in arm_spe_find_snapshot()
469 * *head has wrapped around - adjust *head and *old to pickup the in arm_spe_find_snapshot()
496 zfree(&sper->wrapped); in arm_spe_recording_free()