Searched refs:subbuf_size (Results 1 – 4 of 4) sorted by relevance
476 size_t subbuf_size, in relay_open() argument485 if (!(subbuf_size && n_subbufs)) in relay_open()487 if (subbuf_size > UINT_MAX / n_subbufs) in relay_open()504 chan->subbuf_size = subbuf_size; in relay_open()505 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open()664 if (unlikely(length > buf->chan->subbuf_size)) in relay_switch_subbuf()667 if (buf->offset != buf->chan->subbuf_size + 1) { in relay_switch_subbuf()668 buf->prev_padding = buf->chan->subbuf_size - buf->offset; in relay_switch_subbuf()674 buf->chan->subbuf_size - in relay_switch_subbuf()677 buf->early_bytes += buf->chan->subbuf_size - in relay_switch_subbuf()[all …]
62 size_t subbuf_size; /* sub-buffer size */ member158 size_t subbuf_size,198 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write()224 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write()247 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) { in relay_reserve()271 BUG_ON(length >= buf->chan->subbuf_size - 1); in subbuf_start_reserve()
525 size_t n_subbufs, subbuf_size; in guc_log_relay_create() local535 subbuf_size = log->vma->size - intel_guc_log_section_size_capture(log); in guc_log_relay_create()547 subbuf_size, n_subbufs, in guc_log_relay_create()556 GEM_BUG_ON(guc_log_relay_chan->subbuf_size < subbuf_size); in guc_log_relay_create()
166 relay_open(base_filename, parent, subbuf_size, n_subbufs,