Home
last modified time | relevance | path

Searched refs:subbuf_size (Results 1 – 1 of 1) sorted by relevance

/kernel/
Drelay.c565 size_t subbuf_size, in relay_open() argument
574 if (!(subbuf_size && n_subbufs)) in relay_open()
576 if (subbuf_size > UINT_MAX / n_subbufs) in relay_open()
586 chan->subbuf_size = subbuf_size; in relay_open()
587 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open()
746 if (unlikely(length > buf->chan->subbuf_size)) in relay_switch_subbuf()
749 if (buf->offset != buf->chan->subbuf_size + 1) { in relay_switch_subbuf()
750 buf->prev_padding = buf->chan->subbuf_size - buf->offset; in relay_switch_subbuf()
756 buf->chan->subbuf_size - in relay_switch_subbuf()
759 buf->early_bytes += buf->chan->subbuf_size - in relay_switch_subbuf()
[all …]