Home
last modified time | relevance | path

Searched refs:udata (Results 1 – 2 of 2) sorted by relevance

/fs/9p/
Dvfs_file.c379 v9fs_fid_readn(struct p9_fid *fid, char *data, char __user *udata, u32 count, in v9fs_fid_readn() argument
390 n = p9_client_read(fid, data, udata, offset, count); in v9fs_fid_readn()
396 if (udata) in v9fs_fid_readn()
397 udata += n; in v9fs_fid_readn()
420 v9fs_file_readn(struct file *filp, char *data, char __user *udata, u32 count, in v9fs_file_readn() argument
423 return v9fs_fid_readn(filp->private_data, data, udata, count, offset); in v9fs_file_readn()
436 v9fs_file_read(struct file *filp, char __user *udata, size_t count, in v9fs_file_read() argument
448 ret = v9fs_file_readn(filp, NULL, udata, count, *offset); in v9fs_file_read()
450 ret = p9_client_read(fid, NULL, udata, *offset, count); in v9fs_file_read()
628 v9fs_direct_read(struct file *filp, char __user *udata, size_t count, in v9fs_direct_read() argument
[all …]
/fs/
Dcompat_ioctl.c615 __u32 udata; in serial_struct_ioctl() local
623 if (__get_user(udata, &ss32->iomem_base)) in serial_struct_ioctl()
625 ss.iomem_base = compat_ptr(udata); in serial_struct_ioctl()
678 struct i2c_rdwr_ioctl_data32 __user *udata) in do_i2c_rdwr_ioctl() argument
686 if (get_user(nmsgs, &udata->nmsgs)) in do_i2c_rdwr_ioctl()
691 if (get_user(datap, &udata->msgs)) in do_i2c_rdwr_ioctl()
714 struct i2c_smbus_ioctl_data32 __user *udata) in do_i2c_smbus_ioctl() argument
725 if (!access_ok(VERIFY_READ, udata, sizeof(*udata))) in do_i2c_smbus_ioctl()
728 if (__copy_in_user(&tdata->read_write, &udata->read_write, 2 * sizeof(u8))) in do_i2c_smbus_ioctl()
730 if (__copy_in_user(&tdata->size, &udata->size, 2 * sizeof(u32))) in do_i2c_smbus_ioctl()
[all …]