maint_io          262 drivers/rapidio/devices/rio_mport_cdev.c 	struct rio_mport_maint_io maint_io;
maint_io          268 drivers/rapidio/devices/rio_mport_cdev.c 	if (unlikely(copy_from_user(&maint_io, arg, sizeof(maint_io))))
maint_io          271 drivers/rapidio/devices/rio_mport_cdev.c 	if ((maint_io.offset % 4) ||
maint_io          272 drivers/rapidio/devices/rio_mport_cdev.c 	    (maint_io.length == 0) || (maint_io.length % 4) ||
maint_io          273 drivers/rapidio/devices/rio_mport_cdev.c 	    (maint_io.length + maint_io.offset) > RIO_MAINT_SPACE_SZ)
maint_io          276 drivers/rapidio/devices/rio_mport_cdev.c 	buffer = vmalloc(maint_io.length);
maint_io          279 drivers/rapidio/devices/rio_mport_cdev.c 	length = maint_io.length/sizeof(u32);
maint_io          280 drivers/rapidio/devices/rio_mport_cdev.c 	offset = maint_io.offset;
maint_io          287 drivers/rapidio/devices/rio_mport_cdev.c 			ret = rio_mport_read_config_32(mport, maint_io.rioid,
maint_io          288 drivers/rapidio/devices/rio_mport_cdev.c 				maint_io.hopcount, offset, &buffer[i]);
maint_io          295 drivers/rapidio/devices/rio_mport_cdev.c 	if (unlikely(copy_to_user((void __user *)(uintptr_t)maint_io.buffer,
maint_io          296 drivers/rapidio/devices/rio_mport_cdev.c 				   buffer, maint_io.length)))
maint_io          307 drivers/rapidio/devices/rio_mport_cdev.c 	struct rio_mport_maint_io maint_io;
maint_io          313 drivers/rapidio/devices/rio_mport_cdev.c 	if (unlikely(copy_from_user(&maint_io, arg, sizeof(maint_io))))
maint_io          316 drivers/rapidio/devices/rio_mport_cdev.c 	if ((maint_io.offset % 4) ||
maint_io          317 drivers/rapidio/devices/rio_mport_cdev.c 	    (maint_io.length == 0) || (maint_io.length % 4) ||
maint_io          318 drivers/rapidio/devices/rio_mport_cdev.c 	    (maint_io.length + maint_io.offset) > RIO_MAINT_SPACE_SZ)
maint_io          321 drivers/rapidio/devices/rio_mport_cdev.c 	buffer = vmalloc(maint_io.length);
maint_io          324 drivers/rapidio/devices/rio_mport_cdev.c 	length = maint_io.length;
maint_io          327 drivers/rapidio/devices/rio_mport_cdev.c 			(void __user *)(uintptr_t)maint_io.buffer, length))) {
maint_io          332 drivers/rapidio/devices/rio_mport_cdev.c 	offset = maint_io.offset;
maint_io          340 drivers/rapidio/devices/rio_mport_cdev.c 			ret = rio_mport_write_config_32(mport, maint_io.rioid,
maint_io          341 drivers/rapidio/devices/rio_mport_cdev.c 							maint_io.hopcount,