Home
last modified time | relevance | path

Searched refs:rchan (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/include/linux/
Drelay.h40 struct rchan *chan; /* associated channel */
58 struct rchan struct
168 struct rchan *relay_open(const char *base_filename,
174 extern int relay_late_setup_files(struct rchan *chan,
177 extern void relay_close(struct rchan *chan);
178 extern void relay_flush(struct rchan *chan);
179 extern void relay_subbufs_consumed(struct rchan *chan,
182 extern void relay_reset(struct rchan *chan);
201 static inline void relay_write(struct rchan *chan, in relay_write()
229 static inline void __relay_write(struct rchan *chan, in __relay_write()
[all …]
Dblktrace_api.h153 struct rchan *rchan; member
/linux-2.6.39/kernel/
Drelay.c165 static struct rchan_buf *relay_create_buf(struct rchan *chan) in relay_create_buf()
197 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel()
207 struct rchan *chan = buf->chan; in relay_destroy_buf()
383 void relay_reset(struct rchan *chan) in relay_reset()
410 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file()
437 static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu) in relay_open_buf()
486 static void setup_callbacks(struct rchan *chan, in setup_callbacks()
520 struct rchan *chan; in relay_hotcpu_callback()
565 struct rchan *relay_open(const char *base_filename, in relay_open()
573 struct rchan *chan; in relay_open()
[all …]
/linux-2.6.39/kernel/trace/
Dblktrace.c85 if (!bt->rchan) in trace_note()
88 t = relay_reserve(bt->rchan, sizeof(*t) + len); in trace_note()
239 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len); in __blk_add_trace()
282 relay_close(bt->rchan); in blk_trace_free()
502 bt->rchan = relay_open("trace", dir, buts->buf_size, in do_blk_trace_setup()
504 if (!bt->rchan) in do_blk_trace_setup()
622 relay_flush(bt->rchan); in blk_trace_startstop()