Lines Matching defs:ubuf
1182 static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf,
1254 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos);
1265 static ssize_t perf_dbgfs_read_run(struct file *filep, char __user *ubuf,
1280 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos);
1287 static ssize_t perf_dbgfs_write_run(struct file *filep, const char __user *ubuf,
1294 ret = kstrtoint_from_user(ubuf, size, 0, &pidx);
1316 static ssize_t perf_dbgfs_read_tcnt(struct file *filep, char __user *ubuf,
1325 return simple_read_from_buffer(ubuf, size, offp, buf, pos);
1329 const char __user *ubuf,
1336 ret = kstrtou8_from_user(ubuf, size, 0, &val);