Lines Matching refs:count
42 size_t count, loff_t *ppos) in tomoyo_write_self() argument
47 if (!count || count >= TOMOYO_EXEC_TMPSIZE - 10) in tomoyo_write_self()
49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
87 return error ? error : count; in tomoyo_write_self()
101 size_t count, loff_t *ppos) in tomoyo_read_self() argument
107 if (pos >= len || !count) in tomoyo_read_self()
110 if (count < len) in tomoyo_read_self()
111 len = count; in tomoyo_read_self()
175 static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count, in tomoyo_read() argument
178 return tomoyo_read_control(file->private_data, buf, count); in tomoyo_read()
192 size_t count, loff_t *ppos) in tomoyo_write() argument
194 return tomoyo_write_control(file->private_data, buf, count); in tomoyo_write()