tag | line | file | source code |
k | 84 | arch/i386/boot/compressed/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
k | 85 | arch/i386/boot/compressed/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
k | 120 | arch/i386/boot/compressed/inflate.c | register int k; /* number of bits in current code */ |
k | 155 | arch/i386/boot/compressed/inflate.c | k = j; /* minimum code length */ |
k | 207 | arch/i386/boot/compressed/inflate.c | for (; k <= g; k++) |
k | 210 | arch/i386/boot/compressed/inflate.c | a = c[k]; |
k | 216 | arch/i386/boot/compressed/inflate.c | while (k > w + l) |
k | 224 | arch/i386/boot/compressed/inflate.c | if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ |
k | 228 | arch/i386/boot/compressed/inflate.c | xp = c + k; |
k | 263 | arch/i386/boot/compressed/inflate.c | r.b = (uch)(k - w); |
k | 279 | arch/i386/boot/compressed/inflate.c | f = 1 << (k - w); |
k | 284 | arch/i386/boot/compressed/inflate.c | for (j = 1 << (k - 1); i & j; j >>= 1) |
k | 340 | arch/i386/boot/compressed/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 345 | arch/i386/boot/compressed/inflate.c | k = bk; |
k | 426 | arch/i386/boot/compressed/inflate.c | bk = k; |
k | 440 | arch/i386/boot/compressed/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 446 | arch/i386/boot/compressed/inflate.c | k = bk; |
k | 451 | arch/i386/boot/compressed/inflate.c | n = k & 7; |
k | 482 | arch/i386/boot/compressed/inflate.c | bk = k; |
k | 565 | arch/i386/boot/compressed/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 571 | arch/i386/boot/compressed/inflate.c | k = bk; |
k | 671 | arch/i386/boot/compressed/inflate.c | bk = k; |
k | 728 | arch/i386/boot/compressed/inflate.c | register unsigned k; /* number of bits in bit buffer */ |
k | 734 | arch/i386/boot/compressed/inflate.c | k = bk; |
k | 751 | arch/i386/boot/compressed/inflate.c | bk = k; |
k | 272 | arch/i386/boot/compressed/misc.c | int k; /* byte being shifted into crc apparatus */ |
k | 287 | arch/i386/boot/compressed/misc.c | for (k = i | 256; k != 1; k >>= 1) |
k | 290 | arch/i386/boot/compressed/misc.c | if (k & 1) |
k | 140 | arch/i386/ibcs/binfmt_elf.c | int i, k; |
k | 186 | arch/i386/ibcs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
k | 187 | arch/i386/ibcs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 189 | arch/i386/ibcs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |
k | 190 | arch/i386/ibcs/binfmt_elf.c | if(k > last_bss) last_bss = k; |
k | 276 | arch/i386/ibcs/binfmt_elf.c | unsigned int elf_bss, k, elf_brk; |
k | 491 | arch/i386/ibcs/binfmt_elf.c | k = elf_ppnt->p_vaddr; |
k | 492 | arch/i386/ibcs/binfmt_elf.c | if(k > start_code) start_code = k; |
k | 493 | arch/i386/ibcs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; |
k | 494 | arch/i386/ibcs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 495 | arch/i386/ibcs/binfmt_elf.c | if((elf_ppnt->p_flags | PROT_WRITE) && end_code < k) |
k | 496 | arch/i386/ibcs/binfmt_elf.c | end_code = k; |
k | 497 | arch/i386/ibcs/binfmt_elf.c | if(end_data < k) end_data = k; |
k | 498 | arch/i386/ibcs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; |
k | 499 | arch/i386/ibcs/binfmt_elf.c | if(k > elf_brk) elf_brk = k; |
k | 575 | arch/i386/ibcs/binfmt_elf.c | int i,j, k; |
k | 634 | arch/i386/ibcs/binfmt_elf.c | k = elf_phdata->p_vaddr + elf_phdata->p_filesz; |
k | 635 | arch/i386/ibcs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 224 | drivers/char/cyclades.c | #define small_delay(x) for(j=0;j<x;j++)k++; |
k | 966 | drivers/char/keyboard.c | int i, j, k, sym, val; |
k | 974 | drivers/char/keyboard.c | k = i*BITS_PER_LONG; |
k | 975 | drivers/char/keyboard.c | for(j=0; j<BITS_PER_LONG; j++,k++) |
k | 976 | drivers/char/keyboard.c | if(test_bit(k, key_down)) { |
k | 977 | drivers/char/keyboard.c | sym = U(plain_map[k]); |
k | 468 | drivers/char/vt.c | int j, k, sz; |
k | 498 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 499 | drivers/char/vt.c | if (func_table[k]) |
k | 500 | drivers/char/vt.c | func_table[k] += delta; |
k | 517 | drivers/char/vt.c | for (k = 0; k < j; k++) |
k | 518 | drivers/char/vt.c | if (func_table[k]) |
k | 519 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr); |
k | 523 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 524 | drivers/char/vt.c | if (func_table[k]) |
k | 525 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr) + delta; |
k | 1746 | drivers/net/de4x5.c | long i, k, tmp; |
k | 1751 | drivers/net/de4x5.c | for (i=0,k=0,j=0;j<3;j++) { |
k | 1752 | drivers/net/de4x5.c | k <<= 1 ; |
k | 1753 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 1757 | drivers/net/de4x5.c | k += (u_char) tmp; |
k | 1760 | drivers/net/de4x5.c | k += (u_short) (tmp << 8); |
k | 1763 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
k | 1765 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
k | 1769 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 1771 | drivers/net/de4x5.c | if (k == 0xffff) k=0; |
k | 1783 | drivers/net/de4x5.c | if (k != chksum) status = -1; |
k | 1421 | drivers/net/depca.c | unsigned long i,j,k; |
k | 1433 | drivers/net/depca.c | for (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) { |
k | 1434 | drivers/net/depca.c | if (signatures[i][k] == tmpstr[j]) { /* track signature */ |
k | 1435 | drivers/net/depca.c | k++; |
k | 1437 | drivers/net/depca.c | k=0; |
k | 1440 | drivers/net/depca.c | if (k == strlen(signatures[i])) { |
k | 1492 | drivers/net/ewrk3.c | unsigned long i,j,k; |
k | 1497 | drivers/net/ewrk3.c | for (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) { |
k | 1498 | drivers/net/ewrk3.c | if (signatures[i][k] == eeprom_image[j]) { /* track signature */ |
k | 1499 | drivers/net/ewrk3.c | k++; |
k | 1501 | drivers/net/ewrk3.c | k=0; |
k | 1504 | drivers/net/ewrk3.c | if (k == strlen(signatures[i])) { |
k | 1505 | drivers/net/ewrk3.c | for (k=0; k<EWRK3_NAME_LENGTH; k++) { |
k | 1506 | drivers/net/ewrk3.c | name[k] = eeprom_image[EEPROM_PNAME7 + k]; |
k | 1576 | drivers/net/ewrk3.c | long k; |
k | 1583 | drivers/net/ewrk3.c | for (sd=inb(EWRK3_PAR0+j), k=0; k<8; k++, sd >>= 1) { |
k | 1590 | drivers/net/ewrk3.c | for (k=0,j=0;j<3;j++) { |
k | 1591 | drivers/net/ewrk3.c | k <<= 1 ; |
k | 1592 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1593 | drivers/net/ewrk3.c | k += inw(EWRK3_PAR0 + (j<<1)); |
k | 1594 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1596 | drivers/net/ewrk3.c | if (k == 0xffff) k=0; |
k | 1599 | drivers/net/ewrk3.c | if (k != chksum) status = -1; |
k | 544 | drivers/scsi/eata.c | unsigned int j = 0, k, flags; |
k | 557 | drivers/scsi/eata.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 558 | drivers/scsi/eata.c | irqlist[k] = NO_IRQ; |
k | 559 | drivers/scsi/eata.c | calls[k] = 0; |
k | 562 | drivers/scsi/eata.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 579 | drivers/scsi/eata.c | unsigned int k; |
k | 584 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 585 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
k | 586 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
k | 594 | drivers/scsi/eata.c | unsigned int i, j, k, flags; |
k | 615 | drivers/scsi/eata.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 625 | drivers/scsi/eata.c | if (k == sh[j]->can_queue) { |
k | 661 | drivers/scsi/eata.c | for (k = 0; k < ARRAY_SIZE(data_out_cmds); k++) |
k | 662 | drivers/scsi/eata.c | if (SCpnt->cmnd[0] == data_out_cmds[k]) { |
k | 763 | drivers/scsi/eata.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 788 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 790 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 876 | drivers/scsi/eata.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 1014 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) |
k | 1015 | drivers/scsi/eata.c | HD(j)->target_reset[k] = TRUE; |
k | 264 | drivers/scsi/qlogic.c | int i,k; |
k | 266 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)); |
k | 271 | drivers/scsi/qlogic.c | if (k & 0x60) |
k | 273 | drivers/scsi/qlogic.c | if (k & 0x20) |
k | 275 | drivers/scsi/qlogic.c | if (k & 0x40) |
k | 328 | drivers/scsi/qlogic.c | unsigned int i, j, k; |
k | 391 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 392 | drivers/scsi/qlogic.c | return (k << 16); |
k | 393 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
k | 396 | drivers/scsi/qlogic.c | k = jiffies + WATCHDOG; |
k | 397 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
k | 398 | drivers/scsi/qlogic.c | if ( k <= jiffies ) { |
k | 406 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 407 | drivers/scsi/qlogic.c | return (k << 16); |
k | 419 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 420 | drivers/scsi/qlogic.c | return (k << 16); |
k | 465 | drivers/scsi/qlogic.c | int k; |
k | 477 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 478 | drivers/scsi/qlogic.c | return (k << 16); |
k | 495 | drivers/scsi/u14-34f.c | unsigned int j = 0, k, flags; |
k | 506 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 507 | drivers/scsi/u14-34f.c | irqlist[k] = NO_IRQ; |
k | 508 | drivers/scsi/u14-34f.c | calls[k] = 0; |
k | 511 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 528 | drivers/scsi/u14-34f.c | unsigned int k, data_len = 0; |
k | 533 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 534 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
k | 535 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
k | 536 | drivers/scsi/u14-34f.c | data_len += sgpnt[k].length; |
k | 545 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags; |
k | 559 | drivers/scsi/u14-34f.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 569 | drivers/scsi/u14-34f.c | if (k == sh[j]->can_queue) { |
k | 696 | drivers/scsi/u14-34f.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 721 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 723 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 820 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 952 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) |
k | 953 | drivers/scsi/u14-34f.c | HD(j)->target_reset[k] = TRUE; |
k | 174 | fs/binfmt_elf.c | int i, k; |
k | 220 | fs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
k | 221 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 223 | fs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |
k | 224 | fs/binfmt_elf.c | if(k > last_bss) last_bss = k; |
k | 313 | fs/binfmt_elf.c | unsigned int elf_bss, k, elf_brk; |
k | 547 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr; |
k | 548 | fs/binfmt_elf.c | if(k > start_code) start_code = k; |
k | 549 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; |
k | 550 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 551 | fs/binfmt_elf.c | if((elf_ppnt->p_flags | PROT_WRITE) && end_code < k) |
k | 552 | fs/binfmt_elf.c | end_code = k; |
k | 553 | fs/binfmt_elf.c | if(end_data < k) end_data = k; |
k | 554 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; |
k | 555 | fs/binfmt_elf.c | if(k > elf_brk) elf_brk = k; |
k | 646 | fs/binfmt_elf.c | int i,j, k; |
k | 712 | fs/binfmt_elf.c | k = elf_phdata->p_vaddr + elf_phdata->p_filesz; |
k | 713 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 259 | fs/ext2/balloc.c | int i, j, k, tmp; |
k | 323 | fs/ext2/balloc.c | k = ffz(lmap) + 1; |
k | 324 | fs/ext2/balloc.c | if ((j + k) < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 325 | fs/ext2/balloc.c | j += k; |
k | 344 | fs/ext2/balloc.c | k = (r - ((char *) bh->b_data)) << 3; |
k | 345 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 346 | fs/ext2/balloc.c | j = k; |
k | 349 | fs/ext2/balloc.c | k = find_next_zero_bit ((unsigned long *) bh->b_data, |
k | 352 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 353 | fs/ext2/balloc.c | j = k; |
k | 364 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
k | 372 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
k | 398 | fs/ext2/balloc.c | for (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--); |
k | 429 | fs/ext2/balloc.c | for (k = 1; |
k | 430 | fs/ext2/balloc.c | k < 8 && (j + k) < EXT2_BLOCKS_PER_GROUP(sb); k++) { |
k | 431 | fs/ext2/balloc.c | if (set_bit (j + k, bh->b_data)) |
k | 77 | kernel/itimer.c | int k; |
k | 81 | kernel/itimer.c | if (ovalue && (k = _getitimer(which, ovalue)) < 0) |
k | 82 | kernel/itimer.c | return k; |
k | 952 | net/inet/arp.c | int i,j,k; |
k | 975 | net/inet/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
k | 977 | net/inet/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
k | 978 | net/inet/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
k | 979 | net/inet/arp.c | hbuffer[k++]=':'; |
k | 981 | net/inet/arp.c | hbuffer[--k]=0; |