Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/
Drelay.c566 size_t subbuf_size, in relay_open() argument
575 if (!(subbuf_size && n_subbufs)) in relay_open()
577 if (subbuf_size > UINT_MAX / n_subbufs) in relay_open()
592 chan->subbuf_size = subbuf_size; in relay_open()
593 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open()
752 if (unlikely(length > buf->chan->subbuf_size)) in relay_switch_subbuf()
755 if (buf->offset != buf->chan->subbuf_size + 1) { in relay_switch_subbuf()
756 buf->prev_padding = buf->chan->subbuf_size - buf->offset; in relay_switch_subbuf()
762 buf->chan->subbuf_size - in relay_switch_subbuf()
765 buf->early_bytes += buf->chan->subbuf_size - in relay_switch_subbuf()
[all …]
/Linux-v5.10/include/linux/
Drelay.h62 size_t subbuf_size; /* sub-buffer size */ member
171 size_t subbuf_size,
211 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write()
237 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write()
260 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) { in relay_reserve()
284 BUG_ON(length >= buf->chan->subbuf_size - 1); in subbuf_start_reserve()
/Linux-v5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.c367 size_t n_subbufs, subbuf_size; in guc_log_relay_create() local
374 subbuf_size = log->vma->size; in guc_log_relay_create()
386 subbuf_size, n_subbufs, in guc_log_relay_create()
395 GEM_BUG_ON(guc_log_relay_chan->subbuf_size < subbuf_size); in guc_log_relay_create()
/Linux-v5.10/Documentation/filesystems/
Drelay.rst166 relay_open(base_filename, parent, subbuf_size, n_subbufs,