Searched refs:n_subbufs (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/kernel/ |
D | relay.c | 154 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t *)) in relay_create_buf() 160 buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t *), in relay_create_buf() 247 return (ready >= buf->chan->n_subbufs) ? 1 : 0; in relay_buf_full() 305 for (i = 0; i < buf->chan->n_subbufs; i++) in __relay_reset() 480 size_t n_subbufs, in relay_open() argument 488 if (!(subbuf_size && n_subbufs)) in relay_open() 490 if (subbuf_size > UINT_MAX / n_subbufs) in relay_open() 506 chan->n_subbufs = n_subbufs; in relay_open() 508 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open() 672 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf() [all …]
|
/linux-5.19.10/include/linux/ |
D | relay.h | 63 size_t n_subbufs; /* number of sub-buffers per buffer */ member 159 size_t n_subbufs,
|
/linux-5.19.10/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_log.c | 367 size_t n_subbufs, subbuf_size; in guc_log_relay_create() local 385 n_subbufs = 8; in guc_log_relay_create() 389 subbuf_size, n_subbufs, in guc_log_relay_create()
|
/linux-5.19.10/Documentation/filesystems/ |
D | relay.rst | 166 relay_open(base_filename, parent, subbuf_size, n_subbufs,
|