Searched refs:chan (Results 1 – 2 of 2) sorted by relevance
36 buf->chan->cb->buf_unmapped(buf, vma->vm_file); in relay_file_mmap_close()107 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf()113 buf->chan->cb->buf_mapped(buf, filp); in relay_mmap_buf()165 static struct rchan_buf *relay_create_buf(struct rchan *chan) in relay_create_buf() argument169 if (chan->n_subbufs > UINT_MAX / sizeof(size_t *)) in relay_create_buf()175 buf->padding = kmalloc(chan->n_subbufs * sizeof(size_t *), GFP_KERNEL); in relay_create_buf()179 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf()183 buf->chan = chan; in relay_create_buf()184 kref_get(&buf->chan->kref); in relay_create_buf()201 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel() local[all …]
377 bt = buf->chan->private_data; in blk_subbuf_start_callback()