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 | 377 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 397 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 442 | 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 | 79 | fs/ext/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 23 | fs/ext2/acl.c | int mode = inode->i_mode; |
mode | 30 | fs/ext2/acl.c | mode >>= 6; |
mode | 32 | fs/ext2/acl.c | mode >>= 3; |
mode | 33 | fs/ext2/acl.c | if (((mode & mask & 0007) == mask)) |
mode | 271 | fs/ext2/ialloc.c | int mode) |
mode | 322 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 342 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 433 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 459 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 287 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 298 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 304 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 326 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 342 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 348 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 365 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 389 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 438 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 49 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 84 | fs/ext2/symlink.c | error = open_namei (link, flag, mode, res_inode, dir); |
mode | 74 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
mode | 79 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
mode | 80 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
mode | 277 | 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 | 73 | fs/isofs/symlink.c | error = open_namei(pnt,flag,mode,res_inode,dir); |
mode | 214 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 231 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 249 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 270 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 287 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 307 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 355 | 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 | 73 | fs/minix/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 191 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 212 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
mode | 239 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 77 | fs/namei.c | int mode = inode->i_mode; |
mode | 85 | fs/namei.c | mode >>= 6; |
mode | 87 | fs/namei.c | mode >>= 3; |
mode | 88 | fs/namei.c | if (((mode & mask & 0007) == mask) || suser()) |
mode | 138 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 151 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 278 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 286 | fs/namei.c | mode &= 07777 & ~current->umask; |
mode | 287 | fs/namei.c | mode |= S_IFREG; |
mode | 326 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 341 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 381 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 387 | fs/namei.c | mode &= ~current->umask; |
mode | 407 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 410 | fs/namei.c | int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 415 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !suser())) |
mode | 419 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 425 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 450 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
mode | 453 | fs/namei.c | int sys_mkdir(const char * pathname, int mode) |
mode | 460 | fs/namei.c | error = do_mkdir(tmp,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 | 242 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 327 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 345 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 363 | fs/nfs/dir.c | int mode, int rdev) |
mode | 379 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 381 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 394 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 410 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 480 | fs/nfs/dir.c | sattr.mode = S_IFLNK | 0777; /* SunOS 4.1.2 crashes without this! */ |
mode | 573 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 200 | fs/nfs/inode.c | sattr.mode = inode->i_mode; |
mode | 202 | 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 | 77 | fs/nfs/symlink.c | error = open_namei(res, flag, mode, res_inode, dir); |
mode | 158 | fs/open.c | int sys_access(const char * filename,int mode) |
mode | 163 | fs/open.c | if (mode != (mode & 0007)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 175 | fs/open.c | if ((res & mode) == mode) |
mode | 187 | fs/open.c | (S_ISDIR(i_mode) || !(mode & 1) || (i_mode & 0111))) |
mode | 234 | fs/open.c | int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 247 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
mode | 255 | fs/open.c | int sys_chmod(const char * filename, mode_t mode) |
mode | 271 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
mode | 353 | fs/open.c | int sys_open(const char * filename,int flags,int mode) |
mode | 378 | fs/open.c | error = open_namei(tmp,flag,mode,&inode,NULL); |
mode | 417 | fs/open.c | int sys_creat(const char * pathname, int mode) |
mode | 419 | 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 | 240 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
mode | 256 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 274 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
mode | 294 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 311 | fs/xiafs/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 331 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 376 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 76 | fs/xiafs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 111 | fs/xiafs/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
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 | 354 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 356 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 77 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 79 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 85 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 159 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 161 | 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 | 127 | include/linux/xd.h | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout); |
mode | 67 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
mode | 69 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 77 | include/linux/xia_fs.h | int mode, int rdev); |
mode | 50 | init/main.c | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 269 | kernel/blk_drv/xd.c | u_char head,sector,control,mode,temp; |
mode | 292 | kernel/blk_drv/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,buffer,temp * 0x200); |
mode | 295 | kernel/blk_drv/xd.c | switch (xd_command(cmdblk,mode,buffer,buffer,sense,XD_TIMEOUT)) { |
mode | 342 | kernel/blk_drv/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 353 | kernel/blk_drv/xd.c | set_dma_mode(xd_dma,mode); |
mode | 390 | kernel/blk_drv/xd.c | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout) |
mode | 395 | kernel/blk_drv/xd.c | printk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense); |
mode | 399 | kernel/blk_drv/xd.c | outb(mode,XD_CONTROL); |
mode | 408 | kernel/blk_drv/xd.c | case 0: if (mode == DMA_MODE) { |
mode | 416 | kernel/blk_drv/xd.c | case STAT_INPUT: if (mode == DMA_MODE) { |
mode | 1310 | kernel/chr_drv/console.c | vtmode.mode = VT_AUTO; |
mode | 332 | kernel/chr_drv/tty_io.c | if (vt_cons[new_console].vt_mode.mode == VT_PROCESS) |
mode | 354 | kernel/chr_drv/tty_io.c | vt_cons[new_console].vt_mode.mode = VT_AUTO; |
mode | 409 | kernel/chr_drv/tty_io.c | if (vt_cons[fg_console].vt_mode.mode == VT_PROCESS) |
mode | 440 | kernel/chr_drv/tty_io.c | vt_cons[fg_console].vt_mode.mode = VT_AUTO; |
mode | 261 | kernel/chr_drv/vt.c | char mode; |
mode | 266 | kernel/chr_drv/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 267 | kernel/chr_drv/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 269 | kernel/chr_drv/vt.c | vt_cons[console].vt_mode.mode = mode; |
mode | 287 | kernel/chr_drv/vt.c | put_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode); |
mode | 364 | kernel/chr_drv/vt.c | if (vt_cons[console].vt_mode.mode != VT_PROCESS) |