Lines Matching refs:space
377 unsigned long head, space, next_space, pad, gap, skip, wakeup;
388 space = phys->offset + phys->displacement + phys->size - head;
389 pad = space;
390 if (space > handle->size) {
391 space = handle->size;
392 space -= space % BTS_RECORD_SIZE;
394 if (space <= BTS_SAFETY_MARGIN) {
395 /* See if next phys buffer has more space */
409 if (next_space > space || !space) {
417 space = next_space;
433 if (space > wakeup) {
434 space = wakeup;
435 space -= space % BTS_RECORD_SIZE;
438 buf->end = head + space;
441 * If we have no space, the lost notification would have been sent when
444 if (!space)