tag | line | file | source code |
mode | 306 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 322 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 340 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 360 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 383 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 403 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 448 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 48 | fs/ext/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 82 | fs/ext/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 73 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
mode | 78 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
mode | 79 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
mode | 274 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
mode | 30 | fs/isofs/rock.h | char mode[8]; |
mode | 45 | fs/isofs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 76 | fs/isofs/symlink.c | error = open_namei(pnt,flag,mode,res_inode,dir); |
mode | 198 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 214 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 232 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 252 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 275 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 295 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 336 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 42 | fs/minix/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 76 | fs/minix/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 194 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 215 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
mode | 242 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 37 | fs/namei.c | int mode = inode->i_mode; |
mode | 45 | fs/namei.c | mode >>= 6; |
mode | 47 | fs/namei.c | mode >>= 3; |
mode | 48 | fs/namei.c | if (((mode & mask & 0007) == mask) || suser()) |
mode | 93 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 106 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 217 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 225 | fs/namei.c | mode &= 07777 & ~current->umask; |
mode | 226 | fs/namei.c | mode |= S_IFREG; |
mode | 262 | fs/namei.c | return dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 269 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 309 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 334 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 337 | fs/namei.c | int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 339 | fs/namei.c | if (S_ISFIFO(mode) || suser()) |
mode | 340 | fs/namei.c | return do_mknod(filename,mode,dev); |
mode | 344 | fs/namei.c | int sys_mkdir(const char * pathname, int mode) |
mode | 369 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
mode | 25 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 27 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 34 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
mode | 241 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 326 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 347 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 365 | fs/nfs/dir.c | int mode, int rdev) |
mode | 384 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 386 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 399 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 418 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 505 | fs/nfs/dir.c | sattr.mode = S_IFLNK | 0777; /* SunOS 4.1.2 crashes without this! */ |
mode | 608 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 190 | fs/nfs/inode.c | sattr.mode = inode->i_mode; |
mode | 192 | fs/nfs/inode.c | sattr.mode = -1; |
mode | 113 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 134 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
mode | 43 | fs/nfs/symlink.c | int flag, int mode, struct inode **res_inode) |
mode | 80 | fs/nfs/symlink.c | error = open_namei(res, flag, mode, res_inode, dir); |
mode | 161 | fs/open.c | int sys_access(const char * filename,int mode) |
mode | 166 | fs/open.c | mode &= 0007; |
mode | 176 | fs/open.c | if ((res & 0007 & mode) == mode) |
mode | 185 | fs/open.c | (!(mode & 1) || (i_mode & 0111))) |
mode | 232 | fs/open.c | int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 245 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
mode | 253 | fs/open.c | int sys_chmod(const char * filename, mode_t mode) |
mode | 269 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
mode | 351 | fs/open.c | int sys_open(const char * filename,int flag,int mode) |
mode | 373 | fs/open.c | i = open_namei(filename,flag,mode,&inode,NULL); |
mode | 413 | fs/open.c | int sys_creat(const char * pathname, int mode) |
mode | 415 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
mode | 42 | fs/proc/link.c | int flag, int mode, struct inode ** res_inode) |
mode | 158 | include/asm/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 161 | include/asm/dma.h | outb(mode | dmanr, DMA1_MODE_REG); |
mode | 163 | include/asm/dma.h | outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 167 | include/linux/cdrom.h | u_char mode; /* cache control byte */ |
mode | 66 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 68 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 74 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 332 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 334 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 75 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 77 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 83 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 135 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 137 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
mode | 129 | include/linux/nfs.h | u_int mode; |
mode | 145 | include/linux/nfs.h | u_int mode; |
mode | 9 | include/linux/vt.h | char mode; /* vt mode */ |
mode | 48 | init/main.c | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 1308 | kernel/chr_drv/console.c | vtmode.mode = VT_AUTO; |
mode | 294 | kernel/chr_drv/tty_io.c | if (vt_cons[new_console].vt_mode.mode == VT_PROCESS) |
mode | 316 | kernel/chr_drv/tty_io.c | vt_cons[new_console].vt_mode.mode = VT_AUTO; |
mode | 371 | kernel/chr_drv/tty_io.c | if (vt_cons[fg_console].vt_mode.mode == VT_PROCESS) |
mode | 402 | kernel/chr_drv/tty_io.c | vt_cons[fg_console].vt_mode.mode = VT_AUTO; |
mode | 255 | kernel/chr_drv/vt.c | char mode; |
mode | 258 | kernel/chr_drv/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 259 | kernel/chr_drv/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 261 | kernel/chr_drv/vt.c | vt_cons[console].vt_mode.mode = mode; |
mode | 277 | kernel/chr_drv/vt.c | put_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode); |
mode | 350 | kernel/chr_drv/vt.c | if (vt_cons[console].vt_mode.mode != VT_PROCESS) |