tag | line | file | source code |
j | 164 | drivers/block/genhd.c | int j = start + dev->max_p; |
j | 170 | drivers/block/genhd.c | for (i=start ; i < j ; i++) |
j | 177 | drivers/block/genhd.c | int j = dev->max_nr * dev->max_p; |
j | 182 | drivers/block/genhd.c | for (i = 0 ; i < j; i++) { |
j | 191 | drivers/block/genhd.c | for (i=0 ; i < j ; i++) |
j | 567 | drivers/block/sbpcd.c | int i,j; |
j | 573 | drivers/block/sbpcd.c | j=inb(CDi_status); |
j | 574 | drivers/block/sbpcd.c | if (!(j&s_not_data_ready)) return (j); |
j | 575 | drivers/block/sbpcd.c | if (!(j&s_not_result_ready)) return (j); |
j | 576 | drivers/block/sbpcd.c | if (!new_drive) if (j&s_attention) return (j); |
j | 583 | drivers/block/sbpcd.c | j=inb(CDi_status); |
j | 584 | drivers/block/sbpcd.c | if (!(j&s_not_data_ready)) return (j); |
j | 585 | drivers/block/sbpcd.c | if (!(j&s_not_result_ready)) return (j); |
j | 586 | drivers/block/sbpcd.c | if (!new_drive) if (j&s_attention) return (j); |
j | 596 | drivers/block/sbpcd.c | int i,j, st=0; |
j | 602 | drivers/block/sbpcd.c | for (j=maxtim_8;j!=0;j--) |
j | 607 | drivers/block/sbpcd.c | if (j==0) return (-1); |
j | 614 | drivers/block/sbpcd.c | for (j=maxtim_data; ; ) |
j | 616 | drivers/block/sbpcd.c | for ( ;j!=0;j-- ) |
j | 621 | drivers/block/sbpcd.c | if (j != 0 || timeout <= jiffies) break; |
j | 623 | drivers/block/sbpcd.c | j = 1; |
j | 651 | drivers/block/sbpcd.c | int i,j; |
j | 658 | drivers/block/sbpcd.c | if (flags_cmd_out & f_respo3) j = maxtim_8; |
j | 659 | drivers/block/sbpcd.c | else if (flags_cmd_out&f_respo2) j=maxtim16; |
j | 660 | drivers/block/sbpcd.c | else j=maxtim04; |
j | 661 | drivers/block/sbpcd.c | for (;j!=0;j--) |
j | 672 | drivers/block/sbpcd.c | j=maxtim_8; |
j | 675 | drivers/block/sbpcd.c | for ( ;j!=0;j--) |
j | 680 | drivers/block/sbpcd.c | if (j != 0 || timeout <= jiffies) break; |
j | 682 | drivers/block/sbpcd.c | j = 1; |
j | 686 | drivers/block/sbpcd.c | if (j==0) |
j | 1130 | drivers/block/sbpcd.c | int i,j; |
j | 1147 | drivers/block/sbpcd.c | for (j=0;j<255;j++) |
j | 1523 | drivers/block/sbpcd.c | int i, j; |
j | 1564 | drivers/block/sbpcd.c | for (j=0;j<4;j++) DS[d].firmware_version[j]=infobuf[i+j]; |
j | 1565 | drivers/block/sbpcd.c | j = (DS[d].firmware_version[0] & 0x0F) * 100 + |
j | 1570 | drivers/block/sbpcd.c | if (j<100) DS[d].drv_type=drv_099; |
j | 1573 | drivers/block/sbpcd.c | else if (j<200) DS[d].drv_type=drv_199; |
j | 1574 | drivers/block/sbpcd.c | else if (j<201) DS[d].drv_type=drv_200; |
j | 1575 | drivers/block/sbpcd.c | else if (j<210) DS[d].drv_type=drv_201; |
j | 1576 | drivers/block/sbpcd.c | else if (j<211) DS[d].drv_type=drv_210; |
j | 1577 | drivers/block/sbpcd.c | else if (j<300) DS[d].drv_type=drv_211; |
j | 1600 | drivers/block/sbpcd.c | int i, j; |
j | 1606 | drivers/block/sbpcd.c | for (j=0;j<NR_SBPCD;j++) |
j | 1608 | drivers/block/sbpcd.c | DS[j].drv_minor=j; |
j | 1609 | drivers/block/sbpcd.c | switch_drive(j); |
j | 1610 | drivers/block/sbpcd.c | DPRINTF((DBG_ID,"SBPCD: check_drives: drive %d activated.\n",j)); |
j | 1616 | drivers/block/sbpcd.c | DS[d].drv_options=drv_pattern[j]; |
j | 1773 | drivers/block/sbpcd.c | int i, j; |
j | 1776 | drivers/block/sbpcd.c | for (j=DS[d].n_first_track;j<=DS[d].n_last_track;j++) |
j | 1778 | drivers/block/sbpcd.c | i=xx_ReadTocEntry(j); |
j | 1780 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].nixbyte=DS[d].TocEnt_nixbyte; |
j | 1781 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].ctl_adr=DS[d].TocEnt_ctl_adr; |
j | 1782 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].number=DS[d].TocEnt_number; |
j | 1783 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].format=DS[d].TocEnt_format; |
j | 1784 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].address=DS[d].TocEnt_address; |
j | 1788 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].nixbyte=0; |
j | 1789 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].ctl_adr=0; |
j | 1790 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].number=0; |
j | 1791 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].format=0; |
j | 1792 | drivers/block/sbpcd.c | DS[d].TocBuffer[j].address=DS[d].size_msf; |
j | 2506 | drivers/block/sbpcd.c | int i=0, j=0, frame; |
j | 2527 | drivers/block/sbpcd.c | j=inb(CDi_status); |
j | 2528 | drivers/block/sbpcd.c | if (!(j&s_not_data_ready)) break; |
j | 2529 | drivers/block/sbpcd.c | if (!(j&s_not_result_ready)) break; |
j | 2530 | drivers/block/sbpcd.c | if (!new_drive) if (j&s_attention) break; |
j | 2545 | drivers/block/sbpcd.c | if (j&s_not_data_ready) |
j | 2597 | drivers/block/sbpcd.c | j=inb(CDi_status); |
j | 2598 | drivers/block/sbpcd.c | if (!(j&s_not_data_ready)) break; |
j | 2599 | drivers/block/sbpcd.c | if (!(j&s_not_result_ready)) break; |
j | 2600 | drivers/block/sbpcd.c | if (j&s_attention) break; |
j | 2607 | drivers/block/sbpcd.c | if (!(j&s_attention)) |
j | 2790 | drivers/block/sbpcd.c | int i=0, j=0; |
j | 2850 | drivers/block/sbpcd.c | for (j=0;j<NR_SBPCD;j++) |
j | 2852 | drivers/block/sbpcd.c | if (DS[j].drv_minor==-1) continue; |
j | 2853 | drivers/block/sbpcd.c | switch_drive(j); |
j | 2922 | drivers/block/sbpcd.c | for (j=0;j<NR_SBPCD;j++) |
j | 2924 | drivers/block/sbpcd.c | if (DS[j].drv_minor==-1) continue; |
j | 2925 | drivers/block/sbpcd.c | DS[j].sbp_buf=(u_char *)mem_start; |
j | 122 | drivers/block/xd.c | u_char i,j,found = 0; |
j | 132 | drivers/block/xd.c | for (j = 1; j < (sizeof(xd_sigs) / sizeof(xd_sigs[0])) && !found; j++) |
j | 133 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
j | 134 | drivers/block/xd.c | *controller = j; |
j | 688 | drivers/char/keyboard.c | int i, j, k, sym, val; |
j | 697 | drivers/char/keyboard.c | for(j=0; j<32; j++,k++) |
j | 852 | drivers/char/keyboard.c | int i, j; |
j | 862 | drivers/char/keyboard.c | for(j = 0; j < 100000 ; j++) |
j | 1707 | drivers/char/tty_io.c | int i, j, line, mask; |
j | 1717 | drivers/char/tty_io.c | for (j=0, mask=0; j < 32; j++, line++, mask <<= 1) { |
j | 1718 | drivers/char/tty_io.c | if (clear_bit(j, &tty_check_write[i])) { |
j | 492 | drivers/scsi/aha152x.c | int i, j, ok; |
j | 562 | drivers/scsi/aha152x.c | for( j=0; (j < SIGNATURE_COUNT) && !ok; j++) |
j | 563 | drivers/scsi/aha152x.c | ok=!memcmp((void *) addresses[i]+signatures[j].sig_offset, |
j | 564 | drivers/scsi/aha152x.c | (void *) signatures[j].signature, |
j | 565 | drivers/scsi/aha152x.c | (int) signatures[j].sig_length); |
j | 422 | drivers/scsi/fdomain.c | int i, j; |
j | 444 | drivers/scsi/fdomain.c | for (j = 0; !bios_base && j < SIGNATURE_COUNT; j++) { |
j | 445 | drivers/scsi/fdomain.c | if (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset), |
j | 446 | drivers/scsi/fdomain.c | signatures[j].signature, signatures[j].sig_length )) { |
j | 447 | drivers/scsi/fdomain.c | bios_major = signatures[j].major_bios_version; |
j | 448 | drivers/scsi/fdomain.c | bios_minor = signatures[j].minor_bios_version; |
j | 628 | drivers/scsi/fdomain.c | for (j = 8; j < (buf[4] < 32 ? buf[4] : 32); j++) |
j | 629 | drivers/scsi/fdomain.c | printk( "%c", buf[j] >= 20 ? buf[j] : ' ' ); |
j | 154 | drivers/scsi/hosts.c | scsi_unregister(struct Scsi_Host * sh, int j){ |
j | 157 | drivers/scsi/hosts.c | if(((unsigned int) sh) + sizeof(struct Scsi_Host) + j != scsi_init_memory_start) |
j | 175 | drivers/scsi/hosts.c | struct Scsi_Host * scsi_register(int i, int j){ |
j | 178 | drivers/scsi/hosts.c | scsi_init_memory_start += sizeof(struct Scsi_Host) + j; |
j | 187 | drivers/scsi/hosts.c | printk("Register %x %x: %d %d\n", retval, retval->hostt, i, j); |
j | 212 | drivers/scsi/hosts.c | int i, j, count, pcount; |
j | 241 | drivers/scsi/hosts.c | for(j = 0; j < scsi_hosts[i].present; j++) |
j | 242 | drivers/scsi/hosts.h | extern struct Scsi_Host * scsi_register(int i, int j); |
j | 243 | drivers/scsi/hosts.h | extern void scsi_unregister(struct Scsi_Host * i, int j); |
j | 1495 | drivers/scsi/scsi.c | int i, j; |
j | 1504 | drivers/scsi/scsi.c | for(j=0; j<17-nbits; j++){ |
j | 1505 | drivers/scsi/scsi.c | if ((dma_malloc_freelist[i] & (mask << j)) == 0){ |
j | 1506 | drivers/scsi/scsi.c | dma_malloc_freelist[i] |= (mask << j); |
j | 1510 | drivers/scsi/scsi.c | printk("SMalloc: %d %x ",len, dma_malloc_buffer + (i << 13) + (j << 9)); |
j | 1512 | drivers/scsi/scsi.c | return (void *) ((unsigned long) dma_malloc_buffer + (i << 13) + (j << 9)); |
j | 1585 | drivers/scsi/scsi.c | int j; |
j | 1602 | drivers/scsi/scsi.c | for(j=0;j<scsi_devices[i].host->hostt->cmd_per_lun;j++){ |
j | 464 | drivers/scsi/scsi_debug.c | int j; |
j | 468 | drivers/scsi/scsi_debug.c | for(j=0;j<SCSI_DEBUG_MAILBOXES; j++) { |
j | 469 | drivers/scsi/scsi_debug.c | if(SCpnt == SCint[j]) { |
j | 470 | drivers/scsi/scsi_debug.c | my_done = do_done[j]; |
j | 473 | drivers/scsi/scsi_debug.c | timeout[j] = 0; |
j | 474 | drivers/scsi/scsi_debug.c | SCint[j] = NULL; |
j | 475 | drivers/scsi/scsi_debug.c | do_done[j] = NULL; |
j | 666 | drivers/scsi/sd.c | int j = 0; |
j | 835 | drivers/scsi/sd.c | for (j=i; j < NR_SD - 1;) |
j | 836 | drivers/scsi/sd.c | rscsi_disks[j] = rscsi_disks[++j]; |
j | 278 | drivers/scsi/seagate.c | int i,j; |
j | 329 | drivers/scsi/seagate.c | for (j = 0; !base_address && j < NUM_SIGNATURES; ++j) |
j | 331 | drivers/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
j | 332 | drivers/scsi/seagate.c | signatures[j].length)) { |
j | 334 | drivers/scsi/seagate.c | controller_type = signatures[j].type; |
j | 529 | drivers/scsi/wd7000.c | int i,j; |
j | 534 | drivers/scsi/wd7000.c | for(j=0;j<NUM_SIGNATURES;j++){ |
j | 535 | drivers/scsi/wd7000.c | if(!memcmp((void *)(wd_bases[i] + signatures[j].offset), |
j | 536 | drivers/scsi/wd7000.c | (void *) signatures[j].signature,signatures[j].length)){ |
j | 587 | drivers/scsi/wd7000.c | { int j; unchar *cdbj = (unchar *) SCpnt->cmnd; |
j | 588 | drivers/scsi/wd7000.c | for (j=0; j < COMMAND_SIZE(*cdbj); j++) printk(" %02x", *(cdbj++)); |
j | 136 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
j | 154 | drivers/sound/dev_table.c | for (j=0;j<n && ptr == -1;j++) |
j | 155 | drivers/sound/dev_table.c | if (supported_drivers[j].card_type == card_type) |
j | 156 | drivers/sound/dev_table.c | ptr = j; |
j | 174 | drivers/sound/dev_table.c | int ptr, j; |
j | 177 | drivers/sound/dev_table.c | for (j=0;j<n && ptr == -1;j++) |
j | 178 | drivers/sound/dev_table.c | if (supported_drivers[j].card_type == card_type) |
j | 179 | drivers/sound/dev_table.c | ptr = j; |
j | 193 | drivers/sound/dev_table.c | int j, ptr; |
j | 197 | drivers/sound/dev_table.c | for (j=0;j<n && ptr == -1;j++) |
j | 198 | drivers/sound/dev_table.c | if (supported_drivers[j].card_type == card_type) |
j | 199 | drivers/sound/dev_table.c | ptr = j; |
j | 347 | fs/binfmt_elf.c | int i,j, k; |
j | 387 | fs/binfmt_elf.c | j = 0; |
j | 389 | fs/binfmt_elf.c | if((elf_phdata + i)->p_type == PT_LOAD) j++; |
j | 391 | fs/binfmt_elf.c | if(j != 1) { |
j | 839 | fs/buffer.c | int i, j; |
j | 847 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
j | 854 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size,address += size) { |
j | 95 | fs/ext/freelists.c | int j; |
j | 106 | fs/ext/freelists.c | j = efb->free[--efb->count]; |
j | 112 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeblocknumber; |
j | 124 | fs/ext/freelists.c | if (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) { |
j | 125 | fs/ext/freelists.c | printk ("ext_new_block: blk = %d\n", j); |
j | 132 | fs/ext/freelists.c | if (!(bh=getblk(sb->s_dev, j, sb->s_blocksize))) { |
j | 141 | fs/ext/freelists.c | printk("ext_new_block: allocating block %d\n", j); |
j | 144 | fs/ext/freelists.c | return j; |
j | 252 | fs/ext/freelists.c | int j; |
j | 265 | fs/ext/freelists.c | j = efi->free[--efi->count]; |
j | 271 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeinodenumber; |
j | 295 | fs/ext/freelists.c | inode->i_ino = j; |
j | 179 | fs/ext2/balloc.c | int i, j; |
j | 210 | fs/ext2/balloc.c | for (j = i; j > 0; j--) { |
j | 211 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
j | 212 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
j | 213 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
j | 214 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
j | 223 | fs/ext2/balloc.c | for (j = sb->u.ext2_sb.s_loaded_block_bitmaps - 1; j > 0; j--) { |
j | 224 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
j | 225 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
j | 226 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
j | 227 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
j | 337 | fs/ext2/balloc.c | int i, j, k, tmp; |
j | 366 | fs/ext2/balloc.c | j = ((goal - es->s_first_data_block) % EXT2_BLOCKS_PER_GROUP(sb)); |
j | 368 | fs/ext2/balloc.c | if (j) |
j | 374 | fs/ext2/balloc.c | ext2_debug ("goal is at %d:%d.\n", i, j); |
j | 376 | fs/ext2/balloc.c | if (!test_bit(j, bh->b_data)) { |
j | 383 | fs/ext2/balloc.c | if (j) { |
j | 388 | fs/ext2/balloc.c | lmap = ((((unsigned long *) bh->b_data)[j >> 5]) >> |
j | 389 | fs/ext2/balloc.c | ((j & 31) + 1)); |
j | 390 | fs/ext2/balloc.c | if (j < EXT2_BLOCKS_PER_GROUP(sb) - 32) |
j | 391 | fs/ext2/balloc.c | lmap |= (((unsigned long *) bh->b_data)[(j >> 5) + 1]) << |
j | 392 | fs/ext2/balloc.c | (31 - (j & 31)); |
j | 394 | fs/ext2/balloc.c | lmap |= 0xffffffff << (31 - (j & 31)); |
j | 400 | fs/ext2/balloc.c | if ((j + k) < EXT2_BLOCKS_PER_GROUP(sb)) { |
j | 401 | fs/ext2/balloc.c | j += k; |
j | 418 | fs/ext2/balloc.c | p = ((char *) bh->b_data) + (j >> 3); |
j | 420 | fs/ext2/balloc.c | (EXT2_BLOCKS_PER_GROUP(sb) - j + 7) >> 3); |
j | 423 | fs/ext2/balloc.c | j = k; |
j | 428 | fs/ext2/balloc.c | j); |
j | 430 | fs/ext2/balloc.c | j = k; |
j | 457 | fs/ext2/balloc.c | j = (r - bh->b_data) << 3; |
j | 458 | fs/ext2/balloc.c | if (j < EXT2_BLOCKS_PER_GROUP(sb)) |
j | 461 | fs/ext2/balloc.c | j = find_first_zero_bit ((unsigned long *) bh->b_data, |
j | 463 | fs/ext2/balloc.c | if (j >= EXT2_BLOCKS_PER_GROUP(sb)) { |
j | 476 | fs/ext2/balloc.c | for (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--); |
j | 482 | fs/ext2/balloc.c | tmp = j + i * EXT2_BLOCKS_PER_GROUP(sb) + es->s_first_data_block; |
j | 492 | fs/ext2/balloc.c | if (set_bit (j, bh->b_data)) { |
j | 494 | fs/ext2/balloc.c | "bit already set for block %d", j); |
j | 498 | fs/ext2/balloc.c | ext2_debug ("found bit %d\n", j); |
j | 508 | fs/ext2/balloc.c | k < 8 && (j + k) < EXT2_BLOCKS_PER_GROUP(sb); k++) { |
j | 509 | fs/ext2/balloc.c | if (set_bit (j + k, bh->b_data)) |
j | 520 | fs/ext2/balloc.c | j = tmp; |
j | 528 | fs/ext2/balloc.c | if (j >= es->s_blocks_count) { |
j | 531 | fs/ext2/balloc.c | "block_group = %d, block=%d", i, j); |
j | 535 | fs/ext2/balloc.c | if (!(bh = getblk (sb->s_dev, j, sb->s_blocksize))) { |
j | 536 | fs/ext2/balloc.c | ext2_error (sb, "ext2_new_block", "cannot get block %d", j); |
j | 546 | fs/ext2/balloc.c | "Goal hits %d of %d.\n", j, goal_hits, goal_attempts); |
j | 554 | fs/ext2/balloc.c | return j; |
j | 605 | fs/ext2/balloc.c | int i, j; |
j | 628 | fs/ext2/balloc.c | for (j = 0; j < sb->u.ext2_sb.s_itb_per_group; j++) |
j | 629 | fs/ext2/balloc.c | if (!block_in_use (gdp->bg_inode_table + j, sb, bh->b_data)) |
j | 632 | fs/ext2/balloc.c | "is marked free", j, i); |
j | 121 | fs/ext2/ialloc.c | int i, j; |
j | 154 | fs/ext2/ialloc.c | for (j = i; j > 0; j--) { |
j | 155 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
j | 156 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
j | 157 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
j | 158 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
j | 167 | fs/ext2/ialloc.c | for (j = sb->u.ext2_sb.s_loaded_inode_bitmaps - 1; j > 0; j--) { |
j | 168 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
j | 169 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
j | 170 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
j | 171 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
j | 335 | fs/ext2/ialloc.c | int i, j, avefreei; |
j | 369 | fs/ext2/ialloc.c | for (j = 0; j < sb->u.ext2_sb.s_groups_count; j++) { |
j | 370 | fs/ext2/ialloc.c | tmp = get_group_desc (sb, j, &bh2); |
j | 376 | fs/ext2/ialloc.c | i = j; |
j | 398 | fs/ext2/ialloc.c | for (j = 1; j < sb->u.ext2_sb.s_groups_count; j <<= 1) { |
j | 399 | fs/ext2/ialloc.c | i += j; |
j | 414 | fs/ext2/ialloc.c | for (j = 2; j < sb->u.ext2_sb.s_groups_count; j++) { |
j | 433 | fs/ext2/ialloc.c | if ((j = find_first_zero_bit ((unsigned long *) bh->b_data, |
j | 436 | fs/ext2/ialloc.c | if (set_bit (j, bh->b_data)) { |
j | 438 | fs/ext2/ialloc.c | "bit already set for inode %d", j); |
j | 457 | fs/ext2/ialloc.c | j += i * EXT2_INODES_PER_GROUP(sb) + 1; |
j | 458 | fs/ext2/ialloc.c | if (j < EXT2_FIRST_INO || j > es->s_inodes_count) { |
j | 461 | fs/ext2/ialloc.c | "block_group = %d,inode=%d", i, j); |
j | 488 | fs/ext2/ialloc.c | inode->i_ino = j; |
j | 360 | fs/ext2/super.c | int i, j; |
j | 527 | fs/ext2/super.c | for (j = 0; j < i; j++) |
j | 528 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
j | 537 | fs/ext2/super.c | for (j = 0; j < i; j++) |
j | 538 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
j | 69 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
j | 200 | fs/isofs/dir.c | for(j=0; j<i; j++) |
j | 201 | fs/isofs/dir.c | put_fs_byte(dpnt[j],j+dirent->d_name); /* And save it */ |
j | 44 | fs/minix/bitmap.c | unsigned i, j, end, sum = 0; |
j | 61 | fs/minix/bitmap.c | for (j=0; j<end; j++) |
j | 62 | fs/minix/bitmap.c | sum += nibblemap[bh->b_data[j] & 0xf] |
j | 63 | fs/minix/bitmap.c | + nibblemap[(bh->b_data[j]>>4)&0xf]; |
j | 103 | fs/minix/bitmap.c | int i,j; |
j | 110 | fs/minix/bitmap.c | j = 8192; |
j | 113 | fs/minix/bitmap.c | if ((j=find_first_zero(bh->b_data))<8192) |
j | 115 | fs/minix/bitmap.c | if (i>=8 || !bh || j>=8192) |
j | 117 | fs/minix/bitmap.c | if (set_bit(j,bh->b_data)) { |
j | 122 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
j | 123 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
j | 124 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
j | 126 | fs/minix/bitmap.c | if (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) { |
j | 134 | fs/minix/bitmap.c | return j; |
j | 186 | fs/minix/bitmap.c | int i,j; |
j | 193 | fs/minix/bitmap.c | j = 8192; |
j | 196 | fs/minix/bitmap.c | if ((j=find_first_zero(bh->b_data))<8192) |
j | 198 | fs/minix/bitmap.c | if (!bh || j >= 8192) { |
j | 202 | fs/minix/bitmap.c | if (set_bit(j,bh->b_data)) { /* shouldn't happen */ |
j | 208 | fs/minix/bitmap.c | j += i*8192; |
j | 209 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
j | 219 | fs/minix/bitmap.c | inode->i_ino = j; |
j | 383 | fs/pipe.c | int i,j; |
j | 385 | fs/pipe.c | j = verify_area(VERIFY_WRITE,fildes,8); |
j | 386 | fs/pipe.c | if (j) |
j | 387 | fs/pipe.c | return j; |
j | 388 | fs/pipe.c | for(j=0 ; j<2 ; j++) |
j | 389 | fs/pipe.c | if (!(f[j] = get_empty_filp())) |
j | 391 | fs/pipe.c | if (j==1) |
j | 393 | fs/pipe.c | if (j<2) |
j | 395 | fs/pipe.c | j=0; |
j | 396 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN;i++) |
j | 398 | fs/pipe.c | current->filp[ fd[j]=i ] = f[j]; |
j | 399 | fs/pipe.c | j++; |
j | 401 | fs/pipe.c | if (j==1) |
j | 403 | fs/pipe.c | if (j<2) { |
j | 137 | fs/proc/base.c | int i,j; |
j | 158 | fs/proc/base.c | j = i; |
j | 161 | fs/proc/base.c | return j; |
j | 112 | fs/proc/fd.c | int j = 0; |
j | 116 | fs/proc/fd.c | j++; |
j | 117 | fs/proc/fd.c | if (fd >= j) |
j | 131 | fs/proc/fd.c | int i,j; |
j | 145 | fs/proc/fd.c | i = j = fd+1; |
j | 155 | fs/proc/fd.c | return j; |
j | 169 | fs/proc/fd.c | int j = 0; |
j | 173 | fs/proc/fd.c | j++; |
j | 174 | fs/proc/fd.c | if (fd >= j) |
j | 177 | fs/proc/fd.c | j = 10; |
j | 179 | fs/proc/fd.c | while (fd >= j) { |
j | 180 | fs/proc/fd.c | j *= 10; |
j | 183 | fs/proc/fd.c | j = i; |
j | 195 | fs/proc/fd.c | return j; |
j | 180 | fs/proc/inode.c | int j = 0; |
j | 184 | fs/proc/inode.c | j++; |
j | 185 | fs/proc/inode.c | if (ino >= j) |
j | 82 | fs/proc/link.c | { int j = ino; |
j | 84 | fs/proc/link.c | for(mpnt = p->mmap; mpnt && j >= 0; |
j | 87 | fs/proc/link.c | if(j == 0) { |
j | 91 | fs/proc/link.c | j--; |
j | 135 | fs/proc/net.c | int i,j; |
j | 148 | fs/proc/net.c | j = i; |
j | 151 | fs/proc/net.c | return j; |
j | 135 | fs/proc/root.c | int i,j; |
j | 149 | fs/proc/root.c | j = i; |
j | 152 | fs/proc/root.c | return j; |
j | 163 | fs/proc/root.c | j = 10; |
j | 165 | fs/proc/root.c | while (pid >= j) { |
j | 166 | fs/proc/root.c | j *= 10; |
j | 169 | fs/proc/root.c | j = i; |
j | 177 | fs/proc/root.c | return j; |
j | 85 | fs/select.c | int i,j; |
j | 88 | fs/select.c | for (j = 0 ; j < __FDSET_LONGS ; j++) { |
j | 89 | fs/select.c | i = j << 5; |
j | 92 | fs/select.c | set = in->fds_bits[j] | out->fds_bits[j] | ex->fds_bits[j]; |
j | 93 | fs/sysv/ialloc.c | int i,j,ino,block; |
j | 111 | fs/sysv/ialloc.c | for (i = 0, ino = SYSV_ROOT_INO+1, block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; i < sb->sv_fic_size && block < sb->sv_firstdatazone ; block++, j = 0) { |
j | 117 | fs/sysv/ialloc.c | raw_inode = (struct sysv_inode *) bh_data + j; |
j | 118 | fs/sysv/ialloc.c | for (; j < sb->sv_inodes_per_block && i < sb->sv_fic_size; ino++, j++, raw_inode++) { |
j | 167 | fs/sysv/ialloc.c | int j,block,count; |
j | 178 | fs/sysv/ialloc.c | for (block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; block < sb->sv_firstdatazone ; block++, j = 0) { |
j | 184 | fs/sysv/ialloc.c | raw_inode = (struct sysv_inode *) bh_data + j; |
j | 185 | fs/sysv/ialloc.c | for (; j < sb->sv_inodes_per_block ; j++, raw_inode++) |
j | 114 | fs/sysv/truncate.c | unsigned long i, j; |
j | 135 | fs/sysv/truncate.c | for (i = blocks >> sb->sv_ind_per_block_bits, j = blocks & sb->sv_ind_per_block_1; |
j | 137 | fs/sysv/truncate.c | i++, j = 0) { |
j | 145 | fs/sysv/truncate.c | retry |= coh_trunc_indirect(inode,j,dind,sb->sv_convert,&bh->b_dirt); |
j | 171 | fs/sysv/truncate.c | unsigned long i, j; |
j | 190 | fs/sysv/truncate.c | for (i = blocks >> sb->sv_ind_per_block_2_bits, j = blocks & sb->sv_ind_per_block_2_1; |
j | 192 | fs/sysv/truncate.c | i++, j = 0) { |
j | 200 | fs/sysv/truncate.c | retry |= coh_trunc_dindirect(inode,j,tind,sb->sv_convert,&bh->b_dirt); |
j | 40 | fs/xiafs/bitmap.c | int end, i, j, tmp; |
j | 59 | fs/xiafs/bitmap.c | for (j=0; j < 32; j++) |
j | 60 | fs/xiafs/bitmap.c | if (tmp & (1 << j)) |
j | 63 | fs/xiafs/bitmap.c | "=q" (res):"r" (j),"m" (bmap[i])); |
j | 65 | fs/xiafs/bitmap.c | start_bit=j + (i << 5) + 1; |
j | 69 | fs/xiafs/bitmap.c | return j + (i << 5); |
j | 32 | kernel/ioport.c | int i, j; |
j | 35 | kernel/ioport.c | for (i = j = 0; j < numl; ++i) |
j | 38 | kernel/ioport.c | printk("%s ", ios(current->tss.io_bitmap[j++])); |
j | 39 | kernel/ioport.c | if (j < numl) |
j | 40 | kernel/ioport.c | printk("%s", ios(current->tss.io_bitmap[j++])); |
j | 75 | kernel/itimer.c | register unsigned long i, j; |
j | 79 | kernel/itimer.c | j = tvtojiffies(&value->it_value); |
j | 84 | kernel/itimer.c | current->it_real_value = j; |
j | 88 | kernel/itimer.c | current->it_virt_value = j; |
j | 92 | kernel/itimer.c | current->it_prof_value = j; |
j | 57 | kernel/printk.c | unsigned long i, j, count; |
j | 115 | kernel/printk.c | j = log_start + log_size - count; |
j | 117 | kernel/printk.c | c = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1))); |
j | 205 | kernel/printk.c | int i,j; |
j | 213 | kernel/printk.c | for (i=0,j=0; i < log_size; i++) { |
j | 214 | kernel/printk.c | buf[j++] = log_buf[p]; |
j | 216 | kernel/printk.c | if (buf[j-1] != '\n' && i < log_size - 1 && j < sizeof(buf)-1) |
j | 218 | kernel/printk.c | buf[j] = 0; |
j | 226 | kernel/printk.c | if (buf[j-1] == '\n') |
j | 228 | kernel/printk.c | j = 0; |
j | 84 | mm/memory.c | int j; |
j | 98 | mm/memory.c | for (j = 0 ; j < PTRS_PER_PAGE ; j++,page_table++) { |
j | 222 | mm/memory.c | int j; |
j | 245 | mm/memory.c | for (j = 0 ; j < PTRS_PER_PAGE ; j++,old_page_table++,new_page_table++) { |
j | 1153 | mm/memory.c | int i, j; |
j | 1172 | mm/memory.c | for (i=0, j=0; i< PAGE_SIZE ; j++, block++, i += inode->i_sb->s_blocksize) |
j | 1173 | mm/memory.c | nr[j] = bmap(inode,block); |
j | 84 | mm/swap.c | int i, j; |
j | 88 | mm/swap.c | for (i=0, j=0; j< PAGE_SIZE ; i++, j +=p->swap_file->i_sb->s_blocksize) |
j | 720 | mm/swap.c | int i,j; |
j | 778 | mm/swap.c | j = 0; |
j | 787 | mm/swap.c | j++; |
j | 790 | mm/swap.c | if (!j) { |
j | 809 | mm/swap.c | p->pages = j; |
j | 810 | mm/swap.c | nr_swap_pages += j; |
j | 811 | mm/swap.c | printk("Adding Swap: %dk swap-space\n",j<<2); |
j | 827 | mm/swap.c | unsigned int i, j; |
j | 833 | mm/swap.c | for (j = 0; j < swap_info[i].max; ++j) |
j | 834 | mm/swap.c | switch (swap_info[i].swap_map[j]) { |
j | 175 | net/inet/sock.c | int i, j; |
j | 187 | net/inet/sock.c | j = 0; |
j | 191 | net/inet/sock.c | j++; |
j | 193 | net/inet/sock.c | if (j == 0) { |
j | 199 | net/inet/sock.c | if (j < size) { |
j | 201 | net/inet/sock.c | size = j; |
j | 119 | zBoot/inflate.c | register unsigned j; /* counter */ |
j | 152 | zBoot/inflate.c | for (j = 1; j <= BMAX; j++) |
j | 153 | zBoot/inflate.c | if (c[j]) |
j | 155 | zBoot/inflate.c | k = j; /* minimum code length */ |
j | 156 | zBoot/inflate.c | if ((unsigned)l < j) |
j | 157 | zBoot/inflate.c | l = j; |
j | 169 | zBoot/inflate.c | for (y = 1 << j; j < i; j++, y <<= 1) |
j | 170 | zBoot/inflate.c | if ((y -= c[j]) < 0) |
j | 179 | zBoot/inflate.c | x[1] = j = 0; |
j | 182 | zBoot/inflate.c | *xp++ = (j += *p++); |
j | 190 | zBoot/inflate.c | if ((j = *p++) != 0) |
j | 191 | zBoot/inflate.c | v[x[j]++] = i; |
j | 224 | zBoot/inflate.c | if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ |
j | 229 | zBoot/inflate.c | while (++j < z) /* try smaller tables up to z bits */ |
j | 237 | zBoot/inflate.c | z = 1 << j; /* table entries for j-bit table */ |
j | 261 | zBoot/inflate.c | r.e = (uch)(16 + j); /* bits in this table */ |
j | 263 | zBoot/inflate.c | j = i >> (w - l); /* (get around Turbo C bug) */ |
j | 264 | zBoot/inflate.c | u[h-1][j] = r; /* connect to last table */ |
j | 288 | zBoot/inflate.c | for (j = i >> w; j < z; j += f) |
j | 289 | zBoot/inflate.c | q[j] = r; |
j | 292 | zBoot/inflate.c | for (j = 1 << (k - 1); i & j; j >>= 1) |
j | 293 | zBoot/inflate.c | i ^= j; |
j | 294 | zBoot/inflate.c | i ^= j; |
j | 556 | zBoot/inflate.c | unsigned j; |
j | 602 | zBoot/inflate.c | for (j = 0; j < nb; j++) |
j | 605 | zBoot/inflate.c | ll[border[j]] = (unsigned)b & 7; |
j | 608 | zBoot/inflate.c | for (; j < 19; j++) |
j | 609 | zBoot/inflate.c | ll[border[j]] = 0; |
j | 631 | zBoot/inflate.c | j = (td = tl + ((unsigned)b & m))->b; |
j | 632 | zBoot/inflate.c | DUMPBITS(j) |
j | 633 | zBoot/inflate.c | j = td->v.n; |
j | 634 | zBoot/inflate.c | if (j < 16) /* length of code in bits (0..15) */ |
j | 635 | zBoot/inflate.c | ll[i++] = l = j; /* save last length in l */ |
j | 636 | zBoot/inflate.c | else if (j == 16) /* repeat last length 3 to 6 times */ |
j | 639 | zBoot/inflate.c | j = 3 + ((unsigned)b & 3); |
j | 641 | zBoot/inflate.c | if ((unsigned)i + j > n) |
j | 643 | zBoot/inflate.c | while (j--) |
j | 646 | zBoot/inflate.c | else if (j == 17) /* 3 to 10 zero length codes */ |
j | 649 | zBoot/inflate.c | j = 3 + ((unsigned)b & 7); |
j | 651 | zBoot/inflate.c | if ((unsigned)i + j > n) |
j | 653 | zBoot/inflate.c | while (j--) |
j | 660 | zBoot/inflate.c | j = 11 + ((unsigned)b & 0x7f); |
j | 662 | zBoot/inflate.c | if ((unsigned)i + j > n) |
j | 664 | zBoot/inflate.c | while (j--) |