tag | line | file | source code |
arg | 162 | drivers/FPU-emu/fpu_emu.h | asmlinkage void round_reg(FPU_REG *arg, unsigned int extent, |
arg | 132 | drivers/FPU-emu/fpu_entry.c | asmlinkage void math_emulate(long arg) |
arg | 170 | 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 | 78 | drivers/FPU-emu/fpu_proto.h | extern int poly_2xm1(FPU_REG const *arg, FPU_REG *result); |
arg | 84 | drivers/FPU-emu/fpu_proto.h | extern void poly_l2(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result); |
arg | 85 | drivers/FPU-emu/fpu_proto.h | extern int poly_l2p1(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result); |
arg | 88 | 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_cos(FPU_REG const *arg, FPU_REG *result); |
arg | 92 | drivers/FPU-emu/fpu_proto.h | extern void poly_tan(FPU_REG const *arg, FPU_REG *result); |
arg | 20 | drivers/FPU-emu/fpu_system.h | #define SETUP_DATA_AREA(arg) FPU_info = (struct info *) &arg |
arg | 152 | drivers/FPU-emu/fpu_trig.c | void convert_l2reg(long const *arg, FPU_REG *dest) |
arg | 154 | drivers/FPU-emu/fpu_trig.c | long num = *arg; |
arg | 593 | drivers/FPU-emu/fpu_trig.c | static int f_cos(FPU_REG *arg) |
arg | 595 | drivers/FPU-emu/fpu_trig.c | char arg_sign = arg->sign; |
arg | 597 | drivers/FPU-emu/fpu_trig.c | if ( arg->tag == TW_Valid ) |
arg | 602 | drivers/FPU-emu/fpu_trig.c | if ( arg->exp > EXP_BIAS - 40 ) |
arg | 604 | drivers/FPU-emu/fpu_trig.c | arg->sign = SIGN_POS; |
arg | 605 | drivers/FPU-emu/fpu_trig.c | if ( (arg->exp < EXP_BIAS) |
arg | 606 | drivers/FPU-emu/fpu_trig.c | || ((arg->exp == EXP_BIAS) |
arg | 607 | drivers/FPU-emu/fpu_trig.c | && (significand(arg) <= 0xc90fdaa22168c234LL)) ) |
arg | 609 | drivers/FPU-emu/fpu_trig.c | poly_cos(arg, &rv); |
arg | 610 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 617 | drivers/FPU-emu/fpu_trig.c | else if ( (q = trig_arg(arg, FCOS)) != -1 ) |
arg | 619 | drivers/FPU-emu/fpu_trig.c | poly_sine(arg, &rv); |
arg | 623 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 633 | drivers/FPU-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
arg | 640 | drivers/FPU-emu/fpu_trig.c | if ( (arg->exp <= EXP_UNDER) && (denormal_operand()) ) |
arg | 645 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 654 | drivers/FPU-emu/fpu_trig.c | else if ( arg->tag == TW_Zero ) |
arg | 656 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 660 | drivers/FPU-emu/fpu_trig.c | else if ( arg->tag == TW_Infinity ) |
arg | 663 | drivers/FPU-emu/fpu_trig.c | arith_invalid(arg); |
arg | 668 | drivers/FPU-emu/fpu_trig.c | single_arg_error(arg); /* requires arg == &st(0) */ |
arg | 684 | drivers/FPU-emu/fpu_trig.c | FPU_REG arg; |
arg | 719 | drivers/FPU-emu/fpu_trig.c | reg_move(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,st_new_ptr); |
arg | 53 | drivers/FPU-emu/poly_2xm1.c | int poly_2xm1(FPU_REG const *arg, FPU_REG *result) |
arg | 60 | drivers/FPU-emu/poly_2xm1.c | exponent = arg->exp - EXP_BIAS; |
arg | 64 | drivers/FPU-emu/poly_2xm1.c | || (arg->tag != TW_Valid) ) |
arg | 73 | drivers/FPU-emu/poly_2xm1.c | XSIG_LL(argSignif) = Xll = significand(arg); |
arg | 121 | drivers/FPU-emu/poly_2xm1.c | if ( arg->sign != SIGN_POS ) |
arg | 148 | drivers/FPU-emu/poly_2xm1.c | result->sign = arg->sign; |
arg | 22 | drivers/FPU-emu/poly_l2.c | static void log2_kernel(FPU_REG const *arg, |
arg | 29 | drivers/FPU-emu/poly_l2.c | void poly_l2(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result) |
arg | 37 | drivers/FPU-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 40 | drivers/FPU-emu/poly_l2.c | if ( arg->sigh > (unsigned)0xb504f334 ) |
arg | 43 | drivers/FPU-emu/poly_l2.c | significand(&x) = - significand(arg); |
arg | 53 | drivers/FPU-emu/poly_l2.c | x.sigh = arg->sigh - 0x80000000; |
arg | 54 | drivers/FPU-emu/poly_l2.c | x.sigl = arg->sigl; |
arg | 114 | drivers/FPU-emu/poly_l2.c | int poly_l2p1(FPU_REG const *arg, FPU_REG const *y, FPU_REG *result) |
arg | 121 | drivers/FPU-emu/poly_l2.c | sign = arg->sign; |
arg | 123 | drivers/FPU-emu/poly_l2.c | if ( arg->exp < EXP_BIAS ) |
arg | 125 | drivers/FPU-emu/poly_l2.c | log2_kernel(arg, &accumulator, &exponent); |
arg | 183 | drivers/FPU-emu/poly_l2.c | static void log2_kernel(FPU_REG const *arg, Xsig *accum_result, |
arg | 191 | drivers/FPU-emu/poly_l2.c | sign = arg->sign; |
arg | 193 | drivers/FPU-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 195 | drivers/FPU-emu/poly_l2.c | XSIG_LL(Numer) = XSIG_LL(Denom) = significand(arg); |
arg | 65 | drivers/FPU-emu/poly_sin.c | void poly_sine(FPU_REG const *arg, FPU_REG *result) |
arg | 74 | drivers/FPU-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 82 | drivers/FPU-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 88 | drivers/FPU-emu/poly_sin.c | if ( (exponent < -1) || ((exponent == -1) && (arg->sigh <= 0xe21240aa)) ) |
arg | 92 | drivers/FPU-emu/poly_sin.c | argSqrd.msw = arg->sigh; argSqrd.midw = arg->sigl; argSqrd.lsw = 0; |
arg | 93 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&argSqrd, &significand(arg)); |
arg | 110 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 111 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 112 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 118 | drivers/FPU-emu/poly_sin.c | shr_Xsig(&accumulator, arg->exp - exponent); |
arg | 121 | drivers/FPU-emu/poly_sin.c | XSIG_LL(accumulator) += significand(arg); |
arg | 125 | drivers/FPU-emu/poly_sin.c | result->exp = arg->exp + echange; |
arg | 132 | drivers/FPU-emu/poly_sin.c | fixed_arg = significand(arg); |
arg | 200 | drivers/FPU-emu/poly_sin.c | result->sign = arg->sign; |
arg | 217 | drivers/FPU-emu/poly_sin.c | void poly_cos(FPU_REG const *arg, FPU_REG *result) |
arg | 226 | drivers/FPU-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 233 | drivers/FPU-emu/poly_sin.c | if ( (arg->exp > EXP_BIAS) |
arg | 234 | drivers/FPU-emu/poly_sin.c | || ((arg->exp == EXP_BIAS) |
arg | 235 | drivers/FPU-emu/poly_sin.c | && (significand(arg) > 0xc90fdaa22168c234LL)) ) |
arg | 243 | drivers/FPU-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 247 | drivers/FPU-emu/poly_sin.c | if ( (exponent < -1) || ((exponent == -1) && (arg->sigh <= 0xb00d6f54)) ) |
arg | 251 | drivers/FPU-emu/poly_sin.c | argSqrd.msw = arg->sigh; argSqrd.midw = arg->sigl; argSqrd.lsw = 0; |
arg | 252 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&argSqrd, &significand(arg)); |
arg | 273 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 274 | drivers/FPU-emu/poly_sin.c | mul64_Xsig(&accumulator, &significand(arg)); |
arg | 306 | drivers/FPU-emu/poly_sin.c | fixed_arg = significand(arg); |
arg | 55 | drivers/FPU-emu/poly_tan.c | void poly_tan(FPU_REG const *arg, FPU_REG *result) |
arg | 63 | drivers/FPU-emu/poly_tan.c | exponent = arg->exp - EXP_BIAS; |
arg | 66 | drivers/FPU-emu/poly_tan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 71 | drivers/FPU-emu/poly_tan.c | if ( (exponent == 0) || ((exponent == -1) && (arg->sigh > 0xc90fdaa2)) ) |
arg | 76 | drivers/FPU-emu/poly_tan.c | XSIG_LL(accum) = significand(arg); |
arg | 95 | drivers/FPU-emu/poly_tan.c | XSIG_LL(accum) = XSIG_LL(argSignif) = significand(arg); |
arg | 1375 | drivers/block/cdu31a.c | sony_get_subchnl_info(long arg) |
arg | 1390 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
arg | 1391 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
arg | 1393 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
arg | 1410 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1441 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
arg | 1453 | drivers/block/cdu31a.c | unsigned long arg) |
arg | 1550 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, 6); |
arg | 1552 | drivers/block/cdu31a.c | memcpy_fromfs(&(params[1]), (void *) arg, 6); |
arg | 1586 | drivers/block/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
arg | 1608 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
arg | 1661 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
arg | 1663 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
arg | 1721 | drivers/block/cdu31a.c | return sony_get_subchnl_info(arg); |
arg | 1727 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(volctrl)); |
arg | 1729 | drivers/block/cdu31a.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 2306 | drivers/block/floppy.c | static int user_reset_fdc(int drive, int arg) |
arg | 2312 | drivers/block/floppy.c | switch(arg){ |
arg | 791 | drivers/block/hd.c | unsigned int cmd, unsigned long arg) |
arg | 793 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
arg | 818 | drivers/block/hd.c | if(arg > 0xff) return -EINVAL; |
arg | 819 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 822 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 823 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 826 | drivers/block/hd.c | put_fs_long(read_ahead[MAJOR(inode->i_rdev)],(long *) arg); |
arg | 829 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 830 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 833 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
arg | 846 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 848 | drivers/block/hd.c | err = verify_area(VERIFY_READ, (long *) arg, sizeof(long)); |
arg | 851 | drivers/block/hd.c | unmask_intr[dev] = get_fs_long((long *) arg); |
arg | 855 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 856 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 859 | drivers/block/hd.c | put_fs_long(unmask_intr[dev], (long *) arg); |
arg | 863 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 864 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 867 | drivers/block/hd.c | put_fs_long(mult_count[dev], (long *) arg); |
arg | 874 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 876 | drivers/block/hd.c | err = verify_area(VERIFY_READ, (long *) arg, sizeof(long)); |
arg | 879 | drivers/block/hd.c | arg = get_fs_long((long *) arg); |
arg | 882 | drivers/block/hd.c | if (arg > max_mult[dev]) |
arg | 888 | drivers/block/hd.c | mult_req[dev] = arg; |
arg | 896 | drivers/block/hd.c | if (!arg) return -EINVAL; |
arg | 899 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (char *) arg, sizeof(struct hd_driveid)); |
arg | 902 | drivers/block/hd.c | memcpy_tofs((char *)arg, (char *) hd_ident_info[dev], sizeof(struct hd_driveid)); |
arg | 905 | drivers/block/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 212 | drivers/block/mcd.c | mcdPlay(struct mcd_Play_msf *arg) |
arg | 218 | drivers/block/mcd.c | sendMcdCmd(MCMD_PLAY_READ, arg); |
arg | 240 | drivers/block/mcd.c | unsigned long arg) |
arg | 325 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
arg | 329 | drivers/block/mcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
arg | 368 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
arg | 372 | drivers/block/mcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
arg | 407 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
arg | 413 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &tocHdr, sizeof tocHdr); |
arg | 418 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
arg | 422 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
arg | 450 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
arg | 455 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
arg | 459 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
arg | 490 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
arg | 500 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(volctrl)); |
arg | 504 | drivers/block/mcd.c | memcpy_fromfs(&volctrl, (char *) arg, sizeof(volctrl)); |
arg | 596 | drivers/block/sbpcd.c | static int sbpcd_dbg_ioctl(unsigned long arg, int level) |
arg | 600 | drivers/block/sbpcd.c | val = get_fs_long((int *) arg); |
arg | 2396 | drivers/block/sbpcd.c | u_long arg) |
arg | 2401 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
arg | 2425 | drivers/block/sbpcd.c | i = verify_area(VERIFY_READ, (int *) arg, sizeof(int)); |
arg | 2426 | drivers/block/sbpcd.c | if (i>=0) i=sbpcd_dbg_ioctl(arg,1); |
arg | 2475 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 2477 | drivers/block/sbpcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof(struct cdrom_msf)); |
arg | 2503 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 2509 | drivers/block/sbpcd.c | memcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti)); |
arg | 2529 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_tochdr)); |
arg | 2531 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tochdr, sizeof(struct cdrom_tochdr)); |
arg | 2536 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2538 | drivers/block/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2553 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_tocentry)); |
arg | 2555 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
arg | 2588 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(volctrl)); |
arg | 2590 | drivers/block/sbpcd.c | memcpy_fromfs(&volctrl,(char *) arg,sizeof(volctrl)); |
arg | 2603 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 2605 | drivers/block/sbpcd.c | memcpy_fromfs(&SC, (void *) arg, sizeof(struct cdrom_subchnl)); |
arg | 2636 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &SC, sizeof(struct cdrom_subchnl)); |
arg | 2675 | drivers/block/sbpcd.c | i=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_read_audio)); |
arg | 2677 | drivers/block/sbpcd.c | memcpy_fromfs(&read_audio, (void *) arg, sizeof(struct cdrom_read_audio)); |
arg | 2856 | drivers/block/sbpcd.c | if(arg > 0xff) return -EINVAL; |
arg | 2857 | drivers/block/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 237 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
arg | 239 | drivers/block/xd.c | XD_GEOMETRY *geometry = (XD_GEOMETRY *) arg; |
arg | 245 | drivers/block/xd.c | if (arg) { |
arg | 259 | drivers/block/xd.c | if(arg > 0xff) return -EINVAL; |
arg | 260 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
arg | 263 | drivers/block/xd.c | if (arg) { |
arg | 264 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
arg | 266 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
arg | 280 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 86 | drivers/char/console.c | int set_selection(const int arg, struct tty_struct *tty); |
arg | 1768 | drivers/char/console.c | int do_screendump(int arg) |
arg | 1770 | drivers/char/console.c | char *sptr, *buf = (char *)arg; |
arg | 1871 | drivers/char/console.c | int sel_loadlut(const int arg) |
arg | 1873 | drivers/char/console.c | memcpy_fromfs(inwordLut,(unsigned long *)(arg+4),16); |
arg | 1898 | drivers/char/console.c | int set_selection(const int arg, struct tty_struct *tty) |
arg | 1908 | drivers/char/console.c | args = (unsigned short *)(arg + 1); |
arg | 2110 | drivers/char/console.c | static int set_get_font(char * arg, int set) |
arg | 2128 | drivers/char/console.c | i = verify_area(set ? VERIFY_READ : VERIFY_WRITE, (void *)arg, cmapsz); |
arg | 2152 | drivers/char/console.c | *(charmap+i) = get_fs_byte(arg+i); |
arg | 2155 | drivers/char/console.c | put_fs_byte(*(charmap+i), arg+i); |
arg | 2187 | drivers/char/console.c | int con_set_font (char *arg) |
arg | 2189 | drivers/char/console.c | return set_get_font (arg,1); |
arg | 2192 | drivers/char/console.c | int con_get_font (char *arg) |
arg | 2194 | drivers/char/console.c | return set_get_font (arg,0); |
arg | 2202 | drivers/char/console.c | int con_set_trans(char * arg) |
arg | 2206 | drivers/char/console.c | i = verify_area(VERIFY_READ, (void *)arg, E_TABSZ); |
arg | 2210 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) USER_TRANS[i] = get_fs_byte(arg+i); |
arg | 2218 | drivers/char/console.c | int con_get_trans(char * arg) |
arg | 2222 | drivers/char/console.c | i = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ); |
arg | 2226 | drivers/char/console.c | for (i=0; i<E_TABSZ ; i++) put_fs_byte(USER_TRANS[i],arg+i); |
arg | 328 | drivers/char/lp.c | unsigned int cmd, unsigned long arg) |
arg | 334 | drivers/char/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
arg | 342 | drivers/char/lp.c | LP_TIME(minor) = arg; |
arg | 345 | drivers/char/lp.c | LP_CHAR(minor) = arg; |
arg | 348 | drivers/char/lp.c | if (arg) |
arg | 354 | drivers/char/lp.c | LP_WAIT(minor) = arg; |
arg | 358 | drivers/char/lp.c | int newirq = arg; |
arg | 1502 | drivers/char/serial.c | unsigned int arg = get_fs_long((unsigned long *) value); |
arg | 1506 | drivers/char/serial.c | if (arg & TIOCM_RTS) { |
arg | 1510 | drivers/char/serial.c | if (arg & TIOCM_DTR) { |
arg | 1516 | drivers/char/serial.c | if (arg & TIOCM_RTS) { |
arg | 1520 | drivers/char/serial.c | if (arg & TIOCM_DTR) { |
arg | 1527 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1528 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0)); |
arg | 1531 | drivers/char/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 1532 | drivers/char/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0)); |
arg | 1627 | drivers/char/serial.c | unsigned int cmd, unsigned long arg) |
arg | 1642 | drivers/char/serial.c | if (!arg) |
arg | 1650 | drivers/char/serial.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 1653 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(long)); |
arg | 1657 | drivers/char/serial.c | (unsigned long *) arg); |
arg | 1660 | drivers/char/serial.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1663 | drivers/char/serial.c | (arg ? CLOCAL : 0)); |
arg | 1666 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1670 | drivers/char/serial.c | return get_modem_info(info, (unsigned int *) arg); |
arg | 1674 | drivers/char/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1676 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1681 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1684 | drivers/char/serial.c | (struct serial_struct *) arg); |
arg | 1689 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1693 | drivers/char/serial.c | put_fs_long(rs_wild_int_mask, (unsigned long *) arg); |
arg | 1699 | drivers/char/serial.c | rs_wild_int_mask = get_fs_long((unsigned long *) arg); |
arg | 1705 | drivers/char/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1709 | drivers/char/serial.c | memcpy_tofs((struct async_struct *) arg, |
arg | 69 | drivers/char/tty_io.c | extern int set_selection(const int arg, struct tty_struct *tty); |
arg | 71 | drivers/char/tty_io.c | extern int sel_loadlut(const int arg); |
arg | 75 | drivers/char/tty_io.c | extern int do_screendump(int arg); |
arg | 98 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg); |
arg | 269 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 1191 | drivers/char/tty_io.c | static int do_get_ps_info(int arg) |
arg | 1198 | drivers/char/tty_io.c | struct tstruct *ts = (struct tstruct *)arg; |
arg | 1203 | drivers/char/tty_io.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct)); |
arg | 1221 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 1245 | drivers/char/tty_io.c | ch = get_fs_byte((char *) arg); |
arg | 1249 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1253 | drivers/char/tty_io.c | memcpy_tofs((struct winsize *) arg, &tty->winsize, |
arg | 1257 | drivers/char/tty_io.c | memcpy_fromfs(&tmp_ws, (struct winsize *) arg, |
arg | 1282 | drivers/char/tty_io.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1283 | drivers/char/tty_io.c | if (arg) |
arg | 1316 | drivers/char/tty_io.c | if ((arg == 1) && suser()) { |
arg | 1339 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1343 | drivers/char/tty_io.c | put_fs_long(real_tty->pgrp, (pid_t *) arg); |
arg | 1353 | drivers/char/tty_io.c | pgrp = get_fs_long((pid_t *) arg); |
arg | 1361 | drivers/char/tty_io.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1365 | drivers/char/tty_io.c | put_fs_long(tty->ldisc.num, (unsigned long *) arg); |
arg | 1371 | drivers/char/tty_io.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1372 | drivers/char/tty_io.c | return tty_set_ldisc(tty, arg); |
arg | 1374 | drivers/char/tty_io.c | switch (get_fs_byte((char *)arg)) |
arg | 1377 | drivers/char/tty_io.c | return do_screendump(arg); |
arg | 1380 | drivers/char/tty_io.c | return do_get_ps_info(arg); |
arg | 1383 | drivers/char/tty_io.c | return set_selection(arg, tty); |
arg | 1390 | drivers/char/tty_io.c | return sel_loadlut(arg); |
arg | 1392 | drivers/char/tty_io.c | put_fs_byte(shift_state,arg); |
arg | 1395 | drivers/char/tty_io.c | put_fs_byte(mouse_reporting(),arg); |
arg | 1404 | drivers/char/tty_io.c | cmd, arg); |
arg | 1410 | drivers/char/tty_io.c | cmd, arg); |
arg | 89 | drivers/char/tty_ioctl.c | static int set_termios(struct tty_struct * tty, unsigned long arg, int opt) |
arg | 102 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termio, (struct termio *) arg, |
arg | 113 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, (struct termios *) arg, |
arg | 204 | drivers/char/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
arg | 218 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 222 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 231 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt); |
arg | 233 | drivers/char/tty_ioctl.c | return get_termio(real_tty,(struct termio *) arg); |
arg | 239 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt|TERMIOS_TERMIO); |
arg | 244 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 269 | drivers/char/tty_ioctl.c | switch (arg) { |
arg | 287 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 293 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 295 | drivers/char/tty_ioctl.c | put_fs_long(0, (unsigned long *) arg); |
arg | 298 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 304 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 307 | drivers/char/tty_ioctl.c | (unsigned long *) arg); |
arg | 310 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 311 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 315 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
arg | 322 | drivers/char/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 324 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
arg | 331 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, |
arg | 335 | drivers/char/tty_ioctl.c | if (get_fs_long(arg)) { |
arg | 352 | drivers/char/tty_ioctl.c | tty->driver.ioctl(tty, file, cmd, arg); |
arg | 119 | drivers/char/vt.c | unsigned int cmd, unsigned long arg) |
arg | 134 | drivers/char/vt.c | kd_mksound((unsigned int)arg, 0); |
arg | 139 | drivers/char/vt.c | unsigned int ticks = HZ * ((arg >> 16) & 0xffff) / 1000; |
arg | 145 | drivers/char/vt.c | kd_mksound(arg & 0xffff, ticks); |
arg | 155 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 157 | drivers/char/vt.c | put_fs_byte(KB_101, (char *) arg); |
arg | 166 | drivers/char/vt.c | if (arg < GPFIRST || arg > GPLAST) |
arg | 168 | drivers/char/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
arg | 181 | drivers/char/vt.c | switch (arg) { |
arg | 186 | drivers/char/vt.c | arg = KD_TEXT; |
arg | 192 | drivers/char/vt.c | if (vt_cons[console].vc_mode == (unsigned char) arg) |
arg | 194 | drivers/char/vt.c | vt_cons[console].vc_mode = (unsigned char) arg; |
arg | 200 | drivers/char/vt.c | if (arg == KD_TEXT) |
arg | 209 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 211 | drivers/char/vt.c | put_fs_long(vt_cons[console].vc_mode, (unsigned long *) arg); |
arg | 223 | drivers/char/vt.c | switch(arg) { |
arg | 245 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 250 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 257 | drivers/char/vt.c | switch(arg) { |
arg | 270 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 274 | drivers/char/vt.c | put_fs_long(ucval, (unsigned long *) arg); |
arg | 280 | drivers/char/vt.c | struct kbentry * const a = (struct kbentry *)arg; |
arg | 296 | drivers/char/vt.c | const struct kbentry * a = (struct kbentry *)arg; |
arg | 324 | drivers/char/vt.c | struct kbsentry *a = (struct kbsentry *)arg; |
arg | 349 | drivers/char/vt.c | struct kbsentry * const a = (struct kbsentry *)arg; |
arg | 395 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 408 | drivers/char/vt.c | struct kbdiacrs *a = (struct kbdiacrs *)arg; |
arg | 423 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 426 | drivers/char/vt.c | put_fs_byte(kbd->ledstate, (char *) arg); |
arg | 430 | drivers/char/vt.c | if (arg & ~7) |
arg | 432 | drivers/char/vt.c | kbd->ledstate = arg; |
arg | 438 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 460 | drivers/char/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 462 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode)); |
arg | 479 | drivers/char/vt.c | struct vt_stat *vtstat = (struct vt_stat *)arg; |
arg | 499 | drivers/char/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long)); |
arg | 507 | drivers/char/vt.c | (unsigned long *)arg); |
arg | 516 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 518 | drivers/char/vt.c | change_console(arg - 1); |
arg | 525 | drivers/char/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 527 | drivers/char/vt.c | while (fg_console != arg - 1) |
arg | 553 | drivers/char/vt.c | if (arg == 0) |
arg | 580 | drivers/char/vt.c | if (arg != VT_ACKACQ) |
arg | 587 | drivers/char/vt.c | return con_set_font((char *)arg); |
arg | 591 | drivers/char/vt.c | return con_get_font((char *)arg); |
arg | 595 | drivers/char/vt.c | return con_set_trans((char *)arg); |
arg | 599 | drivers/char/vt.c | return con_get_trans((char *)arg); |
arg | 942 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
arg | 954 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE, arg, 16); |
arg | 957 | drivers/net/slip.c | memcpy_tofs(arg, sl->dev->name, strlen(sl->dev->name) + 1); |
arg | 960 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE,arg,sizeof(long)); |
arg | 961 | drivers/net/slip.c | put_fs_long(sl->mode,(long *)arg); |
arg | 964 | drivers/net/slip.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
arg | 965 | drivers/net/slip.c | sl->mode=get_fs_long((long *)arg); |
arg | 984 | drivers/net/slip.c | return sl_set_mac_address(sl->dev,arg); |
arg | 989 | drivers/net/slip.c | return n_tty_ioctl(tty, (struct file *) file, cmd, (unsigned long) 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 | 17 | drivers/scsi/scsi_ioctl.h | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 18 | drivers/scsi/scsi_ioctl.h | extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 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 | 63 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
arg | 71 | drivers/scsi/sg.c | scsi_generics[dev].timeout=get_fs_long((int *) arg); |
arg | 76 | 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 | 91 | 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 | 98 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
arg | 1171 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1194 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1195 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1196 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1202 | drivers/scsi/st.c | fileno += arg; |
arg | 1209 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1221 | drivers/scsi/st.c | fileno -= arg; |
arg | 1227 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1228 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1229 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1236 | drivers/scsi/st.c | blkno += arg; |
arg | 1241 | drivers/scsi/st.c | ltmp = (-arg); |
arg | 1254 | drivers/scsi/st.c | blkno -= arg; |
arg | 1260 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1261 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1262 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1269 | drivers/scsi/st.c | fileno += arg; |
arg | 1346 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 1347 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 1348 | drivers/scsi/st.c | cmd[4] = arg; |
arg | 1354 | drivers/scsi/st.c | cmd[3] = (arg >> 24); |
arg | 1355 | drivers/scsi/st.c | cmd[4] = (arg >> 16); |
arg | 1356 | drivers/scsi/st.c | cmd[5] = (arg >> 8); |
arg | 1357 | drivers/scsi/st.c | cmd[6] = arg; |
arg | 1365 | drivers/scsi/st.c | printk("st%d: Seeking tape to block %ld.\n", dev, arg); |
arg | 1375 | drivers/scsi/st.c | arg != 0 && |
arg | 1376 | drivers/scsi/st.c | (arg < STp->min_block || arg > STp->max_block || |
arg | 1377 | drivers/scsi/st.c | arg > st_buffer_size)) { |
arg | 1386 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
arg | 1392 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
arg | 1396 | drivers/scsi/st.c | ltmp = arg; |
arg | 1453 | drivers/scsi/st.c | STp->block_size = arg; |
arg | 1454 | drivers/scsi/st.c | if (arg != 0) { |
arg | 1468 | drivers/scsi/st.c | STp->drv_buffer = (arg & 7); |
arg | 1470 | drivers/scsi/st.c | STp->density = arg; |
arg | 1516 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1541 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc)); |
arg | 1545 | drivers/scsi/st.c | memcpy_fromfs((char *) &mtc, (char *)arg, sizeof(struct mtop)); |
arg | 1563 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
arg | 1583 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *)(STp->mt_status), |
arg | 1601 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos)); |
arg | 1649 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *) (&mt_pos), sizeof(struct mtpos)); |
arg | 1653 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |
arg | 89 | drivers/sound/ad1848.c | static int ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 254 | drivers/sound/ad1848.c | set_speed (ad1848_info * devc, int arg) |
arg | 294 | drivers/sound/ad1848.c | if (arg < speed_table[0].speed) |
arg | 296 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
arg | 300 | drivers/sound/ad1848.c | if (speed_table[i].speed == arg) |
arg | 302 | drivers/sound/ad1848.c | else if (speed_table[i].speed > arg) |
arg | 306 | drivers/sound/ad1848.c | diff1 = arg - speed_table[i - 1].speed; |
arg | 307 | drivers/sound/ad1848.c | diff2 = speed_table[i].speed - arg; |
arg | 327 | drivers/sound/ad1848.c | set_channels (ad1848_info * devc, int arg) |
arg | 329 | drivers/sound/ad1848.c | if (arg != 1 && arg != 2) |
arg | 332 | drivers/sound/ad1848.c | devc->channels = arg; |
arg | 333 | drivers/sound/ad1848.c | return arg; |
arg | 337 | drivers/sound/ad1848.c | set_format (ad1848_info * devc, int arg) |
arg | 389 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
arg | 390 | drivers/sound/ad1848.c | arg = AFMT_U8; |
arg | 392 | drivers/sound/ad1848.c | devc->audio_format = arg; |
arg | 395 | drivers/sound/ad1848.c | if (format2bits[i].format == arg) |
arg | 400 | drivers/sound/ad1848.c | return arg; |
arg | 409 | drivers/sound/ad1848.c | ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 417 | drivers/sound/ad1848.c | return set_speed (devc, arg); |
arg | 418 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_speed (devc, IOCTL_IN (arg))); |
arg | 423 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->speed); |
arg | 427 | drivers/sound/ad1848.c | return set_channels (devc, arg + 1) - 1; |
arg | 428 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_channels (devc, IOCTL_IN (arg) + 1) - 1); |
arg | 432 | drivers/sound/ad1848.c | return set_channels (devc, arg); |
arg | 433 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_channels (devc, IOCTL_IN (arg))); |
arg | 438 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->channels); |
arg | 442 | drivers/sound/ad1848.c | return set_format (devc, arg); |
arg | 443 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, set_format (devc, IOCTL_IN (arg))); |
arg | 448 | drivers/sound/ad1848.c | return IOCTL_OUT (arg, devc->audio_format); |
arg | 322 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 336 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 351 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 355 | drivers/sound/audio.c | return IOCTL_OUT (arg, audio_devs[dev]->format_mask); |
arg | 359 | drivers/sound/audio.c | return IOCTL_OUT (arg, set_format (dev, IOCTL_IN (arg))); |
arg | 362 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
arg | 405 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
arg | 124 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 139 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 150 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 178 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 196 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
arg | 391 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 412 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, dmap->fragment_size); |
arg | 417 | drivers/sound/dmabuf.c | int fact = IOCTL_IN (arg); |
arg | 424 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, fact); |
arg | 438 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, fact); |
arg | 444 | drivers/sound/dmabuf.c | int fact = IOCTL_IN (arg); |
arg | 477 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, bytes | (count << 16)); |
arg | 482 | drivers/sound/dmabuf.c | return audio_devs[dev]->ioctl (dev, cmd, arg, local); |
arg | 915 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 195 | drivers/sound/gus_midi.c | gus_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 840 | drivers/sound/gus_wave.c | unsigned int cmd, unsigned int arg) |
arg | 847 | drivers/sound/gus_wave.c | IOCTL_TO_USER ((char *) arg, 0, &gus_info, sizeof (gus_info)); |
arg | 1907 | drivers/sound/gus_wave.c | gus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 1913 | drivers/sound/gus_wave.c | return gus_sampling_set_speed (arg); |
arg | 1914 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_speed (IOCTL_IN (arg))); |
arg | 1920 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_speed); |
arg | 1925 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg + 1) - 1; |
arg | 1926 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 1931 | drivers/sound/gus_wave.c | return gus_sampling_set_channels (arg); |
arg | 1932 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_channels (IOCTL_IN (arg))); |
arg | 1938 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_channels); |
arg | 1943 | drivers/sound/gus_wave.c | return gus_sampling_set_bits (arg); |
arg | 1944 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_set_bits (IOCTL_IN (arg))); |
arg | 1950 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_sampling_bits); |
arg | 1953 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 1957 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 2703 | drivers/sound/gus_wave.c | gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 2713 | drivers/sound/gus_wave.c | gus_recmask = IOCTL_IN (arg) & MIX_DEVS; |
arg | 2717 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 2722 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 2730 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 2736 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
arg | 2744 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
arg | 2749 | drivers/sound/gus_wave.c | gus_pcm_volume = IOCTL_IN (arg) & 0xff; |
arg | 2755 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 2762 | drivers/sound/gus_wave.c | gus_wave_volume = IOCTL_IN (arg) & 0xff; |
arg | 2773 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
arg | 2787 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_recmask); |
arg | 2791 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, MIX_DEVS); |
arg | 2795 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 2799 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, SOUND_MASK_MIC | SOUND_MASK_LINE); |
arg | 2803 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, 0); |
arg | 2807 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_mic_vol | (gus_mic_vol << 8)); |
arg | 2811 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_line_vol | (gus_line_vol << 8)); |
arg | 2815 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_pcm_volume | (gus_pcm_volume << 8)); |
arg | 2819 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, gus_wave_volume | (gus_wave_volume << 8)); |
arg | 135 | drivers/sound/ics2101.c | ics2101_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 143 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
arg | 147 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_MIC, IOCTL_IN (arg))); |
arg | 151 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_CD, IOCTL_IN (arg))); |
arg | 155 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_LINE, IOCTL_IN (arg))); |
arg | 159 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_GF1, IOCTL_IN (arg))); |
arg | 163 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, set_volumes (DEV_VOL, IOCTL_IN (arg))); |
arg | 176 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
arg | 180 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, MIX_DEVS); |
arg | 184 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, SOUND_MASK_LINE | SOUND_MASK_CD | |
arg | 190 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, SOUND_MASK_MIC | SOUND_MASK_LINE); |
arg | 194 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, 0); |
arg | 198 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_MIC]); |
arg | 202 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_LINE]); |
arg | 206 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_CD]); |
arg | 210 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_VOL]); |
arg | 214 | drivers/sound/ics2101.c | return IOCTL_OUT (arg, volumes[DEV_GF1]); |
arg | 103 | drivers/sound/midi_synth.c | unsigned int cmd, unsigned int arg) |
arg | 113 | drivers/sound/midi_synth.c | IOCTL_TO_USER ((char *) arg, 0, synth_devs[dev]->info, |
arg | 2 | drivers/sound/midi_synth.h | unsigned int cmd, unsigned int arg); |
arg | 376 | drivers/sound/midibuf.c | unsigned int cmd, unsigned int arg) |
arg | 386 | drivers/sound/midibuf.c | val = IOCTL_IN (arg); |
arg | 392 | drivers/sound/midibuf.c | return IOCTL_OUT (arg, val); |
arg | 396 | drivers/sound/midibuf.c | return midi_devs[dev]->ioctl (dev, cmd, arg); |
arg | 107 | drivers/sound/mpu401.c | static void set_uart_mode (int dev, struct mpu_config *devc, int arg); |
arg | 762 | drivers/sound/mpu401.c | mpu401_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 771 | drivers/sound/mpu401.c | IOCTL_FROM_USER ((char *) &init_sequence, (char *) arg, 0, sizeof (init_sequence)); |
arg | 781 | drivers/sound/mpu401.c | set_uart_mode (dev, devc, !IOCTL_IN (arg)); |
arg | 790 | drivers/sound/mpu401.c | IOCTL_FROM_USER ((char *) &rec, (char *) arg, 0, sizeof (rec)); |
arg | 795 | drivers/sound/mpu401.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &rec, sizeof (rec)); |
arg | 820 | drivers/sound/mpu401.c | unsigned int cmd, unsigned int arg) |
arg | 836 | drivers/sound/mpu401.c | IOCTL_TO_USER ((char *) arg, 0, &mpu_synth_info[midi_dev], |
arg | 1153 | drivers/sound/mpu401.c | set_uart_mode (int dev, struct mpu_config *devc, int arg) |
arg | 1156 | drivers/sound/mpu401.c | if (!arg && devc->version == 0) |
arg | 1159 | drivers/sound/mpu401.c | if ((devc->uart_mode == 0) == (arg == 0)) |
arg | 1164 | drivers/sound/mpu401.c | if (arg) |
arg | 1173 | drivers/sound/mpu401.c | devc->uart_mode = arg; |
arg | 1459 | drivers/sound/mpu401.c | unsigned int command, unsigned int arg) |
arg | 1467 | drivers/sound/mpu401.c | int parm = IOCTL_IN (arg) & timer_caps; |
arg | 1479 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, timer_mode); |
arg | 1507 | drivers/sound/mpu401.c | int val = IOCTL_IN (arg); |
arg | 1512 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 1518 | drivers/sound/mpu401.c | int val = IOCTL_IN (arg); |
arg | 1536 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 1541 | drivers/sound/mpu401.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 1544 | drivers/sound/mpu401.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 1548 | drivers/sound/mpu401.c | metronome_mode = IOCTL_IN (arg); |
arg | 133 | drivers/sound/opl3.c | unsigned int cmd, unsigned int arg) |
arg | 142 | drivers/sound/opl3.c | IOCTL_FROM_USER ((char *) &ins, (char *) arg, 0, sizeof (ins)); |
arg | 158 | drivers/sound/opl3.c | IOCTL_TO_USER ((char *) arg, 0, &fm_info, sizeof (fm_info)); |
arg | 64 | drivers/sound/os.h | #define IOCTL_IN(arg) get_fs_long((long *)(arg)) |
arg | 65 | drivers/sound/os.h | #define IOCTL_OUT(arg, ret) snd_ioctl_return((int *)arg, ret) |
arg | 217 | drivers/sound/pas2_midi.c | pas_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 306 | drivers/sound/pas2_mixer.c | pas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 308 | drivers/sound/pas2_mixer.c | TRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
arg | 313 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 323 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, rec_devices); |
arg | 327 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES & ~(SOUND_MASK_BASS | SOUND_MASK_TREBLE)); |
arg | 331 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, SUPPORTED_MIXER_DEVICES); |
arg | 335 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, POSSIBLE_RECORDING_DEVICES & SUPPORTED_MIXER_DEVICES); |
arg | 339 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* |
arg | 345 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); /* |
arg | 352 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 353 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, ((mode_control & P_M_MV508_ENHANCE_BITS) + 1) * 20); |
arg | 358 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 1); |
arg | 359 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, 0); |
arg | 363 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, levels[cmd & 0xff]); |
arg | 61 | drivers/sound/pas2_pcm.c | pcm_set_speed (int arg) |
arg | 66 | drivers/sound/pas2_pcm.c | if (arg > 44100) |
arg | 67 | drivers/sound/pas2_pcm.c | arg = 44100; |
arg | 68 | drivers/sound/pas2_pcm.c | if (arg < 5000) |
arg | 69 | drivers/sound/pas2_pcm.c | arg = 5000; |
arg | 71 | drivers/sound/pas2_pcm.c | foo = (1193180 + (arg / 2)) / arg; |
arg | 72 | drivers/sound/pas2_pcm.c | arg = 1193180 / foo; |
arg | 77 | drivers/sound/pas2_pcm.c | pcm_speed = arg; |
arg | 120 | drivers/sound/pas2_pcm.c | pcm_set_channels (int arg) |
arg | 123 | drivers/sound/pas2_pcm.c | if ((arg != 1) && (arg != 2)) |
arg | 126 | drivers/sound/pas2_pcm.c | if (arg != pcm_channels) |
arg | 130 | drivers/sound/pas2_pcm.c | pcm_channels = arg; |
arg | 140 | drivers/sound/pas2_pcm.c | pcm_set_bits (int arg) |
arg | 142 | drivers/sound/pas2_pcm.c | if ((arg & pcm_bitsok) != arg) |
arg | 145 | drivers/sound/pas2_pcm.c | if (arg != pcm_bits) |
arg | 149 | drivers/sound/pas2_pcm.c | pcm_bits = arg; |
arg | 156 | drivers/sound/pas2_pcm.c | pas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 158 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
arg | 164 | drivers/sound/pas2_pcm.c | return pcm_set_speed (arg); |
arg | 165 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_speed (IOCTL_IN (arg))); |
arg | 171 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_speed); |
arg | 176 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg + 1) - 1; |
arg | 177 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg) + 1) - 1); |
arg | 182 | drivers/sound/pas2_pcm.c | return pcm_set_channels (arg); |
arg | 183 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_channels (IOCTL_IN (arg))); |
arg | 189 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_channels); |
arg | 194 | drivers/sound/pas2_pcm.c | return pcm_set_bits (arg); |
arg | 195 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_set_bits (IOCTL_IN (arg))); |
arg | 201 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_bits); |
arg | 206 | drivers/sound/pas2_pcm.c | if (IOCTL_IN (arg) > 1) |
arg | 207 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 210 | drivers/sound/pas2_pcm.c | pcm_filter = IOCTL_IN (arg); |
arg | 212 | drivers/sound/pas2_pcm.c | return IOCTL_OUT (arg, pcm_filter); |
arg | 844 | drivers/sound/pss.c | unsigned int cmd, unsigned int arg) |
arg | 865 | drivers/sound/pss.c | COPY_FROM_USER (¶ms, (char *) arg, 0, sizeof (struct pss_speaker)); |
arg | 73 | drivers/sound/sb16_dsp.c | static int sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 139 | drivers/sound/sb16_dsp.c | dsp_set_bits (int arg) |
arg | 141 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_bits(%d)\n", arg)); |
arg | 143 | drivers/sound/sb16_dsp.c | if (arg) |
arg | 144 | drivers/sound/sb16_dsp.c | switch (arg) |
arg | 159 | drivers/sound/sb16_dsp.c | sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 165 | drivers/sound/sb16_dsp.c | return dsp_set_speed (arg); |
arg | 166 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_speed (IOCTL_IN (arg))); |
arg | 171 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 175 | drivers/sound/sb16_dsp.c | return dsp_set_stereo (arg); |
arg | 176 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 180 | drivers/sound/sb16_dsp.c | return dsp_set_stereo (arg - 1) + 1; |
arg | 181 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 186 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 190 | drivers/sound/sb16_dsp.c | return dsp_set_bits (arg); |
arg | 191 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_set_bits (IOCTL_IN (arg))); |
arg | 196 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, dsp_16bit ? 16 : 8); |
arg | 201 | drivers/sound/sb16_dsp.c | if (IOCTL_IN (arg) > 1) |
arg | 202 | drivers/sound/sb16_dsp.c | return IOCTL_OUT (arg, RET_ERROR (EINVAL)); |
arg | 157 | drivers/sound/sb16_midi.c | sb16midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 647 | drivers/sound/sb_dsp.c | sb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
arg | 653 | drivers/sound/sb_dsp.c | return dsp_speed (arg); |
arg | 654 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_speed (IOCTL_IN (arg))); |
arg | 660 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_current_speed); |
arg | 665 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg - 1) + 1; |
arg | 666 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg) - 1) + 1); |
arg | 672 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_stereo + 1); |
arg | 677 | drivers/sound/sb_dsp.c | return dsp_set_stereo (arg); |
arg | 678 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, dsp_set_stereo (IOCTL_IN (arg))); |
arg | 685 | drivers/sound/sb_dsp.c | return IOCTL_OUT (arg, 8);/* |
arg | 192 | drivers/sound/sb_midi.c | sb_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 328 | drivers/sound/sb_mixer.c | sb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
arg | 336 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, set_recmask (IOCTL_IN (arg))); |
arg | 340 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
arg | 349 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, recmask); |
arg | 353 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices); |
arg | 357 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_devices & |
arg | 362 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, supported_rec_devices); |
arg | 366 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, mixer_caps); |
arg | 370 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff)); |
arg | 1326 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 1347 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
arg | 1356 | drivers/sound/sequencer.c | pending_timer = IOCTL_IN (arg); |
arg | 1364 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, pending_timer); |
arg | 1403 | drivers/sound/sequencer.c | midi_dev = IOCTL_IN (arg); |
arg | 1431 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, iqlen); |
arg | 1438 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, SEQ_MAX_QUEUE - qlen); |
arg | 1449 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
arg | 1451 | drivers/sound/sequencer.c | if (IOCTL_IN (arg) != 0) |
arg | 1454 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, HZ); |
arg | 1458 | drivers/sound/sequencer.c | dev = IOCTL_IN (arg); |
arg | 1468 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1472 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, max_synthdev); |
arg | 1476 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, max_mididev); |
arg | 1481 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 1489 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
arg | 1495 | drivers/sound/sequencer.c | int dev = IOCTL_IN (arg); |
arg | 1503 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1513 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 1522 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
arg | 1531 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) &inf, (char *) arg, 0, sizeof (inf)); |
arg | 1537 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf)); |
arg | 1549 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 1570 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 1583 | drivers/sound/sequencer.c | IOCTL_FROM_USER ((char *) inf, (char *) arg, 0, sizeof (*inf)); |
arg | 1604 | drivers/sound/sequencer.c | IOCTL_TO_USER ((char *) arg, 0, (char *) inf, sizeof (*inf)); |
arg | 1612 | drivers/sound/sequencer.c | int tmp = IOCTL_IN (arg); |
arg | 1630 | drivers/sound/sequencer.c | int val = IOCTL_IN (arg); |
arg | 1637 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, val); |
arg | 1654 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
arg | 1838 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
arg | 11 | drivers/sound/sound_calls.h | int DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local); |
arg | 29 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 42 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 64 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 114 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned long arg); |
arg | 192 | drivers/sound/sound_calls.h | int gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg); |
arg | 241 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
arg | 471 | drivers/sound/sound_switch.c | unsigned int cmd, unsigned long arg) |
arg | 473 | drivers/sound/sound_switch.c | DEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg)); |
arg | 479 | drivers/sound/sound_switch.c | return mixer_devs[0]->ioctl (0, cmd, arg); |
arg | 494 | drivers/sound/sound_switch.c | return mixer_devs[dev]->ioctl (dev, cmd, arg); |
arg | 499 | drivers/sound/sound_switch.c | return sequencer_ioctl (dev, file, cmd, arg); |
arg | 505 | drivers/sound/sound_switch.c | return audio_ioctl (dev, file, cmd, arg); |
arg | 510 | drivers/sound/sound_switch.c | return MIDIbuf_ioctl (dev, file, cmd, arg); |
arg | 516 | drivers/sound/sound_switch.c | return pss_ioctl (dev, file, cmd, arg); |
arg | 248 | drivers/sound/sound_timer.c | unsigned int cmd, unsigned int arg) |
arg | 253 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, TMR_INTERNAL); |
arg | 274 | drivers/sound/sound_timer.c | int val = IOCTL_IN (arg); |
arg | 285 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 291 | drivers/sound/sound_timer.c | int val = IOCTL_IN (arg); |
arg | 306 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 311 | drivers/sound/sound_timer.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 314 | drivers/sound/sound_timer.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 120 | drivers/sound/soundcard.c | unsigned int cmd, unsigned long arg) |
arg | 127 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
arg | 199 | drivers/sound/sys_timer.c | unsigned int cmd, unsigned int arg) |
arg | 204 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, TMR_INTERNAL); |
arg | 225 | drivers/sound/sys_timer.c | int val = IOCTL_IN (arg); |
arg | 236 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, curr_timebase); |
arg | 242 | drivers/sound/sys_timer.c | int val = IOCTL_IN (arg); |
arg | 256 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, curr_tempo); |
arg | 261 | drivers/sound/sys_timer.c | if (IOCTL_IN (arg) != 0) /* Can't change */ |
arg | 264 | drivers/sound/sys_timer.c | return IOCTL_OUT (arg, ((curr_tempo * curr_timebase) + 30) / 60); |
arg | 220 | drivers/sound/uart6850.c | uart6850_ioctl (int dev, unsigned cmd, unsigned arg) |
arg | 18 | fs/ext2/ioctl.c | unsigned long arg) |
arg | 23 | fs/ext2/ioctl.c | ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); |
arg | 27 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 29 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
arg | 32 | fs/ext2/ioctl.c | flags = get_fs_long ((long *) arg); |
arg | 60 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
arg | 62 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
arg | 69 | fs/ext2/ioctl.c | inode->u.ext2_i.i_version = get_fs_long ((long *) arg); |
arg | 18 | fs/fcntl.c | extern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg); |
arg | 20 | fs/fcntl.c | static int dupfd(unsigned int fd, unsigned int arg) |
arg | 24 | fs/fcntl.c | if (arg >= NR_OPEN) |
arg | 26 | fs/fcntl.c | while (arg < NR_OPEN) |
arg | 27 | fs/fcntl.c | if (current->files->fd[arg]) |
arg | 28 | fs/fcntl.c | arg++; |
arg | 31 | fs/fcntl.c | if (arg >= NR_OPEN) |
arg | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->files->close_on_exec); |
arg | 34 | fs/fcntl.c | (current->files->fd[arg] = current->files->fd[fd])->f_count++; |
arg | 35 | fs/fcntl.c | return arg; |
arg | 66 | fs/fcntl.c | asmlinkage int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg) |
arg | 74 | fs/fcntl.c | return dupfd(fd,arg); |
arg | 78 | fs/fcntl.c | if (arg&1) |
arg | 90 | fs/fcntl.c | if (IS_APPEND(filp->f_inode) && !(arg & O_APPEND)) |
arg | 92 | fs/fcntl.c | if ((arg & FASYNC) && !(filp->f_flags & FASYNC) && |
arg | 95 | fs/fcntl.c | if (!(arg & FASYNC) && (filp->f_flags & FASYNC) && |
arg | 99 | fs/fcntl.c | filp->f_flags |= arg & (O_APPEND | O_NONBLOCK | |
arg | 103 | fs/fcntl.c | return fcntl_getlk(fd, (struct flock *) arg); |
arg | 105 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 107 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 118 | fs/fcntl.c | filp->f_owner = arg; /* XXX security implications? */ |
arg | 120 | fs/fcntl.c | sock_fcntl (filp, F_SETOWN, arg); |
arg | 126 | 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 | 142 | include/linux/tqueue.h | void *arg; |
arg | 153 | include/linux/tqueue.h | arg = p -> data; |
arg | 157 | include/linux/tqueue.h | (*f)(arg); |
arg | 305 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 325 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 133 | include/linux/tty_driver.h | unsigned int cmd, unsigned long arg); |
arg | 27 | include/linux/tty_ldisc.h | unsigned int cmd, unsigned long arg); |
arg | 115 | include/linux/xd.h | static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg); |
arg | 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 | 142 | 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 | 354 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 368 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |
arg | 369 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |
arg | 370 | net/inet/af_inet.c | sk->proc = arg; |
arg | 1161 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1170 | net/inet/af_inet.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
arg | 1173 | net/inet/af_inet.c | sk->proc = get_fs_long((int *) arg); |
arg | 1177 | net/inet/af_inet.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
arg | 1180 | net/inet/af_inet.c | put_fs_long(sk->proc,(int *)arg); |
arg | 1185 | net/inet/af_inet.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
arg | 1188 | net/inet/af_inet.c | memcpy_tofs((void *)arg,&sk->stamp,sizeof(struct timeval)); |
arg | 1192 | net/inet/af_inet.c | return(ip_rt_ioctl(cmd,(void *) arg)); |
arg | 1196 | net/inet/af_inet.c | return(arp_ioctl(cmd,(void *) arg)); |
arg | 1201 | net/inet/af_inet.c | return(rarp_ioctl(cmd,(void *) arg)); |
arg | 1229 | net/inet/af_inet.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 1234 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
arg | 347 | net/inet/arp.c | static void arp_expire_request (unsigned long arg) |
arg | 349 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
arg | 1117 | net/inet/arp.c | int arp_ioctl(unsigned int cmd, void *arg) |
arg | 1128 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 1131 | net/inet/arp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
arg | 1138 | net/inet/arp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
arg | 1141 | net/inet/arp.c | return arp_req_get((struct arpreq *)arg); |
arg | 1145 | net/inet/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 1148 | net/inet/arp.c | return arp_req_set((struct arpreq *)arg); |
arg | 13 | net/inet/arp.h | extern int arp_ioctl(unsigned int cmd, void *arg); |
arg | 867 | net/inet/dev.c | static int dev_ifconf(char *arg) |
arg | 880 | net/inet/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
arg | 883 | net/inet/dev.c | memcpy_fromfs(&ifc, arg, sizeof(struct ifconf)); |
arg | 931 | net/inet/dev.c | memcpy_tofs(arg, &ifc, sizeof(struct ifconf)); |
arg | 937 | net/inet/dev.c | return(pos - arg); |
arg | 1035 | net/inet/dev.c | static int dev_ifsioc(void *arg, unsigned int getset) |
arg | 1045 | net/inet/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
arg | 1049 | net/inet/dev.c | memcpy_fromfs(&ifr, arg, sizeof(struct ifreq)); |
arg | 1062 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1129 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1154 | 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 | 1188 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1210 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1221 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
arg | 1239 | net/inet/dev.c | printk("NET: ioctl(SIOCGIFMEM, 0x%08X)\n", (int)arg); |
arg | 1244 | net/inet/dev.c | printk("NET: ioctl(SIOCSIFMEM, 0x%08X)\n", (int)arg); |
arg | 1250 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1257 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1273 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1283 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1297 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
arg | 1363 | net/inet/dev.c | int dev_ioctl(unsigned int cmd, void *arg) |
arg | 1373 | net/inet/dev.c | (void) dev_ifconf((char *) arg); |
arg | 1393 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 1412 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
arg | 696 | net/inet/icmp.c | int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 36 | net/inet/icmp.h | unsigned long arg); |
arg | 110 | net/inet/ip.c | int ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 680 | net/inet/ip.c | static void ip_expire(unsigned long arg) |
arg | 684 | net/inet/ip.c | qp = (struct ipq *)arg; |
arg | 70 | net/inet/ip.h | unsigned long arg); |
arg | 406 | net/inet/ipx.c | static int ipxrtr_ioctl(unsigned int cmd, void *arg) |
arg | 412 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
arg | 415 | net/inet/ipx.c | return ipxrtr_delete(get_fs_long(arg)); |
arg | 419 | net/inet/ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(f)); |
arg | 422 | net/inet/ipx.c | memcpy_fromfs(&f,arg,sizeof(f)); |
arg | 466 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 1210 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
arg | 1219 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
arg | 1225 | net/inet/ipx.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 1233 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
arg | 1234 | net/inet/ipx.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 1241 | net/inet/ipx.c | return(ipxrtr_ioctl(cmd,(void *)arg)); |
arg | 1247 | net/inet/ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
arg | 1250 | net/inet/ipx.c | memcpy_tofs((void *)arg,&sk->stamp,sizeof(struct timeval)); |
arg | 1275 | net/inet/ipx.c | return(dev_ioctl(cmd,(void *) arg)); |
arg | 385 | net/inet/rarp.c | int rarp_ioctl(unsigned int cmd, void *arg) |
arg | 396 | net/inet/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 399 | net/inet/rarp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
arg | 407 | net/inet/rarp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
arg | 410 | net/inet/rarp.c | return rarp_req_get((struct arpreq *)arg); |
arg | 414 | net/inet/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
arg | 417 | net/inet/rarp.c | return rarp_req_set((struct arpreq *)arg); |
arg | 5 | net/inet/rarp.h | extern int rarp_ioctl(unsigned int cmd, void *arg); |
arg | 628 | net/inet/route.c | int ip_rt_ioctl(unsigned int cmd, void *arg) |
arg | 639 | net/inet/route.c | err = ip_get_old_rtent((struct old_rtentry *) arg, &rt); |
arg | 648 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
arg | 651 | net/inet/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
arg | 51 | net/inet/route.h | extern int ip_rt_ioctl(unsigned int cmd, void *arg); |
arg | 224 | net/inet/sock.h | unsigned long arg); |
arg | 510 | net/inet/tcp.c | int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
arg | 529 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 533 | net/inet/tcp.c | put_fs_long(amount,(unsigned long *)arg); |
arg | 540 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, |
arg | 544 | net/inet/tcp.c | put_fs_long(answ,(int *) arg); |
arg | 553 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 557 | 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 | 403 | net/inet/udp.c | int udp_ioctl(struct sock *sk, int cmd, 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 | 438 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
arg | 442 | 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 | 64 | net/socket.c | unsigned int cmd, unsigned long arg); |
arg | 437 | net/socket.c | unsigned long arg) |
arg | 446 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
arg | 1097 | net/socket.c | int sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
arg | 1103 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
arg | 79 | net/unix/sock.c | unsigned long arg); |
arg | 819 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 832 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 836 | net/unix/sock.c | put_fs_long(UN_BUF_AVAIL(upd),(unsigned long *)arg); |
arg | 838 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |
arg | 843 | net/unix/sock.c | er=verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 847 | net/unix/sock.c | put_fs_long(UN_BUF_SPACE(peerupd),(unsigned long *)arg); |
arg | 849 | net/unix/sock.c | put_fs_long(0,(unsigned long *)arg); |