tag | line | file | source code |
mode | 53 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 73 | fs/exec.c | f->f_flags = mode; |
mode | 74 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
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 | 24 | fs/ext2/acl.c | int mode = inode->i_mode; |
mode | 31 | fs/ext2/acl.c | mode >>= 6; |
mode | 33 | fs/ext2/acl.c | mode >>= 3; |
mode | 34 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 272 | fs/ext2/ialloc.c | int mode) |
mode | 324 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 344 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 439 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 445 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 467 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 304 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 315 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 321 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 343 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 359 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 365 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 382 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 406 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 455 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~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 | 75 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
mode | 80 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
mode | 81 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
mode | 279 | 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 | 76 | fs/namei.c | int mode = inode->i_mode; |
mode | 84 | fs/namei.c | mode >>= 6; |
mode | 86 | fs/namei.c | mode >>= 3; |
mode | 87 | fs/namei.c | if (((mode & mask & 0007) == mask) || suser()) |
mode | 137 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 150 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 277 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 285 | fs/namei.c | mode &= S_IALLUGO & ~current->umask; |
mode | 286 | fs/namei.c | mode |= S_IFREG; |
mode | 325 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 340 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 395 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 401 | fs/namei.c | mode &= ~current->umask; |
mode | 421 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 424 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 429 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !suser())) |
mode | 433 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 439 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 464 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
mode | 467 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 474 | 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 | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 573 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 203 | fs/nfs/inode.c | sattr.mode = inode->i_mode; |
mode | 205 | fs/nfs/inode.c | sattr.mode = (unsigned) -1; |
mode | 117 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 138 | 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 | asmlinkage int sys_access(const char * filename,int mode) |
mode | 163 | fs/open.c | if (mode != (mode & S_IRWXO)) /* 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 & S_IXOTH) || (i_mode & S_IXUGO))) |
mode | 234 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 247 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 255 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 271 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 353 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 375 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 401 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 409 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 414 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 416 | 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 & S_IRWXUGO & ~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 | 40 | include/linux/binfmts.h | extern int open_inode(struct inode * inode, int mode); |
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 | 377 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 379 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 15 | include/linux/ipc.h | ushort mode; /* access modes see mode flags below */ |
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 | 125 | 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 | 57 | init/main.c | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 247 | ipc/msg.c | ipcp->mode = (msgflg & S_IRWXUGO); |
mode | 410 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 411 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 83 | ipc/sem.c | ipcp->mode = (semflg & S_IRWXUGO); |
mode | 311 | ipc/sem.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 312 | ipc/sem.c | | (tbuf.sem_perm.mode & S_IRWXUGO); |
mode | 103 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 141 | ipc/shm.c | if (shp->shm_perm.mode & SHM_DEST) |
mode | 274 | ipc/shm.c | if (!(ipcp->mode & SHM_LOCKED)) |
mode | 276 | ipc/shm.c | ipcp->mode &= ~SHM_LOCKED; |
mode | 284 | ipc/shm.c | if (ipcp->mode & SHM_LOCKED) |
mode | 286 | ipc/shm.c | ipcp->mode |= SHM_LOCKED; |
mode | 303 | ipc/shm.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 304 | ipc/shm.c | | (tbuf.shm_perm.mode & S_IRWXUGO); |
mode | 312 | ipc/shm.c | shp->shm_perm.mode |= SHM_DEST; |
mode | 452 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 494 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 653 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 65 | ipc/util.c | if (!(flag & perm) || flag & perm & ~ipcp->mode) |
mode | 277 | kernel/blk_drv/xd.c | u_char head,sector,control,mode,temp; |
mode | 296 | kernel/blk_drv/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 299 | kernel/blk_drv/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 343 | kernel/blk_drv/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 354 | kernel/blk_drv/xd.c | set_dma_mode(xd_dma,mode); |
mode | 391 | 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 | 396 | 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 | 400 | kernel/blk_drv/xd.c | outb(mode,XD_CONTROL); |
mode | 409 | kernel/blk_drv/xd.c | case 0: if (mode == DMA_MODE) { |
mode | 417 | kernel/blk_drv/xd.c | case STAT_INPUT: if (mode == DMA_MODE) { |
mode | 1414 | kernel/chr_drv/console.c | vtmode.mode = VT_AUTO; |
mode | 300 | kernel/chr_drv/keyboard.c | static void applkey(int key, char mode) |
mode | 304 | kernel/chr_drv/keyboard.c | buf[1] = (mode ? 'O' : '['); |
mode | 1479 | kernel/chr_drv/tpqic02.c | static int start_dma(short mode, unsigned long bytes_todo) |
mode | 1491 | kernel/chr_drv/tpqic02.c | dma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ; |
mode | 1513 | kernel/chr_drv/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
mode | 1528 | kernel/chr_drv/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
mode | 1531 | kernel/chr_drv/tpqic02.c | (mode == WRITE)? "write" : "read"); |
mode | 1541 | kernel/chr_drv/tpqic02.c | switch (mode) { |
mode | 1549 | kernel/chr_drv/tpqic02.c | printk(TPQIC_NAME ": requested unknown mode %d\n", mode); |
mode | 344 | kernel/chr_drv/tty_io.c | if (vt_cons[new_console].vt_mode.mode == VT_PROCESS) |
mode | 366 | kernel/chr_drv/tty_io.c | vt_cons[new_console].vt_mode.mode = VT_AUTO; |
mode | 420 | kernel/chr_drv/tty_io.c | if (vt_cons[fg_console].vt_mode.mode == VT_PROCESS) |
mode | 451 | kernel/chr_drv/tty_io.c | vt_cons[fg_console].vt_mode.mode = VT_AUTO; |
mode | 351 | kernel/chr_drv/vt.c | char mode; |
mode | 356 | kernel/chr_drv/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 357 | kernel/chr_drv/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 359 | kernel/chr_drv/vt.c | vt_cons[console].vt_mode.mode = mode; |
mode | 377 | kernel/chr_drv/vt.c | put_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode); |
mode | 454 | kernel/chr_drv/vt.c | if (vt_cons[console].vt_mode.mode != VT_PROCESS) |
mode | 82 | net/inet/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 204 | net/inet/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 377 | net/inet/lance.c | lp->init_block.mode = 0x0000; |