taglinefilesource code
arg20fs/fcntl.cstatic int dupfd(unsigned int fd, unsigned int arg)
arg24fs/fcntl.cif (arg >= NR_OPEN)
arg26fs/fcntl.cwhile (arg < NR_OPEN)
arg27fs/fcntl.cif (current->filp[arg])
arg28fs/fcntl.carg++;
arg31fs/fcntl.cif (arg >= NR_OPEN)
arg33fs/fcntl.cFD_CLR(arg, &current->close_on_exec);
arg34fs/fcntl.c(current->filp[arg] = current->filp[fd])->f_count++;
arg35fs/fcntl.creturn arg;
arg53fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
arg57fs/fcntl.cunsigned long arg);
arg62fs/fcntl.creturn dupfd(fd,arg);
arg66fs/fcntl.cif (arg&1)
arg75fs/fcntl.cfilp->f_flags |= arg & (O_APPEND | O_NONBLOCK);
arg78fs/fcntl.creturn fcntl_getlk(fd, (struct flock *) arg);
arg80fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
arg82fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
arg87fs/fcntl.creturn (sock_fcntl (filp, cmd, arg));
arg16fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
arg26fs/ioctl.cverify_area((void *) arg,4);
arg27fs/ioctl.cblock = get_fs_long((long *) arg);
arg29fs/ioctl.cput_fs_long(block,(long *) arg);
arg34fs/ioctl.cverify_area((void *) arg,4);
arg36fs/ioctl.c(long *) arg);
arg39fs/ioctl.cverify_area((void *) arg,4);
arg41fs/ioctl.c(long *) arg);
arg49fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
arg66fs/ioctl.con = get_fs_long((unsigned long *) arg);
arg75fs/ioctl.con = get_fs_long ((unsigned long *) arg);
arg84fs/ioctl.creturn file_ioctl(filp,cmd,arg);
arg87fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
arg107fs/pipe.cunsigned int cmd, unsigned int arg)
arg111fs/pipe.cverify_area((void *) arg,4);
arg112fs/pipe.cput_fs_long(PIPE_SIZE(*pino),(unsigned long *) arg);
arg192include/linux/tty.hunsigned int cmd, unsigned int arg);
arg310include/linux/tty.hunsigned int cmd, unsigned int arg);
arg81kernel/FPU-emu/fpu_entry.cvoid math_emulate(long arg)
arg102kernel/FPU-emu/fpu_entry.cFPU_info = (struct info *) &arg;
arg287kernel/FPU-emu/fpu_entry.cvoid math_emulate(long arg)
arg42kernel/FPU-emu/fpu_proto.hextern void math_emulate(long arg);
arg46kernel/FPU-emu/fpu_proto.hextern void convert_l2reg(long *arg, struct fpu_reg *dest);
arg54kernel/FPU-emu/fpu_proto.hextern int poly_2xm1(struct fpu_reg *arg, struct fpu_reg *result);
arg56kernel/FPU-emu/fpu_proto.hextern void poly_atan(struct fpu_reg *arg);
arg59kernel/FPU-emu/fpu_proto.hextern void poly_l2(struct fpu_reg *arg, struct fpu_reg *result);
arg60kernel/FPU-emu/fpu_proto.hextern int poly_l2p1(struct fpu_reg *arg, struct fpu_reg *result);
arg62kernel/FPU-emu/fpu_proto.hextern void poly_sine(struct fpu_reg *arg, struct fpu_reg *result);
arg64kernel/FPU-emu/fpu_proto.hextern void poly_tan(struct fpu_reg *arg, struct fpu_reg *y_reg);
arg51kernel/FPU-emu/fpu_trig.cvoid convert_l2reg(long *arg, FPU_REG *dest)
arg53kernel/FPU-emu/fpu_trig.clong num = *arg;
arg377kernel/FPU-emu/fpu_trig.cstatic int f_cos(FPU_REG *arg)
arg379kernel/FPU-emu/fpu_trig.cif ( arg->tag == TW_Valid )
arg382kernel/FPU-emu/fpu_trig.cchar arg_sign = arg->sign;
arg383kernel/FPU-emu/fpu_trig.carg->sign = SIGN_POS;
arg384kernel/FPU-emu/fpu_trig.cif ( (q = trig_arg(arg)) != -1 )
arg389kernel/FPU-emu/fpu_trig.creg_sub(&CONST_1, arg, arg);
arg391kernel/FPU-emu/fpu_trig.cpoly_sine(arg, &rv);
arg396kernel/FPU-emu/fpu_trig.creg_move(&rv, arg);
arg404kernel/FPU-emu/fpu_trig.carg->sign = arg_sign;         /* restore st(0) */
arg409kernel/FPU-emu/fpu_trig.celse if ( arg->tag == TW_Zero )
arg411kernel/FPU-emu/fpu_trig.creg_move(&CONST_1, arg);
arg438kernel/FPU-emu/fpu_trig.cFPU_REG arg;
arg443kernel/FPU-emu/fpu_trig.creg_move(FPU_st0_ptr,&arg);
arg444kernel/FPU-emu/fpu_trig.cif ( !f_cos(&arg) )
arg448kernel/FPU-emu/fpu_trig.creg_move(&arg,FPU_st0_ptr);
arg40kernel/FPU-emu/poly_2xm1.cint  poly_2xm1(FPU_REG *arg, FPU_REG *result)
arg47kernel/FPU-emu/poly_2xm1.cexponent = arg->exp - EXP_BIAS;
arg49kernel/FPU-emu/poly_2xm1.cif ( arg->tag == TW_Zero )
arg62kernel/FPU-emu/poly_2xm1.cif ( arg->sign != SIGN_POS )  /* Can't hack a number < 0.0 */
arg74kernel/FPU-emu/poly_2xm1.c*(unsigned *)&Xll = arg->sigl;
arg75kernel/FPU-emu/poly_2xm1.c*(((unsigned *)&Xll)+1) = arg->sigh;
arg48kernel/FPU-emu/poly_atan.cvoid  poly_atan(FPU_REG *arg)
arg58kernel/FPU-emu/poly_atan.cif ( arg->sign != 0 )  /* Can't hack a number < 0.0 */
arg59kernel/FPU-emu/poly_atan.c{ arith_invalid(arg); return; }
arg62kernel/FPU-emu/poly_atan.cexponent = arg->exp - EXP_BIAS;
arg64kernel/FPU-emu/poly_atan.cif ( arg->tag == TW_Zero )
arg67kernel/FPU-emu/poly_atan.creg_move(&CONST_Z, arg);
arg78kernel/FPU-emu/poly_atan.c(arg->sigl == 0) && (arg->sigh == 0x80000000) )
arg81kernel/FPU-emu/poly_atan.creg_move(&CONST_PI4, arg);
arg91kernel/FPU-emu/poly_atan.cif ( (exponent >= -1) || (arg->sigh > 0xd413ccd0) )
arg97kernel/FPU-emu/poly_atan.carg_signif = *(long long *)&(arg->sigl);
arg107kernel/FPU-emu/poly_atan.carg_signif = *(long long *)&(arg->sigl);
arg113kernel/FPU-emu/poly_atan.carg->exp = numerator.exp;
arg115kernel/FPU-emu/poly_atan.c(long long *)&(denom.sigl), arg);
arg117kernel/FPU-emu/poly_atan.cexponent = arg->exp - EXP_BIAS;
arg121kernel/FPU-emu/poly_atan.c*(long long *)&arg_signif = *(long long *)&(arg->sigl);
arg164kernel/FPU-emu/poly_atan.creg_u_mul(&odd_poly, arg, &odd_poly);  /* The complete odd polynomial */
arg175kernel/FPU-emu/poly_atan.creg_div(&odd_poly, &even_poly, arg);
arg178kernel/FPU-emu/poly_atan.creg_sub(&CONST_PI4, arg, arg);
arg41kernel/FPU-emu/poly_l2.cvoid  poly_l2(FPU_REG *arg, FPU_REG *result)
arg50kernel/FPU-emu/poly_l2.cexponent = arg->exp - EXP_BIAS;
arg54kernel/FPU-emu/poly_l2.cif ( arg->sigh > (unsigned)0xb504f334 )
arg63kernel/FPU-emu/poly_l2.creg_u_div((long long *)&(CONST_1.sigl), (long long *)&(arg->sigl), &num);
arg68kernel/FPU-emu/poly_l2.cnum.sigl = arg->sigl;    /* copy the mantissa */
arg69kernel/FPU-emu/poly_l2.cnum.sigh = arg->sigh;
arg123kernel/FPU-emu/poly_l2.c*((long long *)&num.sigl) = - *((long long *)&(arg->sigl));
arg125kernel/FPU-emu/poly_l2.creg_div(&num, arg, &num);
arg224kernel/FPU-emu/poly_l2.cint  poly_l2p1(FPU_REG *arg, FPU_REG *result)
arg231kernel/FPU-emu/poly_l2.csign = arg->sign;
arg233kernel/FPU-emu/poly_l2.creg_add(arg, &CONST_1, &arg_pl1);
arg241kernel/FPU-emu/poly_l2.creg_div(arg, &denom, &local_arg);
arg41kernel/FPU-emu/poly_sin.cvoid  poly_sine(FPU_REG *arg, FPU_REG *result)
arg47kernel/FPU-emu/poly_sin.cexponent = arg->exp - EXP_BIAS;
arg49kernel/FPU-emu/poly_sin.cif ( arg->tag == TW_Zero )
arg57kernel/FPU-emu/poly_sin.cif ( arg->sign != 0 )  /* Can't hack a number < 0.0 */
arg66kernel/FPU-emu/poly_sin.cif ( (exponent == 0) && (arg->sigl == 0) && (arg->sigh == 0x80000000) )
arg77kernel/FPU-emu/poly_sin.cXx.sigl = arg->sigl;
arg78kernel/FPU-emu/poly_sin.cXx.sigh = arg->sigh;
arg120kernel/FPU-emu/poly_sin.creg_mul(result, arg, result);
arg121kernel/FPU-emu/poly_sin.creg_u_add(result, arg, result);
arg50kernel/FPU-emu/poly_tan.cvoid  poly_tan(FPU_REG *arg, FPU_REG *y_reg)
arg59kernel/FPU-emu/poly_tan.cexponent = arg->exp - EXP_BIAS;
arg61kernel/FPU-emu/poly_tan.cif ( arg->tag == TW_Zero )
arg75kernel/FPU-emu/poly_tan.c(arg->sigl == 0) && (arg->sigh == 0x80000000) )
arg87kernel/FPU-emu/poly_tan.c*((long long *)(&arg->sigl)) = - *((long long *)(&arg->sigl));
arg88kernel/FPU-emu/poly_tan.cnormalize(arg);  /* Needed later */
arg89kernel/FPU-emu/poly_tan.cexponent = arg->exp - EXP_BIAS;
arg94kernel/FPU-emu/poly_tan.cif ( arg->sign != 0 )  /* Can't hack a number < 0.0 */
arg98kernel/FPU-emu/poly_tan.c*(long long *)&arg_signif = *(long long *)&(arg->sigl);
arg134kernel/FPU-emu/poly_tan.creg_mul(&odd_poly, arg, &odd_poly);
arg135kernel/FPU-emu/poly_tan.creg_u_add(&odd_poly, arg, &odd_poly);  /* This is just the odd polynomial */
arg493kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
arg495kernel/blk_drv/hd.cstruct hd_geometry *loc = (void *) arg;
arg518kernel/blk_drv/hd.cRO_IOCTLS(inode->i_rdev,arg);
arg208kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
arg220kernel/blk_drv/scsi/scsi_ioctl.creturn ioctl_probe(dev->host_no, arg);
arg222kernel/blk_drv/scsi/scsi_ioctl.creturn ioctl_command((Scsi_Device *) dev, arg);
arg9kernel/blk_drv/scsi/sd_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
arg12kernel/blk_drv/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
arg20kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
arg30kernel/blk_drv/scsi/sr_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
arg111kernel/blk_drv/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
arg156kernel/blk_drv/scsi/sr_ioctl.cmemcpy_fromfs(&msf, (void *) arg, sizeof(msf));
arg180kernel/blk_drv/scsi/sr_ioctl.cmemcpy_fromfs(&ti, (void *) arg, sizeof(ti));
arg252kernel/blk_drv/scsi/sr_ioctl.cRO_IOCTLS(dev,arg);
arg254kernel/blk_drv/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
arg8kernel/blk_drv/scsi/st_ioctl.cextern int scsi_ioctl(Scsi_Device *dev, int cmd, void *arg);
arg10kernel/blk_drv/scsi/st_ioctl.cint st_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
arg16kernel/blk_drv/scsi/st_ioctl.creturn scsi_ioctl(scsi_tapes[MINOR(dev)].device, cmd, (void *) arg);
arg1455kernel/chr_drv/console.cint do_screendump(int arg)
arg1457kernel/chr_drv/console.cchar *sptr, *buf = (char *)arg;
arg768kernel/chr_drv/serial.cunsigned int arg = get_fs_long((unsigned long *) value);
arg775kernel/chr_drv/serial.cif (arg & TIOCM_RTS)
arg777kernel/chr_drv/serial.cif (arg & TIOCM_DTR)
arg781kernel/chr_drv/serial.cif (arg & TIOCM_RTS)
arg783kernel/chr_drv/serial.cif (arg & TIOCM_DTR)
arg788kernel/chr_drv/serial.c| ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0)
arg789kernel/chr_drv/serial.c| ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0);
arg799kernel/chr_drv/serial.cunsigned int cmd, unsigned int arg)
arg812kernel/chr_drv/serial.cif (!arg)
arg816kernel/chr_drv/serial.cverify_area((void *) arg,sizeof(unsigned int *));
arg817kernel/chr_drv/serial.creturn get_modem_info(info, (unsigned int *) arg);
arg821kernel/chr_drv/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
arg823kernel/chr_drv/serial.cverify_area((void *) arg,sizeof(struct serial_struct));
arg825kernel/chr_drv/serial.c(struct serial_struct *) arg);
arg828kernel/chr_drv/serial.c(struct serial_struct *) arg);
arg20kernel/chr_drv/tty_ioctl.cextern int do_screendump(int arg);
arg78kernel/chr_drv/tty_ioctl.cstatic int do_get_ps_info(int arg)
arg85kernel/chr_drv/tty_ioctl.cstruct tstruct *ts = (struct tstruct *)arg;
arg90kernel/chr_drv/tty_ioctl.cverify_area((void *)arg, sizeof(struct tstruct));
arg251kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned int arg)
arg280kernel/chr_drv/tty_ioctl.creturn get_termios(termios_tty,(struct termios *) arg);
arg288kernel/chr_drv/tty_ioctl.creturn set_termios(termios_tty,(struct termios *) arg, termios_dev);
arg290kernel/chr_drv/tty_ioctl.creturn get_termio(termios_tty,(struct termio *) arg);
arg297kernel/chr_drv/tty_ioctl.creturn set_termio(termios_tty,(struct termio *) arg, termios_dev);
arg299kernel/chr_drv/tty_ioctl.cswitch (arg) {
arg321kernel/chr_drv/tty_ioctl.cif (arg==0)
arg323kernel/chr_drv/tty_ioctl.celse if (arg==1)
arg325kernel/chr_drv/tty_ioctl.celse if (arg==2) {
arg338kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg339kernel/chr_drv/tty_ioctl.cput_fs_long(tty->pgrp,(unsigned long *) arg);
arg346kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
arg354kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg356kernel/chr_drv/tty_ioctl.c(unsigned long *) arg);
arg359kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg361kernel/chr_drv/tty_ioctl.cput_fs_long(0, (unsigned long *) arg);
arg364kernel/chr_drv/tty_ioctl.c(unsigned long *) arg);
arg369kernel/chr_drv/tty_ioctl.creturn get_window_size(tty,(struct winsize *) arg);
arg372kernel/chr_drv/tty_ioctl.cset_window_size(other_tty,(struct winsize *) arg);
arg373kernel/chr_drv/tty_ioctl.creturn set_window_size(tty,(struct winsize *) arg);
arg379kernel/chr_drv/tty_ioctl.cswitch (get_fs_byte((char *)arg))
arg382kernel/chr_drv/tty_ioctl.creturn do_screendump(arg);
arg384kernel/chr_drv/tty_ioctl.creturn do_get_ps_info(arg);
arg401kernel/chr_drv/tty_ioctl.carg = get_fs_long((unsigned long *) arg);
arg402kernel/chr_drv/tty_ioctl.cif (arg)
arg424kernel/chr_drv/tty_ioctl.cverify_area ((unsigned long *)arg, sizeof (int));
arg425kernel/chr_drv/tty_ioctl.con=get_fs_long ((unsigned long *)arg);
arg435kernel/chr_drv/tty_ioctl.creturn (tty->ioctl)(tty, file, cmd, arg);
arg70kernel/chr_drv/vt.cunsigned int cmd, unsigned int arg)
arg82kernel/chr_drv/vt.creturn kiocsound((unsigned int)arg);
arg88kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned char));
arg89kernel/chr_drv/vt.cput_fs_byte(KB_101, (unsigned char *) arg);
arg98kernel/chr_drv/vt.cif (arg < GPFIRST || arg > GPLAST)
arg100kernel/chr_drv/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
arg113kernel/chr_drv/vt.cswitch (arg) {
arg118kernel/chr_drv/vt.carg = KD_TEXT;
arg124kernel/chr_drv/vt.cif (vt_cons[console].vt_mode == (unsigned char) arg)
arg126kernel/chr_drv/vt.cvt_cons[console].vt_mode = (unsigned char) arg;
arg129kernel/chr_drv/vt.cif (arg == KD_TEXT)
arg137kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned long));
arg138kernel/chr_drv/vt.cput_fs_long(vt_cons[console].vt_mode, (unsigned long *) arg);
arg150kernel/chr_drv/vt.cif (arg == K_RAW) {
arg159kernel/chr_drv/vt.celse if (arg == K_XLATE) {
arg170kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned long));
arg173kernel/chr_drv/vt.cput_fs_long(ucval ? K_RAW : K_XLATE, (unsigned long *) arg);
arg177kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned char));
arg183kernel/chr_drv/vt.c(unsigned char *) arg);
arg186kernel/chr_drv/vt.cif (arg & ~7)
arg188kernel/chr_drv/vt.cucval = (((arg & LED_SCR) ? 1 : 0) |
arg189kernel/chr_drv/vt.c((arg & LED_NUM) ? 2 : 0) |
arg190kernel/chr_drv/vt.c((arg & LED_CAP) ? 4 : 0));
arg14lib/open.cva_list arg;
arg16lib/open.cva_start(arg,flag);
arg21lib/open.c"d" (va_arg(arg,int)));
arg56net/kern_sock.hint (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg);
arg72net/kern_sock.hunsigned long arg);
arg58net/socket.cunsigned int cmd, unsigned int arg);
arg283net/socket.cunsigned int arg)
arg287net/socket.cPRINTK("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg);
arg292net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
arg803net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
arg809net/socket.creturn (sock->ops->fcntl (sock, cmd, arg));
arg86net/tcp/sock.cunsigned long arg);
arg108net/tcp/sock.cunsigned long arg);
arg525net/tcp/sock.cip_proto_fcntl (struct socket *sock, unsigned int cmd, unsigned long arg)
arg537net/tcp/sock.csk->proc = arg;
arg1408net/tcp/sock.cunsigned long arg)
arg1425net/tcp/sock.creturn (ip_set_dev((struct ip_config *)arg));
arg1431net/tcp/sock.cuser = get_fs_long ((void *) arg);
arg1439net/tcp/sock.cverify_area ((void *)arg, sizeof (long));
arg1440net/tcp/sock.cput_fs_long (sk->proc, (void *)arg);
arg1447net/tcp/sock.creturn (sk->prot->ioctl (sk, cmd, arg));
arg130net/tcp/sock.hint (*ioctl) (volatile struct sock *sk, int cmd, unsigned long arg);
arg233net/tcp/tcp.ctcp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
arg261net/tcp/tcp.cverify_area ((void *)arg, sizeof (unsigned long));
arg262net/tcp/tcp.cput_fs_long (amount, (unsigned long *)arg);
arg277net/tcp/tcp.cverify_area ((void *) arg, sizeof (unsigned long));
arg278net/tcp/tcp.cput_fs_long (answ, (void *) arg);
arg288net/tcp/tcp.cverify_area ((void *)arg, sizeof (unsigned long));
arg289net/tcp/tcp.cput_fs_long (amount, (unsigned long *)arg);
arg410net/tcp/udp.cudp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
arg423net/tcp/udp.cverify_area ((void *)arg, sizeof (unsigned long));
arg424net/tcp/udp.cput_fs_long (amount, (unsigned long *)arg);
arg445net/tcp/udp.cverify_area ((void *)arg, sizeof (unsigned long));
arg446net/tcp/udp.cput_fs_long (amount, (unsigned long *)arg);
arg61net/unix.cunsigned long arg);
arg695net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
arg707net/unix.cverify_area((void *)arg, sizeof(unsigned long));
arg709net/unix.cput_fs_long(UN_BUF_AVAIL(upd), (unsigned long *)arg);
arg711net/unix.cput_fs_long(1, (unsigned long *)arg); /* read EOF */
arg717net/unix.cverify_area((void *)arg, sizeof(unsigned long));
arg720net/unix.c(unsigned long *)arg);
arg722net/unix.cput_fs_long(0, (unsigned long *)arg);