Searched refs:n_subbufs (Results 1 – 3 of 3) sorted by relevance
171 buf->padding = kmalloc(chan->n_subbufs * sizeof(size_t *), GFP_KERNEL); in relay_create_buf()257 return (ready >= buf->chan->n_subbufs) ? 1 : 0; in relay_buf_full()366 for (i = 0; i < buf->chan->n_subbufs; i++) in __relay_reset()568 size_t n_subbufs, in relay_open() argument575 if (!(subbuf_size && n_subbufs)) in relay_open()583 chan->n_subbufs = n_subbufs; in relay_open()585 chan->alloc_size = FIX_SIZE(subbuf_size * n_subbufs); in relay_open()726 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()748 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()792 subbufs_consumed > chan->n_subbufs) in relay_subbufs_consumed()[all …]
62 size_t n_subbufs; /* number of sub-buffers per buffer */ member171 size_t n_subbufs,
159 relay_open(base_filename, parent, subbuf_size, n_subbufs,