taglinefilesource code
mode203fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
mode219fs/minix/namei.cinode->i_mode = mode;
mode237fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode257fs/minix/namei.cinode->i_mode = mode;
mode269fs/minix/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode289fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
mode333fs/minix/namei.cinode->i_mode = I_DIRECTORY | (mode & 0777 & ~current->umask);
mode41fs/namei.cint mode = inode->i_mode;
mode47fs/namei.cmode >>= 6;
mode49fs/namei.cmode >>= 3;
mode50fs/namei.cif (((mode & mask & 0007) == mask) || suser())
mode195fs/namei.cint open_namei(const char * pathname, int flag, int mode,
mode204fs/namei.cmode &= 0777 & ~current->umask;
mode205fs/namei.cmode |= I_REGULAR;
mode231fs/namei.creturn dir->i_op->create(dir,basename,namelen,mode,res_inode);
mode255fs/namei.cint sys_mknod(const char * filename, int mode, int dev)
mode277fs/namei.creturn dir->i_op->mknod(dir,basename,namelen,mode,dev);
mode280fs/namei.cint sys_mkdir(const char * pathname, int mode)
mode300fs/namei.creturn dir->i_op->mkdir(dir,basename,namelen,mode);
mode112fs/open.cint sys_access(const char * filename,int mode)
mode117fs/open.cmode &= 0007;
mode126fs/open.cif ((res & 0007 & mode) == mode)
mode135fs/open.c(!(mode & 1) || (i_mode & 0111)))
mode178fs/open.cint sys_fchmod(unsigned int fd, mode_t mode)
mode189fs/open.cinode->i_mode = (mode & 07777) | (inode->i_mode & ~07777);
mode194fs/open.cint sys_chmod(const char * filename, mode_t mode)
mode204fs/open.cinode->i_mode = (mode & 07777) | (inode->i_mode & ~07777);
mode249fs/open.cint sys_open(const char * filename,int flag,int mode)
mode267fs/open.cif ((i = open_namei(filename,flag,mode,&inode))<0) {
mode291fs/open.cint sys_creat(const char * pathname, int mode)
mode293fs/open.creturn sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
mode51include/fcntl.hextern int creat(const char * filename,mode_t mode);
mode197include/linux/fs.hstruct super_block *(*read_super)(struct super_block *sb,void *mode);
mode225include/linux/fs.hextern int open_namei(const char * pathname, int flag, int mode,
mode50include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
mode52include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
mode58include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode55include/sys/stat.hextern int chmod(const char *_path, mode_t mode);
mode57include/sys/stat.hextern int mkdir(const char *_path, mode_t mode);
mode58include/sys/stat.hextern int mkfifo(const char *_path, mode_t mode);
mode9include/sys/vt.hchar mode;    /* vt mode */
mode78include/unistd.hint access(const char * filename, mode_t mode);  /* XXX - short type */
mode85include/unistd.hint chmod(const char * filename, mode_t mode);  /* XXX - short type */
mode89include/unistd.hint creat(const char * filename, mode_t mode);  /* XXX - short type */
mode110include/unistd.hint mknod(const char * filename, mode_t mode, dev_t dev); /* XXX - shorts */