• Home
  • Raw
  • Download

Lines Matching refs:rval

118 	int		rval;  in mraid_mm_ioctl()  local
157 rval = handle_drvrcmd(argp, old_ioctl, &drvrcmd_rval); in mraid_mm_ioctl()
159 if (rval < 0) in mraid_mm_ioctl()
160 return rval; in mraid_mm_ioctl()
161 else if (rval == 0) in mraid_mm_ioctl()
164 rval = 0; in mraid_mm_ioctl()
165 if ((adp = mraid_mm_get_adapter(argp, &rval)) == NULL) { in mraid_mm_ioctl()
166 return rval; in mraid_mm_ioctl()
192 if ((rval = mimd_to_kioc(argp, adp, kioc))) { in mraid_mm_ioctl()
194 return rval; in mraid_mm_ioctl()
204 if ((rval = lld_ioctl(adp, kioc))) { in mraid_mm_ioctl()
209 return rval; in mraid_mm_ioctl()
215 rval = kioc_to_mimd(kioc, argp); in mraid_mm_ioctl()
222 return rval; in mraid_mm_ioctl()
247 mraid_mm_get_adapter(mimd_t __user *umimd, int *rval) in mraid_mm_get_adapter() argument
256 *rval = -EFAULT; in mraid_mm_get_adapter()
263 *rval = -ENODEV; in mraid_mm_get_adapter()
275 *rval = -ENODEV; in mraid_mm_get_adapter()
289 handle_drvrcmd(void __user *arg, uint8_t old_ioctl, int *rval) in handle_drvrcmd() argument
305 *rval = 0; in handle_drvrcmd()
333 *rval = adapters_count_g; in handle_drvrcmd()
688 int rval; in lld_ioctl() local
693 rval = adp->issue_uioc(adp->drvr_data, kioc, IOCTL_ISSUE); in lld_ioctl()
695 if (rval) return rval; in lld_ioctl()
913 uint32_t rval; in mraid_mm_register_adp() local
955 rval = (-ENOMEM); in mraid_mm_register_adp()
982 rval = (-ENOMEM); in mraid_mm_register_adp()
991 if ((rval = mraid_mm_setup_dma_pools(adapter)) != 0) { in mraid_mm_register_adp()
1024 return rval; in mraid_mm_register_adp()