tag | line | file | source code |
arg | 12 | fs/ext2/ioctl.c | unsigned long arg) |
arg | 15 | fs/ext2/ioctl.c | printk ("ext2_ioctl: cmd = %d, arg = %d\n", cmd, 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 | int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg) |
arg | 70 | fs/fcntl.c | unsigned long arg); |
arg | 75 | fs/fcntl.c | return dupfd(fd,arg); |
arg | 79 | fs/fcntl.c | if (arg&1) |
arg | 88 | fs/fcntl.c | filp->f_flags |= arg & (O_APPEND | O_NONBLOCK); |
arg | 91 | fs/fcntl.c | return fcntl_getlk(fd, (struct flock *) arg); |
arg | 93 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 95 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
arg | 100 | 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 | 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 | 111 | fs/pipe.c | unsigned int cmd, unsigned long arg) |
arg | 117 | fs/pipe.c | error = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 119 | fs/pipe.c | put_fs_long(PIPE_SIZE(*pino),(unsigned long *) arg); |
arg | 217 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 243 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 379 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
arg | 117 | include/linux/xd.h | static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg); |
arg | 137 | kernel/FPU-emu/fpu_entry.c | void math_emulate(long arg) |
arg | 158 | kernel/FPU-emu/fpu_entry.c | FPU_info = (struct info *) &arg; |
arg | 356 | kernel/FPU-emu/fpu_entry.c | void math_emulate(long arg) |
arg | 43 | kernel/FPU-emu/fpu_proto.h | extern void math_emulate(long arg); |
arg | 48 | kernel/FPU-emu/fpu_proto.h | extern void convert_l2reg(long *arg, FPU_REG *dest); |
arg | 56 | kernel/FPU-emu/fpu_proto.h | extern int poly_2xm1(FPU_REG *arg, FPU_REG *result); |
arg | 58 | kernel/FPU-emu/fpu_proto.h | extern void poly_atan(FPU_REG *arg); |
arg | 61 | kernel/FPU-emu/fpu_proto.h | extern void poly_l2(FPU_REG *arg, FPU_REG *result); |
arg | 62 | kernel/FPU-emu/fpu_proto.h | extern int poly_l2p1(FPU_REG *arg, FPU_REG *result); |
arg | 64 | kernel/FPU-emu/fpu_proto.h | extern void poly_sine(FPU_REG *arg, FPU_REG *result); |
arg | 66 | kernel/FPU-emu/fpu_proto.h | extern void poly_tan(FPU_REG *arg, FPU_REG *y_reg); |
arg | 52 | kernel/FPU-emu/fpu_trig.c | void convert_l2reg(long *arg, FPU_REG *dest) |
arg | 54 | kernel/FPU-emu/fpu_trig.c | long num = *arg; |
arg | 379 | kernel/FPU-emu/fpu_trig.c | static int f_cos(FPU_REG *arg) |
arg | 381 | kernel/FPU-emu/fpu_trig.c | if ( arg->tag == TW_Valid ) |
arg | 384 | kernel/FPU-emu/fpu_trig.c | char arg_sign = arg->sign; |
arg | 385 | kernel/FPU-emu/fpu_trig.c | arg->sign = SIGN_POS; |
arg | 386 | kernel/FPU-emu/fpu_trig.c | if ( (q = trig_arg(arg)) != -1 ) |
arg | 391 | kernel/FPU-emu/fpu_trig.c | reg_sub(&CONST_1, arg, arg, FULL_PRECISION); |
arg | 393 | kernel/FPU-emu/fpu_trig.c | poly_sine(arg, &rv); |
arg | 398 | kernel/FPU-emu/fpu_trig.c | reg_move(&rv, arg); |
arg | 406 | kernel/FPU-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
arg | 411 | kernel/FPU-emu/fpu_trig.c | else if ( arg->tag == TW_Zero ) |
arg | 413 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_1, arg); |
arg | 440 | kernel/FPU-emu/fpu_trig.c | FPU_REG arg; |
arg | 445 | kernel/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
arg | 446 | kernel/FPU-emu/fpu_trig.c | if ( !f_cos(&arg) ) |
arg | 450 | kernel/FPU-emu/fpu_trig.c | reg_move(&arg,FPU_st0_ptr); |
arg | 40 | kernel/FPU-emu/poly_2xm1.c | int poly_2xm1(FPU_REG *arg, FPU_REG *result) |
arg | 47 | kernel/FPU-emu/poly_2xm1.c | exponent = arg->exp - EXP_BIAS; |
arg | 49 | kernel/FPU-emu/poly_2xm1.c | if ( arg->tag == TW_Zero ) |
arg | 62 | kernel/FPU-emu/poly_2xm1.c | if ( arg->sign != SIGN_POS ) /* Can't hack a number < 0.0 */ |
arg | 74 | kernel/FPU-emu/poly_2xm1.c | *(unsigned *)&Xll = arg->sigl; |
arg | 75 | kernel/FPU-emu/poly_2xm1.c | *(((unsigned *)&Xll)+1) = arg->sigh; |
arg | 50 | kernel/FPU-emu/poly_atan.c | void poly_atan(FPU_REG *arg) |
arg | 60 | kernel/FPU-emu/poly_atan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 61 | kernel/FPU-emu/poly_atan.c | { arith_invalid(arg); return; } |
arg | 64 | kernel/FPU-emu/poly_atan.c | exponent = arg->exp - EXP_BIAS; |
arg | 66 | kernel/FPU-emu/poly_atan.c | if ( arg->tag == TW_Zero ) |
arg | 69 | kernel/FPU-emu/poly_atan.c | reg_move(&CONST_Z, arg); |
arg | 80 | kernel/FPU-emu/poly_atan.c | (arg->sigl == 0) && (arg->sigh == 0x80000000) ) |
arg | 83 | kernel/FPU-emu/poly_atan.c | reg_move(&CONST_PI4, arg); |
arg | 93 | kernel/FPU-emu/poly_atan.c | if ( (exponent >= -1) || (arg->sigh > 0xd413ccd0) ) |
arg | 99 | kernel/FPU-emu/poly_atan.c | arg_signif = *(long long *)&(arg->sigl); |
arg | 109 | kernel/FPU-emu/poly_atan.c | arg_signif = *(long long *)&(arg->sigl); |
arg | 115 | kernel/FPU-emu/poly_atan.c | arg->exp = numerator.exp; |
arg | 116 | kernel/FPU-emu/poly_atan.c | reg_u_div(&numerator, &denom, arg, FULL_PRECISION); |
arg | 118 | kernel/FPU-emu/poly_atan.c | exponent = arg->exp - EXP_BIAS; |
arg | 122 | kernel/FPU-emu/poly_atan.c | *(long long *)&arg_signif = *(long long *)&(arg->sigl); |
arg | 166 | kernel/FPU-emu/poly_atan.c | reg_u_mul(&odd_poly, arg, &odd_poly, FULL_PRECISION); |
arg | 177 | kernel/FPU-emu/poly_atan.c | reg_div(&odd_poly, &even_poly, arg, FULL_PRECISION); |
arg | 180 | kernel/FPU-emu/poly_atan.c | reg_sub(&CONST_PI4, arg, arg, FULL_PRECISION); |
arg | 43 | kernel/FPU-emu/poly_l2.c | void poly_l2(FPU_REG *arg, FPU_REG *result) |
arg | 52 | kernel/FPU-emu/poly_l2.c | exponent = arg->exp - EXP_BIAS; |
arg | 56 | kernel/FPU-emu/poly_l2.c | if ( arg->sigh > (unsigned)0xb504f334 ) |
arg | 65 | kernel/FPU-emu/poly_l2.c | reg_u_div(&CONST_1, arg, &num, FULL_PRECISION); |
arg | 70 | kernel/FPU-emu/poly_l2.c | num.sigl = arg->sigl; /* copy the mantissa */ |
arg | 71 | kernel/FPU-emu/poly_l2.c | num.sigh = arg->sigh; |
arg | 125 | kernel/FPU-emu/poly_l2.c | *((long long *)&num.sigl) = - *((long long *)&(arg->sigl)); |
arg | 127 | kernel/FPU-emu/poly_l2.c | reg_div(&num, arg, &num, FULL_PRECISION); |
arg | 226 | kernel/FPU-emu/poly_l2.c | int poly_l2p1(FPU_REG *arg, FPU_REG *result) |
arg | 233 | kernel/FPU-emu/poly_l2.c | sign = arg->sign; |
arg | 235 | kernel/FPU-emu/poly_l2.c | reg_add(arg, &CONST_1, &arg_pl1, FULL_PRECISION); |
arg | 243 | kernel/FPU-emu/poly_l2.c | reg_div(arg, &denom, &local_arg, FULL_PRECISION); |
arg | 43 | kernel/FPU-emu/poly_sin.c | void poly_sine(FPU_REG *arg, FPU_REG *result) |
arg | 49 | kernel/FPU-emu/poly_sin.c | exponent = arg->exp - EXP_BIAS; |
arg | 51 | kernel/FPU-emu/poly_sin.c | if ( arg->tag == TW_Zero ) |
arg | 59 | kernel/FPU-emu/poly_sin.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 68 | kernel/FPU-emu/poly_sin.c | if ( (exponent == 0) && (arg->sigl == 0) && (arg->sigh == 0x80000000) ) |
arg | 79 | kernel/FPU-emu/poly_sin.c | Xx.sigl = arg->sigl; |
arg | 80 | kernel/FPU-emu/poly_sin.c | Xx.sigh = arg->sigh; |
arg | 122 | kernel/FPU-emu/poly_sin.c | reg_mul(result, arg, result, FULL_PRECISION); |
arg | 123 | kernel/FPU-emu/poly_sin.c | reg_u_add(result, arg, result, FULL_PRECISION); |
arg | 52 | kernel/FPU-emu/poly_tan.c | void poly_tan(FPU_REG *arg, FPU_REG *y_reg) |
arg | 61 | kernel/FPU-emu/poly_tan.c | exponent = arg->exp - EXP_BIAS; |
arg | 63 | kernel/FPU-emu/poly_tan.c | if ( arg->tag == TW_Zero ) |
arg | 77 | kernel/FPU-emu/poly_tan.c | (arg->sigl == 0) && (arg->sigh == 0x80000000) ) |
arg | 89 | kernel/FPU-emu/poly_tan.c | *((long long *)(&arg->sigl)) = - *((long long *)(&arg->sigl)); |
arg | 90 | kernel/FPU-emu/poly_tan.c | normalize(arg); /* Needed later */ |
arg | 91 | kernel/FPU-emu/poly_tan.c | exponent = arg->exp - EXP_BIAS; |
arg | 96 | kernel/FPU-emu/poly_tan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
arg | 100 | kernel/FPU-emu/poly_tan.c | *(long long *)&arg_signif = *(long long *)&(arg->sigl); |
arg | 136 | kernel/FPU-emu/poly_tan.c | reg_mul(&odd_poly, arg, &odd_poly, FULL_PRECISION); |
arg | 137 | kernel/FPU-emu/poly_tan.c | reg_u_add(&odd_poly, arg, &odd_poly, FULL_PRECISION); /* This is just the odd polynomial */ |
arg | 510 | kernel/blk_drv/hd.c | unsigned int cmd, unsigned long arg) |
arg | 512 | kernel/blk_drv/hd.c | struct hd_geometry *loc = (void *) arg; |
arg | 536 | kernel/blk_drv/hd.c | if (!arg) return -EINVAL; |
arg | 537 | kernel/blk_drv/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 541 | kernel/blk_drv/hd.c | (long *) arg); |
arg | 545 | kernel/blk_drv/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 225 | kernel/blk_drv/scsi/scsi_ioctl.c | int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) |
arg | 236 | kernel/blk_drv/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, (void *) arg, sizeof(int)); |
arg | 238 | kernel/blk_drv/scsi/scsi_ioctl.c | (dev->host_no << 16), (long *) arg); |
arg | 241 | kernel/blk_drv/scsi/scsi_ioctl.c | return ioctl_probe(dev->host_no, arg); |
arg | 243 | kernel/blk_drv/scsi/scsi_ioctl.c | return ioctl_command((Scsi_Device *) dev, arg); |
arg | 14 | kernel/blk_drv/scsi/sd_ioctl.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 17 | kernel/blk_drv/scsi/sd_ioctl.c | int sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 22 | kernel/blk_drv/scsi/sd_ioctl.c | struct hd_geometry *loc = (void *) arg; |
arg | 48 | kernel/blk_drv/scsi/sd_ioctl.c | if (!arg) return -EINVAL; |
arg | 49 | kernel/blk_drv/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
arg | 53 | kernel/blk_drv/scsi/sd_ioctl.c | (long *) arg); |
arg | 58 | kernel/blk_drv/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
arg | 1398 | kernel/blk_drv/scsi/seagate.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 18 | kernel/blk_drv/scsi/sr_ioctl.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
arg | 92 | kernel/blk_drv/scsi/sr_ioctl.c | int sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
arg | 133 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_fromfs(&msf, (void *) arg, sizeof(msf)); |
arg | 153 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_fromfs(&ti, (void *) arg, sizeof(ti)); |
arg | 189 | kernel/blk_drv/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tochdr)); |
arg | 190 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tochdr, sizeof (struct cdrom_tochdr)); |
arg | 200 | kernel/blk_drv/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 201 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 222 | kernel/blk_drv/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tocentry)); |
arg | 223 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |
arg | 265 | kernel/blk_drv/scsi/sr_ioctl.c | verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 266 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_fromfs (&volctrl, (void *) arg, sizeof (struct cdrom_volctrl)); |
arg | 341 | kernel/blk_drv/scsi/sr_ioctl.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_subchnl)); |
arg | 342 | kernel/blk_drv/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |
arg | 351 | kernel/blk_drv/scsi/sr_ioctl.c | RO_IOCTLS(dev,arg); |
arg | 353 | kernel/blk_drv/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
arg | 86 | kernel/blk_drv/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
arg | 848 | kernel/blk_drv/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 865 | kernel/blk_drv/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 866 | kernel/blk_drv/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 867 | kernel/blk_drv/scsi/st.c | cmd[4] = arg; |
arg | 877 | kernel/blk_drv/scsi/st.c | ltmp = (-arg); |
arg | 891 | kernel/blk_drv/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 892 | kernel/blk_drv/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 893 | kernel/blk_drv/scsi/st.c | cmd[4] = arg; |
arg | 902 | kernel/blk_drv/scsi/st.c | ltmp = (-arg); |
arg | 917 | kernel/blk_drv/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 918 | kernel/blk_drv/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 919 | kernel/blk_drv/scsi/st.c | cmd[4] = arg; |
arg | 982 | kernel/blk_drv/scsi/st.c | cmd[2] = (arg >> 16); |
arg | 983 | kernel/blk_drv/scsi/st.c | cmd[3] = (arg >> 8); |
arg | 984 | kernel/blk_drv/scsi/st.c | cmd[4] = arg; |
arg | 990 | kernel/blk_drv/scsi/st.c | cmd[3] = (arg >> 24); |
arg | 991 | kernel/blk_drv/scsi/st.c | cmd[4] = (arg >> 16); |
arg | 992 | kernel/blk_drv/scsi/st.c | cmd[5] = (arg >> 8); |
arg | 993 | kernel/blk_drv/scsi/st.c | cmd[6] = arg; |
arg | 1000 | kernel/blk_drv/scsi/st.c | printk("st%d: Seeking tape to block %d.\n", dev, arg); |
arg | 1008 | kernel/blk_drv/scsi/st.c | (arg < scsi_tapes[dev].min_block || arg > scsi_tapes[dev].max_block || |
arg | 1009 | kernel/blk_drv/scsi/st.c | arg > ST_BUFFER_SIZE)) { |
arg | 1020 | kernel/blk_drv/scsi/st.c | ltmp = arg; |
arg | 1022 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[4] = arg; |
arg | 1064 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].block_size = arg; |
arg | 1089 | kernel/blk_drv/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
arg | 1112 | kernel/blk_drv/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(mtc)); |
arg | 1116 | kernel/blk_drv/scsi/st.c | memcpy_fromfs((char *) &mtc, (char *)arg, sizeof(struct mtop)); |
arg | 1130 | kernel/blk_drv/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
arg | 1134 | kernel/blk_drv/scsi/st.c | memcpy_tofs((char *)arg, (char *)scsi_tapes[dev].buffer->mt_status, |
arg | 1149 | kernel/blk_drv/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtpos)); |
arg | 1196 | kernel/blk_drv/scsi/st.c | memcpy_tofs((char *)arg, (char *) (&mt_pos), sizeof(struct mtpos)); |
arg | 1200 | kernel/blk_drv/scsi/st.c | return scsi_ioctl(scsi_tapes[dev].device, cmd_in, (void *) arg); |
arg | 193 | kernel/blk_drv/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
arg | 195 | kernel/blk_drv/xd.c | XD_GEOMETRY *geometry = (XD_GEOMETRY *) arg; |
arg | 200 | kernel/blk_drv/xd.c | case HDIO_GETGEO: if (arg) { |
arg | 211 | kernel/blk_drv/xd.c | case BLKGETSIZE: if (arg) { |
arg | 212 | kernel/blk_drv/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
arg | 214 | kernel/blk_drv/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
arg | 220 | kernel/blk_drv/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
arg | 1436 | kernel/chr_drv/console.c | int do_screendump(int arg) |
arg | 1438 | kernel/chr_drv/console.c | char *sptr, *buf = (char *)arg; |
arg | 330 | kernel/chr_drv/lp.c | unsigned int cmd, unsigned long arg) |
arg | 335 | kernel/chr_drv/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
arg | 343 | kernel/chr_drv/lp.c | LP_TIME(minor) = arg; |
arg | 346 | kernel/chr_drv/lp.c | LP_CHAR(minor) = arg; |
arg | 349 | kernel/chr_drv/lp.c | if(arg) |
arg | 354 | kernel/chr_drv/lp.c | LP_WAIT(minor) = arg; |
arg | 359 | kernel/chr_drv/lp.c | int newirq = arg; |
arg | 405 | kernel/chr_drv/lp.c | arg = LP_IRQ(minor); |
arg | 407 | kernel/chr_drv/lp.c | default: arg = -EINVAL; |
arg | 409 | kernel/chr_drv/lp.c | return arg; |
arg | 929 | kernel/chr_drv/serial.c | unsigned int arg = get_fs_long((unsigned long *) value); |
arg | 935 | kernel/chr_drv/serial.c | if (arg & TIOCM_RTS) |
arg | 937 | kernel/chr_drv/serial.c | if (arg & TIOCM_DTR) |
arg | 941 | kernel/chr_drv/serial.c | if (arg & TIOCM_RTS) |
arg | 943 | kernel/chr_drv/serial.c | if (arg & TIOCM_DTR) |
arg | 948 | kernel/chr_drv/serial.c | | ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0) |
arg | 949 | kernel/chr_drv/serial.c | | ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0); |
arg | 973 | kernel/chr_drv/serial.c | unsigned int cmd, unsigned long arg) |
arg | 986 | kernel/chr_drv/serial.c | if (!arg) |
arg | 991 | kernel/chr_drv/serial.c | send_break(info, arg ? arg*(HZ/10) : HZ/4); |
arg | 994 | kernel/chr_drv/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(unsigned int *)); |
arg | 998 | kernel/chr_drv/serial.c | (unsigned long *) arg); |
arg | 1001 | kernel/chr_drv/serial.c | arg = get_fs_long((unsigned long *) arg); |
arg | 1004 | kernel/chr_drv/serial.c | (arg ? CLOCAL : 0)); |
arg | 1007 | kernel/chr_drv/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg,sizeof(unsigned int *)); |
arg | 1010 | kernel/chr_drv/serial.c | return get_modem_info(info, (unsigned int *) arg); |
arg | 1014 | kernel/chr_drv/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
arg | 1016 | kernel/chr_drv/serial.c | error = verify_area(VERIFY_WRITE, (void *) arg, |
arg | 1021 | kernel/chr_drv/serial.c | (struct serial_struct *) arg); |
arg | 1024 | kernel/chr_drv/serial.c | (struct serial_struct *) arg); |
arg | 185 | kernel/chr_drv/tty_io.c | unsigned int cmd, unsigned long arg) |
arg | 31 | kernel/chr_drv/tty_ioctl.c | extern int do_screendump(int arg); |
arg | 95 | kernel/chr_drv/tty_ioctl.c | static int do_get_ps_info(int arg) |
arg | 102 | kernel/chr_drv/tty_ioctl.c | struct tstruct *ts = (struct tstruct *)arg; |
arg | 107 | kernel/chr_drv/tty_ioctl.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct tstruct)); |
arg | 304 | kernel/chr_drv/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
arg | 334 | kernel/chr_drv/tty_ioctl.c | return get_termios(termios_tty,(struct termios *) arg); |
arg | 342 | kernel/chr_drv/tty_ioctl.c | return set_termios(termios_tty,(struct termios *) arg, termios_dev); |
arg | 344 | kernel/chr_drv/tty_ioctl.c | return get_termio(termios_tty,(struct termio *) arg); |
arg | 351 | kernel/chr_drv/tty_ioctl.c | return set_termio(termios_tty,(struct termio *) arg, termios_dev); |
arg | 353 | kernel/chr_drv/tty_ioctl.c | switch (arg) { |
arg | 375 | kernel/chr_drv/tty_ioctl.c | if (arg==0) |
arg | 377 | kernel/chr_drv/tty_ioctl.c | else if (arg==1) |
arg | 379 | kernel/chr_drv/tty_ioctl.c | else if (arg==2) { |
arg | 392 | kernel/chr_drv/tty_ioctl.c | (arg == 1 && suser())) { |
arg | 400 | kernel/chr_drv/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 402 | kernel/chr_drv/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
arg | 409 | kernel/chr_drv/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
arg | 417 | kernel/chr_drv/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 420 | kernel/chr_drv/tty_ioctl.c | (unsigned long *) arg); |
arg | 423 | kernel/chr_drv/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 427 | kernel/chr_drv/tty_ioctl.c | put_fs_long(0, (unsigned long *) arg); |
arg | 430 | kernel/chr_drv/tty_ioctl.c | (unsigned long *) arg); |
arg | 435 | kernel/chr_drv/tty_ioctl.c | return get_window_size(tty,(struct winsize *) arg); |
arg | 438 | kernel/chr_drv/tty_ioctl.c | set_window_size(other_tty,(struct winsize *) arg); |
arg | 439 | kernel/chr_drv/tty_ioctl.c | return set_window_size(tty,(struct winsize *) arg); |
arg | 445 | kernel/chr_drv/tty_ioctl.c | switch (get_fs_byte((char *)arg)) |
arg | 448 | kernel/chr_drv/tty_ioctl.c | return do_screendump(arg); |
arg | 450 | kernel/chr_drv/tty_ioctl.c | return do_get_ps_info(arg); |
arg | 473 | kernel/chr_drv/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 474 | kernel/chr_drv/tty_ioctl.c | if (arg) |
arg | 491 | kernel/chr_drv/tty_ioctl.c | retval = verify_area(VERIFY_WRITE, (void *) arg,4); |
arg | 493 | kernel/chr_drv/tty_ioctl.c | put_fs_long(tty->disc, (unsigned long *) arg); |
arg | 496 | kernel/chr_drv/tty_ioctl.c | arg = get_fs_long((unsigned long *) arg); |
arg | 497 | kernel/chr_drv/tty_ioctl.c | return tty_set_ldisc(tty, arg); |
arg | 503 | kernel/chr_drv/tty_ioctl.c | retval = verify_area(VERIFY_READ, (unsigned long *)arg, sizeof (int)); |
arg | 506 | kernel/chr_drv/tty_ioctl.c | on=get_fs_long ((unsigned long *)arg); |
arg | 516 | kernel/chr_drv/tty_ioctl.c | retval = (tty->ioctl)(tty, file, cmd, arg); |
arg | 522 | kernel/chr_drv/tty_ioctl.c | (tty, file, cmd, arg); |
arg | 105 | kernel/chr_drv/vt.c | unsigned int cmd, unsigned long arg) |
arg | 119 | kernel/chr_drv/vt.c | kd_mksound((unsigned int)arg, 0); |
arg | 124 | kernel/chr_drv/vt.c | unsigned int ticks = HZ * ((arg >> 16) & 0xffff) / 1000; |
arg | 130 | kernel/chr_drv/vt.c | kd_mksound(arg & 0xffff, ticks); |
arg | 140 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 142 | kernel/chr_drv/vt.c | put_fs_byte(KB_101, (unsigned char *) arg); |
arg | 151 | kernel/chr_drv/vt.c | if (arg < GPFIRST || arg > GPLAST) |
arg | 153 | kernel/chr_drv/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
arg | 166 | kernel/chr_drv/vt.c | switch (arg) { |
arg | 171 | kernel/chr_drv/vt.c | arg = KD_TEXT; |
arg | 177 | kernel/chr_drv/vt.c | if (vt_cons[console].vc_mode == (unsigned char) arg) |
arg | 179 | kernel/chr_drv/vt.c | vt_cons[console].vc_mode = (unsigned char) arg; |
arg | 185 | kernel/chr_drv/vt.c | if (arg == KD_TEXT) |
arg | 194 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 196 | kernel/chr_drv/vt.c | put_fs_long(vt_cons[console].vc_mode, (unsigned long *) arg); |
arg | 208 | kernel/chr_drv/vt.c | if (arg == K_RAW) { |
arg | 210 | kernel/chr_drv/vt.c | } else if (arg == K_XLATE) { |
arg | 219 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long)); |
arg | 222 | kernel/chr_drv/vt.c | put_fs_long(ucval ? K_RAW : K_XLATE, (unsigned long *) arg); |
arg | 227 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned char)); |
arg | 237 | kernel/chr_drv/vt.c | put_fs_byte(ucval, (unsigned char *) arg); |
arg | 241 | kernel/chr_drv/vt.c | if (arg & ~7) |
arg | 243 | kernel/chr_drv/vt.c | if (arg & LED_SCR) |
arg | 247 | kernel/chr_drv/vt.c | if (arg & LED_NUM) |
arg | 251 | kernel/chr_drv/vt.c | if (arg & LED_CAP) |
arg | 260 | kernel/chr_drv/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 282 | kernel/chr_drv/vt.c | struct vt_mode *vtmode = (struct vt_mode *)arg; |
arg | 284 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct vt_mode)); |
arg | 301 | kernel/chr_drv/vt.c | struct vt_stat *vtstat = (struct vt_stat *)arg; |
arg | 320 | kernel/chr_drv/vt.c | i = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long)); |
arg | 326 | kernel/chr_drv/vt.c | put_fs_long(i <= NR_CONSOLES ? i : -1, (unsigned long *)arg); |
arg | 335 | kernel/chr_drv/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 337 | kernel/chr_drv/vt.c | change_console(arg - 1); |
arg | 344 | kernel/chr_drv/vt.c | if (arg == 0 || arg > NR_CONSOLES) |
arg | 346 | kernel/chr_drv/vt.c | while (fg_console != arg - 1) |
arg | 372 | kernel/chr_drv/vt.c | if (arg == 0) |
arg | 399 | kernel/chr_drv/vt.c | if (arg != VT_ACKACQ) |
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 | 60 | net/kern_sock.h | int (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg); |
arg | 76 | net/kern_sock.h | unsigned long arg); |
arg | 59 | net/socket.c | unsigned int cmd, unsigned long arg); |
arg | 284 | net/socket.c | unsigned long arg) |
arg | 288 | net/socket.c | PRINTK(("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg)); |
arg | 293 | net/socket.c | return sock->ops->ioctl(sock, cmd, arg); |
arg | 827 | net/socket.c | sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
arg | 833 | net/socket.c | return (sock->ops->fcntl (sock, cmd, arg)); |
arg | 144 | net/tcp/sock.c | unsigned long arg); |
arg | 166 | net/tcp/sock.c | unsigned long arg); |
arg | 670 | net/tcp/sock.c | ip_proto_fcntl (struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 687 | net/tcp/sock.c | if (!suser() && current->pgrp != -arg && current->pid != arg) |
arg | 690 | net/tcp/sock.c | sk->proc = arg; |
arg | 695 | net/tcp/sock.c | sk->proc = arg; |
arg | 1635 | net/tcp/sock.c | unsigned long arg) |
arg | 1652 | net/tcp/sock.c | return (ip_set_dev((struct ip_config *)arg)); |
arg | 1657 | net/tcp/sock.c | return (arp_ioctl_set((struct arpreq *)arg)); |
arg | 1660 | net/tcp/sock.c | return (arp_ioctl_get((struct arpreq *)arg)); |
arg | 1665 | net/tcp/sock.c | return (arp_ioctl_del((struct arpreq *)arg)); |
arg | 1671 | net/tcp/sock.c | user = get_fs_long ((void *) arg); |
arg | 1679 | net/tcp/sock.c | verify_area (VERIFY_WRITE, (void *)arg, sizeof (long)); |
arg | 1680 | net/tcp/sock.c | put_fs_long (sk->proc, (void *)arg); |
arg | 1687 | net/tcp/sock.c | return (sk->prot->ioctl (sk, cmd, arg)); |
arg | 144 | net/tcp/sock.h | int (*ioctl) (volatile struct sock *sk, int cmd, unsigned long arg); |
arg | 380 | net/tcp/tcp.c | tcp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg) |
arg | 382 | net/tcp/tcp.c | PRINTK (("tcp_ioctl (sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg)); |
arg | 404 | net/tcp/tcp.c | verify_area (VERIFY_WRITE, (void *)arg, sizeof (unsigned long)); |
arg | 405 | net/tcp/tcp.c | put_fs_long (amount, (unsigned long *)arg); |
arg | 422 | net/tcp/tcp.c | verify_area (VERIFY_WRITE, (void *) arg, sizeof (unsigned long)); |
arg | 423 | net/tcp/tcp.c | put_fs_long (answ, (void *) arg); |
arg | 433 | net/tcp/tcp.c | verify_area (VERIFY_WRITE, (void *)arg, sizeof (unsigned long)); |
arg | 434 | net/tcp/tcp.c | put_fs_long (amount, (unsigned long *)arg); |
arg | 473 | net/tcp/udp.c | udp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg) |
arg | 486 | net/tcp/udp.c | verify_area (VERIFY_WRITE, (void *)arg, sizeof (unsigned long)); |
arg | 487 | net/tcp/udp.c | put_fs_long (amount, (unsigned long *)arg); |
arg | 508 | net/tcp/udp.c | verify_area (VERIFY_WRITE, (void *)arg, sizeof (unsigned long)); |
arg | 509 | net/tcp/udp.c | put_fs_long (amount, (unsigned long *)arg); |
arg | 62 | net/unix.c | unsigned long arg); |
arg | 728 | net/unix.c | unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
arg | 740 | net/unix.c | verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 742 | net/unix.c | put_fs_long(UN_BUF_AVAIL(upd), (unsigned long *)arg); |
arg | 744 | net/unix.c | put_fs_long(1, (unsigned long *)arg); /* read EOF */ |
arg | 750 | net/unix.c | verify_area(VERIFY_WRITE,(void *)arg, sizeof(unsigned long)); |
arg | 753 | net/unix.c | (unsigned long *)arg); |
arg | 755 | net/unix.c | put_fs_long(0, (unsigned long *)arg); |