Lines Matching defs:space
194 * Make at least size bytes of linear space available for the tty
252 int space = tty_buffer_request_room(tty, goal);
254 /* If there is no space then tb may be NULL */
255 if (unlikely(space == 0))
257 memcpy(tb->char_buf_ptr + tb->used, chars, space);
258 memset(tb->flag_buf_ptr + tb->used, flag, space);
259 tb->used += space;
260 copied += space;
261 chars += space;
289 int space = tty_buffer_request_room(tty, goal);
291 /* If there is no space then tb may be NULL */
292 if (unlikely(space == 0))
294 memcpy(tb->char_buf_ptr + tb->used, chars, space);
295 memcpy(tb->flag_buf_ptr + tb->used, flags, space);
296 tb->used += space;
297 copied += space;
298 chars += space;
299 flags += space;
335 * Prepare a block of space in the buffer for data. Returns the length
336 * available and buffer pointer to the space which is now allocated and
347 int space = tty_buffer_request_room(tty, size);
348 if (likely(space)) {
351 memset(tb->flag_buf_ptr + tb->used, TTY_NORMAL, space);
352 tb->used += space;
354 return space;
365 * Prepare a block of space in the buffer for data. Returns the length
366 * available and buffer pointer to the space which is now allocated and
377 int space = tty_buffer_request_room(tty, size);
378 if (likely(space)) {
382 tb->used += space;
384 return space;