Lines Matching full:wrapped
36 bool *wrapped; member
308 bool *wrapped; in arm_spe_alloc_wrapped_array() local
318 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
325 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
326 if (!wrapped) in arm_spe_alloc_wrapped_array()
333 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
336 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
351 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
364 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
383 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
397 bool wrapped; in arm_spe_find_snapshot() local
412 * Check to see if *head has wrapped around. If it hasn't only the in arm_spe_find_snapshot()
415 * wrapped around the entire size of the AUX ring buffer it taken. in arm_spe_find_snapshot()
417 wrapped = ptr->wrapped[idx]; in arm_spe_find_snapshot()
418 if (!wrapped && arm_spe_buffer_has_wrapped(data, mm->len, *head)) { in arm_spe_find_snapshot()
419 wrapped = true; in arm_spe_find_snapshot()
420 ptr->wrapped[idx] = true; in arm_spe_find_snapshot()
429 if (!wrapped) in arm_spe_find_snapshot()
433 * *head has wrapped around - adjust *head and *old to pickup the in arm_spe_find_snapshot()
460 zfree(&sper->wrapped); in arm_spe_recording_free()