Searched refs:next_space (Results 1 – 1 of 1) sorted by relevance
377 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local404 next_space = next_phys->size; in bts_buffer_reset()405 if (next_space + skip > handle->size) { in bts_buffer_reset()406 next_space = handle->size - skip; in bts_buffer_reset()407 next_space -= next_space % BTS_RECORD_SIZE; in bts_buffer_reset()409 if (next_space > space || !space) { in bts_buffer_reset()417 space = next_space; in bts_buffer_reset()