Fork me on GitHub
flags             137 drivers/block/ide.c 		outport_b(ide->base + IDE_COMMAND, (ide->drive[drive].flags & DEVICE_IS_ATAPI) ? ATA_IDENTIFY_PACKET : ATA_IDENTIFY);
flags             154 drivers/block/ide.c 		outport_b(ide->base + IDE_COMMAND, (ide->drive[drive].flags & DEVICE_IS_ATAPI) ? ATA_IDENTIFY_PACKET : ATA_IDENTIFY);
flags             191 drivers/block/ide.c 		ide->drive[drive].flags |= DEVICE_IS_CFA;
flags             194 drivers/block/ide.c 	if(ide->drive[drive].flags & DEVICE_IS_ATAPI) {
flags             196 drivers/block/ide.c 			ide->drive[drive].flags |= DEVICE_IS_CDROM;
flags             285 drivers/block/ide.c 	if(!(ide->drive[drive].flags & DEVICE_IS_ATAPI)) {
flags             291 drivers/block/ide.c 	if(ide->drive[drive].flags & DEVICE_IS_CFA) {
flags             295 drivers/block/ide.c 	if(ide->drive[drive].flags & DEVICE_IS_DISK) {
flags             301 drivers/block/ide.c 			ide->drive[drive].flags |= DEVICE_REQUIRES_LBA;
flags             307 drivers/block/ide.c 	if(ide->drive[drive].flags & DEVICE_IS_CDROM) {
flags             317 drivers/block/ide.c 		ide->drive[drive].flags |= DEVICE_REQUIRES_LBA;
flags             324 drivers/block/ide.c 		ide->drive[drive].flags |= DEVICE_HAS_RW_MULTIPLE;
flags             573 drivers/block/ide.c 					ide->drive[IDE_MASTER].flags |= DEVICE_IS_ATAPI;
flags             577 drivers/block/ide.c 					ide->drive[IDE_MASTER].flags |= DEVICE_IS_DISK;
flags             603 drivers/block/ide.c 				ide->drive[IDE_SLAVE].flags |= DEVICE_IS_ATAPI;
flags             607 drivers/block/ide.c 				ide->drive[IDE_SLAVE].flags |= DEVICE_IS_DISK;
flags             767 drivers/block/ide.c 			if(ide->drive[IDE_MASTER].flags & DEVICE_IS_DISK) {
flags             772 drivers/block/ide.c 			if(ide->drive[IDE_MASTER].flags & DEVICE_IS_CDROM) {
flags             787 drivers/block/ide.c 			if(ide->drive[IDE_SLAVE].flags & DEVICE_IS_DISK) {
flags             792 drivers/block/ide.c 			if(ide->drive[IDE_SLAVE].flags & DEVICE_IS_CDROM) {
flags             816 drivers/block/ide.c 			if(ide->drive[IDE_MASTER].flags & DEVICE_IS_DISK) {
flags             821 drivers/block/ide.c 			if(ide->drive[IDE_MASTER].flags & DEVICE_IS_CDROM) {
flags             836 drivers/block/ide.c 			if(ide->drive[IDE_SLAVE].flags & DEVICE_IS_DISK) {
flags             841 drivers/block/ide.c 			if(ide->drive[IDE_SLAVE].flags & DEVICE_IS_CDROM) {
flags             163 drivers/block/ide_hd.c 		if(ide->drive[drive].flags & DEVICE_HAS_RW_MULTIPLE) {
flags             171 drivers/block/ide_hd.c 		if(ide->drive[drive].flags & DEVICE_REQUIRES_LBA) {
flags             291 drivers/block/ide_hd.c 		if(ide->drive[drive].flags & DEVICE_HAS_RW_MULTIPLE) {
flags             299 drivers/block/ide_hd.c 		if(ide->drive[drive].flags & DEVICE_REQUIRES_LBA) {
flags             512 drivers/block/ide_hd.c 	if(ide->drive[drive].flags & DEVICE_HAS_RW_MULTIPLE) {
flags             396 drivers/char/console.c 	unsigned long int flags;
flags             398 drivers/char/console.c 	SAVE_FLAGS(flags); CLI();
flags             399 drivers/char/console.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             426 drivers/char/console.c 			if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             443 drivers/char/console.c 				if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             463 drivers/char/console.c 		if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             471 drivers/char/console.c 	RESTORE_FLAGS(flags);
flags             512 drivers/char/console.c 	vc->flags &= ~CONSOLE_BLANKED;
flags             525 drivers/char/console.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             875 drivers/char/console.c 		vc[current_cons].flags &= ~CONSOLE_HAS_FOCUS;
flags             877 drivers/char/console.c 		vc[new_cons].flags |= CONSOLE_HAS_FOCUS;
flags             893 drivers/char/console.c 	if(!(vc->flags & CONSOLE_BLANKED)) {
flags             897 drivers/char/console.c 	vc->flags &= ~CONSOLE_BLANKED;
flags            1000 drivers/char/console.c 	if(video.flags & VPF_VGA) {
flags            1003 drivers/char/console.c 	if(video.flags & VPF_VESAFB) {
flags            1019 drivers/char/console.c 			if(video.flags & VPF_VGA) {
flags            1022 drivers/char/console.c 			if(video.flags & VPF_VESAFB) {
flags            1034 drivers/char/console.c 	vc[current_cons].flags |= CONSOLE_HAS_FOCUS;
flags            1036 drivers/char/console.c 	if(video.flags & VPF_VGA) {
flags             450 drivers/char/keyboard.c 	keyboard_bh.flags |= BH_ACTIVE;
flags             743 drivers/char/keyboard.c 			keyboard_bh.flags |= BH_ACTIVE;
flags             143 drivers/char/lp.c 	if(!(lp_table[minor].flags & LP_CTRL_SEL)) {
flags             146 drivers/char/lp.c 	if(lp_table[minor].flags & LP_STAT_BUS) {
flags             149 drivers/char/lp.c 	lp_table[minor].flags |= LP_STAT_BUS;
flags             161 drivers/char/lp.c 	lp_table[minor].flags &= ~LP_STAT_BUS;
flags             202 drivers/char/lp.c 			lp_table[n].flags |= LP_CTRL_SEL;
flags             209 drivers/char/lp.c 		if(lp_table[n].flags & LP_CTRL_SEL) {
flags             141 drivers/char/serial.c 				s->flags |= UART_IS_16550A | UART_HAS_FIFO;
flags             145 drivers/char/serial.c 			s->flags |= UART_IS_16550;
flags             156 drivers/char/serial.c 			s->flags |= UART_IS_8250;
flags             160 drivers/char/serial.c 			s->flags |= UART_IS_16450;
flags             184 drivers/char/serial.c 	unsigned long int flags;
flags             186 drivers/char/serial.c 	SAVE_FLAGS(flags); CLI();
flags             189 drivers/char/serial.c 	RESTORE_FLAGS(flags);
flags             196 drivers/char/serial.c 	unsigned long int flags;
flags             198 drivers/char/serial.c 	SAVE_FLAGS(flags); CLI();
flags             201 drivers/char/serial.c 	RESTORE_FLAGS(flags);
flags             322 drivers/char/serial.c 	serial_bh.flags |= BH_ACTIVE;
flags             367 drivers/char/serial.c 	if(s->flags & UART_HAS_FIFO) {
flags             473 drivers/char/serial.c 	unsigned long int flags;
flags             475 drivers/char/serial.c 	SAVE_FLAGS(flags); CLI();
flags             478 drivers/char/serial.c 	RESTORE_FLAGS(flags);
flags             496 drivers/char/serial.c 					serial_bh.flags |= BH_ACTIVE;
flags             513 drivers/char/serial.c 			printk("ttyS%d     0x%04X-0x%04X    %d    type=%s%s\n", n, s->addr, s->addr + 7, s->irq, serial_chip[type], s->flags & UART_HAS_FIFO ? " FIFO=yes" : "");
flags             425 drivers/char/tty.c 	noctty_flag = fd_table->flags & O_NOCTTY;
flags             562 drivers/char/tty.c 						if(fd_table->flags & O_NONBLOCK) {
flags             591 drivers/char/tty.c 						if(fd_table->flags & O_NONBLOCK) {
flags             623 drivers/char/tty.c 		if(fd_table->flags & O_NONBLOCK) {
flags             680 drivers/char/tty.c 		if(fd_table->flags & O_NONBLOCK) {
flags             148 drivers/char/tty_queue.c 	unsigned long int flags;
flags             152 drivers/char/tty_queue.c 	SAVE_FLAGS(flags); CLI();
flags             158 drivers/char/tty_queue.c 			RESTORE_FLAGS(flags);
flags             175 drivers/char/tty_queue.c 	RESTORE_FLAGS(flags);
flags             181 drivers/char/tty_queue.c 	unsigned long int flags;
flags             185 drivers/char/tty_queue.c 	SAVE_FLAGS(flags); CLI();
flags             200 drivers/char/tty_queue.c 	RESTORE_FLAGS(flags);
flags             206 drivers/char/tty_queue.c 	unsigned long int flags;
flags             210 drivers/char/tty_queue.c 	SAVE_FLAGS(flags); CLI();
flags             225 drivers/char/tty_queue.c 	RESTORE_FLAGS(flags);
flags             231 drivers/char/tty_queue.c 	unsigned long int flags;
flags             233 drivers/char/tty_queue.c 	SAVE_FLAGS(flags); CLI();
flags             239 drivers/char/tty_queue.c 	RESTORE_FLAGS(flags);
flags             172 drivers/video/fbcon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags             199 drivers/video/fbcon.c 		if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             224 drivers/video/fbcon.c 		if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             241 drivers/video/fbcon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags             250 drivers/video/fbcon.c 	if(video.flags & VPF_CURSOR_ON) {
flags             261 drivers/video/fbcon.c 			if(!(video.flags & VPF_CURSOR_ON)) {
flags             266 drivers/video/fbcon.c 			video.flags |= VPF_CURSOR_ON;
flags             270 drivers/video/fbcon.c 			video.flags &= ~VPF_CURSOR_ON;
flags             288 drivers/video/fbcon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags             319 drivers/video/fbcon.c 	if(vc->flags & CONSOLE_BLANKED) {
flags             329 drivers/video/fbcon.c 	vc->flags |= CONSOLE_BLANKED;
flags             347 drivers/video/fbcon.c 			if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             382 drivers/video/fbcon.c 					if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             400 drivers/video/fbcon.c 			if((vc->flags & CONSOLE_HAS_FOCUS) && !screen_is_off) {
flags             433 drivers/video/fbcon.c 	vc->flags &= ~CONSOLE_BLANKED;
flags             438 drivers/video/fbcon.c 	unsigned long int flags;
flags             443 drivers/video/fbcon.c 		SAVE_FLAGS(flags); CLI();
flags             446 drivers/video/fbcon.c 		RESTORE_FLAGS(flags);
flags             447 drivers/video/fbcon.c 		vc->flags &= ~CONSOLE_BLANKED;
flags             460 drivers/video/fbcon.c 	unsigned long int flags;
flags             464 drivers/video/fbcon.c 	SAVE_FLAGS(flags); CLI();
flags             466 drivers/video/fbcon.c 	RESTORE_FLAGS(flags);
flags             549 drivers/video/fbcon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags             553 drivers/video/fbcon.c 	if(video.flags & VPF_CURSOR_ON && !screen_is_off) {
flags              44 drivers/video/vgacon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags              67 drivers/video/vgacon.c 		if(vc->flags & CONSOLE_HAS_FOCUS) {
flags              88 drivers/video/vgacon.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             100 drivers/video/vgacon.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             115 drivers/video/vgacon.c 			if(!(video.flags & VPF_CURSOR_ON)) {
flags             123 drivers/video/vgacon.c 			video.flags |= VPF_CURSOR_ON;
flags             129 drivers/video/vgacon.c 			video.flags &= ~VPF_CURSOR_ON;
flags             152 drivers/video/vgacon.c 	if(!(vc->flags & CONSOLE_HAS_FOCUS)) {
flags             166 drivers/video/vgacon.c 	if(vc->flags & CONSOLE_BLANKED) {
flags             170 drivers/video/vgacon.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             174 drivers/video/vgacon.c 	vc->flags |= CONSOLE_BLANKED;
flags             194 drivers/video/vgacon.c 			if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             205 drivers/video/vgacon.c 				if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             210 drivers/video/vgacon.c 			if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             222 drivers/video/vgacon.c 	if(vc->flags & CONSOLE_HAS_FOCUS) {
flags             230 drivers/video/vgacon.c 	unsigned long int flags;
flags             234 drivers/video/vgacon.c 		SAVE_FLAGS(flags); CLI();
flags             238 drivers/video/vgacon.c 		RESTORE_FLAGS(flags);
flags             250 drivers/video/vgacon.c 	unsigned long int flags;
flags             253 drivers/video/vgacon.c 	SAVE_FLAGS(flags); CLI();
flags             257 drivers/video/vgacon.c 	RESTORE_FLAGS(flags);
flags              23 drivers/video/video_init.c 	if(video.flags & VPF_VGA) {
flags              26 drivers/video/video_init.c 	if(video.flags & VPF_VESAFB) {
flags             120 fs/buffer.c    	buf->flags &= ~BUFFER_DIRTY;
flags             139 fs/buffer.c    		if(!(buf->flags & BUFFER_VALID)) {
flags             164 fs/buffer.c    	unsigned long int flags;
flags             167 fs/buffer.c    		SAVE_FLAGS(flags); CLI();
flags             168 fs/buffer.c    		if(buf->flags & BUFFER_LOCKED) {
flags             169 fs/buffer.c    			RESTORE_FLAGS(flags);
flags             175 fs/buffer.c    	buf->flags |= BUFFER_LOCKED;
flags             176 fs/buffer.c    	RESTORE_FLAGS(flags);
flags             181 fs/buffer.c    	unsigned long int flags;
flags             190 fs/buffer.c    		SAVE_FLAGS(flags); CLI();
flags             192 fs/buffer.c    		if(buf->flags & BUFFER_LOCKED) {
flags             193 fs/buffer.c    			RESTORE_FLAGS(flags);
flags             201 fs/buffer.c    	buf->flags |= BUFFER_LOCKED;
flags             203 fs/buffer.c    	RESTORE_FLAGS(flags);
flags             259 fs/buffer.c    	unsigned long int flags;
flags             264 fs/buffer.c    			SAVE_FLAGS(flags); CLI();
flags             265 fs/buffer.c    			if(buf->flags & BUFFER_LOCKED) {
flags             266 fs/buffer.c    				RESTORE_FLAGS(flags);
flags             270 fs/buffer.c    			buf->flags |= BUFFER_LOCKED;
flags             272 fs/buffer.c    			RESTORE_FLAGS(flags);
flags             282 fs/buffer.c    		if(buf->flags & BUFFER_DIRTY) {
flags             295 fs/buffer.c    		SAVE_FLAGS(flags); CLI();
flags             301 fs/buffer.c    		buf->flags &= ~BUFFER_VALID;
flags             302 fs/buffer.c    		RESTORE_FLAGS(flags);
flags             318 fs/buffer.c    		if(buf->flags & BUFFER_VALID) {
flags             323 fs/buffer.c    				buf->flags |= BUFFER_VALID;
flags             326 fs/buffer.c    		if(buf->flags & BUFFER_VALID) {
flags             338 fs/buffer.c    	buf->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             344 fs/buffer.c    	unsigned long int flags;
flags             346 fs/buffer.c    	SAVE_FLAGS(flags); CLI();
flags             348 fs/buffer.c    	if(buf->flags & BUFFER_DIRTY) {
flags             353 fs/buffer.c    	buf->flags &= ~BUFFER_LOCKED;
flags             355 fs/buffer.c    	RESTORE_FLAGS(flags);
flags             373 fs/buffer.c    			buf->flags &= ~BUFFER_LOCKED;
flags             383 fs/buffer.c    	unsigned long int flags;
flags             388 fs/buffer.c    	SAVE_FLAGS(flags); CLI();
flags             391 fs/buffer.c    		if(!(buf->flags & BUFFER_LOCKED) && buf->dev == dev) {
flags             394 fs/buffer.c    			buf->flags &= ~(BUFFER_VALID | BUFFER_LOCKED);
flags             400 fs/buffer.c    	RESTORE_FLAGS(flags);
flags             423 fs/buffer.c    		if(buf->flags & BUFFER_DIRTY) {
flags             428 fs/buffer.c    		buf->flags |= BUFFER_VALID;
flags              64 fs/ext2/file.c 	if(fd_table->flags & O_APPEND) {
flags              69 fs/ext2/file.c 	if(fd_table->flags & O_TRUNC) {
flags              94 fs/ext2/file.c 	if(fd_table->flags & O_APPEND) {
flags             283 fs/ext2/inode.c 			buf->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             321 fs/ext2/inode.c 				buf3->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             371 fs/ext2/inode.c 		buf2->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             134 fs/ext2/super.c 	if(!(sb->flags & MS_RDONLY)) {
flags             147 fs/ext2/super.c int ext2_remount_fs(struct superblock *sb, int flags)
flags             152 fs/ext2/super.c 	if((flags & MS_RDONLY) == (sb->flags & MS_RDONLY)) {
flags             163 fs/ext2/super.c 	if(flags & MS_RDONLY) {
flags             202 fs/ext2/super.c 	if(sb->flags & MS_RDONLY) {
flags              33 fs/filesystems.c 			if((fsop->flags & FSOP_KERN_MOUNT)) {
flags             130 fs/inode.c     	unsigned long int flags;
flags             138 fs/inode.c     	SAVE_FLAGS(flags); CLI();
flags             164 fs/inode.c     	RESTORE_FLAGS(flags);
flags             219 fs/inode.c     	unsigned long int flags;
flags             222 fs/inode.c     		SAVE_FLAGS(flags); CLI();
flags             224 fs/inode.c     			RESTORE_FLAGS(flags);
flags             231 fs/inode.c     	RESTORE_FLAGS(flags);
flags             236 fs/inode.c     	unsigned long int flags;
flags             238 fs/inode.c     	SAVE_FLAGS(flags); CLI();
flags             241 fs/inode.c     	RESTORE_FLAGS(flags);
flags             277 fs/inode.c     	unsigned long int flags;
flags             306 fs/inode.c     		SAVE_FLAGS(flags); CLI();
flags             311 fs/inode.c     		RESTORE_FLAGS(flags);
flags             351 fs/inode.c     	unsigned long int flags;
flags             382 fs/inode.c     	SAVE_FLAGS(flags); CLI();
flags             384 fs/inode.c     	RESTORE_FLAGS(flags);
flags             410 fs/inode.c     	unsigned long int flags;
flags             415 fs/inode.c     	SAVE_FLAGS(flags); CLI();
flags             426 fs/inode.c     	RESTORE_FLAGS(flags);
flags             155 fs/iso9660/dir.c 						if(!((char)d->flags[0] & ISO9660_FILE_ISDIR)) {
flags              63 fs/iso9660/file.c 	if(fd_table->flags & (O_WRONLY | O_RDWR | O_TRUNC | O_APPEND)) {
flags             123 fs/iso9660/inode.c 	if((char)d->flags[0] & ISO9660_FILE_ISDIR) {
flags             126 fs/iso9660/inode.c 	if(!((char)d->flags[0] & ISO9660_FILE_HASOWNER)) {
flags              74 fs/iso9660/namei.c 					if(!((char)d->flags[0] & ISO9660_FILE_ISDIR)) {
flags             107 fs/iso9660/rrip.c 					switch(slc->flags & 0xE) {
flags             122 fs/iso9660/rrip.c 							printk("WARNING: %s(): unsupported RRIP SL flags %d.\n", __FUNCTION__, slc->flags & 0xE);
flags             131 fs/iso9660/rrip.c 				if(rrip->u.tf.flags & TF_CREATION) {
flags             134 fs/iso9660/rrip.c 				if(rrip->u.tf.flags & TF_MODIFY) {
flags             137 fs/iso9660/rrip.c 				if(rrip->u.tf.flags & TF_ACCESS) {
flags             140 fs/iso9660/rrip.c 				if(rrip->u.tf.flags & TF_ATTRIBUTES) {
flags             208 fs/iso9660/rrip.c 				if(rrip->u.nm.flags) { /* FIXME: & ~(NM_CONTINUE | NM_CURRENT | NM_PARENT)) { */
flags             209 fs/iso9660/rrip.c 					printk("WARNING: %s(): unsupported NM flag settings (%d).\n", __FUNCTION__, rrip->u.nm.flags);
flags             306 fs/iso9660/rrip.c 					switch(slc->flags & 0xE) {
flags             325 fs/iso9660/rrip.c 							printk("WARNING: %s(): unsupported RRIP SL flags %d.\n", __FUNCTION__, slc->flags & 0xE);
flags             191 fs/iso9660/super.c 	sb->flags = MS_RDONLY;
flags              64 fs/minix/file.c 	if(fd_table->flags & O_APPEND) {
flags              69 fs/minix/file.c 	if(fd_table->flags & O_TRUNC) {
flags              94 fs/minix/file.c 	if(fd_table->flags & O_APPEND) {
flags             189 fs/minix/super.c 	if(!(sb->flags & MS_RDONLY)) {
flags             200 fs/minix/super.c int minix_remount_fs(struct superblock *sb, int flags)
flags             205 fs/minix/super.c 	if((flags & MS_RDONLY) == (sb->flags & MS_RDONLY)) {
flags             216 fs/minix/super.c 	if(flags & MS_RDONLY) {
flags             253 fs/minix/super.c 	if(sb->flags & MS_RDONLY) {
flags             294 fs/minix/v1_inode.c 			buf->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             330 fs/minix/v1_inode.c 		buf2->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             304 fs/minix/v2_inode.c 			buf->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             341 fs/minix/v2_inode.c 				buf3->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags             390 fs/minix/v2_inode.c 		buf2->flags |= (BUFFER_DIRTY | BUFFER_VALID);
flags              31 fs/pipefs/fifo.c 	if((fd_table->flags & O_ACCMODE) == O_RDONLY) {
flags              34 fs/pipefs/fifo.c 		if(!(fd_table->flags & O_NONBLOCK)) {
flags              46 fs/pipefs/fifo.c 	if((fd_table->flags & O_ACCMODE) == O_WRONLY) {
flags              47 fs/pipefs/fifo.c 		if((fd_table->flags & O_NONBLOCK) && !i->u.pipefs.i_readers) {
flags              53 fs/pipefs/fifo.c 		if(!(fd_table->flags & O_NONBLOCK)) {
flags              65 fs/pipefs/fifo.c 	if((fd_table->flags & O_ACCMODE) == O_RDWR) {
flags              25 fs/pipefs/pipe.c 	if((fd_table->flags & O_ACCMODE) == O_RDONLY) {
flags              31 fs/pipefs/pipe.c 	if((fd_table->flags & O_ACCMODE) == O_WRONLY) {
flags              37 fs/pipefs/pipe.c 	if((fd_table->flags & O_ACCMODE) == O_RDWR) {
flags              85 fs/pipefs/pipe.c 				if(fd_table->flags & O_NONBLOCK) {
flags             161 fs/pipefs/pipe.c 		if(!(fd_table->flags & O_NONBLOCK)) {
flags             146 fs/procfs/data.c 			if(filesystems_table[n].fsop->flags != FSOP_REQUIRES_DEV) {
flags             224 fs/procfs/data.c 		if(pg->flags & PAGE_RESERVED) {
flags             256 fs/procfs/data.c 			if(mount_table[n].fs->fsop->flags != FSOP_KERN_MOUNT) {
flags             258 fs/procfs/data.c 				if(mount_table[n].sb.flags & MS_RDONLY) {
flags             286 fs/procfs/data.c 			if(drive->flags & DEVICE_IS_DISK) {
flags             560 fs/procfs/data.c 			if(vma->flags & MAP_SHARED) {
flags             562 fs/procfs/data.c 			} else if(vma->flags & MAP_PRIVATE) {
flags             605 fs/procfs/data.c 			if(mount_table[n].fs->fsop->flags != FSOP_KERN_MOUNT) {
flags             607 fs/procfs/data.c 				if(mount_table[n].sb.flags & MS_RDONLY) {
flags              62 fs/procfs/file.c 	if(fd_table->flags & (O_WRONLY | O_RDWR | O_TRUNC | O_APPEND)) {
flags              25 fs/super.c     	unsigned long int flags;
flags              28 fs/super.c     		SAVE_FLAGS(flags); CLI();
flags              31 fs/super.c     			RESTORE_FLAGS(flags);
flags              38 fs/super.c     	RESTORE_FLAGS(flags);
flags              43 fs/super.c     	unsigned long int flags;
flags              45 fs/super.c     	SAVE_FLAGS(flags); CLI();
flags              51 fs/super.c     	RESTORE_FLAGS(flags);
flags              56 fs/super.c     	unsigned long int flags;
flags              71 fs/super.c     	SAVE_FLAGS(flags); CLI();
flags              81 fs/super.c     			RESTORE_FLAGS(flags);
flags              85 fs/super.c     	RESTORE_FLAGS(flags);
flags             138 fs/super.c     			if(sb->dirty && !(sb->flags & MS_RDONLY)) {
flags             198 fs/super.c     	mt->sb.flags = MS_RDONLY;
flags              99 include/fiwix/asm.h #define SAVE_FLAGS(flags)			\
flags             102 include/fiwix/asm.h 		: "=r" (flags)			\
flags             111 include/fiwix/asm.h 		: "r" (flags)			\
flags              23 include/fiwix/buffer.h 	int flags;
flags             117 include/fiwix/console.h 	int flags;
flags             134 include/fiwix/console.h 	int flags;
flags              56 include/fiwix/cpu.h 	int flags;
flags              23 include/fiwix/fs.h 	unsigned short int flags;	/* flags */
flags              55 include/fiwix/fs.h #define IS_RDONLY_FS(inode) (((inode)->sb) && ((inode)->sb->flags & MS_RDONLY))
flags             122 include/fiwix/fs.h 	unsigned int flags;
flags             138 include/fiwix/fs.h 	int flags;
flags             112 include/fiwix/fs_iso9660.h 	char flags			[ISODCL(26, 26)];
flags             162 include/fiwix/fs_iso9660.h 	unsigned char flags;
flags             168 include/fiwix/fs_iso9660.h 	unsigned char flags;
flags             173 include/fiwix/fs_iso9660.h 	unsigned char flags;
flags             182 include/fiwix/fs_iso9660.h 	char flags;
flags             227 include/fiwix/ide.h 	unsigned int flags;
flags             150 include/fiwix/kd.h 	unsigned int flags;	/* KD_FONT_FLAG_* */
flags              39 include/fiwix/lp.h 	char flags;	/* flags */
flags              55 include/fiwix/mm.h 	int flags;
flags              46 include/fiwix/mman.h 	unsigned int flags;
flags             105 include/fiwix/multiboot1.h   multiboot_uint32_t flags;
flags             147 include/fiwix/multiboot1.h   multiboot_uint32_t flags;
flags             266 include/fiwix/multiboot1.h   multiboot_uint16_t flags;
flags              43 include/fiwix/pic.h 	int flags;
flags              15 include/fiwix/process.h 	unsigned int flags;	/* MAP_SHARED, MAP_PRIVATE, ... */
flags             108 include/fiwix/process.h 	int flags;
flags             101 include/fiwix/serial.h 	int flags;
flags              40 kernel/cmos.c  	unsigned long int flags;
flags              42 kernel/cmos.c  	SAVE_FLAGS(flags); CLI();
flags              44 kernel/cmos.c  	RESTORE_FLAGS(flags);
flags              51 kernel/cmos.c  	unsigned long int flags;
flags              53 kernel/cmos.c  	SAVE_FLAGS(flags); CLI();
flags              56 kernel/cmos.c  	RESTORE_FLAGS(flags);
flags             217 kernel/cpu.c   			cpu_table.flags = _cpuflags;
flags              32 kernel/idt.c   static void set_idt_entry(int num, __off_t handler, unsigned int flags)
flags              36 kernel/idt.c   	idt[num].gd_flags = flags << 8;
flags              70 kernel/init.c  	init->flags = 0;
flags              97 kernel/main.c  	current->flags |= PF_KPROC;
flags             183 kernel/multiboot.c 	if(mbi->flags & MULTIBOOT_INFO_MODS) {
flags             207 kernel/multiboot.c 		video.flags = VPF_VGA;
flags             214 kernel/multiboot.c 	if(mbi.flags & MULTIBOOT_INFO_BOOT_LOADER_NAME) {
flags             218 kernel/multiboot.c 	if(!(mbi.flags & MULTIBOOT_INFO_MEMORY)) {
flags             225 kernel/multiboot.c 	if(mbi.flags & MULTIBOOT_INFO_CMDLINE) {
flags             247 kernel/multiboot.c 	if(mbi.flags & MULTIBOOT_INFO_MODS) {
flags             261 kernel/multiboot.c 	if(!(mbi.flags & MULTIBOOT_INFO_ELF_SHDR)) {
flags             265 kernel/multiboot.c 	if(mbi.flags & MULTIBOOT_INFO_MEM_MAP) {
flags             271 kernel/multiboot.c 	if(mbi.flags & MULTIBOOT_INFO_VBE_INFO) {
flags             279 kernel/multiboot.c 		video.flags = VPF_VESAFB;
flags             307 kernel/multiboot.c 		video.flags = VPF_VGA;
flags              91 kernel/pic.c   	unsigned long int flags;
flags              94 kernel/pic.c   	SAVE_FLAGS(flags); CLI();
flags             102 kernel/pic.c   	RESTORE_FLAGS(flags);
flags             188 kernel/pic.c   			if(b->flags & BH_ACTIVE) {
flags             189 kernel/pic.c   				b->flags &= ~BH_ACTIVE;
flags             340 kernel/process.c 	p->flags |= PF_KPROC;
flags              32 kernel/signal.c 	if(p->flags & PF_KPROC) {
flags              57 kernel/sleep.c 	unsigned long int flags;
flags              73 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags              97 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             103 kernel/sleep.c 	unsigned long int flags;
flags             107 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags             132 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             137 kernel/sleep.c 	unsigned long int flags;
flags             145 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags             167 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             172 kernel/sleep.c 	unsigned long int flags;
flags             175 kernel/sleep.c 		SAVE_FLAGS(flags); CLI();
flags             178 kernel/sleep.c 			RESTORE_FLAGS(flags);
flags             185 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             190 kernel/sleep.c 	unsigned long int flags;
flags             192 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags             198 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             203 kernel/sleep.c 	unsigned long int flags;
flags             206 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags             209 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags             216 kernel/sleep.c 	unsigned long int flags;
flags             219 kernel/sleep.c 	SAVE_FLAGS(flags); CLI();
flags             222 kernel/sleep.c 	RESTORE_FLAGS(flags);
flags              94 kernel/syscalls.c 	if(current->flags & PF_USEREAL) {
flags             157 kernel/syscalls.c 	if(current->flags & PF_USEREAL) {
flags              35 kernel/syscalls/access.c 	current->flags |= PF_USEREAL;
flags              37 kernel/syscalls/access.c 		current->flags &= ~PF_USEREAL;
flags              44 kernel/syscalls/access.c 				current->flags &= ~PF_USEREAL;
flags              57 kernel/syscalls/access.c 	current->flags &= ~PF_USEREAL;
flags             376 kernel/syscalls/execve.c 	current->flags |= PF_PEXEC;
flags              48 kernel/syscalls/fcntl.c 			return fd_table[current->fd[ufd]].flags;
flags              50 kernel/syscalls/fcntl.c 			fd_table[current->fd[ufd]].flags &= ~(O_APPEND | O_NONBLOCK);
flags              51 kernel/syscalls/fcntl.c 			fd_table[current->fd[ufd]].flags |= arg & (O_APPEND | O_NONBLOCK);
flags              75 kernel/syscalls/fork.c 	child->flags = 0;
flags              30 kernel/syscalls/ftruncate.c 	if((fd_table[current->fd[ufd]].flags & O_ACCMODE) == O_RDONLY) {
flags              23 kernel/syscalls/mount.c int sys_mount(const char *source, const char *target, const char *fstype, unsigned long int flags, const void *data)
flags              34 kernel/syscalls/mount.c 	printk("(pid %d) sys_mount(%s, %s, %s, 0x%08x, 0x%08x\n", current->pid, source, target, (int)fstype ? fstype : "<NULL>", flags, data);
flags              53 kernel/syscalls/mount.c 	if((flags & MS_MGC_VAL) == MS_MGC_VAL) {
flags              54 kernel/syscalls/mount.c 		flags &= ~MS_MGC_MSK;
flags              57 kernel/syscalls/mount.c 	if(flags & MS_REMOUNT) {
flags              65 kernel/syscalls/mount.c 			if((errno = fs->fsop->remount_fs(&mt->sb, flags))) {
flags              77 kernel/syscalls/mount.c 		if(flags & MS_RDONLY && !(mt->sb.flags & MS_RDONLY)) {
flags              91 kernel/syscalls/mount.c 		mt->sb.flags &= ~MS_RDONLY;
flags              92 kernel/syscalls/mount.c 		mt->sb.flags |= (flags & MS_RDONLY);
flags             137 kernel/syscalls/mount.c 	if(fs->fsop->flags == FSOP_REQUIRES_DEV) {
flags             174 kernel/syscalls/mount.c 		if(fs->fsop->flags == FSOP_REQUIRES_DEV) {
flags             185 kernel/syscalls/mount.c 	mt->sb.flags = flags;
flags             189 kernel/syscalls/mount.c 			if(fs->fsop->flags == FSOP_REQUIRES_DEV) {
flags             200 kernel/syscalls/mount.c 		if(fs->fsop->flags == FSOP_REQUIRES_DEV) {
flags              40 kernel/syscalls/mprotect.c 	if(vma->inode && (vma->flags & MAP_SHARED)) {
flags              24 kernel/syscalls/old_mmap.c 	char flags;
flags              28 kernel/syscalls/old_mmap.c 	printk("(pid %d) old_mmap(0x%08x, %d, 0x%02x, 0x%02x, %d, 0x%08x) -> ", current->pid, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->fd, mmap->offset);
flags              39 kernel/syscalls/old_mmap.c 	flags = 0;
flags              40 kernel/syscalls/old_mmap.c 	if(!(mmap->flags & MAP_ANONYMOUS)) {
flags              45 kernel/syscalls/old_mmap.c 		flags = fd_table[current->fd[mmap->fd]].flags & O_ACCMODE;
flags              47 kernel/syscalls/old_mmap.c 	page = do_mmap(i, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->offset, P_MMAP, flags);
flags              16 kernel/syscalls/open.c int sys_open(const char *filename, int flags, __mode_t mode)
flags              24 kernel/syscalls/open.c 	printk("(pid %d) sys_open('%s', %o, %o)\n", current->pid, filename, flags, mode);
flags              32 kernel/syscalls/open.c 	follow_links = (flags & O_NOFOLLOW) ? !FOLLOW_LINKS : FOLLOW_LINKS;
flags              36 kernel/syscalls/open.c 			if(flags & O_CREAT) {
flags              48 kernel/syscalls/open.c 		if(S_ISLNK(i->i_mode) && (flags & O_NOFOLLOW)) {
flags              56 kernel/syscalls/open.c 	if(flags & O_CREAT) {
flags              57 kernel/syscalls/open.c 		if(!errno && (flags & O_EXCL)) {
flags              89 kernel/syscalls/open.c 		if(S_ISDIR(i->i_mode) && (flags & (O_RDWR | O_WRONLY | O_TRUNC))) {
flags              98 kernel/syscalls/open.c 	if((flags & O_ACCMODE) == O_RDONLY) {
flags             100 kernel/syscalls/open.c 	} else if((flags & O_ACCMODE) == O_WRONLY) {
flags             129 kernel/syscalls/open.c 	fd_table[fd].flags = flags;
flags              64 kernel/syscalls/pipe.c 	fd_table[rfd].flags = O_RDONLY;
flags              65 kernel/syscalls/pipe.c 	fd_table[wfd].flags = O_WRONLY;
flags              30 kernel/syscalls/read.c 	if(fd_table[current->fd[ufd]].flags & O_WRONLY) {
flags              57 kernel/syscalls/setpgid.c 	if(p != current && p->flags & PF_PEXEC) {
flags              21 kernel/syscalls/umount2.c int sys_umount2(const char *target, int flags)
flags              34 kernel/syscalls/umount2.c 	printk("(pid %d) sys_umount2(%s, 0x%08x)\n", current->pid, target, flags);
flags              89 kernel/syscalls/umount2.c 	if(sb->fsop->flags & FSOP_REQUIRES_DEV) {
flags              31 kernel/syscalls/write.c 	if(fd_table[current->fd[ufd]].flags & O_RDONLY) {
flags             120 kernel/timer.c 	unsigned long int flags;
flags             124 kernel/timer.c 	SAVE_FLAGS(flags); CLI();
flags             128 kernel/timer.c 		RESTORE_FLAGS(flags);
flags             153 kernel/timer.c 	RESTORE_FLAGS(flags);
flags             158 kernel/timer.c 	unsigned long int flags;
flags             161 kernel/timer.c 	SAVE_FLAGS(flags); CLI();
flags             170 kernel/timer.c 	RESTORE_FLAGS(flags);
flags             180 kernel/timer.c 	timer_bh.flags |= BH_ACTIVE;
flags             319 kernel/timer.c 				callouts_bh.flags |= BH_ACTIVE;
flags             323 kernel/timer.c 			callouts_bh.flags |= BH_ACTIVE;
flags             343 kernel/traps.c 	if(current->flags & PF_KPROC || sc->cs == KERNEL_CS) {
flags              51 mm/fault.c     		if(!(pg->flags & PAGE_COW)) {
flags              71 mm/fault.c     			if(!(pg->flags & PAGE_COW)) {
flags             116 mm/fault.c     		if(!(vma->prot & PROT_WRITE) || vma->flags & MAP_SHARED) {
flags             132 mm/fault.c     			if(bread_page(pg, vma->inode, file_offset, vma->prot, vma->flags)) {
flags             143 mm/fault.c     	if(vma->flags & ZERO_PAGE) {
flags              56 mm/memory.c    static void map_kaddr(unsigned int from, unsigned int to, int flags)
flags              69 mm/memory.c    			kpage_dir[pde] = addr | flags;
flags              73 mm/memory.c    		pgtbl[pte] = (n << PAGE_SHIFT) | flags;
flags             143 mm/memory.c    			if(vma->flags & MAP_SHARED) {
flags             164 mm/memory.c    					if(pg->flags & PAGE_RESERVED) {
flags             170 mm/memory.c    						pg->flags |= PAGE_COW;
flags             299 mm/memory.c    	if(video.flags & VPF_VGA) {
flags             302 mm/memory.c    	if(video.flags & VPF_VESAFB) {
flags              36 mm/mmap.c      		if(vma->flags & MAP_SHARED) {
flags              38 mm/mmap.c      		} else if(vma->flags & MAP_PRIVATE) {
flags             106 mm/mmap.c      				  (vma[n].flags == vma[n2].flags) &&
flags             159 mm/mmap.c      				new->flags = prev->flags;
flags             230 mm/mmap.c      				if(pg->flags & PAGE_RESERVED) {
flags             234 mm/mmap.c      				if(vma->prot & PROT_WRITE && vma->flags & MAP_SHARED) {
flags             271 mm/mmap.c      	new->flags = vma->flags;
flags             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)
flags             380 mm/mmap.c      		switch(flags & MAP_TYPE) {
flags             397 mm/mmap.c      		if((flags & MAP_TYPE) != MAP_PRIVATE) {
flags             402 mm/mmap.c      		flags |= ZERO_PAGE;
flags             405 mm/mmap.c      	if(flags & MAP_FIXED) {
flags             425 mm/mmap.c      	vma->flags = flags;
flags             505 mm/mmap.c      	new->flags = vma->flags;
flags             131 mm/page.c      	unsigned long int flags;
flags             134 mm/page.c      		SAVE_FLAGS(flags); CLI();
flags             135 mm/page.c      		if(pg->flags & PAGE_LOCKED) {
flags             136 mm/page.c      			RESTORE_FLAGS(flags);
flags             142 mm/page.c      	pg->flags |= PAGE_LOCKED;
flags             143 mm/page.c      	RESTORE_FLAGS(flags);
flags             148 mm/page.c      	unsigned long int flags;
flags             150 mm/page.c      	SAVE_FLAGS(flags); CLI();
flags             151 mm/page.c      	pg->flags &= ~PAGE_LOCKED;
flags             153 mm/page.c      	RESTORE_FLAGS(flags);
flags             158 mm/page.c      	unsigned long int flags;
flags             174 mm/page.c      	SAVE_FLAGS(flags); CLI();
flags             184 mm/page.c      	RESTORE_FLAGS(flags);
flags             212 mm/page.c      	unsigned long int flags;
flags             230 mm/page.c      	SAVE_FLAGS(flags); CLI();
flags             239 mm/page.c      	RESTORE_FLAGS(flags);
flags             286 mm/page.c      	fd_table.flags = 0;
flags             298 mm/page.c      int bread_page(struct page *pg, struct inode *i, __off_t offset, char prot, char flags)
flags             326 mm/page.c      	if(!(prot & PROT_WRITE) || flags & MAP_SHARED) {
flags             403 mm/page.c      			pg->flags = PAGE_RESERVED;
flags             414 mm/page.c      			pg->flags = PAGE_RESERVED;