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 | 273 | arch/i386/boot/compressed/misc.c | int k; /* byte being shifted into crc apparatus */ |
k | 288 | arch/i386/boot/compressed/misc.c | for (k = i | 256; k != 1; k >>= 1) |
k | 291 | arch/i386/boot/compressed/misc.c | if (k & 1) |
k | 1940 | drivers/block/aztcd.c | { int limit, k=5; |
k | 2021 | drivers/block/aztcd.c | } while(--k); |
k | 3297 | drivers/block/sbpcd.c | int i, j, k; |
k | 3311 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0; |
k | 3312 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3317 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
k | 3327 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0xFF; |
k | 3328 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3333 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
k | 3351 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0; |
k | 3352 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3357 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
k | 3368 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) response[k]=0xFF; |
k | 3369 | drivers/block/sbpcd.c | for (k=0;k<N_RESPO;k++) |
k | 3374 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
k | 1950 | drivers/char/console.c | int j, k ; |
k | 1961 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 1962 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
k | 1963 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
k | 1964 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
k | 2127 | drivers/char/console.c | int j, k ; |
k | 2138 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 2139 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
k | 2140 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
k | 2141 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
k | 2533 | drivers/char/console.c | int j, k ; |
k | 2534 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 2535 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_red[j]; |
k | 2536 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_grn[j]; |
k | 2537 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_blu[j]; |
k | 2566 | drivers/char/console.c | int j, k ; |
k | 2567 | drivers/char/console.c | for (j=k=0; j<16; j++) { |
k | 2568 | drivers/char/console.c | palette[k++] = default_red[j]; |
k | 2569 | drivers/char/console.c | palette[k++] = default_grn[j]; |
k | 2570 | drivers/char/console.c | palette[k++] = default_blu[j]; |
k | 227 | drivers/char/cyclades.c | #define small_delay(x) for(j=0;j<x;j++)k++; |
k | 965 | drivers/char/keyboard.c | int i, j, k, sym, val; |
k | 973 | drivers/char/keyboard.c | k = i*BITS_PER_LONG; |
k | 974 | drivers/char/keyboard.c | for(j=0; j<BITS_PER_LONG; j++,k++) |
k | 975 | drivers/char/keyboard.c | if(test_bit(k, key_down)) { |
k | 976 | drivers/char/keyboard.c | sym = U(plain_map[k]); |
k | 547 | drivers/char/scc.c | register int k; |
k | 586 | drivers/char/scc.c | k = 0; |
k | 589 | drivers/char/scc.c | while (k++ < Nchips) |
k | 617 | drivers/char/scc.c | k = 0; |
k | 709 | drivers/char/scc.c | register int k; |
k | 711 | drivers/char/scc.c | for (k=0; k<3; k++) |
k | 1098 | drivers/char/scc.c | int k; |
k | 1104 | drivers/char/scc.c | for (k = 0; k < (Nchips * 2); k++) |
k | 1106 | drivers/char/scc.c | scc2 = &SCC_Info[k]; |
k | 516 | drivers/char/vt.c | int j, k, sz; |
k | 546 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 547 | drivers/char/vt.c | if (func_table[k]) |
k | 548 | drivers/char/vt.c | func_table[k] += delta; |
k | 565 | drivers/char/vt.c | for (k = 0; k < j; k++) |
k | 566 | drivers/char/vt.c | if (func_table[k]) |
k | 567 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr); |
k | 571 | drivers/char/vt.c | for (k = j; k < MAX_NR_FUNC; k++) |
k | 572 | drivers/char/vt.c | if (func_table[k]) |
k | 573 | drivers/char/vt.c | func_table[k] = fnw + (func_table[k] - funcbufptr) + delta; |
k | 2268 | drivers/net/de4x5.c | int i, k, tmp, status = 0; |
k | 2272 | drivers/net/de4x5.c | for (i=0,k=0,j=0;j<3;j++) { |
k | 2273 | drivers/net/de4x5.c | k <<= 1 ; |
k | 2274 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 2279 | drivers/net/de4x5.c | k += (u_char) tmp; |
k | 2282 | drivers/net/de4x5.c | k += (u_short) (tmp << 8); |
k | 2289 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
k | 2291 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
k | 2295 | drivers/net/de4x5.c | if (k > 0xffff) k-=0xffff; |
k | 2297 | drivers/net/de4x5.c | if (k == 0xffff) k=0; |
k | 2305 | drivers/net/de4x5.c | if (k != chksum) status = -1; |
k | 2310 | drivers/net/de4x5.c | if (k != chksum) status = -1; |
k | 1440 | drivers/net/depca.c | u_int i,j,k; |
k | 1450 | drivers/net/depca.c | for (j=0,k=0;j<16 && k<strlen(signatures[i]);j++) { |
k | 1451 | drivers/net/depca.c | if (signatures[i][k] == tmpstr[j]) { /* track signature */ |
k | 1452 | drivers/net/depca.c | k++; |
k | 1454 | drivers/net/depca.c | k=0; |
k | 1457 | drivers/net/depca.c | if (k == strlen(signatures[i])) { |
k | 1537 | drivers/net/depca.c | int i, k, tmp, status = 0; |
k | 1542 | drivers/net/depca.c | for (i=0,k=0,j=0;j<3;j++) { |
k | 1543 | drivers/net/depca.c | k <<= 1 ; |
k | 1544 | drivers/net/depca.c | if (k > 0xffff) k-=0xffff; |
k | 1546 | drivers/net/depca.c | k += (u_char) (tmp = inb(DEPCA_PROM + x)); |
k | 1548 | drivers/net/depca.c | k += (u_short) ((tmp = inb(DEPCA_PROM + x)) << 8); |
k | 1551 | drivers/net/depca.c | if (k > 0xffff) k-=0xffff; |
k | 1553 | drivers/net/depca.c | if (k == 0xffff) k=0; |
k | 1557 | drivers/net/depca.c | if (k != chksum) status = -1; |
k | 1494 | drivers/net/ewrk3.c | unsigned long i,j,k; |
k | 1499 | drivers/net/ewrk3.c | for (j=EEPROM_PNAME7,k=0;j<=EEPROM_PNAME0 && k<strlen(signatures[i]);j++) { |
k | 1500 | drivers/net/ewrk3.c | if (signatures[i][k] == eeprom_image[j]) { /* track signature */ |
k | 1501 | drivers/net/ewrk3.c | k++; |
k | 1503 | drivers/net/ewrk3.c | k=0; |
k | 1506 | drivers/net/ewrk3.c | if (k == strlen(signatures[i])) { |
k | 1507 | drivers/net/ewrk3.c | for (k=0; k<EWRK3_NAME_LENGTH; k++) { |
k | 1508 | drivers/net/ewrk3.c | name[k] = eeprom_image[EEPROM_PNAME7 + k]; |
k | 1578 | drivers/net/ewrk3.c | long k; |
k | 1585 | drivers/net/ewrk3.c | for (sd=inb(EWRK3_PAR0+j), k=0; k<8; k++, sd >>= 1) { |
k | 1592 | drivers/net/ewrk3.c | for (k=0,j=0;j<3;j++) { |
k | 1593 | drivers/net/ewrk3.c | k <<= 1 ; |
k | 1594 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1595 | drivers/net/ewrk3.c | k += inw(EWRK3_PAR0 + (j<<1)); |
k | 1596 | drivers/net/ewrk3.c | if (k > 0xffff) k-=0xffff; |
k | 1598 | drivers/net/ewrk3.c | if (k == 0xffff) k=0; |
k | 1601 | drivers/net/ewrk3.c | if (k != chksum) status = -1; |
k | 2418 | drivers/scsi/aic7xxx.c | int i = 0, k = 0; |
k | 2460 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2482 | drivers/scsi/aic7xxx.c | temp = k; |
k | 2504 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL(base)) & SEEDI); |
k | 2515 | drivers/scsi/aic7xxx.c | if (k < (sizeof(*sc) / 2) - 1) |
k | 2517 | drivers/scsi/aic7xxx.c | checksum = checksum + seeprom[k]; |
k | 2538 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
k | 2540 | drivers/scsi/aic7xxx.c | if (((k % 8) == 0) && (k != 0)) |
k | 2544 | drivers/scsi/aic7xxx.c | printk(" 0x%x", seeprom[k]); |
k | 548 | drivers/scsi/eata.c | unsigned int j = 0, k, flags; |
k | 561 | drivers/scsi/eata.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 562 | drivers/scsi/eata.c | irqlist[k] = NO_IRQ; |
k | 563 | drivers/scsi/eata.c | calls[k] = 0; |
k | 566 | drivers/scsi/eata.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 583 | drivers/scsi/eata.c | unsigned int k; |
k | 588 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 589 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
k | 590 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
k | 598 | drivers/scsi/eata.c | unsigned int i, j, k, flags; |
k | 619 | drivers/scsi/eata.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 629 | drivers/scsi/eata.c | if (k == sh[j]->can_queue) { |
k | 665 | drivers/scsi/eata.c | for (k = 0; k < ARRAY_SIZE(data_out_cmds); k++) |
k | 666 | drivers/scsi/eata.c | if (SCpnt->cmnd[0] == data_out_cmds[k]) { |
k | 768 | drivers/scsi/eata.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 793 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 795 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 881 | drivers/scsi/eata.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 1019 | drivers/scsi/eata.c | for (k = 0; k < MAX_TARGET; k++) |
k | 1020 | drivers/scsi/eata.c | HD(j)->target_reset[k] = TRUE; |
k | 272 | drivers/scsi/qlogic.c | int i,k; |
k | 273 | drivers/scsi/qlogic.c | k = 0; |
k | 275 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)) |
k | 281 | drivers/scsi/qlogic.c | if (k & 0x60) |
k | 283 | drivers/scsi/qlogic.c | if (k & 0x20) |
k | 285 | drivers/scsi/qlogic.c | if (k & 0x40) |
k | 338 | drivers/scsi/qlogic.c | unsigned int i, j, k; |
k | 401 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 402 | drivers/scsi/qlogic.c | return (k << 16); |
k | 403 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
k | 406 | drivers/scsi/qlogic.c | k = jiffies + WATCHDOG; |
k | 407 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
k | 408 | drivers/scsi/qlogic.c | if ( k <= jiffies ) { |
k | 416 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 417 | drivers/scsi/qlogic.c | return (k << 16); |
k | 429 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 430 | drivers/scsi/qlogic.c | return (k << 16); |
k | 477 | drivers/scsi/qlogic.c | int k; |
k | 489 | drivers/scsi/qlogic.c | if ((k = ql_wai())) |
k | 490 | drivers/scsi/qlogic.c | return (k << 16); |
k | 509 | drivers/scsi/u14-34f.c | unsigned int j = 0, k, flags; |
k | 520 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_IRQ; k++) { |
k | 521 | drivers/scsi/u14-34f.c | irqlist[k] = NO_IRQ; |
k | 522 | drivers/scsi/u14-34f.c | calls[k] = 0; |
k | 525 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
k | 542 | drivers/scsi/u14-34f.c | unsigned int k, data_len = 0; |
k | 547 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
k | 548 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
k | 549 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
k | 550 | drivers/scsi/u14-34f.c | data_len += sgpnt[k].length; |
k | 559 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags; |
k | 573 | drivers/scsi/u14-34f.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
k | 583 | drivers/scsi/u14-34f.c | if (k == sh[j]->can_queue) { |
k | 711 | drivers/scsi/u14-34f.c | unsigned int i, j, flags, time, k, limit = 0; |
k | 736 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_reset[k] = TRUE; |
k | 738 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) HD(j)->target_time_out[k] = 0; |
k | 835 | drivers/scsi/u14-34f.c | unsigned int i, j, k, flags, status, tstatus, loops, total_loops = 0; |
k | 967 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_TARGET; k++) |
k | 968 | drivers/scsi/u14-34f.c | HD(j)->target_reset[k] = TRUE; |
k | 191 | fs/binfmt_elf.c | int i, k; |
k | 252 | fs/binfmt_elf.c | k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; |
k | 253 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 259 | fs/binfmt_elf.c | k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; |
k | 260 | fs/binfmt_elf.c | if(k > last_bss) last_bss = k; |
k | 355 | fs/binfmt_elf.c | unsigned int elf_bss, k, elf_brk; |
k | 590 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr; |
k | 591 | fs/binfmt_elf.c | if(k > start_code) start_code = k; |
k | 592 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; |
k | 593 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 594 | fs/binfmt_elf.c | if((elf_ppnt->p_flags | PROT_WRITE) && end_code < k) |
k | 595 | fs/binfmt_elf.c | end_code = k; |
k | 596 | fs/binfmt_elf.c | if(end_data < k) end_data = k; |
k | 597 | fs/binfmt_elf.c | k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; |
k | 598 | fs/binfmt_elf.c | if(k > elf_brk) elf_brk = k; |
k | 702 | fs/binfmt_elf.c | int i,j, k; |
k | 765 | fs/binfmt_elf.c | k = elf_phdata->p_vaddr + elf_phdata->p_filesz; |
k | 766 | fs/binfmt_elf.c | if(k > elf_bss) elf_bss = k; |
k | 259 | fs/ext2/balloc.c | int i, j, k, tmp; |
k | 337 | fs/ext2/balloc.c | k = (r - ((char *) bh->b_data)) << 3; |
k | 338 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 339 | fs/ext2/balloc.c | j = k; |
k | 342 | fs/ext2/balloc.c | k = find_next_zero_bit ((unsigned long *) bh->b_data, |
k | 345 | fs/ext2/balloc.c | if (k < EXT2_BLOCKS_PER_GROUP(sb)) { |
k | 346 | fs/ext2/balloc.c | j = k; |
k | 357 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
k | 365 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
k | 391 | fs/ext2/balloc.c | for (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--); |
k | 422 | fs/ext2/balloc.c | for (k = 1; |
k | 423 | fs/ext2/balloc.c | k < 8 && (j + k) < EXT2_BLOCKS_PER_GROUP(sb); k++) { |
k | 424 | fs/ext2/balloc.c | if (set_bit (j + k, bh->b_data)) |
k | 130 | include/linux/scc.h | #define Running(k) (scc->k != TIMER_STOPPED) |
k | 131 | include/linux/scc.h | #define Expired(k) (scc->k != TIMER_STOPPED) && (!(scc->k) || (--(scc->k) == 0)) |
k | 132 | include/linux/scc.h | #define Stop_Timer(k) scc->k = TIMER_STOPPED |
k | 118 | kernel/itimer.c | int k; |
k | 122 | kernel/itimer.c | if (ovalue && (k = _getitimer(which, ovalue)) < 0) |
k | 123 | kernel/itimer.c | return k; |
k | 1059 | net/ipv4/arp.c | int i,j,k; |
k | 1087 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
k | 1089 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
k | 1090 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
k | 1091 | net/ipv4/arp.c | hbuffer[k++]=':'; |
k | 1093 | net/ipv4/arp.c | hbuffer[--k]=0; |