/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | ds1620.c | 235 } uarg; local 238 uarg.i = (int __user *)arg; 247 if (get_user(therm.hi, uarg.i)) 251 if (copy_from_user(&therm, uarg.therm, sizeof(therm))) 269 if (put_user(therm.hi, uarg.i)) 272 if (copy_to_user(uarg.therm, &therm, sizeof(therm))) 284 return put_user(i, uarg.i) ? -EFAULT : 0; 289 return put_user(i, uarg.i) ? -EFAULT : 0; 294 return put_user(i, uarg.i) ? -EFAULT : 0; 300 if (get_user(i, uarg [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/watchdog/ |
H A D | mpcore_wdt.c | 221 } uarg; local 223 if (_IOC_DIR(cmd) && _IOC_SIZE(cmd) > sizeof(uarg)) 227 ret = copy_from_user(&uarg, (void __user *)arg, _IOC_SIZE(cmd)); 234 uarg.ident = ident; 240 if (uarg.i & WDIOS_DISABLECARD) { 244 if (uarg.i & WDIOS_ENABLECARD) { 252 uarg.i = 0; 262 ret = mpcore_wdt_set_heartbeat(uarg.i); 269 uarg.i = mpcore_margin; 278 ret = copy_to_user((void __user *)arg, &uarg, _IOC_SIZ [all...] |
H A D | pc87413_wdt.c | 425 } uarg; local 435 uarg.i = (int __user *)arg; 442 return copy_to_user(uarg.ident, &ident, 446 return put_user(pc87413_status(), uarg.i); 449 return put_user(0, uarg.i); 459 if (get_user(new_timeout, uarg.i)) 477 return put_user(new_timeout, uarg.i); 483 if (get_user(options, uarg.i))
|
H A D | smsc37b787_wdt.c | 421 } uarg; local 431 uarg.i = (int __user *)arg; 438 return copy_to_user(uarg.ident, &ident, 442 return put_user(wb_smsc_wdt_status(), uarg.i); 445 return put_user(0, uarg.i); 452 if (get_user(new_timeout, uarg.i)) 474 return put_user(new_timeout, uarg.i); 480 if (get_user(options, uarg.i))
|
H A D | w83977f_wdt.c | 389 } uarg; local 391 uarg.i = (int __user *)arg; 399 return copy_to_user(uarg.ident, &ident, sizeof(ident)) ? -EFAULT : 0; 403 return put_user(status, uarg.i); 406 return put_user(0, uarg.i); 413 if (get_user (new_options, uarg.i)) 429 if (get_user(new_timeout, uarg.i)) 439 return put_user(timeout, uarg.i);
|
H A D | wdt977.c | 357 } uarg; local 359 uarg.i = (int __user *)arg; 367 return copy_to_user(uarg.ident, &ident, 372 return put_user(status, uarg.i); 375 return put_user(0, uarg.i); 382 if (get_user (new_options, uarg.i)) 398 if (get_user(new_timeout, uarg.i)) 408 return put_user(timeout, uarg.i);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/ |
H A D | rtc-dev.c | 217 void __user *uarg = (void __user *) arg; local 270 if (copy_to_user(uarg, &alarm.time, sizeof(tm))) 275 if (copy_from_user(&alarm.time, uarg, sizeof(tm))) 330 if (copy_to_user(uarg, &tm, sizeof(tm))) 335 if (copy_from_user(&tm, uarg, sizeof(tm))) 343 err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); 352 if (copy_from_user(&alarm, uarg, sizeof(alarm))) 363 if (copy_to_user(uarg, &alarm, sizeof(alarm)))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/common/ |
H A D | rtctime.c | 183 void __user *uarg = (void __user *)arg; local 191 ret = copy_to_user(uarg, &alrm.time, sizeof(tm)); 197 ret = copy_from_user(&alrm.time, uarg, sizeof(tm)); 217 ret = copy_to_user(uarg, &tm, sizeof(tm)); 227 ret = copy_from_user(&tm, uarg, sizeof(tm)); 254 ret = put_user(rtc_epoch, (unsigned long __user *)uarg); 258 ret = copy_from_user(&alrm, uarg, sizeof(alrm)); 270 ret = copy_to_user(uarg, &alrm, sizeof(alrm));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/ |
H A D | mptctl.c | 1158 struct mpt_ioctl_iocinfo __user *uarg = (void __user *) arg; local 1192 if (copy_from_user(karg, uarg, data_size)) { 1195 __FILE__, __LINE__, uarg); 1287 __FILE__, __LINE__, uarg); 1309 struct mpt_ioctl_targetinfo __user *uarg = (void __user *) arg; local 1324 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_targetinfo))) { 1327 __FILE__, __LINE__, uarg); 1401 __FILE__, __LINE__, uarg); 1408 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { 1432 struct mpt_ioctl_test __user *uarg local 1492 struct mpt_ioctl_eventquery __user *uarg = (void __user *) arg; local 1530 struct mpt_ioctl_eventenable __user *uarg = (void __user *) arg; local 1576 struct mpt_ioctl_eventreport __user *uarg = (void __user *) arg; local 1629 struct mpt_ioctl_replace_fw __user *uarg = (void __user *) arg; local 1701 struct mpt_ioctl_command __user *uarg = (void __user *) arg; local 2292 hp_host_info_t __user *uarg = (void __user *) arg; local 2528 hp_target_info_t __user *uarg = (void __user *) arg; local 2730 struct mpt_ioctl_command32 __user *uarg = (struct mpt_ioctl_command32 __user *) arg; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/ |
H A D | br_ioctl.c | 360 static int old_deviceless(void __user *uarg) argument 364 if (copy_from_user(args, uarg, sizeof(args))) 581 int br_ioctl_deviceless_stub(unsigned int cmd, void __user *uarg) argument 586 return old_deviceless(uarg); 596 if (copy_from_user(buf, uarg, IFNAMSIZ))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/ |
H A D | pcmcia_ioctl.c | 555 void __user *uarg = (char __user *)arg; local 579 if (!access_ok(VERIFY_READ, uarg, size)) { 585 if (!access_ok(VERIFY_WRITE, uarg, size)) { 597 if (__copy_from_user((char *)buf, uarg, size)) { 757 if (__copy_to_user(uarg, (char *)buf, size))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/ |
H A D | serial_core.c | 1059 void __user *uarg = (void __user *)arg; local 1069 ret = uart_get_info(state, uarg); 1073 ret = uart_set_info(state, uarg); 1103 ret = uart_get_count(state, uarg); 1123 ret = uart_get_lsr_info(state, uarg);
|