MGSL_PARAMS32
static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *user_params)
struct MGSL_PARAMS32 tmp_params;
if (copy_to_user(user_params, &tmp_params, sizeof(struct MGSL_PARAMS32)))
static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params)
struct MGSL_PARAMS32 tmp_params;
if (copy_from_user(&tmp_params, new_params, sizeof(struct MGSL_PARAMS32)))
#define MGSL_IOCSPARAMS32 _IOW(MGSL_MAGIC_IOC,0,struct MGSL_PARAMS32)
#define MGSL_IOCGPARAMS32 _IOR(MGSL_MAGIC_IOC,1,struct MGSL_PARAMS32)