Home
last modified time | relevance | path

Searched refs:chan (Results 1 – 2 of 2) sorted by relevance

/kernel/
Drelay.c90 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf()
147 static struct rchan_buf *relay_create_buf(struct rchan *chan) in relay_create_buf() argument
151 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t)) in relay_create_buf()
157 buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t), in relay_create_buf()
162 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf()
166 buf->chan = chan; in relay_create_buf()
167 kref_get(&buf->chan->kref); in relay_create_buf()
184 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel() local
185 free_percpu(chan->buf); in relay_destroy_channel()
186 kfree(chan); in relay_destroy_channel()
[all …]
/kernel/trace/
Dblktrace.c471 bt = buf->chan->private_data; in blk_subbuf_start_callback()