Lines Matching defs:buf
33 * @buf: where to put the result
39 static ssize_t evm_read_key(struct file *filp, char __user *buf,
49 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
57 * @buf: where to get the data from
66 static ssize_t evm_write_key(struct file *file, const char __user *buf,
75 ret = kstrtouint_from_user(buf, count, 0, &i);
121 * @buf: where to put the result
127 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf,
164 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
174 * @buf: where to get the data from
180 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf,
210 xattr->name = memdup_user_nul(buf, count);