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;
arg51fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
arg59fs/fcntl.creturn dupfd(fd,arg);
arg63fs/fcntl.cif (arg&1)
arg72fs/fcntl.cfilp->f_flags |= arg & (O_APPEND | O_NONBLOCK);
arg13fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
arg20fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
arg96fs/pipe.cunsigned int cmd, unsigned int arg)
arg100fs/pipe.cverify_area((void *) arg,4);
arg101fs/pipe.cput_fs_long(PIPE_SIZE(*pino),(unsigned long *) arg);
arg594kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
arg596kernel/blk_drv/hd.cstruct hd_geometry *loc = (void *) arg;
arg137kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (int dev, int cmd, void *arg)
arg146kernel/blk_drv/scsi/scsi_ioctl.creturn ioctl_probe(dev, arg);
arg148kernel/blk_drv/scsi/scsi_ioctl.creturn ioctl_command((Scsi_Device *) dev, arg);
arg9kernel/blk_drv/scsi/sd_ioctl.cextern int scsi_ioctl (int 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);
arg8kernel/blk_drv/scsi/st_ioctl.cextern int scsi_ioctl(int 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);
arg1107kernel/chr_drv/console.cint do_screendump(int arg)
arg1109kernel/chr_drv/console.cchar *sptr, *buf = (char *)arg;
arg20kernel/chr_drv/tty_ioctl.cextern int do_screendump(int arg);
arg22kernel/chr_drv/tty_ioctl.cextern int vt_ioctl(struct tty_struct *tty, int dev, int cmd, int arg);
arg84kernel/chr_drv/tty_ioctl.cstatic int do_get_ps_info(int arg)
arg91kernel/chr_drv/tty_ioctl.cstruct tstruct *ts = (struct tstruct *)arg;
arg96kernel/chr_drv/tty_ioctl.cverify_area((void *)arg, sizeof(struct tstruct));
arg227kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned int arg)
arg251kernel/chr_drv/tty_ioctl.creturn get_termios(tty,(struct termios *) arg);
arg262kernel/chr_drv/tty_ioctl.creturn set_termios(tty,(struct termios *) arg, dev);
arg264kernel/chr_drv/tty_ioctl.creturn get_termio(tty,(struct termio *) arg);
arg274kernel/chr_drv/tty_ioctl.creturn set_termio(tty,(struct termio *) arg, dev);
arg277kernel/chr_drv/tty_ioctl.cif (!arg)
arg281kernel/chr_drv/tty_ioctl.cswitch (arg) {
arg301kernel/chr_drv/tty_ioctl.cif (arg==0) {
arg306kernel/chr_drv/tty_ioctl.c} else if (arg==1)
arg308kernel/chr_drv/tty_ioctl.celse if (arg==2) {
arg324kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg325kernel/chr_drv/tty_ioctl.cput_fs_long(tty->pgrp,(unsigned long *) arg);
arg332kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
arg340kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg341kernel/chr_drv/tty_ioctl.cput_fs_long(CHARS(tty->write_q),(unsigned long *) arg);
arg344kernel/chr_drv/tty_ioctl.cverify_area((void *) arg,4);
arg346kernel/chr_drv/tty_ioctl.cput_fs_long(0, (unsigned long *) arg);
arg349kernel/chr_drv/tty_ioctl.c(unsigned long *) arg);
arg354kernel/chr_drv/tty_ioctl.creturn get_window_size(tty,(struct winsize *) arg);
arg357kernel/chr_drv/tty_ioctl.cset_window_size(other_tty,(struct winsize *) arg);
arg358kernel/chr_drv/tty_ioctl.creturn set_window_size(tty,(struct winsize *) arg);
arg372kernel/chr_drv/tty_ioctl.cswitch (get_fs_byte((char *)arg))
arg375kernel/chr_drv/tty_ioctl.creturn do_screendump(arg);
arg377kernel/chr_drv/tty_ioctl.creturn do_get_ps_info(arg);
arg394kernel/chr_drv/tty_ioctl.creturn vt_ioctl(tty, dev, cmd, arg);
arg72kernel/chr_drv/vt.cvt_ioctl(struct tty_struct *tty, int dev, int cmd, 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.cvt_cons[console].vt_mode = arg;
arg127kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned long));
arg128kernel/chr_drv/vt.cput_fs_long(vt_cons[console].vt_mode, (unsigned long *) arg);
arg140kernel/chr_drv/vt.cif (arg == K_RAW) {
arg149kernel/chr_drv/vt.celse if (arg == K_XLATE) {
arg161kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned long));
arg164kernel/chr_drv/vt.cput_fs_long(ucval ? K_RAW : K_XLATE, (unsigned long *) arg);
arg168kernel/chr_drv/vt.cverify_area((void *) arg, sizeof(unsigned char));
arg174kernel/chr_drv/vt.c(unsigned char *) arg);
arg177kernel/chr_drv/vt.cif (arg & ~7)
arg179kernel/chr_drv/vt.cucval = (((arg & LED_SCR) ? 1 : 0) |
arg180kernel/chr_drv/vt.c((arg & LED_NUM) ? 2 : 0) |
arg181kernel/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);
arg50net/socket.cunsigned int cmd, unsigned int arg);
arg270net/socket.cunsigned int arg)
arg274net/socket.cPRINTK("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg);
arg289net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
arg58net/unix.cunsigned long arg);
arg566net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
arg575net/unix.cverify_area((void *)arg, sizeof(unsigned long));
arg577net/unix.cput_fs_long(UN_BUF_AVAIL(upd), (unsigned long *)arg);
arg579net/unix.cput_fs_long(1, (unsigned long *)arg); /* read EOF */
arg583net/unix.cverify_area((void *)arg, sizeof(unsigned long));
arg586net/unix.c(unsigned long *)arg);
arg588net/unix.cput_fs_long(0, (unsigned long *)arg);