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.ccurrent->close_on_exec &= ~(1<<arg);
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));
arg15fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
arg25fs/ioctl.cverify_area((void *) arg,4);
arg26fs/ioctl.cblock = get_fs_long((long *) arg);
arg28fs/ioctl.cput_fs_long(block,(long *) arg);
arg33fs/ioctl.cverify_area((void *) arg,4);
arg35fs/ioctl.c(long *) arg);
arg38fs/ioctl.cverify_area((void *) arg,4);
arg40fs/ioctl.c(long *) arg);
arg48fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
arg55fs/ioctl.creturn file_ioctl(filp,cmd,arg);
arg57fs/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);
arg190include/linux/tty.hunsigned int cmd, unsigned int arg);
arg333include/linux/tty.hunsigned int cmd, unsigned int arg);
arg453kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
arg455kernel/blk_drv/hd.cstruct hd_geometry *loc = (void *) arg;
arg475kernel/blk_drv/hd.cRO_IOCTLS(inode->i_rdev,arg);
arg142kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
arg151kernel/blk_drv/scsi/scsi_ioctl.creturn ioctl_probe(dev->host_no, arg);
arg153kernel/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);
arg11kernel/blk_drv/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
arg17kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device, cmd, (void *) arg);
arg29kernel/blk_drv/scsi/sr_ioctl.cextern int scsi_ioctl (int dev, int cmd, void *arg);
arg157kernel/blk_drv/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
arg229kernel/blk_drv/scsi/sr_ioctl.cmemcpy_fromfs(&msf, (void *) arg, sizeof(msf));
arg253kernel/blk_drv/scsi/sr_ioctl.cmemcpy_fromfs(&ti, (void *) arg, sizeof(ti));
arg325kernel/blk_drv/scsi/sr_ioctl.cRO_IOCTLS(dev,arg);
arg327kernel/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;
arg651kernel/chr_drv/serial.cunsigned int arg = get_fs_long((unsigned long *) value);
arg658kernel/chr_drv/serial.cif (arg & TIOCM_RTS)
arg660kernel/chr_drv/serial.cif (arg & TIOCM_DTR)
arg664kernel/chr_drv/serial.cif (arg & TIOCM_RTS)
arg666kernel/chr_drv/serial.cif (arg & TIOCM_DTR)
arg671kernel/chr_drv/serial.c| ((arg & TIOCM_RTS) ? UART_MCR_RTS : 0)
arg672kernel/chr_drv/serial.c| ((arg & TIOCM_DTR) ? UART_MCR_DTR : 0);
arg682kernel/chr_drv/serial.cunsigned int cmd, unsigned int arg)
arg695kernel/chr_drv/serial.cif (!arg)
arg699kernel/chr_drv/serial.cverify_area((void *) arg,sizeof(unsigned int *));
arg700kernel/chr_drv/serial.creturn get_modem_info(info, (unsigned int *) arg);
arg704kernel/chr_drv/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
arg706kernel/chr_drv/serial.cverify_area((void *) arg,sizeof(struct serial_struct));
arg708kernel/chr_drv/serial.c(struct serial_struct *) arg);
arg711kernel/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)
arg274kernel/chr_drv/tty_ioctl.creturn get_termios(tty,(struct termios *) arg);
arg282kernel/chr_drv/tty_ioctl.creturn set_termios(tty,(struct termios *) arg, dev);
arg284kernel/chr_drv/tty_ioctl.creturn get_termio(tty,(struct termio *) arg);
arg291kernel/chr_drv/tty_ioctl.creturn set_termio(tty,(struct termio *) arg, dev);
arg293kernel/chr_drv/tty_ioctl.cswitch (arg) {
arg315kernel/chr_drv/tty_ioctl.cif (arg==0)
arg317kernel/chr_drv/tty_ioctl.celse if (arg==1)
arg319kernel/chr_drv/tty_ioctl.celse if (arg==2) {
arg332kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg333kernel/chr_drv/tty_ioctl.cput_fs_long(tty->pgrp,(unsigned long *) arg);
arg340kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
arg348kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg350kernel/chr_drv/tty_ioctl.c(unsigned long *) arg);
arg353kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg355kernel/chr_drv/tty_ioctl.cput_fs_long(0, (unsigned long *) arg);
arg358kernel/chr_drv/tty_ioctl.c(unsigned long *) arg);
arg363kernel/chr_drv/tty_ioctl.creturn get_window_size(tty,(struct winsize *) arg);
arg366kernel/chr_drv/tty_ioctl.cset_window_size(other_tty,(struct winsize *) arg);
arg367kernel/chr_drv/tty_ioctl.creturn set_window_size(tty,(struct winsize *) arg);
arg373kernel/chr_drv/tty_ioctl.cswitch (get_fs_byte((char *)arg))
arg376kernel/chr_drv/tty_ioctl.creturn do_screendump(arg);
arg378kernel/chr_drv/tty_ioctl.creturn do_get_ps_info(arg);
arg395kernel/chr_drv/tty_ioctl.cif (arg)
arg417kernel/chr_drv/tty_ioctl.cverify_area ((unsigned long *)arg, sizeof (int));
arg418kernel/chr_drv/tty_ioctl.con=get_fs_long ((unsigned long *)arg);
arg428kernel/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);
arg278net/socket.cunsigned int arg)
arg282net/socket.cPRINTK("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg);
arg287net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
arg797net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
arg803net/socket.creturn (sock->ops->fcntl (sock, cmd, arg));
arg73net/tcp/sock.cunsigned long arg);
arg95net/tcp/sock.cunsigned long arg);
arg482net/tcp/sock.cip_proto_fcntl (struct socket *sock, unsigned int cmd, unsigned long arg)
arg494net/tcp/sock.csk->proc = arg;
arg1277net/tcp/sock.cunsigned long arg)
arg1294net/tcp/sock.creturn (ip_set_dev((struct ip_config *)arg));
arg1297net/tcp/sock.cip_add_route ((struct rtable *) arg);
arg1303net/tcp/sock.creturn (sk->prot->ioctl (sk, cmd, arg));
arg111net/tcp/sock.hint (*ioctl) (volatile struct sock *sk, int cmd, unsigned long arg);
arg220net/tcp/tcp.ctcp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
arg238net/tcp/tcp.cverify_area ((void *)arg, sizeof (int));
arg239net/tcp/tcp.cput_fs_long(1, (unsigned long *)arg);
arg243net/tcp/tcp.cverify_area ((void *)arg, sizeof (int));
arg244net/tcp/tcp.cput_fs_long(0, (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);