taglinefilesource code
mode306fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
mode322fs/ext/namei.cinode->i_mode = mode;
mode340fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode360fs/ext/namei.cinode->i_mode = mode;
mode383fs/ext/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode403fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
mode448fs/ext/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
mode47fs/ext/symlink.cint flag, int mode, struct inode ** res_inode)
mode81fs/ext/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode72fs/isofs/file.cstatic inline void unixify_text_buffer(char * buffer, int chars, int mode)
mode77fs/isofs/file.cif(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a;
mode78fs/isofs/file.cif(mode == ISOFS_FILE_TEXT) *buffer = ' ';
mode274fs/isofs/rock.cinode->i_mode  = isonum_733(rr->u.PX.mode);
mode30fs/isofs/rock.hchar mode[8];
mode44fs/isofs/symlink.cint flag, int mode, struct inode ** res_inode)
mode75fs/isofs/symlink.cerror = open_namei(pnt,flag,mode,res_inode,dir);
mode198fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
mode214fs/minix/namei.cinode->i_mode = mode;
mode232fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode252fs/minix/namei.cinode->i_mode = mode;
mode275fs/minix/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode295fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
mode336fs/minix/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
mode41fs/minix/symlink.cint flag, int mode, struct inode ** res_inode)
mode75fs/minix/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode194fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
mode215fs/msdos/namei.cres = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result);
mode242fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
mode37fs/namei.cint mode = inode->i_mode;
mode43fs/namei.cmode >>= 6;
mode45fs/namei.cmode >>= 3;
mode46fs/namei.cif (((mode & mask & 0007) == mask) || suser())
mode91fs/namei.cint flag, int mode, struct inode ** res_inode)
mode104fs/namei.creturn inode->i_op->follow_link(dir,inode,flag,mode,res_inode);
mode215fs/namei.cint open_namei(const char * pathname, int flag, int mode,
mode223fs/namei.cmode &= 07777 & ~current->umask;
mode224fs/namei.cmode |= S_IFREG;
mode260fs/namei.creturn dir->i_op->create(dir,basename,namelen,mode,res_inode);
mode267fs/namei.cerror = follow_link(dir,inode,flag,mode,&inode);
mode307fs/namei.cint do_mknod(const char * filename, int mode, dev_t dev)
mode332fs/namei.creturn dir->i_op->mknod(dir,basename,namelen,mode,dev);
mode335fs/namei.cint sys_mknod(const char * filename, int mode, dev_t dev)
mode337fs/namei.cif (S_ISFIFO(mode) || suser())
mode338fs/namei.creturn do_mknod(filename,mode,dev);
mode342fs/namei.cint sys_mkdir(const char * pathname, int mode)
mode367fs/namei.creturn dir->i_op->mkdir(dir,basename,namelen,mode);
mode25fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
mode27fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode);
mode34fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len, int mode,
mode314fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
mode336fs/nfs/dir.csattr.mode = mode & 0777;
mode338fs/nfs/dir.csattr.mode = mode;
mode357fs/nfs/dir.cint mode, int rdev)
mode376fs/nfs/dir.csattr.mode = mode;
mode378fs/nfs/dir.cif (S_ISCHR(mode) || S_ISBLK(mode))
mode391fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
mode411fs/nfs/dir.csattr.mode = mode & 0777;
mode413fs/nfs/dir.csattr.mode = mode;
mode501fs/nfs/dir.csattr.mode = S_IFLNK | 0777; /* SunOS 4.1.2 crashes without this! */
mode604fs/nfs/dir.cinode->i_mode = fattr->mode;
mode195fs/nfs/inode.csattr.mode = inode->i_mode;
mode107fs/nfs/proc.cfattr->mode = ntohl(*p++);
mode128fs/nfs/proc.c*p++ = htonl(sattr->mode);
mode42fs/nfs/symlink.cint flag, int mode, struct inode **res_inode)
mode79fs/nfs/symlink.cerror = open_namei(res, flag, mode, res_inode, dir);
mode161fs/open.cint sys_access(const char * filename,int mode)
mode166fs/open.cmode &= 0007;
mode176fs/open.cif ((res & 0007 & mode) == mode)
mode185fs/open.c(!(mode & 1) || (i_mode & 0111)))
mode232fs/open.cint sys_fchmod(unsigned int fd, mode_t mode)
mode245fs/open.cinode->i_mode = (mode & 07777) | (inode->i_mode & ~07777);
mode250fs/open.cint sys_chmod(const char * filename, mode_t mode)
mode266fs/open.cinode->i_mode = (mode & 07777) | (inode->i_mode & ~07777);
mode343fs/open.cint sys_open(const char * filename,int flag,int mode)
mode365fs/open.ci = open_namei(filename,flag,mode,&inode,NULL);
mode405fs/open.cint sys_creat(const char * pathname, int mode)
mode407fs/open.creturn sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
mode41fs/proc/link.cint flag, int mode, struct inode ** res_inode)
mode159include/asm/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
mode162include/asm/dma.houtb(mode | dmanr,  DMA1_MODE_REG);
mode164include/asm/dma.houtb(mode | (dmanr&3),  DMA2_MODE_REG);
mode167include/linux/cdrom.hu_char  mode;      /* cache control byte      */
mode66include/linux/ext_fs.hextern int ext_create(struct inode * dir,const char * name, int len, int mode,
mode68include/linux/ext_fs.hextern int ext_mkdir(struct inode * dir, const char * name, int len, int mode);
mode74include/linux/ext_fs.hextern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode310include/linux/fs.hextern int open_namei(const char * pathname, int flag, int mode,
mode312include/linux/fs.hextern int do_mknod(const char * filename, int mode, dev_t dev);
mode49include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
mode51include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
mode57include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode135include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
mode137include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
mode125include/linux/nfs.hu_int mode;
mode141include/linux/nfs.hu_int mode;
mode9include/linux/vt.hchar mode;    /* vt mode */
mode48init/main.cstatic inline _syscall3(int,open,const char *,file,int,flag,int,mode)
mode1318kernel/chr_drv/console.cvtmode.mode  = VT_AUTO;
mode213kernel/chr_drv/tty_io.cif (vt_cons[new_console].vt_mode.mode == VT_PROCESS)
mode235kernel/chr_drv/tty_io.cvt_cons[new_console].vt_mode.mode = VT_AUTO;
mode286kernel/chr_drv/tty_io.cif (vt_cons[fg_console].vt_mode.mode == VT_PROCESS)
mode317kernel/chr_drv/tty_io.cvt_cons[fg_console].vt_mode.mode = VT_AUTO;
mode255kernel/chr_drv/vt.cchar mode;
mode258kernel/chr_drv/vt.cmode = get_fs_byte(&vtmode->mode);
mode259kernel/chr_drv/vt.cif (mode != VT_AUTO && mode != VT_PROCESS)
mode261kernel/chr_drv/vt.cvt_cons[console].vt_mode.mode = mode;
mode277kernel/chr_drv/vt.cput_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode);
mode318kernel/chr_drv/vt.cif (vt_cons[console].vt_mode.mode != VT_PROCESS ||