tag | line | file | source code |
arg | 143 | drivers/FPU-emu/fpu_emu.h | asmlinkage void round_reg(FPU_REG *arg, unsigned int extent, |
arg | 154 | drivers/FPU-emu/fpu_entry.c | asmlinkage void math_emulate(long arg) |
arg | 182 | drivers/FPU-emu/fpu_entry.c | SETUP_DATA_AREA(arg); |
arg | 53 | drivers/FPU-emu/fpu_proto.h | asmlinkage void math_emulate(long arg); |
arg | 60 | drivers/FPU-emu/fpu_proto.h | extern void convert_l2reg(long const *arg, FPU_REG *dest); |
arg | 71 | drivers/FPU-emu/fpu_proto.h | extern int poly_2xm1(FPU_REG const *arg, FPU_REG *result); |
arg | 74 | drivers/FPU-emu/fpu_proto.h | extern void poly_atan(FPU_REG *arg); |
arg | 78 | drivers/FPU-emu/fpu_proto.h | extern void poly_l2(FPU_REG const *arg, FPU_REG *result); |
arg | 79 | drivers/FPU-emu/fpu_proto.h | extern int poly_l2p1(FPU_REG const *arg, FPU_REG *result); |
arg | 82 | drivers/FPU-emu/fpu_proto.h | extern void poly_sine(FPU_REG const *arg, FPU_REG *result); |
arg | 85 | drivers/FPU-emu/fpu_proto.h | extern void poly_tan(FPU_REG const *arg, FPU_REG *result, int invert); |
arg | 19 | drivers/FPU-emu/fpu_system.h | #define SETUP_DATA_AREA(arg) FPU_info = (struct info *) &arg |
arg | 125 | drivers/FPU-emu/fpu_trig.c | void convert_l2reg(long const *arg, FPU_REG *dest) |
arg | 127 | drivers/FPU-emu/fpu_trig.c | long num = *arg; |
arg | 580 | drivers/FPU-emu/fpu_trig.c | static int f_cos(FPU_REG *arg) |
arg | 582 | drivers/FPU-emu/fpu_trig.c | char arg_sign = arg->sign; |
arg | 584 | drivers/FPU-emu/fpu_trig.c | if ( arg->tag == TW_Valid ) |
arg | 589 | drivers/FPU-emu/fpu_trig.c | if ( arg->exp > EXP_BIAS - 40 ) |
arg | 591 | drivers/FPU-emu/fpu_trig.c | arg->sign = SIGN_POS; |
arg | 592 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(arg, FCOS)) != -1 ) |
arg | 594 | drivers/FPU-emu/fpu_trig.c | reg_div(arg, &CONST_PI2, arg, FULL_PRECISION); |
arg | 596 | drivers/FPU-emu/fpu_trig.c | poly_sine(arg, &rv); |
arg | 600 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 610 | drivers/FPU-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
arg | 617 | drivers/FPU-emu/fpu_trig.c | if ( (arg->exp <= EXP_UNDER) && (denormal_operand()) ) |
arg | 622 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 631 | drivers/FPU-emu/fpu_trig.c | else if ( arg->tag == TW_Zero ) |
arg | 633 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 660 | drivers/FPU-emu/fpu_trig.c | FPU_REG arg; |
arg | 695 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
arg | 696 | drivers/FPU-emu/fpu_trig.c | if ( !f_cos(&arg) ) |
arg | 700 | drivers/FPU-emu/fpu_trig.c | reg_move(&arg,FPU_st0_ptr); |
arg | 41 | drivers/FPU-emu/poly_2xm1.c | int poly_2xm1(FPU_REG const *arg, FPU_REG *result) |
arg | 48 | drivers/FPU-emu/poly_2xm1.c | exponent = arg->exp - EXP_BIAS; |
arg | 51 | drivers/FPU-emu/poly_2xm1.c | if ( (arg->sign != SIGN_POS) /* Can't hack a number < 0.0 */ |
arg | 53 | drivers/FPU-emu/poly_2xm1.c | || (arg->tag != TW_Valid) ) |
arg | 61 | drivers/FPU-emu/poly_2xm1.c | *(unsigned *)&Xll = arg->sigl; |
arg | 62 | drivers/FPU-emu/poly_2xm1.c | *(((unsigned *)&Xll)+1) = arg->sigh; |
arg | 47 | drivers/FPU-emu/poly_atan.c | void poly_atan(FPU_REG *arg) |
arg | 57 | drivers/FPU-emu/poly_atan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 58 | drivers/FPU-emu/poly_atan.c | { arith_invalid(arg); return; } /* Need a positive number */ |
arg | 61 | drivers/FPU-emu/poly_atan.c | exponent = arg->exp - EXP_BIAS; |
arg | 63 | drivers/FPU-emu/poly_atan.c | if ( arg->tag == TW_Zero ) |
arg | 66 | drivers/FPU-emu/poly_atan.c | reg_move(&CONST_Z, arg); |
arg | 77 | drivers/FPU-emu/poly_atan.c | (arg->sigl == 0) && (arg->sigh == 0x80000000) ) |
arg | 80 | drivers/FPU-emu/poly_atan.c | reg_move(&CONST_PI4, arg); |
arg | 91 | drivers/FPU-emu/poly_atan.c | if ( (exponent >= -1) || (arg->sigh > 0xd413ccd0) ) |
arg | 97 | drivers/FPU-emu/poly_atan.c | arg_signif = significand(arg); |
arg | 107 | drivers/FPU-emu/poly_atan.c | arg_signif = significand(arg); |
arg | 113 | drivers/FPU-emu/poly_atan.c | arg->exp = numerator.exp; |
arg | 114 | drivers/FPU-emu/poly_atan.c | reg_u_div(&numerator, &denom, arg, FULL_PRECISION); |
arg | 116 | drivers/FPU-emu/poly_atan.c | exponent = arg->exp - EXP_BIAS; |
arg | 120 | drivers/FPU-emu/poly_atan.c | arg_signif = significand(arg); |
arg | 172 | drivers/FPU-emu/poly_atan.c | reg_u_mul(&ratio, arg, arg, FULL_PRECISION); |
arg | 175 | drivers/FPU-emu/poly_atan.c | reg_sub(&CONST_PI4, arg, arg, FULL_PRECISION); |
arg | 43 | drivers/FPU-emu/poly_l2.c | void poly_l2(FPU_REG const *arg, FPU_REG *result) |
arg | 52 | drivers/FPU-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 56 | drivers/FPU-emu/poly_l2.c | if ( arg->sigh > (unsigned)0xb504f334 ) |
arg | 65 | drivers/FPU-emu/poly_l2.c | reg_u_div(&CONST_1, arg, &num, FULL_PRECISION); |
arg | 70 | drivers/FPU-emu/poly_l2.c | num.sigl = arg->sigl; /* copy the mantissa */ |
arg | 71 | drivers/FPU-emu/poly_l2.c | num.sigh = arg->sigh; |
arg | 126 | drivers/FPU-emu/poly_l2.c | significand(&num) = - significand(arg); |
arg | 128 | drivers/FPU-emu/poly_l2.c | reg_div(&num, arg, &num, FULL_PRECISION); |
arg | 227 | drivers/FPU-emu/poly_l2.c | int poly_l2p1(FPU_REG const *arg, FPU_REG *result) |
arg | 234 | drivers/FPU-emu/poly_l2.c | sign = arg->sign; |
arg | 236 | drivers/FPU-emu/poly_l2.c | reg_add(arg, &CONST_1, &arg_pl1, FULL_PRECISION); |
arg | 244 | drivers/FPU-emu/poly_l2.c | reg_div(arg, &denom, &local_arg, FULL_PRECISION); |
arg | 43 | drivers/FPU-emu/poly_sin.c | void poly_sine(FPU_REG const *arg, FPU_REG *result) |
arg | 49 | drivers/FPU-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 51 | drivers/FPU-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 59 | drivers/FPU-emu/poly_sin.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 68 | drivers/FPU-emu/poly_sin.c | if ( (exponent == 0) && (arg->sigl == 0) && (arg->sigh == 0x80000000) ) |
arg | 79 | drivers/FPU-emu/poly_sin.c | fixed_arg.sigl = arg->sigl; |
arg | 80 | drivers/FPU-emu/poly_sin.c | fixed_arg.sigh = arg->sigh; |
arg | 119 | drivers/FPU-emu/poly_sin.c | reg_mul(result, arg, result, FULL_PRECISION); |
arg | 120 | drivers/FPU-emu/poly_sin.c | reg_u_add(result, arg, result, FULL_PRECISION); |
arg | 52 | drivers/FPU-emu/poly_tan.c | void poly_tan(FPU_REG const *arg, FPU_REG *result, int invert) |
arg | 60 | drivers/FPU-emu/poly_tan.c | exponent = arg->exp - EXP_BIAS; |
arg | 63 | drivers/FPU-emu/poly_tan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 67 | drivers/FPU-emu/poly_tan.c | arg_signif = significand(arg); |
arg | 103 | drivers/FPU-emu/poly_tan.c | reg_mul(&odd_poly, arg, &odd_poly, FULL_PRECISION); |
arg | 105 | drivers/FPU-emu/poly_tan.c | reg_u_add(&odd_poly, arg, &odd_poly, FULL_PRECISION); |
arg | 1062 | drivers/block/cdu31a.c | sony_get_subchnl_info(long arg) |
arg | 1077 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
arg | 1078 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
arg | 1080 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
arg | 1097 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1128 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1140 | drivers/block/cdu31a.c | unsigned long arg) |
arg | 1237 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, 6); |
arg | 1239 | drivers/block/cdu31a.c | memcpy_fromfs(&(params[1]), (void *) arg, 6); |
arg | 1273 | drivers/block/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
arg | 1295 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
arg | 1348 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
arg | 1350 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
arg | 1408 | drivers/block/cdu31a.c | return sony_get_subchnl_info(arg); |
arg | 1414 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl)); |
arg | 1416 | drivers/block/cdu31a.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 526 | drivers/block/hd.c | unsigned int cmd, unsigned long arg) |
arg | 528 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 552 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 553 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 557 | drivers/block/hd.c | (long *) arg); |
arg | 568 | drivers/block/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 159 | drivers/block/mcd.c | mcdPlay(struct mcd_Play_msf *arg) |
arg | 165 | drivers/block/mcd.c | sendMcdCmd(MCMD_PLAY_READ, arg); |
arg | 187 | drivers/block/mcd.c | unsigned long arg) |
arg | 272 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
arg | 276 | drivers/block/mcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
arg | 315 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
arg | 319 | drivers/block/mcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
arg | 354 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
arg | 360 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &tocHdr, sizeof tocHdr); |
arg | 365 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
arg | 369 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
arg | 397 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
arg | 402 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
arg | 406 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
arg | 437 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
arg | 447 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(volctrl)); |
arg | 451 | drivers/block/mcd.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 201 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
arg | 203 | drivers/block/xd.c | XD_GEOMETRY *geometry = (XD_GEOMETRY *) arg; |
arg | 208 | drivers/block/xd.c | case HDIO_GETGEO: if (arg) { |
arg | 219 | drivers/block/xd.c | case BLKGETSIZE: if (arg) { |
arg | 220 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
arg | 222 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
arg | 235 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 60 | drivers/char/console.c | int set_selection(const int arg); |
arg | 1522 | drivers/char/console.c | int do_screendump(int arg) |
arg | 1524 | drivers/char/console.c | char *sptr, *buf = (char *)arg; |
arg | 1594 | drivers/char/console.c | int set_selection(const int arg) |
arg | 1604 | drivers/char/console.c | args = (unsigned short *)(arg + 1); |
arg | 332 | drivers/char/lp.c | unsigned int cmd, unsigned long arg) |
arg | 338 | drivers/char/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
arg | 346 | drivers/char/lp.c | LP_TIME(minor) = arg; |
arg | 349 | drivers/char/lp.c | LP_CHAR(minor) = arg; |
arg | 352 | drivers/char/lp.c | if (arg) |
arg | 358 | drivers/char/lp.c | LP_WAIT(minor) = arg; |
arg | 362 | drivers/char/lp.c | int newirq = arg; |
arg | 1178 | drivers/char/serial.c | unsigned int arg = get_fs_long((unsigned long *) value); |
arg | 1186 | drivers/char/serial.c | if (arg & TIOCM_RTS) |
arg | 1188 | drivers/char/serial.c | if (arg & TIOCM_DTR) |
arg | 1192 | drivers/char/serial.c | if (arg & TIOCM_RTS) |
arg | 1194 | drivers/char/serial.c | if (arg & TIOCM_DTR) |
arg | 1199 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1200 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0); |
arg | 1312 | drivers/char/serial.c | unsigned int cmd, unsigned long arg) |
arg | 1324 | drivers/char/serial.c | if (!arg) |
arg | 1328 | drivers/char/serial.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 1331 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(long)); |
arg | 1335 | drivers/char/serial.c | (unsigned long *) arg); |
arg | 1338 | drivers/char/serial.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1341 | drivers/char/serial.c | (arg ? CLOCAL : 0)); |
arg | 1344 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1348 | drivers/char/serial.c | return get_modem_info(info, (unsigned int *) arg); |
arg | 1352 | drivers/char/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1354 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1359 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1362 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1367 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1371 | drivers/char/serial.c | put_fs_long(rs_wild_int_mask, (unsigned long *) arg); |
arg | 1377 | drivers/char/serial.c | rs_wild_int_mask = get_fs_long((unsigned long *) arg); |
arg | 199 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 33 | drivers/char/tty_ioctl.c | extern int do_screendump(int arg); |
arg | 37 | drivers/char/tty_ioctl.c | extern int set_selection(const int arg); |
arg | 106 | drivers/char/tty_ioctl.c | static int do_get_ps_info(int arg) |
arg | 113 | drivers/char/tty_ioctl.c | struct tstruct *ts = (struct tstruct *)arg; |
arg | 118 | drivers/char/tty_ioctl.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct)); |
arg | 410 | drivers/char/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
arg | 440 | drivers/char/tty_ioctl.c | return get_termios(termios_tty,(struct termios *) arg); |
arg | 448 | drivers/char/tty_ioctl.c | return set_termios(termios_tty,(struct termios *) arg, termios_dev); |
arg | 450 | drivers/char/tty_ioctl.c | return get_termio(termios_tty,(struct termio *) arg); |
arg | 457 | drivers/char/tty_ioctl.c | return set_termio(termios_tty,(struct termio *) arg, termios_dev); |
arg | 459 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 485 | drivers/char/tty_ioctl.c | if (arg==0) |
arg | 487 | drivers/char/tty_ioctl.c | else if (arg==1) |
arg | 489 | drivers/char/tty_ioctl.c | else if (arg==2) { |
arg | 502 | drivers/char/tty_ioctl.c | (arg == 1 && suser())) { |
arg | 510 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 512 | drivers/char/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
arg | 519 | drivers/char/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
arg | 527 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 530 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 533 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 537 | drivers/char/tty_ioctl.c | put_fs_long(0, (unsigned long *) arg); |
arg | 540 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 545 | drivers/char/tty_ioctl.c | return get_window_size(tty,(struct winsize *) arg); |
arg | 548 | drivers/char/tty_ioctl.c | set_window_size(other_tty,(struct winsize *) arg); |
arg | 549 | drivers/char/tty_ioctl.c | return set_window_size(tty,(struct winsize *) arg); |
arg | 555 | drivers/char/tty_ioctl.c | switch (get_fs_byte((char *)arg)) |
arg | 558 | drivers/char/tty_ioctl.c | return do_screendump(arg); |
arg | 560 | drivers/char/tty_ioctl.c | return do_get_ps_info(arg); |
arg | 563 | drivers/char/tty_ioctl.c | return set_selection(arg); |
arg | 589 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 590 | drivers/char/tty_ioctl.c | if (arg) |
arg | 607 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 609 | drivers/char/tty_ioctl.c | put_fs_long(tty->disc, (unsigned long *) arg); |
arg | 612 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 613 | drivers/char/tty_ioctl.c | return tty_set_ldisc(tty, arg); |
arg | 615 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 616 | drivers/char/tty_ioctl.c | return get_lcktrmios(tty, (struct termios *) arg, |
arg | 619 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 620 | drivers/char/tty_ioctl.c | return set_lcktrmios(tty, (struct termios *) arg, |
arg | 626 | drivers/char/tty_ioctl.c | (unsigned long *)arg, sizeof (unsigned long)); |
arg | 629 | drivers/char/tty_ioctl.c | tty->packet = (get_fs_long ((unsigned long *)arg) != 0); |
arg | 635 | drivers/char/tty_ioctl.c | tty->ioctl(tty, file, cmd, arg); |
arg | 639 | drivers/char/tty_ioctl.c | retval = (tty->ioctl)(tty, file, cmd, arg); |
arg | 645 | drivers/char/tty_ioctl.c | (tty, file, cmd, arg); |
arg | 106 | drivers/char/vt.c | unsigned int cmd, unsigned long arg) |
arg | 120 | drivers/char/vt.c | kd_mksound((unsigned int)arg, 0); |
arg | 125 | drivers/char/vt.c | unsigned int ticks = HZ * ((arg >> 16) & 0xffff) / 1000; |
arg | 131 | drivers/char/vt.c | kd_mksound(arg & 0xffff, ticks); |
arg | 141 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 143 | drivers/char/vt.c | put_fs_byte(KB_101, (char *) arg); |
arg | 152 | drivers/char/vt.c | if (arg < GPFIRST || arg > GPLAST) |
arg | 154 | drivers/char/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
arg | 167 | drivers/char/vt.c | switch (arg) { |
arg | 172 | drivers/char/vt.c | arg = KD_TEXT; |
arg | 178 | drivers/char/vt.c | if (vt_cons[console].vc_mode == (unsigned char) arg) |
arg | 180 | drivers/char/vt.c | vt_cons[console].vc_mode = (unsigned char) arg; |
arg | 186 | drivers/char/vt.c | if (arg == KD_TEXT) |
arg | 195 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 197 | drivers/char/vt.c | put_fs_long(vt_cons[console].vc_mode, (unsigned long *) arg); |
arg | 209 | drivers/char/vt.c | if (arg == K_RAW) { |
arg | 212 | drivers/char/vt.c | } else if (arg == K_XLATE) { |
arg | 215 | drivers/char/vt.c | } else if (arg == K_MEDIUMRAW) { |
arg | 224 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 228 | drivers/char/vt.c | put_fs_long(K_MEDIUMRAW, (unsigned long *) arg); |
arg | 231 | drivers/char/vt.c | (unsigned long *) arg); |
arg | 237 | drivers/char/vt.c | struct kbentry * const a = (struct kbentry *)arg; |
arg | 253 | drivers/char/vt.c | const struct kbentry * a = (struct kbentry *)arg; |
arg | 274 | drivers/char/vt.c | struct kbsentry *a = (struct kbsentry *)arg; |
arg | 292 | drivers/char/vt.c | struct kbsentry * const a = (struct kbsentry *)arg; |
arg | 329 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 339 | drivers/char/vt.c | put_fs_byte(ucval, (char *) arg); |
arg | 343 | drivers/char/vt.c | if (arg & ~7) |
arg | 345 | drivers/char/vt.c | if (arg & LED_SCR) |
arg | 349 | drivers/char/vt.c | if (arg & LED_NUM) |
arg | 353 | drivers/char/vt.c | if (arg & LED_CAP) |
arg | 362 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 384 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 386 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode)); |
arg | 403 | drivers/char/vt.c | struct vt_stat *vtstat = (struct vt_stat *)arg; |
arg | 422 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long)); |
arg | 428 | drivers/char/vt.c | put_fs_long(i <= NR_CONSOLES ? i : -1, (unsigned long *)arg); |
arg | 437 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 439 | drivers/char/vt.c | change_console(arg - 1); |
arg | 446 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 448 | drivers/char/vt.c | while (fg_console != arg - 1) |
arg | 474 | drivers/char/vt.c | if (arg == 0) |
arg | 501 | drivers/char/vt.c | if (arg != VT_ACKACQ) |
arg | 1059 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
arg | 1070 | drivers/net/slip.c | DPRINTF((DBG_SLIP, "SLIP: ioctl(%d, 0x%X, 0x%X)\n", tty->line, cmd, arg)); |
arg | 1073 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE, arg, 16); |
arg | 1076 | drivers/net/slip.c | memcpy_tofs(arg, sl->dev->name, strlen(sl->dev->name) + 1); |
arg | 1079 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE,arg,sizeof(long)); |
arg | 1080 | drivers/net/slip.c | put_fs_long(sl->mode,(long *)arg); |
arg | 1083 | drivers/net/slip.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
arg | 1084 | drivers/net/slip.c | sl->mode=get_fs_long((long *)arg); |
arg | 1102 | drivers/net/slip.c | return sl_set_mac_address(sl->dev,arg); |
arg | 233 | drivers/scsi/scsi_ioctl.c | int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) |
arg | 242 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, (void *) arg, sizeof(int)); |
arg | 244 | drivers/scsi/scsi_ioctl.c | (dev->host->host_no << 16), (unsigned long *) arg); |
arg | 259 | drivers/scsi/scsi_ioctl.c | return ioctl_probe(dev->host, arg); |
arg | 262 | drivers/scsi/scsi_ioctl.c | return ioctl_command((Scsi_Device *) dev, arg); |
arg | 296 | drivers/scsi/scsi_ioctl.c | int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) { |
arg | 301 | drivers/scsi/scsi_ioctl.c | tmp = scsi_ioctl (dev, cmd, arg); |
arg | 15 | drivers/scsi/scsi_ioctl.h | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 16 | drivers/scsi/scsi_ioctl.h | extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 17 | drivers/scsi/sd_ioctl.c | int sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 23 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 49 | drivers/scsi/sd_ioctl.c | if (!arg) return -EINVAL; |
arg | 50 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 54 | drivers/scsi/sd_ioctl.c | (long *) arg); |
arg | 66 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
arg | 55 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
arg | 63 | drivers/scsi/sg.c | scsi_generics[dev].timeout=get_fs_long((int *) arg); |
arg | 68 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
arg | 19 | drivers/scsi/sr_ioctl.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 93 | drivers/scsi/sr_ioctl.c | int sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 134 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&msf, (void *) arg, sizeof(msf)); |
arg | 154 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ti, (void *) arg, sizeof(ti)); |
arg | 195 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tochdr)); |
arg | 196 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tochdr, sizeof (struct cdrom_tochdr)); |
arg | 206 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 207 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 233 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 234 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |
arg | 276 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 277 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&volctrl, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 371 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_subchnl)); |
arg | 372 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |
arg | 381 | drivers/scsi/sr_ioctl.c | RO_IOCTLS(dev,arg); |
arg | 383 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
arg | 97 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
arg | 886 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 903 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 904 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 905 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 915 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 929 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 930 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 931 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 940 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 955 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 956 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 957 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1020 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1021 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1022 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1028 | drivers/scsi/st.c | cmd[3] = (arg >> 24); |
arg | 1029 | drivers/scsi/st.c | cmd[4] = (arg >> 16); |
arg | 1030 | drivers/scsi/st.c | cmd[5] = (arg >> 8); |
arg | 1031 | drivers/scsi/st.c | cmd[6] = arg; |
arg | 1038 | drivers/scsi/st.c | printk("st%d: Seeking tape to block %d.\n", dev, arg); |
arg | 1047 | drivers/scsi/st.c | arg != 0 && |
arg | 1048 | drivers/scsi/st.c | (arg < scsi_tapes[dev].min_block || arg > scsi_tapes[dev].max_block || |
arg | 1049 | drivers/scsi/st.c | arg > ST_BUFFER_SIZE)) { |
arg | 1058 | drivers/scsi/st.c | scsi_tapes[dev].buffer->b_data[2] = (arg & 7) << 4; |
arg | 1064 | drivers/scsi/st.c | scsi_tapes[dev].buffer->b_data[4] = arg; |
arg | 1068 | drivers/scsi/st.c | ltmp = arg; |
arg | 1113 | drivers/scsi/st.c | scsi_tapes[dev].block_size = arg; |
arg | 1114 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1128 | drivers/scsi/st.c | scsi_tapes[dev].drv_buffer = arg; |
arg | 1130 | drivers/scsi/st.c | scsi_tapes[dev].density = arg; |
arg | 1148 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1171 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc)); |
arg | 1175 | drivers/scsi/st.c | memcpy_fromfs((char *) &mtc, (char *)arg, sizeof(struct mtop)); |
arg | 1189 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
arg | 1193 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *)scsi_tapes[dev].buffer->mt_status, |
arg | 1208 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos)); |
arg | 1255 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *) (&mt_pos), sizeof(struct mtpos)); |
arg | 1259 | drivers/scsi/st.c | return scsi_ioctl(scsi_tapes[dev].device, cmd_in, (void *) arg); |
arg | 261 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 275 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 290 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 297 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 334 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 67 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 78 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 88 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 109 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 422 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 441 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, dev_buffsize[dev]); |
arg | 446 | drivers/sound/dmabuf.c | int fact = IOCTL_IN(arg); |
arg | 452 | drivers/sound/dmabuf.c | return IOCTL_OUT(arg, fact); |
arg | 464 | drivers/sound/dmabuf.c | return IOCTL_OUT(arg, fact); |
arg | 469 | drivers/sound/dmabuf.c | return dsp_devs[dev]->ioctl (dev, cmd, arg, local); |
arg | 838 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 185 | drivers/sound/gus_midi.c | gus_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 764 | drivers/sound/gus_wave.c | unsigned int cmd, unsigned int arg) |
arg | 771 | drivers/sound/gus_wave.c | IOCTL_TO_USER ((char *) arg, 0, &gus_info, sizeof (gus_info)); |
arg | 1685 | drivers/sound/gus_wave.c | gus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 1691 | drivers/sound/gus_wave.c | return gus_sampling_set_speed (arg); |
arg | 1692 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_speed (IOCTL_IN (arg))); |
arg | 1698 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_speed); |
arg | 1703 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg + 1) - 1; |
arg | 1704 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 1708 | drivers/sound/gus_wave.c | if (local) return gus_sampling_set_channels(arg); |
arg | 1709 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg))); |
arg | 1715 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_channels); |
arg | 1720 | drivers/sound/gus_wave.c | return gus_sampling_set_bits (arg); |
arg | 1721 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_bits (IOCTL_IN (arg))); |
arg | 1727 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_bits); |
arg | 1730 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 1734 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 100 | drivers/sound/midibuf.c | unsigned int cmd, unsigned int arg) |
arg | 108 | drivers/sound/midibuf.c | return midi_devs[0]->ioctl (dev, cmd, arg); |
arg | 198 | drivers/sound/mpu401.c | mpu401_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 120 | drivers/sound/opl3.c | unsigned int cmd, unsigned int arg) |
arg | 129 | drivers/sound/opl3.c | IOCTL_FROM_USER ((char *) &ins, (char *) arg, 0, sizeof (ins)); |
arg | 145 | drivers/sound/opl3.c | IOCTL_TO_USER ((char *) arg, 0, &fm_info, sizeof (fm_info)); |
arg | 63 | drivers/sound/os.h | #define IOCTL_IN(arg) get_fs_long((long *)(arg)) |
arg | 64 | drivers/sound/os.h | #define IOCTL_OUT(arg, ret) snd_ioctl_return((int *)arg, ret) |
arg | 196 | drivers/sound/pas2_midi.c | pas_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 407 | drivers/sound/pas2_mixer.c | pas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 409 | 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 | 414 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 422 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, rec_devices); |
arg | 426 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES & ~(SOUND_MASK_BASS | SOUND_MASK_TREBLE)); |
arg | 430 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES); |
arg | 434 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, POSSIBLE_RECORDING_DEVICES & SUPPORTED_MIXER_DEVICES); |
arg | 438 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* No special capabilities */ |
arg | 442 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* No mute yet */ |
arg | 447 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 448 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, ((mode_control & P_M_MV508_ENHANCE_BITS) + 1) * 20); |
arg | 453 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 1); |
arg | 454 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 458 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, levels[cmd & 0xff]); |
arg | 467 | drivers/sound/pas2_mixer.c | mixer_set_levels ((struct sb_mixer_levels *) arg); |
arg | 468 | drivers/sound/pas2_mixer.c | return mixer_get_levels ((struct sb_mixer_levels *) arg); |
arg | 470 | drivers/sound/pas2_mixer.c | mixer_set_params ((struct sb_mixer_params *) arg); |
arg | 471 | drivers/sound/pas2_mixer.c | return mixer_get_params ((struct sb_mixer_params *) arg); |
arg | 473 | drivers/sound/pas2_mixer.c | return mixer_get_levels ((struct sb_mixer_levels *) arg); |
arg | 475 | drivers/sound/pas2_mixer.c | return mixer_get_params ((struct sb_mixer_params *) arg); |
arg | 58 | drivers/sound/pas2_pcm.c | pcm_set_speed (int arg) |
arg | 63 | drivers/sound/pas2_pcm.c | if (arg > 44100) |
arg | 64 | drivers/sound/pas2_pcm.c | arg = 44100; |
arg | 65 | drivers/sound/pas2_pcm.c | if (arg < 5000) |
arg | 66 | drivers/sound/pas2_pcm.c | arg = 5000; |
arg | 68 | drivers/sound/pas2_pcm.c | foo = 1193180 / arg; |
arg | 69 | drivers/sound/pas2_pcm.c | arg = 1193180 / foo; |
arg | 74 | drivers/sound/pas2_pcm.c | pcm_speed = arg; |
arg | 92 | drivers/sound/pas2_pcm.c | pcm_set_channels (int arg) |
arg | 95 | drivers/sound/pas2_pcm.c | if ((arg != 1) && (arg != 2)) |
arg | 98 | drivers/sound/pas2_pcm.c | if (arg != pcm_channels) |
arg | 102 | drivers/sound/pas2_pcm.c | pcm_channels = arg; |
arg | 110 | drivers/sound/pas2_pcm.c | pcm_set_bits (int arg) |
arg | 112 | drivers/sound/pas2_pcm.c | if ((arg & pcm_bitsok) != arg) |
arg | 115 | drivers/sound/pas2_pcm.c | if (arg != pcm_bits) |
arg | 119 | drivers/sound/pas2_pcm.c | pcm_bits = arg; |
arg | 126 | drivers/sound/pas2_pcm.c | pas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 128 | 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 | 134 | drivers/sound/pas2_pcm.c | return pcm_set_speed (arg); |
arg | 135 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_speed (IOCTL_IN (arg))); |
arg | 141 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_speed); |
arg | 146 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg + 1) - 1; |
arg | 147 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 151 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg))); |
arg | 157 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_channels); |
arg | 162 | drivers/sound/pas2_pcm.c | return pcm_set_bits (arg); |
arg | 163 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_bits (IOCTL_IN (arg))); |
arg | 169 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_bits); |
arg | 172 | drivers/sound/pas2_pcm.c | if (IOCTL_IN (arg) > 1) |
arg | 173 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 176 | drivers/sound/pas2_pcm.c | pcm_filter = IOCTL_IN (arg); |
arg | 178 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_filter); |
arg | 543 | drivers/sound/sb_dsp.c | sb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 549 | drivers/sound/sb_dsp.c | return dsp_speed (arg); |
arg | 550 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_speed (IOCTL_IN (arg))); |
arg | 556 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 560 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 566 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 571 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg); |
arg | 572 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 579 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, 8);/* Only 8 bits/sample supported */ |
arg | 172 | drivers/sound/sb_midi.c | sb_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 253 | drivers/sound/sb_mixer.c | sb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 261 | drivers/sound/sb_mixer.c | return IOCTL_OUT(arg, set_recmask(IOCTL_IN(arg))); |
arg | 265 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 272 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, recmask); |
arg | 276 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices); |
arg | 280 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices & ~SOUND_MASK_MIC); |
arg | 284 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_rec_devices); |
arg | 288 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, mixer_caps); |
arg | 292 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff)); |
arg | 707 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 740 | drivers/sound/sequencer.c | midi_dev = IOCTL_IN (arg); |
arg | 766 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, iqlen); |
arg | 773 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, SEQ_MAX_QUEUE - qlen); |
arg | 781 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, HZ); |
arg | 785 | drivers/sound/sequencer.c | dev = IOCTL_IN (arg); |
arg | 795 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 799 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, num_synths); |
arg | 803 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, num_midis); |
arg | 808 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 816 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
arg | 822 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 830 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 840 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 849 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 858 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 864 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf)); |
arg | 876 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 897 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 910 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 931 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 939 | drivers/sound/sequencer.c | int tmp = IOCTL_IN (arg); |
arg | 964 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
arg | 1122 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 12 | drivers/sound/sound_calls.h | int DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 30 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 43 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 63 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 412 | drivers/sound/soundcard.c | unsigned int cmd, unsigned long arg) |
arg | 419 | drivers/sound/soundcard.c | DEB (printk ("sound_ioctl(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg)); |
arg | 432 | drivers/sound/soundcard.c | return mixer_devs[dev]->ioctl (dev, cmd, arg); |
arg | 436 | drivers/sound/soundcard.c | return sequencer_ioctl (dev, &files[dev], cmd, arg); |
arg | 442 | drivers/sound/soundcard.c | return audio_ioctl (dev, &files[dev], cmd, arg); |
arg | 447 | drivers/sound/soundcard.c | return MIDIbuf_ioctl (dev, &files[dev], cmd, arg); |
arg | 16 | fs/ext2/ioctl.c | unsigned long arg) |
arg | 19 | fs/ext2/ioctl.c | ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); |
arg | 23 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
arg | 30 | fs/ext2/ioctl.c | inode->u.ext2_i.i_flags = get_fs_long ((long *) arg); |
arg | 35 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
arg | 42 | 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->filp[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->close_on_exec); |
arg | 34 | fs/fcntl.c | (current->filp[arg] = current->filp[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 | 74 | fs/fcntl.c | return dupfd(fd,arg); |
arg | 78 | fs/fcntl.c | if (arg&1) |
arg | 87 | fs/fcntl.c | filp->f_flags |= arg & (O_APPEND | O_NONBLOCK); |
arg | 90 | fs/fcntl.c | return fcntl_getlk(fd, (struct flock *) arg); |
arg | 92 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 94 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 99 | fs/fcntl.c | return (sock_fcntl (filp, cmd, arg)); |
arg | 16 | fs/ioctl.c | static int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg) |
arg | 27 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 30 | fs/ioctl.c | block = get_fs_long((long *) arg); |
arg | 32 | fs/ioctl.c | put_fs_long(block,(long *) arg); |
arg | 37 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 41 | fs/ioctl.c | (long *) arg); |
arg | 44 | fs/ioctl.c | error = verify_area(VERIFY_WRITE,(void *) arg,4); |
arg | 48 | fs/ioctl.c | (long *) arg); |
arg | 52 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
arg | 57 | fs/ioctl.c | asmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) |
arg | 74 | fs/ioctl.c | on = get_fs_long((unsigned long *) arg); |
arg | 83 | fs/ioctl.c | on = get_fs_long ((unsigned long *) arg); |
arg | 92 | fs/ioctl.c | return file_ioctl(filp,cmd,arg); |
arg | 95 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
arg | 134 | fs/pipe.c | unsigned int cmd, unsigned long arg) |
arg | 140 | fs/pipe.c | error = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 142 | fs/pipe.c | put_fs_long(PIPE_SIZE(*pino),(unsigned long *) arg); |
arg | 106 | include/linux/net.h | unsigned long arg); |
arg | 122 | include/linux/net.h | unsigned long arg); |
arg | 230 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 260 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 401 | include/linux/tty.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 | 151 | ipc/sem.c | int sys_semctl (int semid, int semnum, int cmd, void *arg) |
arg | 169 | ipc/sem.c | if (!arg || ! (tmp = (struct seminfo *) get_fs_long((int *)arg))) |
arg | 193 | ipc/sem.c | if (!arg || ! (buf = (struct semid_ds *) get_fs_long((int *) arg))) |
arg | 236 | ipc/sem.c | if (!arg || ! (array = (ushort *) get_fs_long((int *) arg))) |
arg | 244 | ipc/sem.c | if (!arg) |
arg | 246 | ipc/sem.c | if ((val = (int) get_fs_long ((int *) arg)) > SEMVMX || val < 0) |
arg | 257 | ipc/sem.c | if (!arg || ! (array = (ushort *) get_fs_long ((int *) arg)) ) |
arg | 267 | ipc/sem.c | if (!arg || !(buf = (struct semid_ds *) get_fs_long((int *) arg))) |
arg | 269 | ipc/sem.c | if ((i = verify_area (VERIFY_WRITE, arg, sizeof tbuf))) |
arg | 273 | ipc/sem.c | if (!arg || !(buf = (struct semid_ds *) get_fs_long((int *) arg))) |
arg | 24 | ipc/util.c | extern int sys_semctl (int semid, int semnum, int cmd, void *arg); |
arg | 169 | kernel/sched.c | asmlinkage void math_emulate(long arg) |
arg | 14 | lib/open.c | va_list arg; |
arg | 16 | lib/open.c | va_start(arg,flag); |
arg | 21 | lib/open.c | "d" (va_arg(arg,int))); |
arg | 897 | net/inet/arp.c | arp_ioctl(unsigned int cmd, void *arg) |
arg | 902 | net/inet/arp.c | return(dbg_ioctl(arg, DBG_ARP)); |
arg | 905 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
arg | 908 | net/inet/arp.c | return(arp_req_del((struct arpreq *)arg)); |
arg | 910 | net/inet/arp.c | err=verify_area(VERIFY_WRITE,arg,sizeof(struct arpreq)); |
arg | 913 | net/inet/arp.c | return(arp_req_get((struct arpreq *)arg)); |
arg | 916 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
arg | 919 | net/inet/arp.c | return(arp_req_set((struct arpreq *)arg)); |
arg | 61 | net/inet/arp.h | extern int arp_ioctl(unsigned int cmd, void *arg); |
arg | 705 | net/inet/dev.c | dev_ifconf(char *arg) |
arg | 714 | net/inet/dev.c | verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
arg | 715 | net/inet/dev.c | memcpy_fromfs(&ifc, arg, sizeof(struct ifconf)); |
arg | 738 | net/inet/dev.c | memcpy_tofs(arg, &ifc, sizeof(struct ifconf)); |
arg | 739 | net/inet/dev.c | return(pos - arg); |
arg | 785 | net/inet/dev.c | dev_ifsioc(void *arg, unsigned int getset) |
arg | 792 | net/inet/dev.c | verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
arg | 793 | net/inet/dev.c | memcpy_fromfs(&ifr, arg, sizeof(struct ifreq)); |
arg | 801 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 830 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 848 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 863 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 878 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 888 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 897 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 905 | net/inet/dev.c | printk("NET: ioctl(SIOCGIFMEM, 0x%08X)\n", (int)arg); |
arg | 909 | net/inet/dev.c | printk("NET: ioctl(SIOCSIFMEM, 0x%08X)\n", (int)arg); |
arg | 914 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 926 | net/inet/dev.c | dev_ioctl(unsigned int cmd, void *arg) |
arg | 947 | net/inet/dev.c | verify_area (VERIFY_WRITE, arg, sizeof (ipc)); |
arg | 948 | net/inet/dev.c | memcpy_fromfs(&ipc, arg, sizeof (ipc)); |
arg | 983 | net/inet/dev.c | (void) dev_ifconf((char *) arg); |
arg | 1004 | net/inet/dev.c | ret = dev_ifsioc(arg, cmd); |
arg | 1008 | net/inet/dev.c | memcpy_fromfs(&iflink, arg, sizeof(iflink)); |
arg | 432 | net/inet/icmp.c | icmp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 436 | net/inet/icmp.c | return(dbg_ioctl((void *) arg, DBG_ICMP)); |
arg | 34 | net/inet/icmp.h | unsigned long arg); |
arg | 95 | net/inet/inet.h | extern int dbg_ioctl(void *arg, int level); |
arg | 117 | net/inet/ip.c | ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 121 | net/inet/ip.c | return(dbg_ioctl((void *) arg, DBG_IP)); |
arg | 622 | net/inet/ip.c | static void ip_expire(unsigned long arg) |
arg | 626 | net/inet/ip.c | qp = (struct ipq *)arg; |
arg | 66 | net/inet/ip.h | unsigned long arg); |
arg | 410 | net/inet/route.c | rt_ioctl(unsigned int cmd, void *arg) |
arg | 420 | net/inet/route.c | ret = dbg_ioctl(arg, DBG_RT); |
arg | 425 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
arg | 428 | net/inet/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
arg | 43 | net/inet/route.h | extern int rt_ioctl(unsigned int cmd, void *arg); |
arg | 446 | net/inet/sock.c | inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 463 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |
arg | 464 | net/inet/sock.c | current->pid != arg) return(-EPERM); |
arg | 465 | net/inet/sock.c | sk->proc = arg; |
arg | 1427 | net/inet/sock.c | inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1442 | net/inet/sock.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
arg | 1446 | net/inet/sock.c | sk->proc = get_fs_long((int *) arg); |
arg | 1451 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
arg | 1454 | net/inet/sock.c | put_fs_long(sk->proc,(int *)arg); |
arg | 1459 | net/inet/sock.c | printk("AF_INET: ioctl(SIOCATMARK, 0x%08X)\n",(void *) arg); |
arg | 1464 | net/inet/sock.c | return(dbg_ioctl((void *) arg, DBG_INET)); |
arg | 1468 | net/inet/sock.c | return(rt_ioctl(cmd,(void *) arg)); |
arg | 1473 | net/inet/sock.c | return(arp_ioctl(cmd,(void *) arg)); |
arg | 1495 | net/inet/sock.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 1499 | net/inet/sock.c | return(sk->prot->ioctl(sk, cmd, arg)); |
arg | 1702 | net/inet/sock.c | unsigned int cmd, unsigned long arg) |
arg | 1713 | net/inet/sock.c | ret = inet_ioctl(NULL, cmd, arg); |
arg | 1716 | net/inet/sock.c | ret = ip_ioctl(NULL, cmd, arg); |
arg | 1719 | net/inet/sock.c | ret = icmp_ioctl(NULL, cmd, arg); |
arg | 1722 | net/inet/sock.c | ret = tcp_ioctl(NULL, cmd, arg); |
arg | 1725 | net/inet/sock.c | ret = udp_ioctl(NULL, cmd, arg); |
arg | 197 | net/inet/sock.h | unsigned long arg); |
arg | 410 | net/inet/tcp.c | tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 413 | net/inet/tcp.c | DPRINTF((DBG_TCP, "tcp_ioctl(sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg)); |
arg | 416 | net/inet/tcp.c | return(dbg_ioctl((void *) arg, DBG_TCP)); |
arg | 431 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 435 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 454 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *) arg, |
arg | 458 | net/inet/tcp.c | put_fs_long(answ,(int *) arg); |
arg | 467 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 471 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 145 | net/inet/tcp.h | extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
arg | 359 | net/inet/udp.c | udp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 368 | net/inet/udp.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
arg | 371 | net/inet/udp.c | val = get_fs_long((int *)arg); |
arg | 390 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 394 | net/inet/udp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 414 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 418 | 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 | 104 | net/inet/utils.c | dbg_ioctl(void *arg, int level) |
arg | 110 | net/inet/utils.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
arg | 113 | net/inet/utils.c | val = get_fs_long((int *)arg); |
arg | 58 | net/socket.c | unsigned int cmd, unsigned long arg); |
arg | 311 | net/socket.c | unsigned long arg) |
arg | 316 | net/socket.c | inode, cmd, arg)); |
arg | 321 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
arg | 833 | net/socket.c | sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
arg | 839 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
arg | 977 | net/socket.c | net_ioctl(unsigned int cmd, unsigned long arg) |
arg | 982 | net/socket.c | er=verify_area(VERIFY_READ, (void *)arg, sizeof(long)); |
arg | 985 | net/socket.c | net_debug = get_fs_long((long *)arg); |
arg | 1008 | net/socket.c | unsigned int cmd, unsigned long arg) |
arg | 1016 | net/socket.c | return(net_ioctl(cmd, arg)); |
arg | 1020 | net/socket.c | return(arp_ioctl(cmd, (void *) arg)); |
arg | 75 | net/unix/sock.c | unsigned long arg); |
arg | 756 | net/unix/sock.c | unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 767 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 771 | net/unix/sock.c | put_fs_long(UN_BUF_AVAIL(upd),(unsigned long *)arg); |
arg | 773 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 777 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 781 | net/unix/sock.c | (unsigned long *)arg); |
arg | 783 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 814 | net/unix/sock.c | unsigned int cmd, unsigned long arg) |
arg | 819 | net/unix/sock.c | dprintf(1, "UNIX: ioctl(0x%X, 0x%X)\n", cmd, arg); |
arg | 826 | net/unix/sock.c | er=verify_area(VERIFY_READ,(void *)arg, sizeof(int)); |
arg | 829 | net/unix/sock.c | unix_debug = get_fs_long((int *)arg); |