Searched refs:next_space (Results 1 – 1 of 1) sorted by relevance
371 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local398 next_space = next_phys->size; in bts_buffer_reset()399 if (next_space + skip > handle->size) { in bts_buffer_reset()400 next_space = handle->size - skip; in bts_buffer_reset()401 next_space -= next_space % BTS_RECORD_SIZE; in bts_buffer_reset()403 if (next_space > space || !space) { in bts_buffer_reset()411 space = next_space; in bts_buffer_reset()