Searched refs:n_subbufs (Results 1 – 1 of 1) sorted by relevance
178 buf->padding = kmalloc(chan->n_subbufs * sizeof(size_t *), GFP_KERNEL); in relay_create_buf()264 return (ready >= buf->chan->n_subbufs) ? 1 : 0; in relay_buf_full()373 for (i = 0; i < buf->chan->n_subbufs; i++) in __relay_reset()575 size_t n_subbufs, in relay_open() argument582 if (!(subbuf_size && n_subbufs)) in relay_open()590 chan->n_subbufs = n_subbufs; in relay_open()592 chan->alloc_size = FIX_SIZE(subbuf_size * n_subbufs); in relay_open()735 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()757 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()945 size_t n_subbufs = buf->chan->n_subbufs; in relay_file_read_consume() local[all …]