tag | line | file | source code |
arg | 168 | drivers/FPU-emu/fpu_emu.h | asmlinkage void round_reg(FPU_REG *arg, unsigned int extent, |
arg | 144 | drivers/FPU-emu/fpu_entry.c | asmlinkage void math_emulate(long arg) |
arg | 173 | drivers/FPU-emu/fpu_entry.c | SETUP_DATA_AREA(arg); |
arg | 54 | drivers/FPU-emu/fpu_proto.h | asmlinkage void math_emulate(long arg); |
arg | 61 | drivers/FPU-emu/fpu_proto.h | extern void convert_l2reg(long const *arg, FPU_REG *dest); |
arg | 75 | drivers/FPU-emu/fpu_proto.h | extern int poly_2xm1(FPU_REG const *arg, FPU_REG *result); |
arg | 78 | drivers/FPU-emu/fpu_proto.h | extern void poly_atan(FPU_REG *arg); |
arg | 82 | drivers/FPU-emu/fpu_proto.h | extern void poly_l2(FPU_REG const *arg, FPU_REG *result); |
arg | 83 | drivers/FPU-emu/fpu_proto.h | extern int poly_l2p1(FPU_REG const *arg, FPU_REG *result); |
arg | 86 | drivers/FPU-emu/fpu_proto.h | extern void poly_sine(FPU_REG const *arg, FPU_REG *result); |
arg | 89 | drivers/FPU-emu/fpu_proto.h | extern void poly_tan(FPU_REG const *arg, FPU_REG *result, int invert); |
arg | 20 | drivers/FPU-emu/fpu_system.h | #define SETUP_DATA_AREA(arg) FPU_info = (struct info *) &arg |
arg | 149 | drivers/FPU-emu/fpu_trig.c | void convert_l2reg(long const *arg, FPU_REG *dest) |
arg | 151 | drivers/FPU-emu/fpu_trig.c | long num = *arg; |
arg | 604 | drivers/FPU-emu/fpu_trig.c | static int f_cos(FPU_REG *arg) |
arg | 606 | drivers/FPU-emu/fpu_trig.c | char arg_sign = arg->sign; |
arg | 608 | drivers/FPU-emu/fpu_trig.c | if ( arg->tag == TW_Valid ) |
arg | 613 | drivers/FPU-emu/fpu_trig.c | if ( arg->exp > EXP_BIAS - 40 ) |
arg | 615 | drivers/FPU-emu/fpu_trig.c | arg->sign = SIGN_POS; |
arg | 616 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(arg, FCOS)) != -1 ) |
arg | 618 | drivers/FPU-emu/fpu_trig.c | reg_div(arg, &CONST_PI2, arg, FULL_PRECISION); |
arg | 620 | drivers/FPU-emu/fpu_trig.c | poly_sine(arg, &rv); |
arg | 624 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 634 | drivers/FPU-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
arg | 641 | drivers/FPU-emu/fpu_trig.c | if ( (arg->exp <= EXP_UNDER) && (denormal_operand()) ) |
arg | 646 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 655 | drivers/FPU-emu/fpu_trig.c | else if ( arg->tag == TW_Zero ) |
arg | 657 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 684 | drivers/FPU-emu/fpu_trig.c | FPU_REG arg; |
arg | 719 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
arg | 720 | drivers/FPU-emu/fpu_trig.c | if ( !f_cos(&arg) ) |
arg | 724 | 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 | 1200 | drivers/block/cdu31a.c | sony_get_subchnl_info(long arg) |
arg | 1215 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
arg | 1216 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
arg | 1218 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
arg | 1235 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1266 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1278 | drivers/block/cdu31a.c | unsigned long arg) |
arg | 1375 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, 6); |
arg | 1377 | drivers/block/cdu31a.c | memcpy_fromfs(&(params[1]), (void *) arg, 6); |
arg | 1411 | drivers/block/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
arg | 1433 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
arg | 1486 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
arg | 1488 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
arg | 1546 | drivers/block/cdu31a.c | return sony_get_subchnl_info(arg); |
arg | 1552 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl)); |
arg | 1554 | drivers/block/cdu31a.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 520 | drivers/block/hd.c | unsigned int cmd, unsigned long arg) |
arg | 522 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 548 | drivers/block/hd.c | if(arg > 0xff) return -EINVAL; |
arg | 549 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = 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 | 430 | drivers/block/sbpcd.c | static int sbpcd_dbg_ioctl(unsigned long arg, int level) |
arg | 434 | drivers/block/sbpcd.c | val = get_fs_long((int *) arg); |
arg | 2081 | drivers/block/sbpcd.c | u_int cmd, u_long arg) |
arg | 2086 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
arg | 2110 | drivers/block/sbpcd.c | i = verify_area(VERIFY_READ, (int *) arg, sizeof(int)); |
arg | 2111 | drivers/block/sbpcd.c | if (i>=0) i=sbpcd_dbg_ioctl(arg,1); |
arg | 2160 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 2162 | drivers/block/sbpcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 2188 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 2194 | drivers/block/sbpcd.c | memcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 2214 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_tochdr)); |
arg | 2216 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tochdr, sizeof(struct cdrom_tochdr)); |
arg | 2221 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2223 | drivers/block/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2238 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2240 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
arg | 2275 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(volctrl)); |
arg | 2277 | drivers/block/sbpcd.c | memcpy_fromfs(&volctrl,(char *) arg,sizeof(volctrl)); |
arg | 2290 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 2292 | drivers/block/sbpcd.c | memcpy_fromfs(&SC, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 2326 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &SC, sizeof(struct cdrom_subchnl)); |
arg | 236 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
arg | 238 | drivers/block/xd.c | XD_GEOMETRY *geometry = (XD_GEOMETRY *) arg; |
arg | 244 | drivers/block/xd.c | if (arg) { |
arg | 258 | drivers/block/xd.c | if(arg > 0xff) return -EINVAL; |
arg | 259 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 262 | drivers/block/xd.c | if (arg) { |
arg | 263 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
arg | 265 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
arg | 279 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 69 | drivers/char/console.c | int set_selection(const int arg); |
arg | 1593 | drivers/char/console.c | int do_screendump(int arg) |
arg | 1595 | drivers/char/console.c | char *sptr, *buf = (char *)arg; |
arg | 1665 | drivers/char/console.c | int set_selection(const int arg) |
arg | 1675 | drivers/char/console.c | args = (unsigned short *)(arg + 1); |
arg | 1849 | drivers/char/console.c | static int set_get_font(char * arg, int set) |
arg | 1867 | drivers/char/console.c | i = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, cmapsz); |
arg | 1891 | drivers/char/console.c | *(charmap+i) = get_fs_byte(arg+i); |
arg | 1894 | drivers/char/console.c | put_fs_byte(*(charmap+i), arg+i); |
arg | 1926 | drivers/char/console.c | int con_set_font (char *arg) |
arg | 1928 | drivers/char/console.c | return set_get_font (arg,1); |
arg | 1931 | drivers/char/console.c | int con_get_font (char *arg) |
arg | 1933 | drivers/char/console.c | return set_get_font (arg,0); |
arg | 1941 | drivers/char/console.c | int con_set_trans(char * arg) |
arg | 1945 | drivers/char/console.c | i = verify_area(VERIFY_READ, (void *)arg, E_TABSZ); |
arg | 1949 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) USER_TRANS[i] = get_fs_byte(arg+i); |
arg | 1957 | drivers/char/console.c | int con_get_trans(char * arg) |
arg | 1961 | drivers/char/console.c | i = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ); |
arg | 1965 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) put_fs_byte(USER_TRANS[i],arg+i); |
arg | 333 | drivers/char/lp.c | unsigned int cmd, unsigned long arg) |
arg | 339 | drivers/char/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
arg | 347 | drivers/char/lp.c | LP_TIME(minor) = arg; |
arg | 350 | drivers/char/lp.c | LP_CHAR(minor) = arg; |
arg | 353 | drivers/char/lp.c | if (arg) |
arg | 359 | drivers/char/lp.c | LP_WAIT(minor) = arg; |
arg | 363 | drivers/char/lp.c | int newirq = arg; |
arg | 1252 | drivers/char/serial.c | unsigned int arg = get_fs_long((unsigned long *) value); |
arg | 1260 | drivers/char/serial.c | if (arg & TIOCM_RTS) |
arg | 1262 | drivers/char/serial.c | if (arg & TIOCM_DTR) |
arg | 1266 | drivers/char/serial.c | if (arg & TIOCM_RTS) |
arg | 1268 | drivers/char/serial.c | if (arg & TIOCM_DTR) |
arg | 1273 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1274 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0); |
arg | 1369 | drivers/char/serial.c | unsigned int cmd, unsigned long arg) |
arg | 1381 | drivers/char/serial.c | if (!arg) |
arg | 1385 | drivers/char/serial.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 1388 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(long)); |
arg | 1392 | drivers/char/serial.c | (unsigned long *) arg); |
arg | 1395 | drivers/char/serial.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1398 | drivers/char/serial.c | (arg ? CLOCAL : 0)); |
arg | 1401 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1405 | drivers/char/serial.c | return get_modem_info(info, (unsigned int *) arg); |
arg | 1409 | drivers/char/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1411 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1416 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1419 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1424 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1428 | drivers/char/serial.c | put_fs_long(rs_wild_int_mask, (unsigned long *) arg); |
arg | 1434 | drivers/char/serial.c | rs_wild_int_mask = get_fs_long((unsigned long *) arg); |
arg | 204 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 35 | drivers/char/tty_ioctl.c | extern int do_screendump(int arg); |
arg | 39 | drivers/char/tty_ioctl.c | extern int set_selection(const int arg); |
arg | 111 | drivers/char/tty_ioctl.c | static int do_get_ps_info(int arg) |
arg | 118 | drivers/char/tty_ioctl.c | struct tstruct *ts = (struct tstruct *)arg; |
arg | 123 | drivers/char/tty_ioctl.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct)); |
arg | 338 | drivers/char/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
arg | 369 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 373 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 388 | drivers/char/tty_ioctl.c | return set_termios(termios_tty, (struct termios *) arg, |
arg | 391 | drivers/char/tty_ioctl.c | return get_termio(termios_tty,(struct termio *) arg); |
arg | 403 | drivers/char/tty_ioctl.c | return set_termio(termios_tty, (struct termio *) arg, |
arg | 409 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 434 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 469 | drivers/char/tty_ioctl.c | if ((arg == 1) && suser()) { |
arg | 486 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 495 | drivers/char/tty_ioctl.c | put_fs_long(termios_tty->pgrp, (pid_t *) arg); |
arg | 505 | drivers/char/tty_ioctl.c | pgrp = get_fs_long((pid_t *) arg); |
arg | 513 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 518 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 521 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 527 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 530 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 535 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, 1); |
arg | 538 | drivers/char/tty_ioctl.c | put_tty_queue(get_fs_byte((char *) arg), &tty->read_q); |
arg | 542 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 546 | drivers/char/tty_ioctl.c | memcpy_tofs((struct winsize *) arg, &tty->winsize, |
arg | 551 | drivers/char/tty_ioctl.c | set_window_size(other_tty,(struct winsize *) arg); |
arg | 552 | drivers/char/tty_ioctl.c | return set_window_size(tty,(struct winsize *) arg); |
arg | 554 | drivers/char/tty_ioctl.c | switch (get_fs_byte((char *)arg)) |
arg | 557 | drivers/char/tty_ioctl.c | return do_screendump(arg); |
arg | 559 | drivers/char/tty_ioctl.c | return do_get_ps_info(arg); |
arg | 562 | drivers/char/tty_ioctl.c | return set_selection(arg); |
arg | 591 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 592 | drivers/char/tty_ioctl.c | if (arg) |
arg | 605 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 609 | drivers/char/tty_ioctl.c | put_fs_long(tty->disc, (unsigned long *) arg); |
arg | 615 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 616 | drivers/char/tty_ioctl.c | return tty_set_ldisc(tty, arg); |
arg | 618 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 619 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 623 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 630 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 632 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
arg | 638 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, |
arg | 642 | drivers/char/tty_ioctl.c | if (get_fs_long(arg)) { |
arg | 657 | drivers/char/tty_ioctl.c | tty->ioctl(tty, file, cmd, arg); |
arg | 661 | drivers/char/tty_ioctl.c | retval = (tty->ioctl)(tty, file, cmd, arg); |
arg | 667 | drivers/char/tty_ioctl.c | (tty, file, cmd, arg); |
arg | 117 | drivers/char/vt.c | unsigned int cmd, unsigned long arg) |
arg | 131 | drivers/char/vt.c | kd_mksound((unsigned int)arg, 0); |
arg | 136 | drivers/char/vt.c | unsigned int ticks = HZ * ((arg >> 16) & 0xffff) / 1000; |
arg | 142 | drivers/char/vt.c | kd_mksound(arg & 0xffff, ticks); |
arg | 152 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 154 | drivers/char/vt.c | put_fs_byte(KB_101, (char *) arg); |
arg | 163 | drivers/char/vt.c | if (arg < GPFIRST || arg > GPLAST) |
arg | 165 | drivers/char/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
arg | 178 | drivers/char/vt.c | switch (arg) { |
arg | 183 | drivers/char/vt.c | arg = KD_TEXT; |
arg | 189 | drivers/char/vt.c | if (vt_cons[console].vc_mode == (unsigned char) arg) |
arg | 191 | drivers/char/vt.c | vt_cons[console].vc_mode = (unsigned char) arg; |
arg | 197 | drivers/char/vt.c | if (arg == KD_TEXT) |
arg | 206 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 208 | drivers/char/vt.c | put_fs_long(vt_cons[console].vc_mode, (unsigned long *) arg); |
arg | 220 | drivers/char/vt.c | switch(arg) { |
arg | 241 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 246 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 253 | drivers/char/vt.c | switch(arg) { |
arg | 266 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 270 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 276 | drivers/char/vt.c | struct kbentry * const a = (struct kbentry *)arg; |
arg | 292 | drivers/char/vt.c | const struct kbentry * a = (struct kbentry *)arg; |
arg | 313 | drivers/char/vt.c | struct kbsentry *a = (struct kbsentry *)arg; |
arg | 338 | drivers/char/vt.c | struct kbsentry * const a = (struct kbsentry *)arg; |
arg | 384 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 397 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 412 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 415 | drivers/char/vt.c | put_fs_byte(kbd->ledstate, (char *) arg); |
arg | 419 | drivers/char/vt.c | if (arg & ~7) |
arg | 421 | drivers/char/vt.c | kbd->ledstate = arg; |
arg | 427 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 449 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 451 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode)); |
arg | 468 | drivers/char/vt.c | struct vt_stat *vtstat = (struct vt_stat *)arg; |
arg | 487 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long)); |
arg | 493 | drivers/char/vt.c | put_fs_long(i <= NR_CONSOLES ? i : -1, (unsigned long *)arg); |
arg | 502 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 504 | drivers/char/vt.c | change_console(arg - 1); |
arg | 511 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 513 | drivers/char/vt.c | while (fg_console != arg - 1) |
arg | 539 | drivers/char/vt.c | if (arg == 0) |
arg | 566 | drivers/char/vt.c | if (arg != VT_ACKACQ) |
arg | 573 | drivers/char/vt.c | return con_set_font((char *)arg); |
arg | 577 | drivers/char/vt.c | return con_get_font((char *)arg); |
arg | 581 | drivers/char/vt.c | return con_set_trans((char *)arg); |
arg | 585 | drivers/char/vt.c | return con_get_trans((char *)arg); |
arg | 1038 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
arg | 1049 | drivers/net/slip.c | DPRINTF((DBG_SLIP, "SLIP: ioctl(%d, 0x%X, 0x%X)\n", tty->line, cmd, arg)); |
arg | 1052 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE, arg, 16); |
arg | 1055 | drivers/net/slip.c | memcpy_tofs(arg, sl->dev->name, strlen(sl->dev->name) + 1); |
arg | 1058 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE,arg,sizeof(long)); |
arg | 1059 | drivers/net/slip.c | put_fs_long(sl->mode,(long *)arg); |
arg | 1062 | drivers/net/slip.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
arg | 1063 | drivers/net/slip.c | sl->mode=get_fs_long((long *)arg); |
arg | 1081 | drivers/net/slip.c | return sl_set_mac_address(sl->dev,arg); |
arg | 235 | drivers/scsi/scsi_ioctl.c | int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) |
arg | 244 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, (void *) arg, sizeof(int)); |
arg | 246 | drivers/scsi/scsi_ioctl.c | (dev->host->host_no << 16), (unsigned long *) arg); |
arg | 261 | drivers/scsi/scsi_ioctl.c | return ioctl_probe(dev->host, arg); |
arg | 264 | drivers/scsi/scsi_ioctl.c | return ioctl_command((Scsi_Device *) dev, arg); |
arg | 298 | drivers/scsi/scsi_ioctl.c | int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) { |
arg | 303 | drivers/scsi/scsi_ioctl.c | tmp = scsi_ioctl (dev, cmd, arg); |
arg | 16 | drivers/scsi/scsi_ioctl.h | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 17 | 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 | 59 | drivers/scsi/sd_ioctl.c | if(arg > 0xff) return -EINVAL; |
arg | 60 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 72 | 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 | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tochdr)); |
arg | 198 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tochdr, sizeof (struct cdrom_tochdr)); |
arg | 208 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 209 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 235 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 238 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |
arg | 280 | drivers/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 281 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&volctrl, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 376 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_subchnl)); |
arg | 379 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |
arg | 391 | drivers/scsi/sr_ioctl.c | if(arg > 0xff) return -EINVAL; |
arg | 392 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 394 | drivers/scsi/sr_ioctl.c | RO_IOCTLS(dev,arg); |
arg | 396 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
arg | 114 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
arg | 1019 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1038 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1039 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1040 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1050 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1064 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1065 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1066 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1075 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1090 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1091 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1092 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1155 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1156 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1157 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1163 | drivers/scsi/st.c | cmd[3] = (arg >> 24); |
arg | 1164 | drivers/scsi/st.c | cmd[4] = (arg >> 16); |
arg | 1165 | drivers/scsi/st.c | cmd[5] = (arg >> 8); |
arg | 1166 | drivers/scsi/st.c | cmd[6] = arg; |
arg | 1173 | drivers/scsi/st.c | printk("st%d: Seeking tape to block %d.\n", dev, arg); |
arg | 1182 | drivers/scsi/st.c | arg != 0 && |
arg | 1183 | drivers/scsi/st.c | (arg < STp->min_block || arg > STp->max_block || |
arg | 1184 | drivers/scsi/st.c | arg > ST_BUFFER_SIZE)) { |
arg | 1193 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
arg | 1199 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
arg | 1203 | drivers/scsi/st.c | ltmp = arg; |
arg | 1248 | drivers/scsi/st.c | STp->block_size = arg; |
arg | 1249 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1263 | drivers/scsi/st.c | STp->drv_buffer = arg; |
arg | 1265 | drivers/scsi/st.c | STp->density = arg; |
arg | 1284 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1309 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc)); |
arg | 1313 | drivers/scsi/st.c | memcpy_fromfs((char *) &mtc, (char *)arg, sizeof(struct mtop)); |
arg | 1327 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
arg | 1331 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *)(STp->buffer)->mt_status, |
arg | 1346 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos)); |
arg | 1393 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *) (&mt_pos), sizeof(struct mtpos)); |
arg | 1397 | drivers/scsi/st.c | return scsi_ioctl(STp->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 | 433 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 452 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, dev_buffsize[dev]); |
arg | 457 | drivers/sound/dmabuf.c | int fact = IOCTL_IN(arg); |
arg | 463 | drivers/sound/dmabuf.c | return IOCTL_OUT(arg, fact); |
arg | 475 | drivers/sound/dmabuf.c | return IOCTL_OUT(arg, fact); |
arg | 480 | drivers/sound/dmabuf.c | return dsp_devs[dev]->ioctl (dev, cmd, arg, local); |
arg | 852 | 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 | 1000 | drivers/sound/gus_wave.c | unsigned int cmd, unsigned int arg) |
arg | 1007 | drivers/sound/gus_wave.c | IOCTL_TO_USER ((char *) arg, 0, &gus_info, sizeof (gus_info)); |
arg | 2170 | drivers/sound/gus_wave.c | gus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 2176 | drivers/sound/gus_wave.c | return gus_sampling_set_speed (arg); |
arg | 2177 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_speed (IOCTL_IN (arg))); |
arg | 2183 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_speed); |
arg | 2188 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg + 1) - 1; |
arg | 2189 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 2194 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg); |
arg | 2195 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg))); |
arg | 2201 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_channels); |
arg | 2206 | drivers/sound/gus_wave.c | return gus_sampling_set_bits (arg); |
arg | 2207 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_bits (IOCTL_IN (arg))); |
arg | 2213 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_bits); |
arg | 2218 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 2222 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 3010 | drivers/sound/gus_wave.c | gus_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 3020 | drivers/sound/gus_wave.c | gus_recmask = IOCTL_IN(arg) & MIX_DEVS; |
arg | 3024 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 3029 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 3034 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 3040 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 3045 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 3050 | drivers/sound/gus_wave.c | gus_pcm_volume = IOCTL_IN (arg) & 0xff; |
arg | 3056 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 3063 | drivers/sound/gus_wave.c | gus_wave_volume = IOCTL_IN (arg) & 0xff; |
arg | 3077 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
arg | 3091 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 3095 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, MIX_DEVS); |
arg | 3099 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 3103 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, SOUND_MASK_MIC|SOUND_MASK_LINE); |
arg | 3107 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 3111 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_mic_vol | (gus_mic_vol << 8)); |
arg | 3115 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_line_vol | (gus_line_vol << 8)); |
arg | 3119 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 3123 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
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 | 119 | drivers/sound/opl3.c | unsigned int cmd, unsigned int arg) |
arg | 128 | drivers/sound/opl3.c | IOCTL_FROM_USER ((char *) &ins, (char *) arg, 0, sizeof (ins)); |
arg | 144 | 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 | 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 | 152 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg); |
arg | 153 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg))); |
arg | 159 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_channels); |
arg | 164 | drivers/sound/pas2_pcm.c | return pcm_set_bits (arg); |
arg | 165 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_bits (IOCTL_IN (arg))); |
arg | 171 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_bits); |
arg | 174 | drivers/sound/pas2_pcm.c | if (IOCTL_IN (arg) > 1) |
arg | 175 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 178 | drivers/sound/pas2_pcm.c | pcm_filter = IOCTL_IN (arg); |
arg | 180 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_filter); |
arg | 63 | drivers/sound/sb16_dsp.c | static int sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg,int local); |
arg | 186 | drivers/sound/sb16_dsp.c | static int dsp_set_bits(int arg) { |
arg | 187 | drivers/sound/sb16_dsp.c | DEB(printk("dsp_set_bits(%d)\n",arg)); |
arg | 189 | drivers/sound/sb16_dsp.c | if (arg) |
arg | 190 | drivers/sound/sb16_dsp.c | switch(arg) { |
arg | 202 | drivers/sound/sb16_dsp.c | sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg,int local) |
arg | 207 | drivers/sound/sb16_dsp.c | return dsp_set_speed(arg); |
arg | 208 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_speed (IOCTL_IN (arg))); |
arg | 213 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 217 | drivers/sound/sb16_dsp.c | return dsp_set_stereo(arg); |
arg | 218 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo(IOCTL_IN(arg))); |
arg | 222 | drivers/sound/sb16_dsp.c | return dsp_set_stereo(arg-1)+1; |
arg | 223 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 228 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_stereo+1); |
arg | 232 | drivers/sound/sb16_dsp.c | return dsp_set_bits (arg); |
arg | 233 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_bits (IOCTL_IN (arg))); |
arg | 238 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_16bit?16:8); |
arg | 241 | drivers/sound/sb16_dsp.c | if (IOCTL_IN (arg) > 1) |
arg | 242 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 194 | drivers/sound/sb16_midi.c | sb16midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 547 | drivers/sound/sb_dsp.c | sb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 553 | drivers/sound/sb_dsp.c | return dsp_speed (arg); |
arg | 554 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_speed (IOCTL_IN (arg))); |
arg | 560 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 565 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg - 1) + 1; |
arg | 566 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 572 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 577 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg); |
arg | 578 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 585 | 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 | 256 | drivers/sound/sb_mixer.c | sb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 264 | drivers/sound/sb_mixer.c | return IOCTL_OUT(arg, set_recmask(IOCTL_IN(arg))); |
arg | 268 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 275 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, recmask); |
arg | 279 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices); |
arg | 283 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices & |
arg | 288 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_rec_devices); |
arg | 292 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, mixer_caps); |
arg | 296 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff)); |
arg | 710 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 743 | drivers/sound/sequencer.c | midi_dev = IOCTL_IN (arg); |
arg | 769 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, iqlen); |
arg | 776 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, SEQ_MAX_QUEUE - qlen); |
arg | 784 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, HZ); |
arg | 788 | drivers/sound/sequencer.c | dev = IOCTL_IN (arg); |
arg | 798 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 802 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, num_synths); |
arg | 806 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, num_midis); |
arg | 811 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 819 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
arg | 825 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 833 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 843 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 852 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 861 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 867 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf)); |
arg | 879 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 900 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 913 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 934 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 942 | drivers/sound/sequencer.c | int tmp = IOCTL_IN (arg); |
arg | 967 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
arg | 1127 | 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 | 109 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned long arg); |
arg | 376 | drivers/sound/sound_switch.c | unsigned int cmd, unsigned long arg) |
arg | 378 | drivers/sound/sound_switch.c | DEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg)); |
arg | 391 | drivers/sound/sound_switch.c | return mixer_devs[dev >> 4]->ioctl (dev >> 4, cmd, arg); |
arg | 395 | drivers/sound/sound_switch.c | return sequencer_ioctl (dev, file, cmd, arg); |
arg | 401 | drivers/sound/sound_switch.c | return audio_ioctl (dev, file, cmd, arg); |
arg | 406 | drivers/sound/sound_switch.c | return MIDIbuf_ioctl (dev, file, cmd, arg); |
arg | 126 | drivers/sound/soundcard.c | unsigned int cmd, unsigned long arg) |
arg | 133 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
arg | 18 | fs/ext2/ioctl.c | unsigned long arg) |
arg | 22 | fs/ext2/ioctl.c | ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); |
arg | 26 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 28 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
arg | 35 | fs/ext2/ioctl.c | inode->u.ext2_i.i_flags = get_fs_long ((long *) arg); |
arg | 40 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 42 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
arg | 49 | 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 | 87 | include/linux/inet.h | extern int dbg_ioctl(void *arg, int level); |
arg | 106 | include/linux/net.h | unsigned long arg); |
arg | 122 | include/linux/net.h | unsigned long arg); |
arg | 260 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 294 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 446 | 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 | 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 | 136 | 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 | 319 | net/inet/arp.c | static void arp_expire_request (unsigned long arg) |
arg | 321 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
arg | 969 | net/inet/arp.c | int arp_ioctl(unsigned int cmd, void *arg) |
arg | 978 | net/inet/arp.c | return dbg_ioctl(arg, DBG_ARP); |
arg | 982 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 985 | net/inet/arp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
arg | 992 | net/inet/arp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
arg | 995 | net/inet/arp.c | return arp_req_get((struct arpreq *)arg); |
arg | 999 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 1002 | net/inet/arp.c | return arp_req_set((struct arpreq *)arg); |
arg | 12 | net/inet/arp.h | extern int arp_ioctl(unsigned int cmd, void *arg); |
arg | 797 | net/inet/dev.c | static int dev_ifconf(char *arg) |
arg | 810 | net/inet/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
arg | 813 | net/inet/dev.c | memcpy_fromfs(&ifc, arg, sizeof(struct ifconf)); |
arg | 861 | net/inet/dev.c | memcpy_tofs(arg, &ifc, sizeof(struct ifconf)); |
arg | 867 | net/inet/dev.c | return(pos - arg); |
arg | 965 | net/inet/dev.c | static int dev_ifsioc(void *arg, unsigned int getset) |
arg | 975 | net/inet/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
arg | 979 | net/inet/dev.c | memcpy_fromfs(&ifr, arg, sizeof(struct ifreq)); |
arg | 992 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1048 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1068 | 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 | 1102 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1124 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1135 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1153 | net/inet/dev.c | printk("NET: ioctl(SIOCGIFMEM, 0x%08X)\n", (int)arg); |
arg | 1158 | net/inet/dev.c | printk("NET: ioctl(SIOCSIFMEM, 0x%08X)\n", (int)arg); |
arg | 1164 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1171 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1199 | net/inet/dev.c | int dev_ioctl(unsigned int cmd, void *arg) |
arg | 1209 | net/inet/dev.c | (void) dev_ifconf((char *) arg); |
arg | 1227 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 1243 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 727 | net/inet/icmp.c | int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 732 | net/inet/icmp.c | return(dbg_ioctl((void *) arg, DBG_ICMP)); |
arg | 36 | net/inet/icmp.h | unsigned long arg); |
arg | 95 | net/inet/inet.h | extern int dbg_ioctl(void *arg, int level); |
arg | 167 | net/inet/ip.c | int ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 172 | net/inet/ip.c | return(dbg_ioctl((void *) arg, DBG_IP)); |
arg | 746 | net/inet/ip.c | static void ip_expire(unsigned long arg) |
arg | 750 | net/inet/ip.c | qp = (struct ipq *)arg; |
arg | 70 | net/inet/ip.h | unsigned long arg); |
arg | 285 | net/inet/ipx.c | static int ipxrtr_ioctl(unsigned int cmd, void *arg) |
arg | 291 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
arg | 294 | net/inet/ipx.c | return ipxrtr_delete(get_fs_long(arg)); |
arg | 298 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(f)); |
arg | 301 | net/inet/ipx.c | memcpy_fromfs(&f,arg,sizeof(f)); |
arg | 345 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1047 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
arg | 1056 | net/inet/ipx.c | return(ipxrtr_ioctl(cmd,(void *)arg)); |
arg | 604 | net/inet/route.c | int ip_rt_ioctl(unsigned int cmd, void *arg) |
arg | 612 | net/inet/route.c | return dbg_ioctl(arg, DBG_RT); |
arg | 618 | net/inet/route.c | err = ip_get_old_rtent((struct old_rtentry *) arg, &rt); |
arg | 627 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
arg | 630 | net/inet/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
arg | 45 | net/inet/route.h | extern int ip_rt_ioctl(unsigned int cmd, void *arg); |
arg | 409 | net/inet/sock.c | inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 422 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |
arg | 423 | net/inet/sock.c | current->pid != arg) return(-EPERM); |
arg | 424 | net/inet/sock.c | sk->proc = arg; |
arg | 1420 | net/inet/sock.c | inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1435 | net/inet/sock.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
arg | 1439 | net/inet/sock.c | sk->proc = get_fs_long((int *) arg); |
arg | 1444 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
arg | 1447 | net/inet/sock.c | put_fs_long(sk->proc,(int *)arg); |
arg | 1456 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
arg | 1459 | net/inet/sock.c | memcpy_tofs((void *)arg,&sk->stamp,sizeof(struct timeval)); |
arg | 1466 | net/inet/sock.c | printk("AF_INET: ioctl(SIOCATMARK, 0x%08X)\n",(void *) arg); |
arg | 1471 | net/inet/sock.c | return(dbg_ioctl((void *) arg, DBG_INET)); |
arg | 1475 | net/inet/sock.c | return(ip_rt_ioctl(cmd,(void *) arg)); |
arg | 1480 | net/inet/sock.c | return(arp_ioctl(cmd,(void *) arg)); |
arg | 1503 | net/inet/sock.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 1507 | net/inet/sock.c | return(sk->prot->ioctl(sk, cmd, arg)); |
arg | 1695 | net/inet/sock.c | unsigned int cmd, unsigned long arg) |
arg | 1706 | net/inet/sock.c | ret = inet_ioctl(NULL, cmd, arg); |
arg | 1709 | net/inet/sock.c | ret = ip_ioctl(NULL, cmd, arg); |
arg | 1712 | net/inet/sock.c | ret = icmp_ioctl(NULL, cmd, arg); |
arg | 1715 | net/inet/sock.c | ret = tcp_ioctl(NULL, cmd, arg); |
arg | 1718 | net/inet/sock.c | ret = udp_ioctl(NULL, cmd, arg); |
arg | 220 | net/inet/sock.h | unsigned long arg); |
arg | 430 | net/inet/tcp.c | tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 433 | net/inet/tcp.c | DPRINTF((DBG_TCP, "tcp_ioctl(sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg)); |
arg | 436 | net/inet/tcp.c | return(dbg_ioctl((void *) arg, DBG_TCP)); |
arg | 451 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 455 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 462 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, |
arg | 466 | net/inet/tcp.c | put_fs_long(answ,(int *) arg); |
arg | 475 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 479 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 124 | net/inet/tcp.h | extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
arg | 425 | net/inet/udp.c | int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 435 | net/inet/udp.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
arg | 438 | net/inet/udp.c | val = get_fs_long((int *)arg); |
arg | 457 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 461 | net/inet/udp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 481 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 485 | 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 | 122 | net/inet/utils.c | int dbg_ioctl(void *arg, int level) |
arg | 129 | net/inet/utils.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
arg | 132 | net/inet/utils.c | val = get_fs_long((int *)arg); |
arg | 65 | net/socket.c | unsigned int cmd, unsigned long arg); |
arg | 320 | net/socket.c | unsigned long arg) |
arg | 325 | net/socket.c | inode, cmd, arg)); |
arg | 330 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
arg | 842 | net/socket.c | sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
arg | 848 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
arg | 986 | net/socket.c | net_ioctl(unsigned int cmd, unsigned long arg) |
arg | 991 | net/socket.c | er=verify_area(VERIFY_READ, (void *)arg, sizeof(long)); |
arg | 994 | net/socket.c | net_debug = get_fs_long((long *)arg); |
arg | 1017 | net/socket.c | unsigned int cmd, unsigned long arg) |
arg | 1025 | net/socket.c | return(net_ioctl(cmd, arg)); |
arg | 1029 | net/socket.c | return(arp_ioctl(cmd, (void *) arg)); |
arg | 77 | net/unix/sock.c | unsigned long arg); |
arg | 798 | net/unix/sock.c | unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 809 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 813 | net/unix/sock.c | put_fs_long(UN_BUF_AVAIL(upd),(unsigned long *)arg); |
arg | 815 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 819 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 823 | net/unix/sock.c | (unsigned long *)arg); |
arg | 825 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 856 | net/unix/sock.c | unsigned int cmd, unsigned long arg) |
arg | 861 | net/unix/sock.c | dprintf(1, "UNIX: ioctl(0x%X, 0x%X)\n", cmd, arg); |
arg | 868 | net/unix/sock.c | er=verify_area(VERIFY_READ,(void *)arg, sizeof(int)); |
arg | 871 | net/unix/sock.c | unix_debug = get_fs_long((int *)arg); |