tag | line | file | source code |
mask | 335 | drivers/block/floppy.c | unsigned char mask = ~(0x10 << nr); |
mask | 337 | drivers/block/floppy.c | running &= mask; |
mask | 338 | drivers/block/floppy.c | current_DOR &= mask; |
mask | 352 | drivers/block/floppy.c | unsigned char mask = 0x10 << nr; |
mask | 355 | drivers/block/floppy.c | if (mask & running) |
mask | 357 | drivers/block/floppy.c | if (!(mask & current_DOR)) { |
mask | 363 | drivers/block/floppy.c | current_DOR |= mask; |
mask | 394 | drivers/block/floppy.c | unsigned int mask = 1 << (bh->b_dev & 0x03); |
mask | 400 | drivers/block/floppy.c | if (fake_change & mask) { |
mask | 402 | drivers/block/floppy.c | fake_change &= ~mask; |
mask | 404 | drivers/block/floppy.c | changed_floppies &= ~mask; |
mask | 407 | drivers/block/floppy.c | if (changed_floppies & mask) { |
mask | 409 | drivers/block/floppy.c | changed_floppies &= ~mask; |
mask | 426 | drivers/block/floppy.c | if (changed_floppies & mask) { |
mask | 427 | drivers/block/floppy.c | changed_floppies &= ~mask; |
mask | 41 | drivers/block/genhd.c | int mask = (1 << hd->minor_shift) - 1; |
mask | 47 | drivers/block/genhd.c | if ((current_minor & mask) >= (4 + hd->max_p)) |
mask | 69 | drivers/block/genhd.c | mask & current_minor); |
mask | 100 | drivers/block/genhd.c | int mask = (1 << hd->minor_shift) - 1; |
mask | 134 | drivers/block/genhd.c | if ((current_minor & mask) >= mask-2) |
mask | 142 | drivers/block/genhd.c | current_minor & mask); |
mask | 385 | drivers/block/xd.c | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout) |
mask | 389 | drivers/block/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
mask | 449 | drivers/char/serial.c | int i, mask; |
mask | 453 | drivers/char/serial.c | for (i=0, mask = 1; mask <= IRQ_active; i++, mask <<= 1) { |
mask | 454 | drivers/char/serial.c | if (!(mask & IRQ_active)) |
mask | 605 | drivers/char/serial.c | int i, mask; |
mask | 608 | drivers/char/serial.c | for (i = 0, mask = 1; mask <= IRQ_active; i++, mask <<= 1) { |
mask | 609 | drivers/char/serial.c | if ((mask & IRQ_active) && (IRQ_timer[i] <= jiffies)) { |
mask | 610 | drivers/char/serial.c | IRQ_active &= ~mask; |
mask | 615 | drivers/char/serial.c | if (mask & IRQ_active) { |
mask | 644 | drivers/char/serial.c | int i, mask; |
mask | 652 | drivers/char/serial.c | for (i = 0, mask = 1; i < 16; i++, mask <<= 1) { |
mask | 653 | drivers/char/serial.c | if (!(mask & dontgrab) && !irqaction(i, &sa)) { |
mask | 654 | drivers/char/serial.c | irq_lines |= mask; |
mask | 1273 | drivers/char/serial.c | int i, mask; |
mask | 1298 | drivers/char/serial.c | for (i = 0, mask = 1; i < 16; i++, mask <<= 1) { |
mask | 1301 | drivers/char/serial.c | wild_interrupts |= mask; |
mask | 305 | drivers/char/tpqic02.c | short mask, code; |
mask | 424 | drivers/char/tpqic02.c | if ((s & exception_list[i].mask)==exception_list[i].code) |
mask | 1546 | drivers/char/tty_io.c | int i, j, line, mask; |
mask | 1556 | drivers/char/tty_io.c | for (j=0, mask=0; j < 32; j++, line++, mask <<= 1) { |
mask | 404 | drivers/char/vt.c | unsigned short state, mask; |
mask | 411 | drivers/char/vt.c | for (i = 1, mask = 2; i <= NR_CONSOLES; ++i, mask <<= 1) |
mask | 413 | drivers/char/vt.c | state |= mask; |
mask | 62 | drivers/net/auto_irq.c | int i, mask; |
mask | 79 | drivers/net/auto_irq.c | for (i = 0, mask = 0x01; i < 16; i++, mask <<= 1) { |
mask | 80 | drivers/net/auto_irq.c | if (irq_bitmap & irq_handled & mask) { |
mask | 81 | drivers/net/auto_irq.c | irq_handled &= ~mask; |
mask | 275 | drivers/scsi/NCR5380.c | unsigned char mask; |
mask | 310 | drivers/scsi/NCR5380.c | for (i = 0; signals[i].mask ; ++i) |
mask | 311 | drivers/scsi/NCR5380.c | if (status & signals[i].mask) |
mask | 313 | drivers/scsi/NCR5380.c | for (i = 0; basrs[i].mask ; ++i) |
mask | 314 | drivers/scsi/NCR5380.c | if (basr & basrs[i].mask) |
mask | 316 | drivers/scsi/NCR5380.c | for (i = 0; icrs[i].mask; ++i) |
mask | 317 | drivers/scsi/NCR5380.c | if (icr & icrs[i].mask) |
mask | 319 | drivers/scsi/NCR5380.c | for (i = 0; mrs[i].mask; ++i) |
mask | 320 | drivers/scsi/NCR5380.c | if (mr & mrs[i].mask) |
mask | 567 | drivers/scsi/NCR5380.c | int trying_irqs, i, mask; |
mask | 570 | drivers/scsi/NCR5380.c | for (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1) |
mask | 571 | drivers/scsi/NCR5380.c | if ((mask & possible) && (irqaction (i, &probe_sigaction) |
mask | 573 | drivers/scsi/NCR5380.c | trying_irqs |= mask; |
mask | 599 | drivers/scsi/NCR5380.c | for (i = 0, mask = 1; i < 16; ++i, mask <<= 1) |
mask | 600 | drivers/scsi/NCR5380.c | if (trying_irqs & mask) |
mask | 75 | drivers/scsi/aha1542.c | #define WAIT(port, mask, allof, noneof) \ |
mask | 79 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
mask | 1488 | drivers/scsi/scsi.c | unsigned int nbits, mask; |
mask | 1495 | drivers/scsi/scsi.c | mask = (1 << nbits) - 1; |
mask | 1499 | drivers/scsi/scsi.c | if ((dma_malloc_freelist[i] & (mask << j)) == 0){ |
mask | 1500 | drivers/scsi/scsi.c | dma_malloc_freelist[i] |= (mask << j); |
mask | 1516 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
mask | 1531 | drivers/scsi/scsi.c | mask = (1 << nbits) - 1; |
mask | 1533 | drivers/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
mask | 1536 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
mask | 1540 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
mask | 273 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
mask | 304 | drivers/scsi/sr_ioctl.c | mask = (unsigned char *) scsi_malloc(512); |
mask | 305 | drivers/scsi/sr_ioctl.c | if(!mask) { |
mask | 310 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
mask | 313 | drivers/scsi/sr_ioctl.c | scsi_free(mask, 512); |
mask | 319 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
mask | 320 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
mask | 321 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
mask | 322 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
mask | 332 | drivers/scsi/sr_ioctl.c | scsi_free(mask, 512); |
mask | 101 | drivers/scsi/wd7000.c | #define WAIT(port, mask, allof, noneof) \ |
mask | 105 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
mask | 104 | drivers/sound/pas2_card.c | pas_set_intr (int mask) |
mask | 108 | drivers/sound/pas2_card.c | if (!mask) |
mask | 116 | drivers/sound/pas2_card.c | pas_intr_mask |= mask; |
mask | 123 | drivers/sound/pas2_card.c | pas_remove_intr (int mask) |
mask | 125 | drivers/sound/pas2_card.c | if (!mask) |
mask | 128 | drivers/sound/pas2_card.c | pas_intr_mask &= ~mask; |
mask | 111 | drivers/sound/sb_mixer.c | unsigned char mask; |
mask | 114 | drivers/sound/sb_mixer.c | mask = (1 << (*iomap)[dev][chn].nbits)-1; |
mask | 115 | drivers/sound/sb_mixer.c | newval = ((newval * mask) + 50) / 100; /* Scale it */ |
mask | 119 | drivers/sound/sb_mixer.c | *regval &= ~(mask << shift); /* Filter out the previous value */ |
mask | 120 | drivers/sound/sb_mixer.c | *regval |= (newval & mask) << shift; /* Set the new value */ |
mask | 184 | drivers/sound/sb_mixer.c | set_recmask(int mask) |
mask | 189 | drivers/sound/sb_mixer.c | devmask = mask & supported_rec_devices; |
mask | 139 | drivers/sound/sound_calls.h | int pas_set_intr(int mask); |
mask | 140 | drivers/sound/sound_calls.h | int pas_remove_intr(int mask); |
mask | 24 | fs/ext2/acl.c | int ext2_permission (struct inode * inode, int mask) |
mask | 36 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mask | 74 | fs/namei.c | int permission(struct inode * inode,int mask) |
mask | 79 | fs/namei.c | return inode->i_op->permission(inode, mask); |
mask | 84 | fs/namei.c | if (((mode & mask & 0007) == mask) || suser()) |
mask | 74 | include/asm/bitops.h | int mask, retval; |
mask | 77 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
mask | 79 | include/asm/bitops.h | retval = (mask & *addr) != 0; |
mask | 80 | include/asm/bitops.h | *addr |= mask; |
mask | 87 | include/asm/bitops.h | int mask, retval; |
mask | 90 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
mask | 92 | include/asm/bitops.h | retval = (mask & *addr) == 0; |
mask | 93 | include/asm/bitops.h | *addr &= ~mask; |
mask | 100 | include/asm/bitops.h | int mask; |
mask | 103 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
mask | 104 | include/asm/bitops.h | return ((mask & *addr) != 0); |
mask | 78 | include/asm/irq.h | #define ACK_FIRST(mask) \ |
mask | 82 | include/asm/irq.h | "1:\torb $" #mask ",_cache_21\n\t" \ |
mask | 90 | include/asm/irq.h | #define ACK_SECOND(mask) \ |
mask | 94 | include/asm/irq.h | "1:\torb $" #mask ",_cache_A1\n\t" \ |
mask | 105 | include/asm/irq.h | #define UNBLK_FIRST(mask) \ |
mask | 109 | include/asm/irq.h | "1:\tandb $~(" #mask "),_cache_21\n\t" \ |
mask | 113 | include/asm/irq.h | #define UNBLK_SECOND(mask) \ |
mask | 117 | include/asm/irq.h | "1:\tandb $~(" #mask "),_cache_A1\n\t" \ |
mask | 126 | include/asm/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
mask | 135 | include/asm/irq.h | ACK_##chip(mask) \ |
mask | 144 | include/asm/irq.h | UNBLK_##chip(mask) \ |
mask | 150 | include/asm/irq.h | ACK_##chip(mask) \ |
mask | 156 | include/asm/irq.h | UNBLK_##chip(mask) \ |
mask | 162 | include/asm/irq.h | ACK_##chip(mask) \ |
mask | 365 | include/linux/fs.h | extern int permission(struct inode * inode,int mask); |
mask | 98 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
mask | 99 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
mask | 124 | include/linux/xd.h | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout); |
mask | 27 | kernel/exit.c | unsigned long mask = 1 << (sig-1); |
mask | 32 | kernel/exit.c | p->signal |= mask; |
mask | 42 | kernel/exit.c | p->signal |= mask; |
mask | 23 | kernel/ioport.c | unsigned long mask; |
mask | 25 | kernel/ioport.c | for (i = 0, mask = 0x80000000; i < 32; ++i, mask >>= 1) |
mask | 26 | kernel/ioport.c | str[i] = (l & mask) ? '1' : '0'; |
mask | 50 | kernel/ioport.c | int mask; |
mask | 56 | kernel/ioport.c | mask = (~0 << low_index); |
mask | 58 | kernel/ioport.c | mask &= ~(~0 << length); |
mask | 60 | kernel/ioport.c | *bitmap_base++ |= mask; |
mask | 62 | kernel/ioport.c | *bitmap_base++ &= ~mask; |
mask | 66 | kernel/ioport.c | mask = (new_value ? ~0 : 0); |
mask | 68 | kernel/ioport.c | *bitmap_base++ = mask; |
mask | 73 | kernel/ioport.c | mask = ~(~0 << length); |
mask | 75 | kernel/ioport.c | *bitmap_base++ |= mask; |
mask | 77 | kernel/ioport.c | *bitmap_base++ &= ~mask; |
mask | 84 | kernel/ioport.c | int mask; |
mask | 90 | kernel/ioport.c | mask = (~0 << low_index); |
mask | 92 | kernel/ioport.c | mask &= ~(~0 << length); |
mask | 93 | kernel/ioport.c | if (*bitmap_base++ & mask) |
mask | 104 | kernel/ioport.c | mask = ~(~0 << length); |
mask | 105 | kernel/ioport.c | if (*bitmap_base++ & mask) |
mask | 48 | kernel/irq.c | unsigned char mask; |
mask | 50 | kernel/irq.c | mask = 1 << (irq_nr & 7); |
mask | 54 | kernel/irq.c | cache_21 |= mask; |
mask | 60 | kernel/irq.c | cache_A1 |= mask; |
mask | 68 | kernel/irq.c | unsigned char mask; |
mask | 70 | kernel/irq.c | mask = ~(1 << (irq_nr & 7)); |
mask | 74 | kernel/irq.c | cache_21 &= mask; |
mask | 80 | kernel/irq.c | cache_A1 &= mask; |
mask | 93 | kernel/irq.c | unsigned long mask, left; |
mask | 98 | kernel/irq.c | for (mask = 1, left = ~0 ; left & active ; bh++,mask += mask,left += left) { |
mask | 99 | kernel/irq.c | if (mask & active) { |
mask | 101 | kernel/irq.c | bh_active &= ~mask; |
mask | 542 | kernel/sched.c | unsigned long mask; |
mask | 556 | kernel/sched.c | for (mask = 1, tp = timer_table+0 ; mask ; tp++,mask += mask) { |
mask | 557 | kernel/sched.c | if (mask > timer_active) |
mask | 559 | kernel/sched.c | if (!(mask & timer_active)) |
mask | 563 | kernel/sched.c | timer_active &= ~mask; |
mask | 577 | kernel/sched.c | unsigned long mask; |
mask | 660 | kernel/sched.c | for (mask = 1, tp = timer_table+0 ; mask ; tp++,mask += mask) { |
mask | 661 | kernel/sched.c | if (mask > timer_active) |
mask | 663 | kernel/sched.c | if (!(mask & timer_active)) |
mask | 111 | kernel/signal.c | unsigned long mask; |
mask | 114 | kernel/signal.c | mask = current->blocked; |
mask | 120 | kernel/signal.c | if (do_signal(mask,regs)) |
mask | 302 | kernel/signal.c | unsigned long mask = ~current->blocked; |
mask | 309 | kernel/signal.c | while ((signr = current->signal & mask)) { |
mask | 377 | kernel/signal.c | mask &= ~sa->sa_mask; |
mask | 392 | kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
mask | 393 | kernel/signal.c | if (mask > handler_signal) |
mask | 395 | kernel/signal.c | if (!(mask & handler_signal)) |
mask | 748 | kernel/sys.c | asmlinkage int sys_umask(int mask) |
mask | 752 | kernel/sys.c | current->umask = mask & S_IRWXUGO; |
mask | 324 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
mask | 330 | mm/memory.c | if (mask) { |
mask | 331 | mm/memory.c | if ((mask & (PAGE_MASK|PAGE_PRESENT)) != PAGE_PRESENT) { |
mask | 332 | mm/memory.c | printk("zeromap_page_range: mask = %08x\n",mask); |
mask | 335 | mm/memory.c | mask |= ZERO_PAGE; |
mask | 374 | mm/memory.c | *page_table++ = mask; |
mask | 387 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
mask | 393 | mm/memory.c | if (mask) { |
mask | 394 | mm/memory.c | if ((mask & (PAGE_MASK|PAGE_PRESENT)) != PAGE_PRESENT) { |
mask | 395 | mm/memory.c | printk("remap_page_range: mask = %08x\n",mask); |
mask | 443 | mm/memory.c | if (!mask) |
mask | 446 | mm/memory.c | *page_table++ = (to | mask); |
mask | 450 | mm/memory.c | *page_table++ = (to | mask); |
mask | 45 | mm/mmap.c | int mask, error; |
mask | 111 | mm/mmap.c | mask = 0; |
mask | 113 | mm/mmap.c | mask |= PAGE_READONLY; |
mask | 116 | mm/mmap.c | mask |= PAGE_COW; |
mask | 118 | mm/mmap.c | mask |= PAGE_RW; |
mask | 119 | mm/mmap.c | if (!mask) |
mask | 125 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, addr, len, mask, off); |
mask | 127 | mm/mmap.c | error = anon_map(NULL, NULL, addr, len, mask, off); |
mask | 443 | mm/mmap.c | unsigned long addr, size_t len, int mask, |
mask | 448 | mm/mmap.c | if (zeromap_page_range(addr, len, mask)) |
mask | 458 | mm/mmap.c | mpnt->vm_page_prot = mask; |
mask | 167 | net/inet/dev.c | unsigned long mask=0xFFFFFFFF; |
mask | 173 | net/inet/dev.c | for (i = 0; i < 4; i++, me >>= 8, him >>= 8, mask >>= 8) { |
mask | 179 | net/inet/dev.c | if (me != 0 && me != mask) return(0); |
mask | 142 | net/inet/route.c | int mask=0; |
mask | 183 | net/inet/route.c | mask=dev->pa_mask; |
mask | 211 | net/inet/route.c | if(mask==0) /* Dont figure out masks for DYNAMIC routes. The mask is (our should be!) |
mask | 214 | net/inet/route.c | for (mask = 0xff000000L; mask != 0xffffffffL; mask = (mask >> 8) | mask) |
mask | 216 | net/inet/route.c | if (mask & dst) |
mask | 218 | net/inet/route.c | mask = mask << 8; |
mask | 222 | net/inet/route.c | DPRINTF((DBG_RT, "RT: mask = %X\n", mask)); |
mask | 257 | net/inet/route.c | if (! (r->rt_dst & mask) && (gw==0 || r->rt_flags&RTF_GATEWAY)) |
mask | 216 | net/inet/sock.c | int mask; |
mask | 231 | net/inet/sock.c | for(mask = 0xff000000; mask != 0xffffffff; mask = (mask >> 8) | mask) { |
mask | 232 | net/inet/sock.c | if ((mask & sk->saddr) && |
mask | 233 | net/inet/sock.c | (mask & sk->saddr) != (mask & 0xffffffff)) { |
mask | 234 | net/inet/sock.c | mask = mask << 8; |
mask | 238 | net/inet/sock.c | DPRINTF((DBG_INET, "mask = %X\n", mask)); |
mask | 243 | net/inet/sock.c | if (!(sk2->saddr & mask)) { |