Fork me on GitHub
mode               42 drivers/block/dma.c void start_dma(int channel, void *address, unsigned int count, int mode)
mode               51 drivers/block/dma.c 	outport_b(dma_mode[channel], mode | channel);
mode              510 drivers/block/ide.c int ide_drvsel(struct ide *ide, int drive, int mode, unsigned char lba24_head)
mode              515 drivers/block/ide.c 	selected = (mode + (drive << 4)) | lba24_head;
mode              171 drivers/char/console.c static void csi_J(struct vconsole *vc, int mode)
mode              175 drivers/char/console.c 	switch(mode) {
mode              200 drivers/char/console.c static void csi_K(struct vconsole *vc, int mode)
mode              204 drivers/char/console.c 	switch(mode) {
mode              361 drivers/char/console.c 	vc->vt_mode.mode = VT_AUTO;
mode              847 drivers/char/console.c 		if(vc[current_cons].vt_mode.mode == VT_PROCESS) {
mode              864 drivers/char/console.c 		if(vc[new_cons].vt_mode.mode == VT_PROCESS) {
mode              453 drivers/char/keyboard.c 	if(tty->kbd.mode == K_RAW) {
mode              469 drivers/char/keyboard.c 	if(tty->kbd.mode == K_MEDIUMRAW) {
mode              738 drivers/char/keyboard.c 		if(tty->kbd.mode == K_RAW || tty->kbd.mode == K_MEDIUMRAW) {
mode              259 drivers/char/tty.c 	tty->kbd.mode = K_XLATE;
mode              515 drivers/char/tty.c 		if(tty->kbd.mode == K_RAW || tty->kbd.mode == K_MEDIUMRAW) {
mode               84 drivers/char/vt.c 			memset_b((void *)arg, tty->kbd.mode, sizeof(unsigned char));
mode               91 drivers/char/vt.c 			tty->kbd.mode = arg;
mode              146 drivers/char/vt.c 			if(vt_mode->mode != VT_AUTO && vt_mode->mode != VT_PROCESS) {
mode              174 drivers/char/vt.c 			if(vc->vt_mode.mode != VT_PROCESS) {
mode              257 drivers/video/fbcon.c void fbcon_show_cursor(struct vconsole *vc, int mode)
mode              259 drivers/video/fbcon.c 	switch(mode) {
mode              332 drivers/video/fbcon.c void fbcon_scroll_screen(struct vconsole *vc, int top, int mode)
mode              345 drivers/video/fbcon.c 	switch(mode) {
mode              469 drivers/video/fbcon.c void fbcon_buf_scroll(struct vconsole *vc, int mode)
mode              481 drivers/video/fbcon.c 	if(mode == SCROLL_UP) {
mode              509 drivers/video/fbcon.c 	if(mode == SCROLL_DOWN) {
mode              109 drivers/video/vgacon.c void vgacon_show_cursor(struct vconsole *vc, int mode)
mode              113 drivers/video/vgacon.c 	switch(mode) {
mode              178 drivers/video/vgacon.c void vgacon_scroll_screen(struct vconsole *vc, int top, int mode)
mode              189 drivers/video/vgacon.c 	switch(mode) {
mode              260 drivers/video/vgacon.c void vgacon_buf_scroll(struct vconsole *vc, int mode)
mode              269 drivers/video/vgacon.c 	if(mode == SCROLL_UP) {
mode              287 drivers/video/vgacon.c 	if(mode == SCROLL_DOWN) {
mode               44 fs/ext2/bitmaps.c static int change_bit(int mode, struct superblock *sb, __blk_t block, int item)
mode               58 fs/ext2/bitmaps.c 	if(mode == CLEAR_BIT) {
mode               65 fs/ext2/bitmaps.c 	if(mode == SET_BIT) {
mode               82 fs/ext2/bitmaps.c int ext2_ialloc(struct inode *i, int mode)
mode              139 fs/ext2/bitmaps.c 	if(S_ISDIR(mode)) {
mode              187 fs/ext2/inode.c int ext2_bmap(struct inode *i, __off_t offset, int mode)
mode              214 fs/ext2/inode.c 		if(!i->u.ext2.i_data[block] && mode == FOR_WRITING) {
mode              232 fs/ext2/inode.c 		if(mode == FOR_WRITING) {
mode              264 fs/ext2/inode.c 		if(mode == FOR_WRITING) {
mode              304 fs/ext2/inode.c 			if(mode == FOR_WRITING) {
mode              348 fs/ext2/inode.c 	if(!block && mode == FOR_WRITING) {
mode              463 fs/ext2/namei.c int ext2_mkdir(struct inode *dir, char *name, __mode_t mode)
mode              479 fs/ext2/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
mode              555 fs/ext2/namei.c int ext2_mknod(struct inode *dir, char *name, __mode_t mode, __dev_t dev)
mode              565 fs/ext2/namei.c 	if(!(i = ialloc(dir->sb, mode & S_IFMT))) {
mode              588 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
mode              596 fs/ext2/namei.c 	switch(mode & S_IFMT) {
mode              628 fs/ext2/namei.c int ext2_create(struct inode *dir, char *name, __mode_t mode, struct inode **i_res)
mode              666 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
mode              244 fs/inode.c     struct inode * ialloc(struct superblock *sb, int mode)
mode              253 fs/inode.c     			errno = i->sb->fsop->ialloc(i, mode);
mode              321 fs/inode.c     int bmap(struct inode *i, __off_t offset, int mode)
mode              324 fs/inode.c     		return i->fsop->bmap(i, offset, mode);
mode              173 fs/iso9660/inode.c int iso9660_bmap(struct inode *i, __off_t offset, int mode)
mode               87 fs/iso9660/rrip.c 				i->i_mode  = isonum_733(rrip->u.px.mode);
mode               20 fs/minix/bitmaps.c static int count_bits(struct superblock *sb, __blk_t offset, int num, int blocks, int mode)
mode               40 fs/minix/bitmaps.c 					if(mode == COUNT) {
mode               44 fs/minix/bitmaps.c 					if(mode == FIRST_ZERO) {
mode               59 fs/minix/bitmaps.c int minix_change_bit(int mode, struct superblock *sb, int map, int item)
mode               73 fs/minix/bitmaps.c 	if(mode == CLEAR_BIT) {
mode               80 fs/minix/bitmaps.c 	if(mode == SET_BIT) {
mode               41 fs/minix/inode.c int minix_ialloc(struct inode *i, int mode)
mode               44 fs/minix/inode.c 		return v1_minix_ialloc(i, mode);
mode               47 fs/minix/inode.c 	return v2_minix_ialloc(i, mode);
mode               59 fs/minix/inode.c int minix_bmap(struct inode *i, __off_t offset, int mode)
mode               62 fs/minix/inode.c 		return v1_minix_bmap(i, offset, mode);
mode               65 fs/minix/inode.c 	return v2_minix_bmap(i, offset, mode);
mode              410 fs/minix/namei.c int minix_mkdir(struct inode *dir, char *name, __mode_t mode)
mode              429 fs/minix/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
mode              499 fs/minix/namei.c int minix_mknod(struct inode *dir, char *name, __mode_t mode, __dev_t dev)
mode              508 fs/minix/namei.c 	if(!(i = ialloc(dir->sb, mode & S_IFMT))) {
mode              531 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
mode              539 fs/minix/namei.c 	switch(mode & S_IFMT) {
mode              568 fs/minix/namei.c int minix_create(struct inode *dir, char *name, __mode_t mode, struct inode **i_res)
mode              604 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
mode              145 fs/minix/v1_inode.c int v1_minix_ialloc(struct inode *i, int mode)
mode              208 fs/minix/v1_inode.c int v1_minix_bmap(struct inode *i, __off_t offset, int mode)
mode              232 fs/minix/v1_inode.c 		if(!i->u.minix.u.i1_zone[block] && mode == FOR_WRITING) {
mode              249 fs/minix/v1_inode.c 		if(mode == FOR_WRITING) {
mode              276 fs/minix/v1_inode.c 		if(mode == FOR_WRITING) {
mode              314 fs/minix/v1_inode.c 	if(!block && mode == FOR_WRITING) {
mode              148 fs/minix/v2_inode.c int v2_minix_ialloc(struct inode *i, int mode)
mode              211 fs/minix/v2_inode.c int v2_minix_bmap(struct inode *i, __off_t offset, int mode)
mode              238 fs/minix/v2_inode.c 		if(!i->u.minix.u.i2_zone[block] && mode == FOR_WRITING) {
mode              255 fs/minix/v2_inode.c 		if(mode == FOR_WRITING) {
mode              286 fs/minix/v2_inode.c 		if(mode == FOR_WRITING) {
mode              325 fs/minix/v2_inode.c 			if(mode == FOR_WRITING) {
mode              368 fs/minix/v2_inode.c 	if(!block && mode == FOR_WRITING) {
mode               74 fs/pipefs/super.c int pipefs_ialloc(struct inode *i, int mode)
mode               74 fs/procfs/dir.c 		d.mode = S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
mode               25 fs/procfs/inode.c 	__mode_t mode;
mode               30 fs/procfs/inode.c 		mode = S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
mode               37 fs/procfs/inode.c 		mode = d->mode;
mode               42 fs/procfs/inode.c 	i->i_mode = mode;
mode               72 fs/procfs/inode.c int procfs_bmap(struct inode *i, __off_t offset, int mode)
mode              149 include/fiwix/fs_iso9660.h 	char mode[8];
mode               42 include/fiwix/fs_proc.h 	__mode_t mode;
mode               43 include/fiwix/tty.h 	char mode;
mode                9 include/fiwix/vt.h 	char mode;		/* vt mode */
mode               19 kernel/syscalls/access.c int sys_access(const char *filename, __mode_t mode)
mode               26 kernel/syscalls/access.c 	printk("(pid %d) sys_access('%s', %d)", current->pid, filename, mode);
mode               29 kernel/syscalls/access.c 	if((mode & S_IRWXO) != mode) {
mode               41 kernel/syscalls/access.c 	if(mode & TO_WRITE) {
mode               51 kernel/syscalls/access.c 	errno = check_permission(mode, i);
mode               20 kernel/syscalls/chmod.c int sys_chmod(const char *filename, __mode_t mode)
mode               27 kernel/syscalls/chmod.c 	printk("(pid %d) sys_chmod('%s', %d)\n", current->pid, filename, mode);
mode               50 kernel/syscalls/chmod.c 	i->i_mode |= mode & ~S_IFMT;
mode               17 kernel/syscalls/creat.c int sys_creat(const char *filename, __mode_t mode)
mode               20 kernel/syscalls/creat.c 	printk("(pid %d) sys_creat('%s', %d)\n", current->pid, filename, mode);
mode               22 kernel/syscalls/creat.c 	return sys_open(filename, O_CREAT | O_WRONLY | O_TRUNC, mode);
mode               19 kernel/syscalls/fchmod.c int sys_fchmod(int ufd, __mode_t mode)
mode               24 kernel/syscalls/fchmod.c 	printk("(pid %d) sys_fchmod(%d, %d)\n", current->pid, ufd, mode);
mode               38 kernel/syscalls/fchmod.c 	i->i_mode |= mode & ~S_IFMT;
mode               19 kernel/syscalls/mkdir.c int sys_mkdir(const char *dirname, __mode_t mode)
mode               26 kernel/syscalls/mkdir.c 	printk("(pid %d) sys_mkdir('%s', %o)\n", current->pid, dirname, mode);
mode               59 kernel/syscalls/mkdir.c 		errno = dir->fsop->mkdir(dir, basename, mode);
mode               19 kernel/syscalls/mknod.c int sys_mknod(const char *pathname, __mode_t mode, __dev_t dev)
mode               26 kernel/syscalls/mknod.c 	printk("(pid %d) sys_mknod('%s', %d, %x)\n", current->pid, pathname, mode, dev);
mode               29 kernel/syscalls/mknod.c 	if(!S_ISCHR(mode) && !S_ISBLK(mode) && !S_ISFIFO(mode)) {
mode               32 kernel/syscalls/mknod.c 	if(!S_ISFIFO(mode) && !IS_SUPERUSER) {
mode               64 kernel/syscalls/mknod.c 		errno = dir->fsop->mknod(dir, basename, mode, dev);
mode               16 kernel/syscalls/open.c int sys_open(const char *filename, int flags, __mode_t mode)
mode               24 kernel/syscalls/open.c 	printk("(pid %d) sys_open('%s', %o, %o)\n", current->pid, filename, flags, mode);
mode               71 kernel/syscalls/open.c 				errno = dir->fsop->create(dir, basename, mode, &i);
mode               95 kernel/syscalls/open.c 		mode = 0;
mode              353 mm/mmap.c      int do_mmap(struct inode *i, unsigned int start, unsigned int length, unsigned int prot, unsigned int flags, unsigned int offset, char type, char mode)
mode              377 mm/mmap.c      		if(mode == O_WRONLY) {
mode              383 mm/mmap.c      					if(!(mode & (O_WRONLY | O_RDWR))) {
mode              429 mm/mmap.c      	vma->o_mode = mode;