Lines Matching refs:ubuf
1169 ftrace_event_write(struct file *file, const char __user *ubuf, in ftrace_event_write() argument
1187 read = trace_get_user(&parser, ubuf, cnt, ppos); in ftrace_event_write()
1370 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in event_enable_read() argument
1396 return simple_read_from_buffer(ubuf, cnt, ppos, buf, strlen(buf)); in event_enable_read()
1400 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_enable_write() argument
1407 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in event_enable_write()
1436 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in system_enable_read() argument
1477 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in system_enable_read()
1483 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in system_enable_write() argument
1492 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in system_enable_write()
1661 event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in event_id_read() argument
1672 return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); in event_id_read()
1676 event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in event_filter_read() argument
1700 r = simple_read_from_buffer(ubuf, cnt, ppos, in event_filter_read()
1709 event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_filter_write() argument
1719 buf = memdup_user_nul(ubuf, cnt); in event_filter_write()
1831 subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in subsystem_filter_read() argument
1849 r = simple_read_from_buffer(ubuf, cnt, ppos, in subsystem_filter_read()
1858 subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, in subsystem_filter_write() argument
1868 buf = memdup_user_nul(ubuf, cnt); in subsystem_filter_write()
1883 show_header(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in show_header() argument
1899 r = simple_read_from_buffer(ubuf, cnt, ppos, in show_header()
1956 event_pid_write(struct file *filp, const char __user *ubuf, in event_pid_write() argument
1988 ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); in event_pid_write()
2025 ftrace_event_pid_write(struct file *filp, const char __user *ubuf, in ftrace_event_pid_write() argument
2028 return event_pid_write(filp, ubuf, cnt, ppos, TRACE_PIDS); in ftrace_event_pid_write()
2032 ftrace_event_npid_write(struct file *filp, const char __user *ubuf, in ftrace_event_npid_write() argument
2035 return event_pid_write(filp, ubuf, cnt, ppos, TRACE_NO_PIDS); in ftrace_event_npid_write()