Lines Matching full:count
31 size_t count, loff_t *offset) in timeout_read() argument
34 buf, count, offset); in timeout_read()
39 size_t count, loff_t *offset) in timeout_write() argument
47 retval = oprofilefs_ulong_from_user(&val, buf, count); in timeout_write()
55 return count; in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read() argument
70 return oprofilefs_ulong_to_user(oprofile_backtrace_depth, buf, count, in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write() argument
86 retval = oprofilefs_ulong_from_user(&val, buf, count); in depth_write()
94 return count; in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read() argument
107 return oprofilefs_ulong_to_user(sizeof(void *), buf, count, offset); in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read() argument
119 return oprofilefs_str_to_user(oprofile_ops.cpu_type, buf, count, offset); in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read() argument
131 return oprofilefs_ulong_to_user(oprofile_started, buf, count, offset); in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write() argument
143 retval = oprofilefs_ulong_from_user(&val, buf, count); in enable_write()
155 return count; in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write() argument
169 return count; in dump_write()