Searched refs:force_len (Results 1 – 6 of 6) sorted by relevance
87 static int tty_drain_queue(struct tty_handler *th, size_t force_len) in tty_drain_queue() argument95 if (force_len) { in tty_drain_queue()112 if (force_len && force_len < total_len + len) { in tty_drain_queue()113 len = force_len - total_len; in tty_drain_queue()122 !force_len) { in tty_drain_queue()132 if (force_len && total_len >= force_len) { in tty_drain_queue()139 if (force_len) { in tty_drain_queue()146 static enum ringbuffer_poll_ret tty_ringbuffer_poll(void *arg, size_t force_len) in tty_ringbuffer_poll() argument151 rc = tty_drain_queue(th, force_len); in tty_ringbuffer_poll()
174 static int client_drain_queue(struct client *client, size_t force_len) in client_drain_queue() argument184 block = !!force_len; in client_drain_queue()204 if (force_len && total_len >= force_len) { in client_drain_queue()213 if (force_len && total_len < force_len) { in client_drain_queue()222 size_t force_len) in client_ringbuffer_poll() argument229 if (!force_len && (len < SOCKET_HANDLER_PKT_SIZE)) { in client_ringbuffer_poll()238 rc = client_drain_queue(client, force_len); in client_ringbuffer_poll()
133 size_t force_len; in ringbuffer_consumer_ensure_space() local139 force_len = len - ringbuffer_space(rbc); in ringbuffer_consumer_ensure_space()141 prc = rbc->poll_fn(rbc->poll_data, force_len); in ringbuffer_consumer_ensure_space()
103 static enum ringbuffer_poll_ret log_ringbuffer_poll(void *arg, size_t force_len in log_ringbuffer_poll() argument
203 size_t force_len);
30 size_t force_len in ringbuffer_poll_nop() argument37 size_t force_len) in ringbuffer_poll_append_all() argument48 if (ctx->force_only && !force_len) { in ringbuffer_poll_append_all()61 if (ctx->force_only && total_len + len > force_len) { in ringbuffer_poll_append_all()62 len = force_len - total_len; in ringbuffer_poll_append_all()70 if (ctx->force_only && total_len >= force_len) { in ringbuffer_poll_append_all()