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