tag | line | file | source code |
arg | 294 | arch/i386/kernel/traps.c | asmlinkage void math_emulate(long arg) |
arg | 162 | arch/i386/math-emu/fpu_emu.h | asmlinkage void round_reg(FPU_REG *arg, unsigned int extent, |
arg | 131 | arch/i386/math-emu/fpu_entry.c | asmlinkage void math_emulate(long arg) |
arg | 169 | arch/i386/math-emu/fpu_entry.c | SETUP_DATA_AREA(arg); |
arg | 54 | arch/i386/math-emu/fpu_proto.h | asmlinkage void math_emulate(long arg); |
arg | 61 | arch/i386/math-emu/fpu_proto.h | extern void convert_l2reg(long const *arg, FPU_REG *dest); |
arg | 78 | arch/i386/math-emu/fpu_proto.h | extern int poly_2xm1(FPU_REG const *arg, FPU_REG *result); |
arg | 84 | arch/i386/math-emu/fpu_proto.h | extern void poly_l2(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result); |
arg | 85 | arch/i386/math-emu/fpu_proto.h | extern int poly_l2p1(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result); |
arg | 88 | arch/i386/math-emu/fpu_proto.h | extern void poly_sine(FPU_REG const *arg, FPU_REG *result); |
arg | 89 | arch/i386/math-emu/fpu_proto.h | extern void poly_cos(FPU_REG const *arg, FPU_REG *result); |
arg | 92 | arch/i386/math-emu/fpu_proto.h | extern void poly_tan(FPU_REG const *arg, FPU_REG *result); |
arg | 21 | arch/i386/math-emu/fpu_system.h | #define SETUP_DATA_AREA(arg) FPU_info = (struct info *) &arg |
arg | 152 | arch/i386/math-emu/fpu_trig.c | void convert_l2reg(long const *arg, FPU_REG *dest) |
arg | 154 | arch/i386/math-emu/fpu_trig.c | long num = *arg; |
arg | 593 | arch/i386/math-emu/fpu_trig.c | static int f_cos(FPU_REG *arg) |
arg | 595 | arch/i386/math-emu/fpu_trig.c | char arg_sign = arg->sign; |
arg | 597 | arch/i386/math-emu/fpu_trig.c | if ( arg->tag == TW_Valid ) |
arg | 602 | arch/i386/math-emu/fpu_trig.c | if ( arg->exp > EXP_BIAS - 40 ) |
arg | 604 | arch/i386/math-emu/fpu_trig.c | arg->sign = SIGN_POS; |
arg | 605 | arch/i386/math-emu/fpu_trig.c | if ( (arg->exp < EXP_BIAS) |
arg | 606 | arch/i386/math-emu/fpu_trig.c | || ((arg->exp == EXP_BIAS) |
arg | 607 | arch/i386/math-emu/fpu_trig.c | && (significand(arg) <= 0xc90fdaa22168c234LL)) ) |
arg | 609 | arch/i386/math-emu/fpu_trig.c | poly_cos(arg, &rv); |
arg | 610 | arch/i386/math-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 617 | arch/i386/math-emu/fpu_trig.c | else if ( (q = trig_arg(arg, FCOS)) != -1 ) |
arg | 619 | arch/i386/math-emu/fpu_trig.c | poly_sine(arg, &rv); |
arg | 623 | arch/i386/math-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 633 | arch/i386/math-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
arg | 640 | arch/i386/math-emu/fpu_trig.c | if ( (arg->exp <= EXP_UNDER) && (denormal_operand()) ) |
arg | 645 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 654 | arch/i386/math-emu/fpu_trig.c | else if ( arg->tag == TW_Zero ) |
arg | 656 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 660 | arch/i386/math-emu/fpu_trig.c | else if ( arg->tag == TW_Infinity ) |
arg | 663 | arch/i386/math-emu/fpu_trig.c | arith_invalid(arg); |
arg | 668 | arch/i386/math-emu/fpu_trig.c | single_arg_error(arg); /* requires arg == &st(0) */ |
arg | 684 | arch/i386/math-emu/fpu_trig.c | FPU_REG arg; |
arg | 719 | arch/i386/math-emu/fpu_trig.c | reg_move(st0_ptr,&arg); |
arg | 720 | arch/i386/math-emu/fpu_trig.c | if ( !f_cos(&arg) ) |
arg | 724 | arch/i386/math-emu/fpu_trig.c | reg_move(&arg,st_new_ptr); |
arg | 53 | arch/i386/math-emu/poly_2xm1.c | int poly_2xm1(FPU_REG const *arg, FPU_REG *result) |
arg | 60 | arch/i386/math-emu/poly_2xm1.c | exponent = arg->exp - EXP_BIAS; |
arg | 64 | arch/i386/math-emu/poly_2xm1.c | || (arg->tag != TW_Valid) ) |
arg | 73 | arch/i386/math-emu/poly_2xm1.c | XSIG_LL(argSignif) = Xll = significand(arg); |
arg | 121 | arch/i386/math-emu/poly_2xm1.c | if ( arg->sign != SIGN_POS ) |
arg | 148 | arch/i386/math-emu/poly_2xm1.c | result->sign = arg->sign; |
arg | 22 | arch/i386/math-emu/poly_l2.c | static void log2_kernel(FPU_REG const *arg, |
arg | 29 | arch/i386/math-emu/poly_l2.c | void poly_l2(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result) |
arg | 37 | arch/i386/math-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 40 | arch/i386/math-emu/poly_l2.c | if ( arg->sigh > (unsigned)0xb504f334 ) |
arg | 43 | arch/i386/math-emu/poly_l2.c | significand(&x) = - significand(arg); |
arg | 53 | arch/i386/math-emu/poly_l2.c | x.sigh = arg->sigh - 0x80000000; |
arg | 54 | arch/i386/math-emu/poly_l2.c | x.sigl = arg->sigl; |
arg | 114 | arch/i386/math-emu/poly_l2.c | int poly_l2p1(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result) |
arg | 121 | arch/i386/math-emu/poly_l2.c | sign = arg->sign; |
arg | 123 | arch/i386/math-emu/poly_l2.c | if ( arg->exp < EXP_BIAS ) |
arg | 125 | arch/i386/math-emu/poly_l2.c | log2_kernel(arg, &accumulator, &exponent); |
arg | 183 | arch/i386/math-emu/poly_l2.c | static void log2_kernel(FPU_REG const *arg, Xsig *accum_result, |
arg | 191 | arch/i386/math-emu/poly_l2.c | sign = arg->sign; |
arg | 193 | arch/i386/math-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 195 | arch/i386/math-emu/poly_l2.c | XSIG_LL(Numer) = XSIG_LL(Denom) = significand(arg); |
arg | 65 | arch/i386/math-emu/poly_sin.c | void poly_sine(FPU_REG const *arg, FPU_REG *result) |
arg | 74 | arch/i386/math-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 82 | arch/i386/math-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 88 | arch/i386/math-emu/poly_sin.c | if ( (exponent < -1) || ((exponent == -1) && (arg->sigh <= 0xe21240aa)) ) |
arg | 92 | arch/i386/math-emu/poly_sin.c | argSqrd.msw = arg->sigh; argSqrd.midw = arg->sigl; argSqrd.lsw = 0; |
arg | 93 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&argSqrd, &significand(arg)); |
arg | 110 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 111 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 112 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 118 | arch/i386/math-emu/poly_sin.c | shr_Xsig(&accumulator, arg->exp - exponent); |
arg | 121 | arch/i386/math-emu/poly_sin.c | XSIG_LL(accumulator) += significand(arg); |
arg | 125 | arch/i386/math-emu/poly_sin.c | result->exp = arg->exp + echange; |
arg | 132 | arch/i386/math-emu/poly_sin.c | fixed_arg = significand(arg); |
arg | 200 | arch/i386/math-emu/poly_sin.c | result->sign = arg->sign; |
arg | 217 | arch/i386/math-emu/poly_sin.c | void poly_cos(FPU_REG const *arg, FPU_REG *result) |
arg | 226 | arch/i386/math-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 233 | arch/i386/math-emu/poly_sin.c | if ( (arg->exp > EXP_BIAS) |
arg | 234 | arch/i386/math-emu/poly_sin.c | || ((arg->exp == EXP_BIAS) |
arg | 235 | arch/i386/math-emu/poly_sin.c | && (significand(arg) > 0xc90fdaa22168c234LL)) ) |
arg | 243 | arch/i386/math-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 247 | arch/i386/math-emu/poly_sin.c | if ( (exponent < -1) || ((exponent == -1) && (arg->sigh <= 0xb00d6f54)) ) |
arg | 251 | arch/i386/math-emu/poly_sin.c | argSqrd.msw = arg->sigh; argSqrd.midw = arg->sigl; argSqrd.lsw = 0; |
arg | 252 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&argSqrd, &significand(arg)); |
arg | 273 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 274 | arch/i386/math-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 306 | arch/i386/math-emu/poly_sin.c | fixed_arg = significand(arg); |
arg | 55 | arch/i386/math-emu/poly_tan.c | void poly_tan(FPU_REG const *arg, FPU_REG *result) |
arg | 63 | arch/i386/math-emu/poly_tan.c | exponent = arg->exp - EXP_BIAS; |
arg | 66 | arch/i386/math-emu/poly_tan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 71 | arch/i386/math-emu/poly_tan.c | if ( (exponent == 0) || ((exponent == -1) && (arg->sigh > 0xc90fdaa2)) ) |
arg | 76 | arch/i386/math-emu/poly_tan.c | XSIG_LL(accum) = significand(arg); |
arg | 95 | arch/i386/math-emu/poly_tan.c | XSIG_LL(accum) = XSIG_LL(argSignif) = significand(arg); |
arg | 436 | drivers/block/aztcd.c | static int aztPlay(struct azt_Play_msf *arg) |
arg | 437 | drivers/block/aztcd.c | { if (sendAztCmd(ACMD_PLAY_AUDIO, arg) < 0) return -1; |
arg | 455 | drivers/block/aztcd.c | static int aztcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
arg | 514 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
arg | 516 | drivers/block/aztcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
arg | 545 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
arg | 547 | drivers/block/aztcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
arg | 575 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
arg | 579 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &tocHdr, sizeof tocHdr); |
arg | 582 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
arg | 584 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
arg | 586 | drivers/block/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
arg | 608 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
arg | 611 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof subchnl); |
arg | 613 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
arg | 615 | drivers/block/aztcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
arg | 637 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
arg | 643 | drivers/block/aztcd.c | st=verify_area(VERIFY_READ,(void *) arg, sizeof(volctrl)); |
arg | 645 | drivers/block/aztcd.c | memcpy_fromfs(&volctrl,(char *) arg,sizeof(volctrl)); |
arg | 671 | drivers/block/aztcd.c | { st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
arg | 673 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof buf); |
arg | 675 | drivers/block/aztcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
arg | 693 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &buf, 2048); |
arg | 699 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &buf, 2336); |
arg | 1774 | drivers/block/cdu31a.c | sony_get_subchnl_info(long arg) |
arg | 1789 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
arg | 1790 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
arg | 1792 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
arg | 1809 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1840 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 2174 | drivers/block/cdu31a.c | unsigned long arg) |
arg | 2265 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, 6); |
arg | 2267 | drivers/block/cdu31a.c | memcpy_fromfs(&(params[1]), (void *) arg, 6); |
arg | 2301 | drivers/block/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
arg | 2323 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
arg | 2376 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
arg | 2378 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
arg | 2436 | drivers/block/cdu31a.c | return sony_get_subchnl_info(arg); |
arg | 2442 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl)); |
arg | 2444 | drivers/block/cdu31a.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 2483 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ra)); |
arg | 2484 | drivers/block/cdu31a.c | memcpy_fromfs(&ra, (char *) arg, sizeof(ra)); |
arg | 2559 | drivers/block/floppy.c | static int user_reset_fdc(int drive, int arg, int interruptible) |
arg | 2564 | drivers/block/floppy.c | if(arg == FD_RESET_IF_NEEDED && !FDCS->reset) |
arg | 2567 | drivers/block/floppy.c | if(arg == FD_RESET_ALWAYS) |
arg | 780 | drivers/block/hd.c | unsigned int cmd, unsigned long arg) |
arg | 782 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 808 | drivers/block/hd.c | if(arg > 0xff) return -EINVAL; |
arg | 809 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 812 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 813 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 816 | drivers/block/hd.c | put_fs_long(read_ahead[MAJOR(inode->i_rdev)],(long *) arg); |
arg | 819 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 820 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 823 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
arg | 836 | drivers/block/hd.c | if ((arg > 1) || (MINOR(inode->i_rdev) & 0x3F)) |
arg | 838 | drivers/block/hd.c | unmask_intr[dev] = arg; |
arg | 842 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 843 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 846 | drivers/block/hd.c | put_fs_long(unmask_intr[dev], (long *) arg); |
arg | 850 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 851 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 854 | drivers/block/hd.c | put_fs_long(mult_count[dev], (long *) arg); |
arg | 862 | drivers/block/hd.c | if (arg > max_mult[dev]) |
arg | 868 | drivers/block/hd.c | mult_req[dev] = arg; |
arg | 876 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 879 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (char *) arg, sizeof(struct hd_driveid)); |
arg | 882 | drivers/block/hd.c | memcpy_tofs((char *)arg, (char *) hd_ident_info[dev], sizeof(struct hd_driveid)); |
arg | 885 | drivers/block/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 1315 | drivers/block/ide-cd.c | struct file *file, unsigned int cmd, unsigned long arg) |
arg | 1339 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *)arg, sizeof (msf)); |
arg | 1342 | drivers/block/ide-cd.c | memcpy_fromfs (&msf, (void *) arg, sizeof(msf)); |
arg | 1362 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti)); |
arg | 1365 | drivers/block/ide-cd.c | memcpy_fromfs (&ti, (void *) arg, sizeof(ti)); |
arg | 1387 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tochdr)); |
arg | 1398 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &tochdr, sizeof (tochdr)); |
arg | 1409 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry)); |
arg | 1411 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry)); |
arg | 1414 | drivers/block/ide-cd.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry)); |
arg | 1433 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry)); |
arg | 1444 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (subchnl)); |
arg | 1446 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (subchnl)); |
arg | 1449 | drivers/block/ide-cd.c | memcpy_fromfs (&subchnl, (void *) arg, sizeof (subchnl)); |
arg | 1481 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (subchnl)); |
arg | 1492 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (volctrl)); |
arg | 1494 | drivers/block/ide-cd.c | memcpy_fromfs (&volctrl, (void *) arg, sizeof (volctrl)); |
arg | 1519 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
arg | 1521 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
arg | 1531 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (reqbuf)); |
arg | 1536 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &reqbuf, sizeof (reqbuf)); |
arg | 1397 | drivers/block/ide.c | unsigned int cmd, unsigned long arg) |
arg | 1399 | drivers/block/ide.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 1431 | drivers/block/ide.c | if(arg > 0xff) return -EINVAL; |
arg | 1432 | drivers/block/ide.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 1436 | drivers/block/ide.c | return write_fs_long(arg, read_ahead[MAJOR(inode->i_rdev)]); |
arg | 1439 | drivers/block/ide.c | return write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects); |
arg | 1444 | drivers/block/ide.c | return write_fs_long(arg, dev->keep_settings); |
arg | 1447 | drivers/block/ide.c | return write_fs_long(arg, dev->unmask); |
arg | 1450 | drivers/block/ide.c | return write_fs_long(arg, dev->mult_count); |
arg | 1453 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
arg | 1457 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*dev->id)); |
arg | 1459 | drivers/block/ide.c | memcpy_tofs((char *)arg, (char *)dev->id, sizeof(*dev->id)); |
arg | 1464 | drivers/block/ide.c | if ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK)) |
arg | 1468 | drivers/block/ide.c | dev->keep_settings = arg; |
arg | 1474 | drivers/block/ide.c | if ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK)) |
arg | 1478 | drivers/block/ide.c | dev->unmask = arg; |
arg | 1486 | drivers/block/ide.c | if ((dev->id != NULL) && (arg > dev->id->max_multsect)) |
arg | 1494 | drivers/block/ide.c | dev->mult_req = arg; |
arg | 1499 | drivers/block/ide.c | return (dev->mult_count == arg) ? 0 : -EIO; |
arg | 1509 | drivers/block/ide.c | if (NULL == (long *) arg) |
arg | 1512 | drivers/block/ide.c | if (!(err = verify_area(VERIFY_WRITE,(long *)arg,sizeof(long)))) |
arg | 1514 | drivers/block/ide.c | args = get_fs_long((long *)arg); |
arg | 1516 | drivers/block/ide.c | put_fs_long(args,(long *)arg); |
arg | 1523 | drivers/block/ide.c | RO_IOCTLS(inode->i_rdev, arg); |
arg | 1528 | drivers/block/ide.c | return ide_cdrom_ioctl(dev, inode, file, cmd, arg); |
arg | 213 | drivers/block/mcd.c | mcdPlay(struct mcd_Play_msf *arg) |
arg | 219 | drivers/block/mcd.c | sendMcdCmd(MCMD_PLAY_READ, arg); |
arg | 241 | drivers/block/mcd.c | unsigned long arg) |
arg | 324 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
arg | 328 | drivers/block/mcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
arg | 367 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
arg | 371 | drivers/block/mcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
arg | 406 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
arg | 412 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &tocHdr, sizeof tocHdr); |
arg | 417 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
arg | 421 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
arg | 449 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
arg | 454 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
arg | 458 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
arg | 489 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
arg | 493 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(volctrl)); |
arg | 497 | drivers/block/mcd.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 670 | drivers/block/sbpcd.c | static int sbpcd_dbg_ioctl(unsigned long arg, int level) |
arg | 674 | drivers/block/sbpcd.c | val = get_fs_long((int *) arg); |
arg | 3211 | drivers/block/sbpcd.c | u_long arg) |
arg | 3216 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
arg | 3240 | drivers/block/sbpcd.c | i = verify_area(VERIFY_READ, (int *) arg, sizeof(int)); |
arg | 3241 | drivers/block/sbpcd.c | if (i>=0) i=sbpcd_dbg_ioctl(arg,1); |
arg | 3295 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 3297 | drivers/block/sbpcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 3323 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 3329 | drivers/block/sbpcd.c | memcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 3349 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_tochdr)); |
arg | 3351 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tochdr, sizeof(struct cdrom_tochdr)); |
arg | 3356 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 3358 | drivers/block/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 3373 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 3375 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
arg | 3407 | drivers/block/sbpcd.c | DriveStruct[d].f_eject=arg; |
arg | 3412 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(volctrl)); |
arg | 3414 | drivers/block/sbpcd.c | memcpy_fromfs(&volctrl,(char *) arg,sizeof(volctrl)); |
arg | 3427 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 3429 | drivers/block/sbpcd.c | memcpy_fromfs(&SC, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 3460 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &SC, sizeof(struct cdrom_subchnl)); |
arg | 3500 | drivers/block/sbpcd.c | i=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_read_audio)); |
arg | 3502 | drivers/block/sbpcd.c | memcpy_fromfs(&read_audio, (void *) arg, sizeof(struct cdrom_read_audio)); |
arg | 3687 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_multisession)); |
arg | 3689 | drivers/block/sbpcd.c | memcpy_fromfs(&ms_info, (void *) arg, sizeof(struct cdrom_multisession)); |
arg | 3697 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_multisession)); |
arg | 3699 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &ms_info, sizeof(struct cdrom_multisession)); |
arg | 3707 | drivers/block/sbpcd.c | if(arg > 0xff) return -EINVAL; |
arg | 3708 | drivers/block/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 922 | drivers/block/sonycd535.c | sony_get_subchnl_info(long arg) |
arg | 935 | drivers/block/sonycd535.c | verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof (schi)); |
arg | 937 | drivers/block/sonycd535.c | memcpy_fromfs(&schi, (char *)arg, sizeof (schi)); |
arg | 952 | drivers/block/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof (schi)); |
arg | 979 | drivers/block/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof (schi)); |
arg | 991 | drivers/block/sonycd535.c | unsigned long arg) |
arg | 1083 | drivers/block/sonycd535.c | verify_area(VERIFY_READ, (char *)arg, 6); |
arg | 1086 | drivers/block/sonycd535.c | memcpy_fromfs(params, (void *)arg, 6); |
arg | 1120 | drivers/block/sonycd535.c | hdr = (struct cdrom_tochdr *)arg; |
arg | 1140 | drivers/block/sonycd535.c | entry = (struct cdrom_tocentry *)arg; |
arg | 1180 | drivers/block/sonycd535.c | verify_area(VERIFY_READ, (char *)arg, sizeof (ti)); |
arg | 1182 | drivers/block/sonycd535.c | memcpy_fromfs(&ti, (char *)arg, sizeof (ti)); |
arg | 1241 | drivers/block/sonycd535.c | return sony_get_subchnl_info(arg); |
arg | 1247 | drivers/block/sonycd535.c | verify_area(VERIFY_READ, (char *)arg, sizeof (volctrl)); |
arg | 1249 | drivers/block/sonycd535.c | memcpy_fromfs(&volctrl, (char *)arg, sizeof (volctrl)); |
arg | 238 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
arg | 240 | drivers/block/xd.c | XD_GEOMETRY *geometry = (XD_GEOMETRY *) arg; |
arg | 246 | drivers/block/xd.c | if (arg) { |
arg | 260 | drivers/block/xd.c | if(arg > 0xff) return -EINVAL; |
arg | 261 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 264 | drivers/block/xd.c | if (arg) { |
arg | 265 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
arg | 267 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
arg | 281 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 156 | drivers/char/console.c | int set_selection(const int arg, struct tty_struct *tty); |
arg | 2217 | drivers/char/console.c | int do_screendump(unsigned long arg, int mode) |
arg | 2219 | drivers/char/console.c | char *sptr, *buf = (char *)arg; |
arg | 2341 | drivers/char/console.c | int sel_loadlut(const int arg) |
arg | 2343 | drivers/char/console.c | memcpy_fromfs(inwordLut,(unsigned long *)(arg+4),16); |
arg | 2371 | drivers/char/console.c | int set_selection(const int arg, struct tty_struct *tty) |
arg | 2381 | drivers/char/console.c | args = (unsigned short *)(arg + 1); |
arg | 2592 | drivers/char/console.c | static int set_get_font(char * arg, int set) |
arg | 2610 | drivers/char/console.c | i = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, cmapsz); |
arg | 2634 | drivers/char/console.c | *(charmap+i) = get_fs_byte(arg+i); |
arg | 2637 | drivers/char/console.c | put_fs_byte(*(charmap+i), arg+i); |
arg | 2669 | drivers/char/console.c | int con_set_font (char *arg) |
arg | 2671 | drivers/char/console.c | return set_get_font (arg,1); |
arg | 2674 | drivers/char/console.c | int con_get_font (char *arg) |
arg | 2676 | drivers/char/console.c | return set_get_font (arg,0); |
arg | 2684 | drivers/char/console.c | int con_set_trans(char * arg) |
arg | 2688 | drivers/char/console.c | i = verify_area(VERIFY_READ, (void *)arg, E_TABSZ); |
arg | 2692 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) USER_TRANS[i] = get_fs_byte(arg+i); |
arg | 2700 | drivers/char/console.c | int con_get_trans(char * arg) |
arg | 2704 | drivers/char/console.c | i = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ); |
arg | 2708 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) put_fs_byte(USER_TRANS[i],arg+i); |
arg | 1795 | drivers/char/cyclades.c | unsigned int arg = get_fs_long((unsigned long *) value); |
arg | 1806 | drivers/char/cyclades.c | if (arg & TIOCM_RTS){ |
arg | 1812 | drivers/char/cyclades.c | if (arg & TIOCM_DTR){ |
arg | 1825 | drivers/char/cyclades.c | if (arg & TIOCM_RTS){ |
arg | 1831 | drivers/char/cyclades.c | if (arg & TIOCM_DTR){ |
arg | 1844 | drivers/char/cyclades.c | if (arg & TIOCM_RTS){ |
arg | 1855 | drivers/char/cyclades.c | if (arg & TIOCM_DTR){ |
arg | 1897 | drivers/char/cyclades.c | unsigned int cmd, unsigned long arg) |
arg | 1904 | drivers/char/cyclades.c | printk("cy_ioctl ttyC%d, cmd = %x arg = %lx\n", info->line, cmd, arg); /* */ |
arg | 1913 | drivers/char/cyclades.c | if (!arg) |
arg | 1921 | drivers/char/cyclades.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 1926 | drivers/char/cyclades.c | ret_val = set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1930 | drivers/char/cyclades.c | error = verify_area(VERIFY_WRITE, (void *) arg |
arg | 1937 | drivers/char/cyclades.c | (unsigned long *) arg); |
arg | 1940 | drivers/char/cyclades.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1943 | drivers/char/cyclades.c | (arg ? CLOCAL : 0)); |
arg | 1946 | drivers/char/cyclades.c | error = verify_area(VERIFY_WRITE, (void *) arg |
arg | 1952 | drivers/char/cyclades.c | ret_val = get_modem_info(info, (unsigned int *) arg); |
arg | 1955 | drivers/char/cyclades.c | error = verify_area(VERIFY_WRITE, (void *) arg |
arg | 1962 | drivers/char/cyclades.c | (struct serial_struct *) arg); |
arg | 1966 | drivers/char/cyclades.c | (struct serial_struct *) arg); |
arg | 397 | drivers/char/lp.c | unsigned int cmd, unsigned long arg) |
arg | 403 | drivers/char/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
arg | 415 | drivers/char/lp.c | LP_TIME(minor) = arg; |
arg | 419 | drivers/char/lp.c | LP_CHAR(minor) = arg; |
arg | 423 | drivers/char/lp.c | if (arg) |
arg | 429 | drivers/char/lp.c | if (arg) |
arg | 435 | drivers/char/lp.c | if (arg) |
arg | 442 | drivers/char/lp.c | LP_WAIT(minor) = arg; |
arg | 447 | drivers/char/lp.c | int newirq = arg; |
arg | 492 | drivers/char/lp.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 496 | drivers/char/lp.c | memcpy_tofs((int *) arg, &LP_IRQ(minor), sizeof(int)); |
arg | 499 | drivers/char/lp.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 505 | drivers/char/lp.c | memcpy_tofs((int *) arg, &status, sizeof(int)); |
arg | 1551 | drivers/char/serial.c | unsigned int arg; |
arg | 1556 | drivers/char/serial.c | arg = get_fs_long((unsigned long *) value); |
arg | 1559 | drivers/char/serial.c | if (arg & TIOCM_RTS) { |
arg | 1563 | drivers/char/serial.c | if (arg & TIOCM_DTR) { |
arg | 1569 | drivers/char/serial.c | if (arg & TIOCM_RTS) { |
arg | 1573 | drivers/char/serial.c | if (arg & TIOCM_DTR) { |
arg | 1580 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1581 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0)); |
arg | 1584 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1585 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0)); |
arg | 1680 | drivers/char/serial.c | unsigned int cmd, unsigned long arg) |
arg | 1702 | drivers/char/serial.c | if (!arg) |
arg | 1710 | drivers/char/serial.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 1713 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(long)); |
arg | 1717 | drivers/char/serial.c | (unsigned long *) arg); |
arg | 1720 | drivers/char/serial.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1723 | drivers/char/serial.c | (arg ? CLOCAL : 0)); |
arg | 1726 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1730 | drivers/char/serial.c | return get_modem_info(info, (unsigned int *) arg); |
arg | 1734 | drivers/char/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1736 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1741 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1744 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1749 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1753 | drivers/char/serial.c | put_fs_long(rs_wild_int_mask, (unsigned long *) arg); |
arg | 1757 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1762 | drivers/char/serial.c | return get_lsr_info(info, (unsigned int *) arg); |
arg | 1767 | drivers/char/serial.c | rs_wild_int_mask = get_fs_long((unsigned long *) arg); |
arg | 1773 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1777 | drivers/char/serial.c | memcpy_tofs((struct async_struct *) arg, |
arg | 73 | drivers/char/tty_io.c | extern int set_selection(const int arg, struct tty_struct *tty); |
arg | 75 | drivers/char/tty_io.c | extern int sel_loadlut(const int arg); |
arg | 79 | drivers/char/tty_io.c | extern int do_screendump(unsigned long arg, int mode); |
arg | 82 | drivers/char/tty_io.c | extern void set_vesa_blanking(const unsigned long arg); |
arg | 107 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg); |
arg | 306 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 1253 | drivers/char/tty_io.c | static int do_get_ps_info(unsigned long arg) |
arg | 1260 | drivers/char/tty_io.c | struct tstruct *ts = (struct tstruct *)arg; |
arg | 1265 | drivers/char/tty_io.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct)); |
arg | 1283 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 1307 | drivers/char/tty_io.c | retval = verify_area(VERIFY_READ, (void *) arg, 1); |
arg | 1310 | drivers/char/tty_io.c | ch = get_fs_byte((char *) arg); |
arg | 1314 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1318 | drivers/char/tty_io.c | memcpy_tofs((struct winsize *) arg, &tty->winsize, |
arg | 1322 | drivers/char/tty_io.c | retval = verify_area(VERIFY_READ, (void *) arg, |
arg | 1326 | drivers/char/tty_io.c | memcpy_fromfs(&tmp_ws, (struct winsize *) arg, |
arg | 1351 | drivers/char/tty_io.c | retval = verify_area(VERIFY_READ, (void *) arg, sizeof(long)); |
arg | 1354 | drivers/char/tty_io.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1355 | drivers/char/tty_io.c | if (arg) |
arg | 1388 | drivers/char/tty_io.c | if ((arg == 1) && suser()) { |
arg | 1411 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1415 | drivers/char/tty_io.c | put_fs_long(real_tty->pgrp, (pid_t *) arg); |
arg | 1425 | drivers/char/tty_io.c | pgrp = get_fs_long((pid_t *) arg); |
arg | 1433 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1437 | drivers/char/tty_io.c | put_fs_long(tty->ldisc.num, (unsigned long *) arg); |
arg | 1443 | drivers/char/tty_io.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1444 | drivers/char/tty_io.c | return tty_set_ldisc(tty, arg); |
arg | 1450 | drivers/char/tty_io.c | retval = verify_area(VERIFY_READ, (void *) arg, 1); |
arg | 1453 | drivers/char/tty_io.c | switch (retval = get_fs_byte((char *)arg)) |
arg | 1456 | drivers/char/tty_io.c | return do_screendump(arg,0); |
arg | 1459 | drivers/char/tty_io.c | return do_get_ps_info(arg); |
arg | 1462 | drivers/char/tty_io.c | return set_selection(arg, tty); |
arg | 1471 | drivers/char/tty_io.c | return sel_loadlut(arg); |
arg | 1479 | drivers/char/tty_io.c | put_fs_byte(shift_state,arg); |
arg | 1482 | drivers/char/tty_io.c | put_fs_byte(mouse_reporting(),arg); |
arg | 1487 | drivers/char/tty_io.c | return do_screendump(arg,retval-7); |
arg | 1489 | drivers/char/tty_io.c | set_vesa_blanking(arg); |
arg | 1495 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1499 | drivers/char/tty_io.c | memcpy_tofs((struct tty_struct *) arg, |
arg | 1505 | drivers/char/tty_io.c | cmd, arg); |
arg | 1511 | drivers/char/tty_io.c | cmd, arg); |
arg | 97 | drivers/char/tty_ioctl.c | static int set_termios(struct tty_struct * tty, unsigned long arg, int opt) |
arg | 109 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, sizeof(struct termio)); |
arg | 113 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termio, (struct termio *) arg, |
arg | 124 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, sizeof(struct termios)); |
arg | 127 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, (struct termios *) arg, |
arg | 219 | drivers/char/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
arg | 233 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 237 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 246 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt); |
arg | 248 | drivers/char/tty_ioctl.c | return get_termio(real_tty,(struct termio *) arg); |
arg | 254 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt|TERMIOS_TERMIO); |
arg | 259 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 284 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 302 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 308 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 310 | drivers/char/tty_ioctl.c | put_fs_long(0, (unsigned long *) arg); |
arg | 313 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 319 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 322 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 325 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 329 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 336 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, |
arg | 341 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
arg | 348 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, |
arg | 352 | drivers/char/tty_ioctl.c | if (get_fs_long(arg)) { |
arg | 369 | drivers/char/tty_ioctl.c | tty->driver.ioctl(tty, file, cmd, arg); |
arg | 241 | drivers/char/vesa_blank.c | void set_vesa_blanking(const unsigned long arg) |
arg | 243 | drivers/char/vesa_blank.c | char *argp = (char *)(arg + 1); |
arg | 130 | drivers/char/vt.c | unsigned int cmd, unsigned long arg) |
arg | 156 | drivers/char/vt.c | kd_mksound((unsigned int)arg, 0); |
arg | 163 | drivers/char/vt.c | unsigned int ticks = HZ * ((arg >> 16) & 0xffff) / 1000; |
arg | 169 | drivers/char/vt.c | kd_mksound(arg & 0xffff, ticks); |
arg | 179 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 181 | drivers/char/vt.c | put_fs_byte(KB_101, (char *) arg); |
arg | 190 | drivers/char/vt.c | if (arg < GPFIRST || arg > GPLAST) |
arg | 192 | drivers/char/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
arg | 207 | drivers/char/vt.c | switch (arg) { |
arg | 212 | drivers/char/vt.c | arg = KD_TEXT; |
arg | 218 | drivers/char/vt.c | if (vt_cons[console]->vc_mode == (unsigned char) arg) |
arg | 220 | drivers/char/vt.c | vt_cons[console]->vc_mode = (unsigned char) arg; |
arg | 226 | drivers/char/vt.c | if (arg == KD_TEXT) |
arg | 233 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 235 | drivers/char/vt.c | put_fs_long(vt_cons[console]->vc_mode, (unsigned long *) arg); |
arg | 249 | drivers/char/vt.c | switch(arg) { |
arg | 272 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 278 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 285 | drivers/char/vt.c | switch(arg) { |
arg | 298 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 302 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 308 | drivers/char/vt.c | struct kbkeycode * const a = (struct kbkeycode *)arg; |
arg | 325 | drivers/char/vt.c | struct kbkeycode * const a = (struct kbkeycode *)arg; |
arg | 340 | drivers/char/vt.c | struct kbentry * const a = (struct kbentry *)arg; |
arg | 364 | drivers/char/vt.c | const struct kbentry * a = (struct kbentry *)arg; |
arg | 436 | drivers/char/vt.c | struct kbsentry *a = (struct kbsentry *)arg; |
arg | 459 | drivers/char/vt.c | struct kbsentry * const a = (struct kbsentry *)arg; |
arg | 535 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 548 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 567 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 571 | drivers/char/vt.c | (kbd->default_ledflagstate << 4), (char *) arg); |
arg | 577 | drivers/char/vt.c | if (arg & ~0x77) |
arg | 579 | drivers/char/vt.c | kbd->ledflagstate = (arg & 7); |
arg | 580 | drivers/char/vt.c | kbd->default_ledflagstate = ((arg >> 4) & 7); |
arg | 587 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 590 | drivers/char/vt.c | put_fs_byte(getledstate(), (char *) arg); |
arg | 596 | drivers/char/vt.c | setledstate(kbd, arg); |
arg | 614 | drivers/char/vt.c | if (arg < 1 || arg > NSIG || arg == SIGKILL) |
arg | 617 | drivers/char/vt.c | spawnsig = arg; |
arg | 623 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 647 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 649 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode)); |
arg | 667 | drivers/char/vt.c | struct vt_stat *vtstat = (struct vt_stat *)arg; |
arg | 686 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long)); |
arg | 693 | drivers/char/vt.c | (unsigned long *)arg); |
arg | 704 | drivers/char/vt.c | if (arg == 0 || arg > MAX_NR_CONSOLES) |
arg | 706 | drivers/char/vt.c | arg--; |
arg | 707 | drivers/char/vt.c | i = vc_allocate(arg); |
arg | 710 | drivers/char/vt.c | change_console(arg); |
arg | 719 | drivers/char/vt.c | if (arg == 0 || arg > MAX_NR_CONSOLES) |
arg | 721 | drivers/char/vt.c | arg--; |
arg | 722 | drivers/char/vt.c | while (fg_console != arg) |
arg | 750 | drivers/char/vt.c | if (arg == 0) |
arg | 780 | drivers/char/vt.c | if (arg != VT_ACKACQ) |
arg | 790 | drivers/char/vt.c | if (arg > MAX_NR_CONSOLES) |
arg | 792 | drivers/char/vt.c | if (arg == 0) { |
arg | 799 | drivers/char/vt.c | arg--; |
arg | 800 | drivers/char/vt.c | if (VT_IS_IN_USE(arg) || arg == fg_console) |
arg | 802 | drivers/char/vt.c | if (arg) /* leave 0 */ |
arg | 803 | drivers/char/vt.c | vc_disallocate(arg); |
arg | 809 | drivers/char/vt.c | struct vt_sizes *vtsizes = (struct vt_sizes *) arg; |
arg | 826 | drivers/char/vt.c | return con_set_font((char *)arg); |
arg | 832 | drivers/char/vt.c | return con_get_font((char *)arg); |
arg | 838 | drivers/char/vt.c | return con_set_trans((char *)arg); |
arg | 842 | drivers/char/vt.c | return con_get_trans((char *)arg); |
arg | 318 | drivers/net/arcnet.c | static void arcnet_timer(unsigned long arg); |
arg | 1531 | drivers/net/arcnet.c | arcnet_timer(unsigned long arg) |
arg | 1533 | drivers/net/arcnet.c | struct device *dev=(struct device *)arg; |
arg | 957 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
arg | 970 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, 16); |
arg | 974 | drivers/net/slip.c | memcpy_tofs(arg, sl->dev->name, strlen(sl->dev->name) + 1); |
arg | 978 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, sizeof(long)); |
arg | 982 | drivers/net/slip.c | put_fs_long(sl->mode, (long *)arg); |
arg | 986 | drivers/net/slip.c | err = verify_area(VERIFY_READ, arg, sizeof(long)); |
arg | 990 | drivers/net/slip.c | tmp = get_fs_long((long *)arg); |
arg | 1031 | drivers/net/slip.c | return sl_set_mac_address(sl->dev, arg); |
arg | 1039 | drivers/net/slip.c | return n_tty_ioctl(tty, (struct file *) file, cmd, (unsigned long) arg); |
arg | 242 | drivers/scsi/scsi_ioctl.c | int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) |
arg | 251 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, (void *) arg, sizeof(int)); |
arg | 253 | drivers/scsi/scsi_ioctl.c | (dev->host->host_no << 16), (unsigned long *) arg); |
arg | 268 | drivers/scsi/scsi_ioctl.c | return ioctl_probe(dev->host, arg); |
arg | 271 | drivers/scsi/scsi_ioctl.c | return ioctl_command((Scsi_Device *) dev, arg); |
arg | 305 | drivers/scsi/scsi_ioctl.c | int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) { |
arg | 310 | drivers/scsi/scsi_ioctl.c | tmp = scsi_ioctl (dev, cmd, arg); |
arg | 17 | drivers/scsi/scsi_ioctl.h | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 18 | drivers/scsi/scsi_ioctl.h | extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 18 | drivers/scsi/sd_ioctl.c | int sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 24 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 50 | drivers/scsi/sd_ioctl.c | if (!arg) return -EINVAL; |
arg | 51 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 55 | drivers/scsi/sd_ioctl.c | (long *) arg); |
arg | 60 | drivers/scsi/sd_ioctl.c | if(arg > 0xff) return -EINVAL; |
arg | 61 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 73 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
arg | 66 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
arg | 74 | drivers/scsi/sg.c | scsi_generics[dev].timeout=get_fs_long((int *) arg); |
arg | 79 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
arg | 20 | drivers/scsi/sr_ioctl.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 92 | drivers/scsi/sr_ioctl.c | int sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 135 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&msf, (void *) arg, sizeof(msf)); |
arg | 155 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ti, (void *) arg, sizeof(ti)); |
arg | 196 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tochdr)); |
arg | 199 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tochdr, sizeof (struct cdrom_tochdr)); |
arg | 209 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 210 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 236 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 239 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |
arg | 281 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 282 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&volctrl, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 377 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_subchnl)); |
arg | 380 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |
arg | 395 | drivers/scsi/sr_ioctl.c | err = verify_area(VERIFY_READ, (void *) arg, |
arg | 399 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ms_info, (void *) arg, sizeof(struct cdrom_multisession)); |
arg | 413 | drivers/scsi/sr_ioctl.c | err=verify_area(VERIFY_WRITE,(void *) arg, |
arg | 417 | drivers/scsi/sr_ioctl.c | memcpy_tofs((void *) arg, &ms_info, sizeof(struct cdrom_multisession)); |
arg | 424 | drivers/scsi/sr_ioctl.c | if(arg > 0xff) return -EINVAL; |
arg | 425 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 427 | drivers/scsi/sr_ioctl.c | RO_IOCTLS(dev,arg); |
arg | 429 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
arg | 102 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
arg | 1211 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1237 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1238 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1239 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1246 | drivers/scsi/st.c | fileno += arg; |
arg | 1248 | drivers/scsi/st.c | at_sm &= (arg != 0); |
arg | 1254 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1267 | drivers/scsi/st.c | fileno -= arg; |
arg | 1269 | drivers/scsi/st.c | at_sm &= (arg != 0); |
arg | 1274 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1275 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1276 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1283 | drivers/scsi/st.c | blkno += arg; |
arg | 1284 | drivers/scsi/st.c | at_sm &= (arg != 0); |
arg | 1289 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1302 | drivers/scsi/st.c | blkno -= arg; |
arg | 1303 | drivers/scsi/st.c | at_sm &= (arg != 0); |
arg | 1308 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1309 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1310 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1316 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1324 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1336 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1348 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1349 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1350 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1363 | drivers/scsi/st.c | fileno += arg; |
arg | 1454 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1455 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1456 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1462 | drivers/scsi/st.c | cmd[3] = (arg >> 24); |
arg | 1463 | drivers/scsi/st.c | cmd[4] = (arg >> 16); |
arg | 1464 | drivers/scsi/st.c | cmd[5] = (arg >> 8); |
arg | 1465 | drivers/scsi/st.c | cmd[6] = arg; |
arg | 1473 | drivers/scsi/st.c | printk("st%d: Seeking tape to block %ld.\n", dev, arg); |
arg | 1484 | drivers/scsi/st.c | arg != 0 && |
arg | 1485 | drivers/scsi/st.c | (arg < STp->min_block || arg > STp->max_block || |
arg | 1486 | drivers/scsi/st.c | arg > st_buffer_size)) { |
arg | 1495 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
arg | 1501 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
arg | 1505 | drivers/scsi/st.c | ltmp = arg; |
arg | 1565 | drivers/scsi/st.c | STp->block_size = arg; |
arg | 1566 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1580 | drivers/scsi/st.c | STp->drv_buffer = (arg & 7); |
arg | 1582 | drivers/scsi/st.c | STp->density = arg; |
arg | 1656 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1681 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc)); |
arg | 1685 | drivers/scsi/st.c | memcpy_fromfs((char *) &mtc, (char *)arg, sizeof(struct mtop)); |
arg | 1707 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
arg | 1750 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *)(STp->mt_status), |
arg | 1770 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos)); |
arg | 1818 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *) (&mt_pos), sizeof(struct mtpos)); |
arg | 1822 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |
arg | 90 | drivers/sound/ad1848.c | static int ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 254 | drivers/sound/ad1848.c | set_speed (ad1848_info * devc, int arg) |
arg | 294 | drivers/sound/ad1848.c | if (arg < speed_table[0].speed) |
arg | 296 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
arg | 300 | drivers/sound/ad1848.c | if (speed_table[i].speed == arg) |
arg | 302 | drivers/sound/ad1848.c | else if (speed_table[i].speed > arg) |
arg | 306 | drivers/sound/ad1848.c | diff1 = arg - speed_table[i - 1].speed; |
arg | 307 | drivers/sound/ad1848.c | diff2 = speed_table[i].speed - arg; |
arg | 327 | drivers/sound/ad1848.c | set_channels (ad1848_info * devc, int arg) |
arg | 329 | drivers/sound/ad1848.c | if (arg != 1 && arg != 2) |
arg | 332 | drivers/sound/ad1848.c | devc->channels = arg; |
arg | 333 | drivers/sound/ad1848.c | return arg; |
arg | 337 | drivers/sound/ad1848.c | set_format (ad1848_info * devc, int arg) |
arg | 389 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
arg | 390 | drivers/sound/ad1848.c | arg = AFMT_U8; |
arg | 392 | drivers/sound/ad1848.c | devc->audio_format = arg; |
arg | 395 | drivers/sound/ad1848.c | if (format2bits[i].format == arg) |
arg | 400 | drivers/sound/ad1848.c | return arg; |
arg | 409 | drivers/sound/ad1848.c | ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 417 | drivers/sound/ad1848.c | return set_speed (devc, arg); |
arg | 418 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_speed (devc, IOCTL_IN (arg))); |
arg | 423 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->speed); |
arg | 427 | drivers/sound/ad1848.c | return set_channels (devc, arg + 1) - 1; |
arg | 428 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_channels (devc, IOCTL_IN (arg) + 1) - 1); |
arg | 432 | drivers/sound/ad1848.c | return set_channels (devc, arg); |
arg | 433 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_channels (devc, IOCTL_IN (arg))); |
arg | 438 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->channels); |
arg | 442 | drivers/sound/ad1848.c | return set_format (devc, arg); |
arg | 443 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_format (devc, IOCTL_IN (arg))); |
arg | 448 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->audio_format); |
arg | 322 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 336 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 351 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 355 | drivers/sound/audio.c | return IOCTL_OUT (arg, audio_devs[dev]->format_mask); |
arg | 359 | drivers/sound/audio.c | return IOCTL_OUT (arg, set_format (dev, IOCTL_IN (arg))); |
arg | 362 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 405 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 124 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 139 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 150 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 178 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 196 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 391 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 412 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, dmap->fragment_size); |
arg | 417 | drivers/sound/dmabuf.c | int fact = IOCTL_IN (arg); |
arg | 424 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, fact); |
arg | 438 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, fact); |
arg | 444 | drivers/sound/dmabuf.c | int fact = IOCTL_IN (arg); |
arg | 477 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, bytes | (count << 16)); |
arg | 482 | drivers/sound/dmabuf.c | return audio_devs[dev]->ioctl (dev, cmd, arg, local); |
arg | 915 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 195 | drivers/sound/gus_midi.c | gus_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 840 | drivers/sound/gus_wave.c | unsigned int cmd, unsigned int arg) |
arg | 847 | drivers/sound/gus_wave.c | IOCTL_TO_USER ((char *) arg, 0, &gus_info, sizeof (gus_info)); |
arg | 1907 | drivers/sound/gus_wave.c | gus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 1913 | drivers/sound/gus_wave.c | return gus_sampling_set_speed (arg); |
arg | 1914 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_speed (IOCTL_IN (arg))); |
arg | 1920 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_speed); |
arg | 1925 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg + 1) - 1; |
arg | 1926 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 1931 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg); |
arg | 1932 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg))); |
arg | 1938 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_channels); |
arg | 1943 | drivers/sound/gus_wave.c | return gus_sampling_set_bits (arg); |
arg | 1944 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_bits (IOCTL_IN (arg))); |
arg | 1950 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_bits); |
arg | 1953 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 1957 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 2703 | drivers/sound/gus_wave.c | gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 2713 | drivers/sound/gus_wave.c | gus_recmask = IOCTL_IN (arg) & MIX_DEVS; |
arg | 2717 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 2722 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 2730 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 2736 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 2744 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 2749 | drivers/sound/gus_wave.c | gus_pcm_volume = IOCTL_IN (arg) & 0xff; |
arg | 2755 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 2762 | drivers/sound/gus_wave.c | gus_wave_volume = IOCTL_IN (arg) & 0xff; |
arg | 2773 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
arg | 2787 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 2791 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, MIX_DEVS); |
arg | 2795 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 2799 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, SOUND_MASK_MIC | SOUND_MASK_LINE); |
arg | 2803 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 2807 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_mic_vol | (gus_mic_vol << 8)); |
arg | 2811 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_line_vol | (gus_line_vol << 8)); |
arg | 2815 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 2819 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
arg | 135 | drivers/sound/ics2101.c | ics2101_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 143 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
arg | 147 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_MIC, IOCTL_IN (arg))); |
arg | 151 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_CD, IOCTL_IN (arg))); |
arg | 155 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_LINE, IOCTL_IN (arg))); |
arg | 159 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_GF1, IOCTL_IN (arg))); |
arg | 163 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_VOL, IOCTL_IN (arg))); |
arg | 176 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
arg | 180 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, MIX_DEVS); |
arg | 184 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, SOUND_MASK_LINE | SOUND_MASK_CD | |
arg | 190 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, SOUND_MASK_MIC | SOUND_MASK_LINE); |
arg | 194 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, 0); |
arg | 198 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_MIC]); |
arg | 202 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_LINE]); |
arg | 206 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_CD]); |
arg | 210 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_VOL]); |
arg | 214 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_GF1]); |
arg | 103 | drivers/sound/midi_synth.c | unsigned int cmd, unsigned int arg) |
arg | 113 | drivers/sound/midi_synth.c | IOCTL_TO_USER ((char *) arg, 0, synth_devs[dev]->info, |
arg | 2 | drivers/sound/midi_synth.h | unsigned int cmd, unsigned int arg); |
arg | 376 | drivers/sound/midibuf.c | unsigned int cmd, unsigned int arg) |
arg | 386 | drivers/sound/midibuf.c | val = IOCTL_IN (arg); |
arg | 392 | drivers/sound/midibuf.c | return IOCTL_OUT (arg, val); |
arg | 396 | drivers/sound/midibuf.c | return midi_devs[dev]->ioctl (dev, cmd, arg); |
arg | 107 | drivers/sound/mpu401.c | static void set_uart_mode (int dev, struct mpu_config *devc, int arg); |
arg | 762 | drivers/sound/mpu401.c | mpu401_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 771 | drivers/sound/mpu401.c | IOCTL_FROM_USER ((char *) &init_sequence, (char *) arg, 0, sizeof (init_sequence)); |
arg | 781 | drivers/sound/mpu401.c | set_uart_mode (dev, devc, !IOCTL_IN (arg)); |
arg | 790 | drivers/sound/mpu401.c | IOCTL_FROM_USER ((char *) &rec, (char *) arg, 0, sizeof (rec)); |
arg | 795 | drivers/sound/mpu401.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &rec, sizeof (rec)); |
arg | 820 | drivers/sound/mpu401.c | unsigned int cmd, unsigned int arg) |
arg | 836 | drivers/sound/mpu401.c | IOCTL_TO_USER ((char *) arg, 0, &mpu_synth_info[midi_dev], |
arg | 1153 | drivers/sound/mpu401.c | set_uart_mode (int dev, struct mpu_config *devc, int arg) |
arg | 1156 | drivers/sound/mpu401.c | if (!arg && devc->version == 0) |
arg | 1159 | drivers/sound/mpu401.c | if ((devc->uart_mode == 0) == (arg == 0)) |
arg | 1164 | drivers/sound/mpu401.c | if (arg) |
arg | 1173 | drivers/sound/mpu401.c | devc->uart_mode = arg; |
arg | 1459 | drivers/sound/mpu401.c | unsigned int command, unsigned int arg) |
arg | 1467 | drivers/sound/mpu401.c | int parm = IOCTL_IN (arg) & timer_caps; |
arg | 1479 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, timer_mode); |
arg | 1507 | drivers/sound/mpu401.c | int val = IOCTL_IN (arg); |
arg | 1512 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 1518 | drivers/sound/mpu401.c | int val = IOCTL_IN (arg); |
arg | 1536 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 1541 | drivers/sound/mpu401.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 1544 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 1548 | drivers/sound/mpu401.c | metronome_mode = IOCTL_IN (arg); |
arg | 133 | drivers/sound/opl3.c | unsigned int cmd, unsigned int arg) |
arg | 142 | drivers/sound/opl3.c | IOCTL_FROM_USER ((char *) &ins, (char *) arg, 0, sizeof (ins)); |
arg | 158 | drivers/sound/opl3.c | IOCTL_TO_USER ((char *) arg, 0, &fm_info, sizeof (fm_info)); |
arg | 64 | drivers/sound/os.h | #define IOCTL_IN(arg) get_fs_long((long *)(arg)) |
arg | 65 | drivers/sound/os.h | #define IOCTL_OUT(arg, ret) snd_ioctl_return((int *)arg, ret) |
arg | 217 | drivers/sound/pas2_midi.c | pas_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 306 | drivers/sound/pas2_mixer.c | pas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 308 | drivers/sound/pas2_mixer.c | TRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
arg | 313 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 323 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, rec_devices); |
arg | 327 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES & ~(SOUND_MASK_BASS | SOUND_MASK_TREBLE)); |
arg | 331 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES); |
arg | 335 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, POSSIBLE_RECORDING_DEVICES & SUPPORTED_MIXER_DEVICES); |
arg | 339 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* |
arg | 345 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* |
arg | 352 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 353 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, ((mode_control & P_M_MV508_ENHANCE_BITS) + 1) * 20); |
arg | 358 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 1); |
arg | 359 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 363 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, levels[cmd & 0xff]); |
arg | 61 | drivers/sound/pas2_pcm.c | pcm_set_speed (int arg) |
arg | 66 | drivers/sound/pas2_pcm.c | if (arg > 44100) |
arg | 67 | drivers/sound/pas2_pcm.c | arg = 44100; |
arg | 68 | drivers/sound/pas2_pcm.c | if (arg < 5000) |
arg | 69 | drivers/sound/pas2_pcm.c | arg = 5000; |
arg | 71 | drivers/sound/pas2_pcm.c | foo = (1193180 + (arg / 2)) / arg; |
arg | 72 | drivers/sound/pas2_pcm.c | arg = 1193180 / foo; |
arg | 77 | drivers/sound/pas2_pcm.c | pcm_speed = arg; |
arg | 120 | drivers/sound/pas2_pcm.c | pcm_set_channels (int arg) |
arg | 123 | drivers/sound/pas2_pcm.c | if ((arg != 1) && (arg != 2)) |
arg | 126 | drivers/sound/pas2_pcm.c | if (arg != pcm_channels) |
arg | 130 | drivers/sound/pas2_pcm.c | pcm_channels = arg; |
arg | 140 | drivers/sound/pas2_pcm.c | pcm_set_bits (int arg) |
arg | 142 | drivers/sound/pas2_pcm.c | if ((arg & pcm_bitsok) != arg) |
arg | 145 | drivers/sound/pas2_pcm.c | if (arg != pcm_bits) |
arg | 149 | drivers/sound/pas2_pcm.c | pcm_bits = arg; |
arg | 156 | drivers/sound/pas2_pcm.c | pas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 158 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
arg | 164 | drivers/sound/pas2_pcm.c | return pcm_set_speed (arg); |
arg | 165 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_speed (IOCTL_IN (arg))); |
arg | 171 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_speed); |
arg | 176 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg + 1) - 1; |
arg | 177 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 182 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg); |
arg | 183 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg))); |
arg | 189 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_channels); |
arg | 194 | drivers/sound/pas2_pcm.c | return pcm_set_bits (arg); |
arg | 195 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_bits (IOCTL_IN (arg))); |
arg | 201 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_bits); |
arg | 206 | drivers/sound/pas2_pcm.c | if (IOCTL_IN (arg) > 1) |
arg | 207 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 210 | drivers/sound/pas2_pcm.c | pcm_filter = IOCTL_IN (arg); |
arg | 212 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_filter); |
arg | 844 | drivers/sound/pss.c | unsigned int cmd, unsigned int arg) |
arg | 865 | drivers/sound/pss.c | COPY_FROM_USER (¶ms, (char *) arg, 0, sizeof (struct pss_speaker)); |
arg | 73 | drivers/sound/sb16_dsp.c | static int sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 139 | drivers/sound/sb16_dsp.c | dsp_set_bits (int arg) |
arg | 141 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_bits(%d)\n", arg)); |
arg | 143 | drivers/sound/sb16_dsp.c | if (arg) |
arg | 144 | drivers/sound/sb16_dsp.c | switch (arg) |
arg | 159 | drivers/sound/sb16_dsp.c | sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 165 | drivers/sound/sb16_dsp.c | return dsp_set_speed (arg); |
arg | 166 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_speed (IOCTL_IN (arg))); |
arg | 171 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 175 | drivers/sound/sb16_dsp.c | return dsp_set_stereo (arg); |
arg | 176 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 180 | drivers/sound/sb16_dsp.c | return dsp_set_stereo (arg - 1) + 1; |
arg | 181 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 186 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 190 | drivers/sound/sb16_dsp.c | return dsp_set_bits (arg); |
arg | 191 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_bits (IOCTL_IN (arg))); |
arg | 196 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_16bit ? 16 : 8); |
arg | 201 | drivers/sound/sb16_dsp.c | if (IOCTL_IN (arg) > 1) |
arg | 202 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 157 | drivers/sound/sb16_midi.c | sb16midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 647 | drivers/sound/sb_dsp.c | sb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 653 | drivers/sound/sb_dsp.c | return dsp_speed (arg); |
arg | 654 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_speed (IOCTL_IN (arg))); |
arg | 660 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 665 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg - 1) + 1; |
arg | 666 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 672 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 677 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg); |
arg | 678 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 685 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, 8);/* |
arg | 192 | drivers/sound/sb_midi.c | sb_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 328 | drivers/sound/sb_mixer.c | sb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 336 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, set_recmask (IOCTL_IN (arg))); |
arg | 340 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 349 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, recmask); |
arg | 353 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices); |
arg | 357 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices & |
arg | 362 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_rec_devices); |
arg | 366 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, mixer_caps); |
arg | 370 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff)); |
arg | 1326 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 1347 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
arg | 1356 | drivers/sound/sequencer.c | pending_timer = IOCTL_IN (arg); |
arg | 1364 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, pending_timer); |
arg | 1403 | drivers/sound/sequencer.c | midi_dev = IOCTL_IN (arg); |
arg | 1431 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, iqlen); |
arg | 1438 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, SEQ_MAX_QUEUE - qlen); |
arg | 1449 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
arg | 1451 | drivers/sound/sequencer.c | if (IOCTL_IN (arg) != 0) |
arg | 1454 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, HZ); |
arg | 1458 | drivers/sound/sequencer.c | dev = IOCTL_IN (arg); |
arg | 1468 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1472 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, max_synthdev); |
arg | 1476 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, max_mididev); |
arg | 1481 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 1489 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
arg | 1495 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 1503 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1513 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 1522 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1531 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 1537 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf)); |
arg | 1549 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 1570 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 1583 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 1604 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 1612 | drivers/sound/sequencer.c | int tmp = IOCTL_IN (arg); |
arg | 1630 | drivers/sound/sequencer.c | int val = IOCTL_IN (arg); |
arg | 1637 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, val); |
arg | 1654 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
arg | 1838 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 11 | drivers/sound/sound_calls.h | int DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 29 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 42 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 64 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 114 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned long arg); |
arg | 192 | drivers/sound/sound_calls.h | int gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg); |
arg | 241 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 471 | drivers/sound/sound_switch.c | unsigned int cmd, unsigned long arg) |
arg | 473 | drivers/sound/sound_switch.c | DEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg)); |
arg | 479 | drivers/sound/sound_switch.c | return mixer_devs[0]->ioctl (0, cmd, arg); |
arg | 494 | drivers/sound/sound_switch.c | return mixer_devs[dev]->ioctl (dev, cmd, arg); |
arg | 499 | drivers/sound/sound_switch.c | return sequencer_ioctl (dev, file, cmd, arg); |
arg | 505 | drivers/sound/sound_switch.c | return audio_ioctl (dev, file, cmd, arg); |
arg | 510 | drivers/sound/sound_switch.c | return MIDIbuf_ioctl (dev, file, cmd, arg); |
arg | 516 | drivers/sound/sound_switch.c | return pss_ioctl (dev, file, cmd, arg); |
arg | 248 | drivers/sound/sound_timer.c | unsigned int cmd, unsigned int arg) |
arg | 253 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, TMR_INTERNAL); |
arg | 274 | drivers/sound/sound_timer.c | int val = IOCTL_IN (arg); |
arg | 285 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 291 | drivers/sound/sound_timer.c | int val = IOCTL_IN (arg); |
arg | 306 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 311 | drivers/sound/sound_timer.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 314 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 127 | drivers/sound/soundcard.c | unsigned int cmd, unsigned long arg) |
arg | 134 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
arg | 199 | drivers/sound/sys_timer.c | unsigned int cmd, unsigned int arg) |
arg | 204 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, TMR_INTERNAL); |
arg | 225 | drivers/sound/sys_timer.c | int val = IOCTL_IN (arg); |
arg | 236 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 242 | drivers/sound/sys_timer.c | int val = IOCTL_IN (arg); |
arg | 256 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 261 | drivers/sound/sys_timer.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 264 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 220 | drivers/sound/uart6850.c | uart6850_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 19 | fs/ext2/ioctl.c | unsigned long arg) |
arg | 24 | fs/ext2/ioctl.c | ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); |
arg | 28 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 30 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
arg | 33 | fs/ext2/ioctl.c | flags = get_fs_long ((long *) arg); |
arg | 60 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 62 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
arg | 69 | fs/ext2/ioctl.c | inode->u.ext2_i.i_version = get_fs_long ((long *) arg); |
arg | 18 | fs/fcntl.c | extern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg); |
arg | 20 | fs/fcntl.c | static int dupfd(unsigned int fd, unsigned int arg) |
arg | 24 | fs/fcntl.c | if (arg >= NR_OPEN) |
arg | 26 | fs/fcntl.c | while (arg < NR_OPEN) |
arg | 27 | fs/fcntl.c | if (current->files->fd[arg]) |
arg | 28 | fs/fcntl.c | arg++; |
arg | 31 | fs/fcntl.c | if (arg >= NR_OPEN) |
arg | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->files->close_on_exec); |
arg | 34 | fs/fcntl.c | (current->files->fd[arg] = current->files->fd[fd])->f_count++; |
arg | 35 | fs/fcntl.c | return arg; |
arg | 66 | fs/fcntl.c | asmlinkage int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg) |
arg | 76 | fs/fcntl.c | return dupfd(fd,arg); |
arg | 80 | fs/fcntl.c | if (arg&1) |
arg | 92 | fs/fcntl.c | if (IS_APPEND(filp->f_inode) && !(arg & O_APPEND)) |
arg | 94 | fs/fcntl.c | if ((arg & FASYNC) && !(filp->f_flags & FASYNC) && |
arg | 97 | fs/fcntl.c | if (!(arg & FASYNC) && (filp->f_flags & FASYNC) && |
arg | 101 | fs/fcntl.c | filp->f_flags |= arg & (O_APPEND | O_NONBLOCK | |
arg | 105 | fs/fcntl.c | return fcntl_getlk(fd, (struct flock *) arg); |
arg | 107 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 109 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
arg | 146 | fs/fcntl.c | if ((p->pid == arg) || (p->pid == -arg) || |
arg | 147 | fs/fcntl.c | (p->pgrp == -arg)) { |
arg | 160 | fs/fcntl.c | filp->f_owner = arg; |
arg | 162 | fs/fcntl.c | sock_fcntl (filp, F_SETOWN, arg); |
arg | 168 | fs/fcntl.c | return (sock_fcntl (filp, cmd, arg)); |
arg | 17 | fs/ioctl.c | static int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg) |
arg | 28 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 31 | fs/ioctl.c | block = get_fs_long((long *) arg); |
arg | 33 | fs/ioctl.c | put_fs_long(block,(long *) arg); |
arg | 38 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 42 | fs/ioctl.c | (long *) arg); |
arg | 45 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 49 | fs/ioctl.c | (long *) arg); |
arg | 53 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
arg | 58 | fs/ioctl.c | asmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) |
arg | 75 | fs/ioctl.c | on = get_fs_long((unsigned long *) arg); |
arg | 84 | fs/ioctl.c | on = get_fs_long ((unsigned long *) arg); |
arg | 93 | fs/ioctl.c | return file_ioctl(filp,cmd,arg); |
arg | 96 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
arg | 135 | fs/pipe.c | unsigned int cmd, unsigned long arg) |
arg | 141 | fs/pipe.c | error = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 143 | fs/pipe.c | put_fs_long(PIPE_SIZE(*pino),(unsigned long *) arg); |
arg | 110 | include/linux/net.h | unsigned long arg); |
arg | 126 | include/linux/net.h | unsigned long arg); |
arg | 142 | include/linux/tqueue.h | void *arg; |
arg | 151 | include/linux/tqueue.h | arg = p -> data; |
arg | 155 | include/linux/tqueue.h | (*f)(arg); |
arg | 311 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 329 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 133 | include/linux/tty_driver.h | unsigned int cmd, unsigned long arg); |
arg | 27 | include/linux/tty_ldisc.h | unsigned int cmd, unsigned long arg); |
arg | 115 | include/linux/xd.h | static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg); |
arg | 360 | ipc/sem.c | int sys_semctl (int semid, int semnum, int cmd, union semun arg) |
arg | 380 | ipc/sem.c | struct seminfo seminfo, *tmp = arg.__buf; |
arg | 403 | ipc/sem.c | buf = arg.buf; |
arg | 458 | ipc/sem.c | array = arg.array; |
arg | 465 | ipc/sem.c | val = arg.val; |
arg | 476 | ipc/sem.c | array = arg.array; |
arg | 485 | ipc/sem.c | buf = arg.buf; |
arg | 490 | ipc/sem.c | buf = arg.buf; |
arg | 25 | ipc/util.c | extern int sys_semctl (int semid, int semnum, int cmd, union semun arg); |
arg | 18 | lib/open.c | va_list arg; |
arg | 20 | lib/open.c | va_start(arg,flag); |
arg | 21 | lib/open.c | res = __sys_open(filename, flag, va_arg(arg, int)); |
arg | 22 | lib/open.c | va_end(arg); |
arg | 380 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 394 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |
arg | 395 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |
arg | 396 | net/inet/af_inet.c | sk->proc = arg; |
arg | 1230 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1239 | net/inet/af_inet.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
arg | 1242 | net/inet/af_inet.c | sk->proc = get_fs_long((int *) arg); |
arg | 1246 | net/inet/af_inet.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
arg | 1249 | net/inet/af_inet.c | put_fs_long(sk->proc,(int *)arg); |
arg | 1254 | net/inet/af_inet.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
arg | 1257 | net/inet/af_inet.c | memcpy_tofs((void *)arg,&sk->stamp,sizeof(struct timeval)); |
arg | 1261 | net/inet/af_inet.c | return(ip_rt_ioctl(cmd,(void *) arg)); |
arg | 1265 | net/inet/af_inet.c | return(arp_ioctl(cmd,(void *) arg)); |
arg | 1270 | net/inet/af_inet.c | return(rarp_ioctl(cmd,(void *) arg)); |
arg | 1303 | net/inet/af_inet.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 1308 | net/inet/af_inet.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 1312 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
arg | 365 | net/inet/arp.c | static void arp_expire_request (unsigned long arg) |
arg | 367 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
arg | 1211 | net/inet/arp.c | int arp_ioctl(unsigned int cmd, void *arg) |
arg | 1222 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 1225 | net/inet/arp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
arg | 1232 | net/inet/arp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
arg | 1235 | net/inet/arp.c | return arp_req_get((struct arpreq *)arg); |
arg | 1239 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 1242 | net/inet/arp.c | return arp_req_set((struct arpreq *)arg); |
arg | 13 | net/inet/arp.h | extern int arp_ioctl(unsigned int cmd, void *arg); |
arg | 812 | net/inet/dev.c | static int dev_ifconf(char *arg) |
arg | 825 | net/inet/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
arg | 828 | net/inet/dev.c | memcpy_fromfs(&ifc, arg, sizeof(struct ifconf)); |
arg | 876 | net/inet/dev.c | memcpy_tofs(arg, &ifc, sizeof(struct ifconf)); |
arg | 882 | net/inet/dev.c | return(pos - arg); |
arg | 980 | net/inet/dev.c | static int dev_ifsioc(void *arg, unsigned int getset) |
arg | 990 | net/inet/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
arg | 994 | net/inet/dev.c | memcpy_fromfs(&ifr, arg, sizeof(struct ifreq)); |
arg | 1007 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1085 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1110 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1127 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1144 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1166 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1177 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1195 | net/inet/dev.c | printk("NET: ioctl(SIOCGIFMEM, %p)\n", arg); |
arg | 1200 | net/inet/dev.c | printk("NET: ioctl(SIOCSIFMEM, %p)\n", arg); |
arg | 1206 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1213 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1232 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1246 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1322 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1337 | net/inet/dev.c | int dev_ioctl(unsigned int cmd, void *arg) |
arg | 1342 | net/inet/dev.c | (void) dev_ifconf((char *) arg); |
arg | 1362 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 1382 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 1394 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 766 | net/inet/icmp.c | int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 36 | net/inet/icmp.h | unsigned long arg); |
arg | 144 | net/inet/ip.c | int ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 680 | net/inet/ip.c | static void ip_expire(unsigned long arg) |
arg | 684 | net/inet/ip.c | qp = (struct ipq *)arg; |
arg | 78 | net/inet/ip.h | unsigned long arg); |
arg | 102 | net/inet/ipx.c | ipxcfg_get_config_data(ipx_config_data *arg) |
arg | 108 | net/inet/ipx.c | memcpy_tofs(arg, &vals, sizeof(vals)); |
arg | 808 | net/inet/ipx.c | ipxitf_ioctl(unsigned int cmd, void *arg) |
arg | 818 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(ifr)); |
arg | 821 | net/inet/ipx.c | memcpy_fromfs(&ifr,arg,sizeof(ifr)); |
arg | 841 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,arg,sizeof(ifr)); |
arg | 844 | net/inet/ipx.c | memcpy_fromfs(&ifr,arg,sizeof(ifr)); |
arg | 854 | net/inet/ipx.c | memcpy_tofs(arg,&ifr,sizeof(ifr)); |
arg | 858 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(char)); |
arg | 861 | net/inet/ipx.c | return ipxcfg_set_auto_create(get_fs_byte(arg)); |
arg | 863 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(char)); |
arg | 866 | net/inet/ipx.c | return ipxcfg_set_auto_select(get_fs_byte(arg)); |
arg | 1046 | net/inet/ipx.c | static int ipxrtr_ioctl(unsigned int cmd, void *arg) |
arg | 1052 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(rt)); |
arg | 1056 | net/inet/ipx.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
arg | 1249 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1786 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
arg | 1795 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
arg | 1801 | net/inet/ipx.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 1809 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
arg | 1810 | net/inet/ipx.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 1817 | net/inet/ipx.c | return(ipxrtr_ioctl(cmd,(void *)arg)); |
arg | 1824 | net/inet/ipx.c | return(ipxitf_ioctl(cmd,(void *)arg)); |
arg | 1827 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 1830 | net/inet/ipx.c | return(ipxcfg_get_config_data((void *)arg)); |
arg | 1837 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
arg | 1840 | net/inet/ipx.c | memcpy_tofs((void *)arg,&sk->stamp,sizeof(struct timeval)); |
arg | 1852 | net/inet/ipx.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 386 | net/inet/rarp.c | int rarp_ioctl(unsigned int cmd, void *arg) |
arg | 397 | net/inet/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 400 | net/inet/rarp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
arg | 408 | net/inet/rarp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
arg | 411 | net/inet/rarp.c | return rarp_req_get((struct arpreq *)arg); |
arg | 415 | net/inet/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 418 | net/inet/rarp.c | return rarp_req_set((struct arpreq *)arg); |
arg | 5 | net/inet/rarp.h | extern int rarp_ioctl(unsigned int cmd, void *arg); |
arg | 644 | net/inet/route.c | int ip_rt_ioctl(unsigned int cmd, void *arg) |
arg | 655 | net/inet/route.c | err = ip_get_old_rtent((struct old_rtentry *) arg, &rt); |
arg | 664 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
arg | 667 | net/inet/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
arg | 51 | net/inet/route.h | extern int ip_rt_ioctl(unsigned int cmd, void *arg); |
arg | 247 | net/inet/sock.h | unsigned long arg); |
arg | 956 | net/inet/tcp.c | int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 975 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 979 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 986 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, |
arg | 990 | net/inet/tcp.c | put_fs_long(answ,(int *) arg); |
arg | 999 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 1003 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 132 | net/inet/tcp.h | extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
arg | 412 | net/inet/udp.c | int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 423 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 427 | net/inet/udp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 447 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 451 | net/inet/udp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 47 | net/inet/udp.h | extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
arg | 76 | net/socket.c | unsigned int cmd, unsigned long arg); |
arg | 382 | net/socket.c | unsigned long arg) |
arg | 391 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
arg | 1130 | net/socket.c | int sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
arg | 1136 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
arg | 78 | net/unix/sock.c | unsigned long arg); |
arg | 830 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 843 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 847 | net/unix/sock.c | put_fs_long(UN_BUF_AVAIL(upd),(unsigned long *)arg); |
arg | 849 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 854 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 858 | net/unix/sock.c | put_fs_long(UN_BUF_SPACE(peerupd),(unsigned long *)arg); |
arg | 860 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |