Home
last modified time | relevance | path

Searched refs:n_subbufs (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/kernel/
Drelay.c171 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() argument
575 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 …]
/linux-2.6.39/include/linux/
Drelay.h62 size_t n_subbufs; /* number of sub-buffers per buffer */ member
171 size_t n_subbufs,
/linux-2.6.39/Documentation/filesystems/
Drelay.txt159 relay_open(base_filename, parent, subbuf_size, n_subbufs,