taglinefilesource code
mode53fs/exec.cint open_inode(struct inode * inode, int mode)
mode73fs/exec.cf->f_flags = mode;
mode74fs/exec.cf->f_mode = (mode+1) & O_ACCMODE;
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;
mode377fs/ext/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode397fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
mode442fs/ext/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
mode48fs/ext/symlink.cint flag, int mode, struct inode ** res_inode)
mode79fs/ext/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode24fs/ext2/acl.cint mode = inode->i_mode;
mode31fs/ext2/acl.cmode >>= 6;
mode33fs/ext2/acl.cmode >>= 3;
mode34fs/ext2/acl.cif (((mode & mask & S_IRWXO) == mask))
mode272fs/ext2/ialloc.cint mode)
mode324fs/ext2/ialloc.cstruct inode * ext2_new_inode (const struct inode * dir, int mode)
mode344fs/ext2/ialloc.cif (S_ISDIR(mode)) {
mode439fs/ext2/ialloc.cif (S_ISDIR(mode))
mode445fs/ext2/ialloc.cinode->i_mode = mode;
mode467fs/ext2/ialloc.cinc_inode_version (inode, gdp, mode);
mode304fs/ext2/namei.cint ext2_create (struct inode * dir,const char * name, int len, int mode,
mode315fs/ext2/namei.cinode = ext2_new_inode (dir, mode);
mode321fs/ext2/namei.cinode->i_mode = mode;
mode343fs/ext2/namei.cint ext2_mknod (struct inode * dir, const char * name, int len, int mode,
mode359fs/ext2/namei.cinode = ext2_new_inode (dir, mode);
mode365fs/ext2/namei.cinode->i_mode = mode;
mode382fs/ext2/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode406fs/ext2/namei.cint ext2_mkdir (struct inode * dir, const char * name, int len, int mode)
mode455fs/ext2/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask);
mode49fs/ext2/symlink.cint flag, int mode, struct inode ** res_inode)
mode84fs/ext2/symlink.cerror = open_namei (link, flag, mode, res_inode, dir);
mode75fs/isofs/file.cstatic inline void unixify_text_buffer(char * buffer, int chars, int mode)
mode80fs/isofs/file.cif(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a;
mode81fs/isofs/file.cif(mode == ISOFS_FILE_TEXT) *buffer = ' ';
mode279fs/isofs/rock.cinode->i_mode  = isonum_733(rr->u.PX.mode);
mode30fs/isofs/rock.hchar mode[8];
mode45fs/isofs/symlink.cint flag, int mode, struct inode ** res_inode)
mode73fs/isofs/symlink.cerror = open_namei(pnt,flag,mode,res_inode,dir);
mode214fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
mode231fs/minix/namei.cinode->i_mode = mode;
mode249fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode270fs/minix/namei.cinode->i_mode = mode;
mode287fs/minix/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode307fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
mode355fs/minix/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
mode42fs/minix/symlink.cint flag, int mode, struct inode ** res_inode)
mode73fs/minix/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode191fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
mode212fs/msdos/namei.cres = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result);
mode239fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
mode76fs/namei.cint mode = inode->i_mode;
mode84fs/namei.cmode >>= 6;
mode86fs/namei.cmode >>= 3;
mode87fs/namei.cif (((mode & mask & 0007) == mask) || suser())
mode137fs/namei.cint flag, int mode, struct inode ** res_inode)
mode150fs/namei.creturn inode->i_op->follow_link(dir,inode,flag,mode,res_inode);
mode277fs/namei.cint open_namei(const char * pathname, int flag, int mode,
mode285fs/namei.cmode &= S_IALLUGO & ~current->umask;
mode286fs/namei.cmode |= S_IFREG;
mode325fs/namei.cerror = dir->i_op->create(dir,basename,namelen,mode,res_inode);
mode340fs/namei.cerror = follow_link(dir,inode,flag,mode,&inode);
mode395fs/namei.cint do_mknod(const char * filename, int mode, dev_t dev)
mode401fs/namei.cmode &= ~current->umask;
mode421fs/namei.creturn dir->i_op->mknod(dir,basename,namelen,mode,dev);
mode424fs/namei.casmlinkage int sys_mknod(const char * filename, int mode, dev_t dev)
mode429fs/namei.cif (S_ISDIR(mode)  || (!S_ISFIFO(mode) && !suser()))
mode433fs/namei.cerror = do_mknod(tmp,mode,dev);
mode439fs/namei.cstatic int do_mkdir(const char * pathname, int mode)
mode464fs/namei.creturn dir->i_op->mkdir(dir,basename,namelen,mode);
mode467fs/namei.casmlinkage int sys_mkdir(const char * pathname, int mode)
mode474fs/namei.cerror = do_mkdir(tmp,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,
mode242fs/nfs/dir.centry->expiration_date = jiffies + (S_ISDIR(fattr->mode)
mode327fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
mode345fs/nfs/dir.csattr.mode = mode;
mode363fs/nfs/dir.cint mode, int rdev)
mode379fs/nfs/dir.csattr.mode = mode;
mode381fs/nfs/dir.cif (S_ISCHR(mode) || S_ISBLK(mode))
mode394fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
mode410fs/nfs/dir.csattr.mode = mode;
mode480fs/nfs/dir.csattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */
mode573fs/nfs/dir.cinode->i_mode = fattr->mode;
mode203fs/nfs/inode.csattr.mode = inode->i_mode;
mode205fs/nfs/inode.csattr.mode = (unsigned) -1;
mode117fs/nfs/proc.cfattr->mode = ntohl(*p++);
mode138fs/nfs/proc.c*p++ = htonl(sattr->mode);
mode43fs/nfs/symlink.cint flag, int mode, struct inode **res_inode)
mode77fs/nfs/symlink.cerror = open_namei(res, flag, mode, res_inode, dir);
mode158fs/open.casmlinkage int sys_access(const char * filename,int mode)
mode163fs/open.cif (mode != (mode & S_IRWXO))  /* where's F_OK, X_OK, W_OK, R_OK? */
mode175fs/open.cif ((res & mode) == mode)
mode187fs/open.c(S_ISDIR(i_mode) || !(mode & S_IXOTH) || (i_mode & S_IXUGO)))
mode234fs/open.casmlinkage int sys_fchmod(unsigned int fd, mode_t mode)
mode247fs/open.cinode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO);
mode255fs/open.casmlinkage int sys_chmod(const char * filename, mode_t mode)
mode271fs/open.cinode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO);
mode353fs/open.cint do_open(const char * filename,int flags,int mode)
mode375fs/open.cerror = open_namei(filename,flag,mode,&inode,NULL);
mode401fs/open.casmlinkage int sys_open(const char * filename,int flags,int mode)
mode409fs/open.cerror = do_open(tmp,flags,mode);
mode414fs/open.casmlinkage int sys_creat(const char * pathname, int mode)
mode416fs/open.creturn sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
mode42fs/proc/link.cint flag, int mode, struct inode ** res_inode)
mode240fs/xiafs/namei.cint xiafs_create(struct inode * dir, const char * name, int len, int mode,
mode256fs/xiafs/namei.cinode->i_mode = mode;
mode274fs/xiafs/namei.cint xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev)
mode294fs/xiafs/namei.cinode->i_mode = mode;
mode311fs/xiafs/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode331fs/xiafs/namei.cint xiafs_mkdir(struct inode * dir, const char * name, int len, int mode)
mode376fs/xiafs/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask);
mode76fs/xiafs/symlink.cint flag, int mode, struct inode ** res_inode)
mode111fs/xiafs/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode158include/asm/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
mode161include/asm/dma.houtb(mode | dmanr,  DMA1_MODE_REG);
mode163include/asm/dma.houtb(mode | (dmanr&3),  DMA2_MODE_REG);
mode40include/linux/binfmts.hextern int open_inode(struct inode * inode, int mode);
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);
mode377include/linux/fs.hextern int open_namei(const char * pathname, int flag, int mode,
mode379include/linux/fs.hextern int do_mknod(const char * filename, int mode, dev_t dev);
mode15include/linux/ipc.hushort mode;  /* access modes see mode flags below */
mode77include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
mode79include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
mode85include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode159include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
mode161include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
mode129include/linux/nfs.hu_int mode;
mode145include/linux/nfs.hu_int mode;
mode9include/linux/vt.hchar mode;    /* vt mode */
mode125include/linux/xd.hstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout);
mode67include/linux/xia_fs.hextern int xiafs_create(struct inode * dir,const char * name, int len, int mode,
mode69include/linux/xia_fs.hextern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode);
mode77include/linux/xia_fs.hint mode, int rdev);
mode57init/main.cstatic inline _syscall3(int,open,const char *,file,int,flag,int,mode)
mode247ipc/msg.cipcp->mode = (msgflg & S_IRWXUGO);
mode410ipc/msg.cipcp->mode = (ipcp->mode & ~S_IRWXUGO) | 
mode411ipc/msg.c(S_IRWXUGO & tbuf.msg_perm.mode);
mode83ipc/sem.cipcp->mode = (semflg & S_IRWXUGO);
mode311ipc/sem.cipcp->mode = (ipcp->mode & ~S_IRWXUGO)
mode312ipc/sem.c| (tbuf.sem_perm.mode & S_IRWXUGO);
mode103ipc/shm.cshp->shm_perm.mode = (shmflg & S_IRWXUGO);
mode141ipc/shm.cif (shp->shm_perm.mode & SHM_DEST)
mode274ipc/shm.cif (!(ipcp->mode & SHM_LOCKED))
mode276ipc/shm.cipcp->mode &= ~SHM_LOCKED;
mode284ipc/shm.cif (ipcp->mode & SHM_LOCKED)
mode286ipc/shm.cipcp->mode |= SHM_LOCKED;
mode303ipc/shm.cipcp->mode = (ipcp->mode & ~S_IRWXUGO)
mode304ipc/shm.c| (tbuf.shm_perm.mode & S_IRWXUGO);
mode312ipc/shm.cshp->shm_perm.mode |= SHM_DEST;
mode452ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
mode494ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
mode653ipc/shm.cif (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) {
mode65ipc/util.cif (!(flag & perm) || flag & perm & ~ipcp->mode)
mode277kernel/blk_drv/xd.cu_char head,sector,control,mode,temp;
mode296kernel/blk_drv/xd.cmode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200);
mode299kernel/blk_drv/xd.cswitch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) {
mode343kernel/blk_drv/xd.cstatic u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count)
mode354kernel/blk_drv/xd.cset_dma_mode(xd_dma,mode);
mode391kernel/blk_drv/xd.cstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout)
mode396kernel/blk_drv/xd.cprintk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense);
mode400kernel/blk_drv/xd.coutb(mode,XD_CONTROL);
mode409kernel/blk_drv/xd.ccase 0:      if (mode == DMA_MODE) {
mode417kernel/blk_drv/xd.ccase STAT_INPUT:  if (mode == DMA_MODE) {
mode1414kernel/chr_drv/console.cvtmode.mode  = VT_AUTO;
mode300kernel/chr_drv/keyboard.cstatic void applkey(int key, char mode)
mode304kernel/chr_drv/keyboard.cbuf[1] = (mode ? 'O' : '[');
mode1479kernel/chr_drv/tpqic02.cstatic int start_dma(short mode, unsigned long bytes_todo)
mode1491kernel/chr_drv/tpqic02.cdma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ;  
mode1513kernel/chr_drv/tpqic02.cstat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL);
mode1528kernel/chr_drv/tpqic02.cstat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0);
mode1531kernel/chr_drv/tpqic02.c(mode == WRITE)? "write" : "read");
mode1541kernel/chr_drv/tpqic02.cswitch (mode) {
mode1549kernel/chr_drv/tpqic02.cprintk(TPQIC_NAME ": requested unknown mode %d\n", mode);
mode344kernel/chr_drv/tty_io.cif (vt_cons[new_console].vt_mode.mode == VT_PROCESS)
mode366kernel/chr_drv/tty_io.cvt_cons[new_console].vt_mode.mode = VT_AUTO;
mode420kernel/chr_drv/tty_io.cif (vt_cons[fg_console].vt_mode.mode == VT_PROCESS)
mode451kernel/chr_drv/tty_io.cvt_cons[fg_console].vt_mode.mode = VT_AUTO;
mode351kernel/chr_drv/vt.cchar mode;
mode356kernel/chr_drv/vt.cmode = get_fs_byte(&vtmode->mode);
mode357kernel/chr_drv/vt.cif (mode != VT_AUTO && mode != VT_PROCESS)
mode359kernel/chr_drv/vt.cvt_cons[console].vt_mode.mode = mode;
mode377kernel/chr_drv/vt.cput_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode);
mode454kernel/chr_drv/vt.cif (vt_cons[console].vt_mode.mode != VT_PROCESS)
mode82net/inet/lance.cunsigned short mode;  /* Pre-set mode (reg. 15) */
mode204net/inet/lance.clp->init_block.mode = 0x0003;  /* Disable Rx and Tx. */
mode377net/inet/lance.clp->init_block.mode = 0x0000;