Lines Matching defs:ubuf
328 ftrace_event_write(struct file *file, const char __user *ubuf,
344 read = trace_get_user(&parser, ubuf, cnt, ppos);
463 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt,
474 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2);
478 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt,
489 if (copy_from_user(&buf, ubuf, cnt))
520 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt,
556 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, 2);
562 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt,
573 if (copy_from_user(&buf, ubuf, cnt))
763 event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
779 r = simple_read_from_buffer(ubuf, cnt, ppos,
786 event_filter_read(struct file *filp, char __user *ubuf, size_t cnt,
803 r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len);
811 event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,
825 if (copy_from_user(buf, ubuf, cnt)) {
842 subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt,
859 r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len);
867 subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,
881 if (copy_from_user(buf, ubuf, cnt)) {
898 show_header(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
914 r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len);