tag | line | file | source code |
n | 303 | drivers/FPU-emu/errors.c | void exception(int n) |
n | 308 | drivers/FPU-emu/errors.c | if ( n & EX_INTERNAL ) |
n | 310 | drivers/FPU-emu/errors.c | int_type = n - EX_INTERNAL; |
n | 311 | drivers/FPU-emu/errors.c | n = EX_INTERNAL; |
n | 318 | drivers/FPU-emu/errors.c | n &= (SW_Exc_Mask); |
n | 320 | drivers/FPU-emu/errors.c | partial_status |= n; |
n | 324 | drivers/FPU-emu/errors.c | if ( n & (SW_Stack_Fault | EX_Precision) ) |
n | 326 | drivers/FPU-emu/errors.c | if ( !(n & SW_C1) ) |
n | 334 | drivers/FPU-emu/errors.c | if ( (~control_word & n & CW_Exceptions) || (n == EX_INTERNAL) ) |
n | 343 | drivers/FPU-emu/errors.c | if ( (exception_names[i].type & n) == exception_names[i].type ) |
n | 353 | drivers/FPU-emu/errors.c | printk("FPU emulator: Unknown Exception: 0x%04x!\n", n); |
n | 355 | drivers/FPU-emu/errors.c | if ( n == EX_INTERNAL ) |
n | 158 | drivers/FPU-emu/fpu_emu.h | asmlinkage int wm_sqrt(FPU_REG *n, unsigned int control_w); |
n | 10 | drivers/FPU-emu/fpu_proto.h | asmlinkage void exception(int n); |
n | 23 | drivers/FPU-emu/fpu_trig.c | unsigned long long q, int n); |
n | 741 | drivers/FPU-emu/fpu_trig.c | unsigned long long q, int n) |
n | 745 | drivers/FPU-emu/fpu_trig.c | x = st0 << n; |
n | 32 | drivers/FPU-emu/poly.h | const unsigned long long terms[], const int n); |
n | 38 | drivers/FPU-emu/poly.h | asmlinkage void shr_Xsig(Xsig *, const int n); |
n | 1777 | drivers/block/floppy.c | int il,n; |
n | 1801 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
n | 1818 | drivers/block/floppy.c | here[n].sect = count; |
n | 1819 | drivers/block/floppy.c | n = (n+il) % F_SECT_PER_TRACK; |
n | 1820 | drivers/block/floppy.c | if (here[n].sect) { /* sector busy, find next free sector */ |
n | 1821 | drivers/block/floppy.c | ++n; |
n | 1822 | drivers/block/floppy.c | if (n>= F_SECT_PER_TRACK) { |
n | 1823 | drivers/block/floppy.c | n-=F_SECT_PER_TRACK; |
n | 1824 | drivers/block/floppy.c | while (here[n].sect) ++n; |
n | 93 | drivers/block/ll_rw_blk.c | static inline struct request * get_request(int n, int dev) |
n | 98 | drivers/block/ll_rw_blk.c | if (n <= 0) |
n | 99 | drivers/block/ll_rw_blk.c | panic("get_request(%d): impossible!\n", n); |
n | 101 | drivers/block/ll_rw_blk.c | limit = all_requests + n; |
n | 124 | drivers/block/ll_rw_blk.c | static inline struct request * get_request_wait(int n, int dev) |
n | 128 | drivers/block/ll_rw_blk.c | while ((req = get_request(n, dev)) == NULL) |
n | 694 | drivers/block/sbpcd.c | return (msf.n); |
n | 727 | drivers/block/sbpcd.c | msf.n=msfx; |
n | 2604 | drivers/block/sbpcd.c | int i, n; |
n | 2612 | drivers/block/sbpcd.c | n=msf2blk(pos_audio_end)+1-i; |
n | 2616 | drivers/block/sbpcd.c | drvcmd[4]=(n>>16)&0x00FF; |
n | 2617 | drivers/block/sbpcd.c | drvcmd[5]=(n>>8)&0x00FF; |
n | 2618 | drivers/block/sbpcd.c | drvcmd[6]=n&0x00FF; |
n | 1503 | drivers/char/console.c | int c, tc, ok, n = 0; |
n | 1525 | drivers/char/console.c | buf++; n++; count--; |
n | 1903 | drivers/char/console.c | return n; |
n | 720 | drivers/char/n_tty.c | int n; |
n | 722 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
n | 723 | drivers/char/n_tty.c | if (!n) |
n | 725 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
n | 726 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
n | 727 | drivers/char/n_tty.c | tty->read_cnt -= n; |
n | 728 | drivers/char/n_tty.c | *b += n; |
n | 729 | drivers/char/n_tty.c | *nr -= n; |
n | 116 | drivers/char/pty.c | int c=0, n, r; |
n | 127 | drivers/char/pty.c | n = MIN(count, PTY_BUF_SIZE); |
n | 128 | drivers/char/pty.c | memcpy_fromfs(temp_buffer, buf, n); |
n | 132 | drivers/char/pty.c | n = MIN(n, r); |
n | 133 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
n | 134 | drivers/char/pty.c | buf += n; c+= n; |
n | 135 | drivers/char/pty.c | count -= n; |
n | 471 | drivers/char/tpqic02.c | static void report_exception(unsigned n) |
n | 473 | drivers/char/tpqic02.c | if (n >= NR_OF_EXC) { tpqputs(TPQD_ALWAYS, "Oops -- report_exception"); n = 0; } |
n | 474 | drivers/char/tpqic02.c | if (TPQDBG(SENSE_TEXT) || n==0) |
n | 475 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": sense: %s\n", exception_list[n].msg); |
n | 507 | drivers/char/tpqic02.c | short n = -1; |
n | 511 | drivers/char/tpqic02.c | n = 12; |
n | 513 | drivers/char/tpqic02.c | n = 13; |
n | 517 | drivers/char/tpqic02.c | n = 15; |
n | 521 | drivers/char/tpqic02.c | n = 4; |
n | 523 | drivers/char/tpqic02.c | n = 2; |
n | 525 | drivers/char/tpqic02.c | n = 1; |
n | 534 | drivers/char/tpqic02.c | n = 9; |
n | 536 | drivers/char/tpqic02.c | n = 10; |
n | 538 | drivers/char/tpqic02.c | n = 8; |
n | 541 | drivers/char/tpqic02.c | n = 7; |
n | 546 | drivers/char/tpqic02.c | n = 5; |
n | 553 | drivers/char/tpqic02.c | n = 6; |
n | 560 | drivers/char/tpqic02.c | n = 14; |
n | 562 | drivers/char/tpqic02.c | n = 11; |
n | 565 | drivers/char/tpqic02.c | n = 3; |
n | 567 | drivers/char/tpqic02.c | if (n >= 0) |
n | 568 | drivers/char/tpqic02.c | sensemsg(n); |
n | 845 | drivers/char/tpqic02.c | int s, n; |
n | 855 | drivers/char/tpqic02.c | n = 1000; /* 500 is not enough on a 486/33 */ |
n | 856 | drivers/char/tpqic02.c | while ((n>0) && ((inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK)) |
n | 857 | drivers/char/tpqic02.c | n--; /* wait for ready or exception or timeout */ |
n | 858 | drivers/char/tpqic02.c | if (n==0) { |
n | 1221 | drivers/char/tty_io.c | int i, n = 0; |
n | 1226 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
n | 1230 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
n | 1233 | drivers/char/tty_io.c | put_fs_long(1, (unsigned long *)(ts->present+n)); |
n | 1236 | drivers/char/tty_io.c | put_fs_long(0, (unsigned long *)(ts->present+n)); |
n | 78 | drivers/net/ppp.c | #define PRINTKN(n,p) {if (ppp_debug >= n) PRINTK (p)} |
n | 105 | drivers/net/ppp.c | static void ppp_unesc(struct ppp *ppp, unsigned char *c, int n); |
n | 813 | drivers/net/ppp.c | int n, error; |
n | 830 | drivers/net/ppp.c | n = tty_read_raw_data(tty, buff, 128); |
n | 831 | drivers/net/ppp.c | if ( n == 0 ) /* nothing there */ |
n | 835 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", buff, n > 0 ? n : -n, KERNEL_DS); |
n | 837 | drivers/net/ppp.c | if ( n < 0 ) { |
n | 840 | drivers/net/ppp.c | n = (-n) - 1; |
n | 841 | drivers/net/ppp.c | error = buff[n]; |
n | 843 | drivers/net/ppp.c | ppp->stats.rbytes += n; |
n | 844 | drivers/net/ppp.c | ppp_unesc(ppp,buff,n); |
n | 856 | drivers/net/ppp.c | ppp_unesc(struct ppp *ppp, unsigned char *c, int n) |
n | 860 | drivers/net/ppp.c | for (i = 0; i < n; i++, c++) { |
n | 83 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
n | 195 | drivers/net/slhc.c | encode(unsigned char *cp, unsigned short n) |
n | 197 | drivers/net/slhc.c | if(n >= 256 || n == 0){ |
n | 199 | drivers/net/slhc.c | cp = put16(cp,n); |
n | 201 | drivers/net/slhc.c | *cp++ = n; |
n | 744 | drivers/scsi/aha274x.c | int n; |
n | 763 | drivers/scsi/aha274x.c | if (!memcmp(buf, S[i].signature, S[i].n)) { |
n | 196 | drivers/scsi/aic7770.c | char **getl(int *n) |
n | 222 | drivers/scsi/aic7770.c | *n = i; |
n | 242 | drivers/scsi/aic7770.c | int n; /* number of operands, including opcode */ |
n | 429 | drivers/scsi/aic7770.c | int crack(char **a, int n) |
n | 440 | drivers/scsi/aic7770.c | I_ret = (strcmp(a[n-1], "ret") ? 0 : !0); |
n | 441 | drivers/scsi/aic7770.c | if (I_ret && n > 1) |
n | 442 | drivers/scsi/aic7770.c | n -= 1; |
n | 450 | drivers/scsi/aic7770.c | if (!strcmp(instr[i].name, *a) && instr[i].n == n) |
n | 495 | drivers/scsi/aic7770.c | int n; |
n | 499 | drivers/scsi/aic7770.c | while ((a = getl(&n))) { |
n | 509 | drivers/scsi/aic7770.c | n -= 1; |
n | 512 | drivers/scsi/aic7770.c | if (!n) /* line was all labels */ |
n | 515 | drivers/scsi/aic7770.c | if (n == 3 && !strcmp("VERSION", *a)) |
n | 518 | drivers/scsi/aic7770.c | if (n == 3 && !strcmp("=", a[1])) |
n | 521 | drivers/scsi/aic7770.c | LC += crack(a, n); |
n | 291 | drivers/sound/ad1848.c | int i, n, selected = -1; |
n | 293 | drivers/sound/ad1848.c | n = sizeof (speed_table) / sizeof (speed_struct); |
n | 297 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
n | 298 | drivers/sound/ad1848.c | selected = n - 1; |
n | 300 | drivers/sound/ad1848.c | for (i = 1 /*really*/ ; selected == -1 && i < n; i++) |
n | 388 | drivers/sound/ad1848.c | int i, n = sizeof (format2bits) / sizeof (struct format_tbl); |
n | 395 | drivers/sound/ad1848.c | for (i = 0; i < n; i++) |
n | 142 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, unsigned long n) |
n | 146 | drivers/sound/audio.c | for (i = 0; i < n; ++i) |
n | 152 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, unsigned long n) |
n | 159 | drivers/sound/audio.c | :"b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff) |
n | 38 | drivers/sound/dev_table.c | int i, n = sizeof (sound_drivers) / sizeof (struct driver_info); |
n | 40 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 52 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 55 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 86 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 91 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 119 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 128 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 159 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 165 | drivers/sound/dev_table.c | for (i = 0; i < n; i++) |
n | 196 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 219 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 224 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 249 | drivers/sound/dev_table.c | int n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 252 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 57 | drivers/sound/dmabuf.c | unsigned i, p, n; |
n | 121 | drivers/sound/dmabuf.c | n = 0; |
n | 123 | drivers/sound/dmabuf.c | n < dmap->max_fragments && |
n | 124 | drivers/sound/dmabuf.c | n < MAX_SUB_BUFFERS; i++) |
n | 129 | drivers/sound/dmabuf.c | n < dmap->max_fragments && |
n | 130 | drivers/sound/dmabuf.c | n < MAX_SUB_BUFFERS) |
n | 132 | drivers/sound/dmabuf.c | dmap->buf[n] = dmap->raw_buf[i] + p; |
n | 133 | drivers/sound/dmabuf.c | dmap->buf_phys[n] = dmap->raw_buf_phys[i] + p; |
n | 135 | drivers/sound/dmabuf.c | n++; |
n | 139 | drivers/sound/dmabuf.c | dmap->nbufs = n; |
n | 140 | drivers/sound/dmabuf.c | dmap->bytes_in_use = n * bsz; |
n | 32 | drivers/sound/gus_vol.c | int i, m, n, x; |
n | 80 | drivers/sound/gus_vol.c | n = x; |
n | 82 | drivers/sound/gus_vol.c | if (n < 128) |
n | 84 | drivers/sound/gus_vol.c | while (i > 0 && n < (1 << i)) |
n | 88 | drivers/sound/gus_vol.c | while (n > 255) |
n | 90 | drivers/sound/gus_vol.c | n >>= 1; |
n | 813 | drivers/sound/gus_wave.c | int n, failed; |
n | 820 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
n | 2423 | drivers/sound/gus_wave.c | int i, n; |
n | 2459 | drivers/sound/gus_wave.c | n = 0; |
n | 2463 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
n | 2467 | drivers/sound/gus_wave.c | rec->parm1 = n; |
n | 2517 | drivers/sound/gus_wave.c | int n; |
n | 2527 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Num of bytes left */ |
n | 2529 | drivers/sound/gus_wave.c | if (l > n) |
n | 2530 | drivers/sound/gus_wave.c | l = n; |
n | 2544 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2545 | drivers/sound/gus_wave.c | rec->data.data8[n] = gus_peek (offs++); |
n | 2546 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 2558 | drivers/sound/gus_wave.c | int n; |
n | 2570 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* |
n | 2574 | drivers/sound/gus_wave.c | if (l > n) |
n | 2575 | drivers/sound/gus_wave.c | l = n; |
n | 2589 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2590 | drivers/sound/gus_wave.c | gus_poke (offs++, rec->data.data8[n]); |
n | 2591 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 282 | drivers/sound/midibuf.c | int c, n, i; |
n | 296 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
n | 298 | drivers/sound/midibuf.c | if (n == 0) /* |
n | 309 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
n | 312 | drivers/sound/midibuf.c | if (n > (count - c)) |
n | 313 | drivers/sound/midibuf.c | n = count - c; |
n | 315 | drivers/sound/midibuf.c | for (i = 0; i < n; i++) |
n | 332 | drivers/sound/midibuf.c | int n, c = 0; |
n | 356 | drivers/sound/midibuf.c | n = DATA_AVAIL (midi_in_buf[dev]); |
n | 357 | drivers/sound/midibuf.c | if (n > count) |
n | 358 | drivers/sound/midibuf.c | n = count; |
n | 361 | drivers/sound/midibuf.c | while (c < n) |
n | 1105 | drivers/sound/mpu401.c | int ok, timeout, n; |
n | 1118 | drivers/sound/mpu401.c | for (n = 0; n < 2 && !ok; n++) |
n | 1665 | drivers/sound/mpu401.c | int n; |
n | 1679 | drivers/sound/mpu401.c | n = 0; /* Overwrite the system timer */ |
n | 1681 | drivers/sound/mpu401.c | n = num_sound_timers++; |
n | 1683 | drivers/sound/mpu401.c | n = 0; |
n | 1685 | drivers/sound/mpu401.c | sound_timer_devs[n] = &mpu_timer; |
n | 238 | drivers/sound/sb16_midi.c | int ok, timeout, n; |
n | 248 | drivers/sound/sb16_midi.c | for (n = 0; n < 2 && !ok; n++) |
n | 1086 | drivers/sound/sequencer.c | int i, n; |
n | 1092 | drivers/sound/sequencer.c | n = 1; |
n | 1094 | drivers/sound/sequencer.c | while (!PROCESS_ABORTING (midi_sleeper, midi_sleep_flag) && n) |
n | 1096 | drivers/sound/sequencer.c | n = 0; |
n | 1102 | drivers/sound/sequencer.c | n++; |
n | 1107 | drivers/sound/sequencer.c | if (n) |
n | 1204 | drivers/sound/sequencer.c | int n; |
n | 1216 | drivers/sound/sequencer.c | n = 300; /* |
n | 1220 | drivers/sound/sequencer.c | while (n && !midi_devs[dev]->putc (dev, data)) |
n | 1223 | drivers/sound/sequencer.c | n--; |
n | 383 | drivers/sound/sound_timer.c | int n; |
n | 395 | drivers/sound/sound_timer.c | n = 0; /* Overwrite the system timer */ |
n | 397 | drivers/sound/sound_timer.c | n = num_sound_timers++; |
n | 399 | drivers/sound/sound_timer.c | n = 0; |
n | 402 | drivers/sound/sound_timer.c | sound_timer_devs[n] = &sound_timer; |
n | 254 | fs/hpfs/hpfs_fs.c | int n, |
n | 805 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
n | 827 | fs/hpfs/hpfs_fs.c | for (n = 0; n < n_bands; n++) |
n | 828 | fs/hpfs/hpfs_fs.c | if (bitmaps[n] == 0) |
n | 831 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
n | 869 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
n | 891 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
n | 896 | fs/hpfs/hpfs_fs.c | if (n > count) |
n | 897 | fs/hpfs/hpfs_fs.c | n = count; |
n | 911 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
n | 918 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
n | 919 | fs/hpfs/hpfs_fs.c | n0 = n; |
n | 925 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
n | 926 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos - n + n0) |
n | 927 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
n | 935 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
n | 999 | fs/hpfs/hpfs_fs.c | unsigned n, disk_secno; |
n | 1008 | fs/hpfs/hpfs_fs.c | n = file_secno - inode->i_hpfs_file_sec; |
n | 1009 | fs/hpfs/hpfs_fs.c | if (n < inode->i_hpfs_n_secs) |
n | 1010 | fs/hpfs/hpfs_fs.c | return inode->i_hpfs_disk_sec + n; |
n | 1046 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
n | 1048 | fs/hpfs/hpfs_fs.c | unsigned t = file_secno - n[i].file_secno; |
n | 1049 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
n | 1050 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_file_sec = n[i].file_secno; |
n | 1051 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_disk_sec = n[i].disk_secno; |
n | 1052 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
n | 1053 | fs/hpfs/hpfs_fs.c | return n[i].disk_secno + t; |
n | 1064 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
n | 1066 | fs/hpfs/hpfs_fs.c | if (file_secno < n[i].file_secno) { |
n | 1068 | fs/hpfs/hpfs_fs.c | anode_secno ano = n[i].down; |
n | 1206 | fs/hpfs/hpfs_fs.c | unsigned n) |
n | 1210 | fs/hpfs/hpfs_fs.c | if (n != 0) |
n | 1220 | fs/hpfs/hpfs_fs.c | } while (--n != 0); |
n | 1392 | fs/hpfs/hpfs_fs.c | unsigned n; |
n | 1398 | fs/hpfs/hpfs_fs.c | for (n = namelen; n != 0;) { |
n | 1399 | fs/hpfs/hpfs_fs.c | unsigned t = name[--n]; |
n | 1402 | fs/hpfs/hpfs_fs.c | put_fs_byte(t, &dirent->d_name[n]); |
n | 1543 | fs/hpfs/hpfs_fs.c | int n, |
n | 1554 | fs/hpfs/hpfs_fs.c | if (i == n) |
n | 222 | fs/msdos/inode.c | #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
n | 97 | fs/nfs/file.c | int result, hunk, i, n, fs; |
n | 134 | fs/nfs/file.c | n = NFS_SERVER(inode)->rsize; |
n | 135 | fs/nfs/file.c | for (i = 0; i < count - n; i += n) { |
n | 137 | fs/nfs/file.c | pos, n, buf, &fattr, 1); |
n | 142 | fs/nfs/file.c | if (result < n) { |
n | 149 | fs/nfs/file.c | if (!(data = (char *)kmalloc(n, GFP_KERNEL))) { |
n | 154 | fs/nfs/file.c | pos, n, data, &fattr, fs); |
n | 157 | fs/nfs/file.c | kfree_s(data, n); |
n | 176 | fs/nfs/file.c | cache[tail].buf_size = n; |
n | 184 | fs/nfs/file.c | kfree_s(data, n); |
n | 192 | fs/nfs/file.c | int result, hunk, i, n, pos; |
n | 217 | fs/nfs/file.c | n = NFS_SERVER(inode)->wsize; |
n | 218 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
n | 220 | fs/nfs/file.c | if (hunk >= n) |
n | 221 | fs/nfs/file.c | hunk = n; |
n | 228 | fs/nfs/file.c | if (hunk < n) { |
n | 35 | fs/nfs/mmap.c | int n; |
n | 48 | fs/nfs/mmap.c | n = NFS_SERVER(inode)->rsize; /* what we can read in one go */ |
n | 50 | fs/nfs/mmap.c | for (i = 0; i < (PAGE_SIZE - clear); i += n) { |
n | 54 | fs/nfs/mmap.c | if (hunk > n) |
n | 55 | fs/nfs/mmap.c | hunk = n; |
n | 61 | fs/nfs/mmap.c | if (result < n) { |
n | 857 | fs/nfs/proc.c | unsigned int n; |
n | 860 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_REPLY) { |
n | 861 | fs/nfs/proc.c | printk("nfs_rpc_verify: not an RPC reply: %d\n", n); |
n | 864 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { |
n | 865 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call rejected: %d\n", n); |
n | 868 | fs/nfs/proc.c | switch (n = ntohl(*p++)) { |
n | 872 | fs/nfs/proc.c | printk("nfs_rpc_verify: bad RPC authentication type: %d\n", n); |
n | 875 | fs/nfs/proc.c | if ((n = ntohl(*p++)) > 400) { |
n | 879 | fs/nfs/proc.c | p += QUADLEN(n); |
n | 880 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_SUCCESS) { |
n | 881 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call failed: %d\n", n); |
n | 69 | fs/nfs/sock.c | int n; |
n | 104 | fs/nfs/sock.c | for (n = 0, timeout = init_timeout; ; n++, timeout <<= 1) { |
n | 134 | fs/nfs/sock.c | if (n < retrans) |
n | 142 | fs/nfs/sock.c | n = 0; |
n | 84 | fs/select.c | static int do_select(int n, fd_set *in, fd_set *out, fd_set *ex, |
n | 96 | fs/select.c | if (i >= n) |
n | 100 | fs/select.c | if (i >= n) |
n | 112 | fs/select.c | n = max + 1; |
n | 124 | fs/select.c | for (i = 0 ; i < n ; i++) { |
n | 208 | fs/select.c | int n; |
n | 215 | fs/select.c | n = get_fs_long(buffer++); |
n | 216 | fs/select.c | if (n < 0) |
n | 218 | fs/select.c | if (n > NR_OPEN) |
n | 219 | fs/select.c | n = NR_OPEN; |
n | 224 | fs/select.c | if ((i = get_fd_set(n, inp, &in)) || |
n | 225 | fs/select.c | (i = get_fd_set(n, outp, &out)) || |
n | 226 | fs/select.c | (i = get_fd_set(n, exp, &ex))) return i; |
n | 238 | fs/select.c | i = do_select(n, &in, &out, &ex, &res_in, &res_out, &res_ex); |
n | 254 | fs/select.c | set_fd_set(n, inp, &res_in); |
n | 255 | fs/select.c | set_fd_set(n, outp, &res_out); |
n | 256 | fs/select.c | set_fd_set(n, exp, &res_ex); |
n | 62 | include/asm-alpha/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 64 | include/asm-alpha/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 5 | include/asm-alpha/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
n | 9 | include/asm-alpha/string.h | int size = n; |
n | 63 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 79 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
n | 83 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 85 | include/asm-i386/segment.h | switch (n) { |
n | 111 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 114 | include/asm-i386/segment.h | switch (n % 4) { |
n | 131 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 143 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
n | 147 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 149 | include/asm-i386/segment.h | switch (n) { |
n | 171 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 174 | include/asm-i386/segment.h | switch (n % 4) { |
n | 191 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 192 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 193 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 194 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 196 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 197 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 198 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 199 | include/asm-i386/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 340 | include/asm-i386/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
n | 355 | include/asm-i386/string.h | :"d" (n),"D" ((long) to),"S" ((long) from) |
n | 360 | include/asm-i386/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 368 | include/asm-i386/string.h | :"c" (n),"S" (src),"D" (dest) |
n | 377 | include/asm-i386/string.h | :"c" (n), |
n | 378 | include/asm-i386/string.h | "S" (n-1+(const char *)src), |
n | 379 | include/asm-i386/string.h | "D" (n-1+(char *)dest) |
n | 36 | include/asm-i386/system.h | #define _TSS(n) ((((unsigned long) n)<<4)+(FIRST_TSS_ENTRY<<3)) |
n | 37 | include/asm-i386/system.h | #define _LDT(n) ((((unsigned long) n)<<4)+(FIRST_LDT_ENTRY<<3)) |
n | 38 | include/asm-i386/system.h | #define load_TR(n) __asm__("ltr %%ax": /* no output */ :"a" (_TSS(n))) |
n | 39 | include/asm-i386/system.h | #define load_ldt(n) __asm__("lldt %%ax": /* no output */ :"a" (_LDT(n))) |
n | 40 | include/asm-i386/system.h | #define store_TR(n) \ |
n | 44 | include/asm-i386/system.h | :"=a" (n) \ |
n | 206 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
n | 207 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
n | 209 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
n | 210 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
n | 212 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
n | 213 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
n | 228 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
n | 238 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
n | 239 | include/asm-i386/system.h | "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \ |
n | 242 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
n | 243 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
n | 244 | include/asm-i386/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
n | 69 | include/asm-m68k/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 71 | include/asm-m68k/segment.h | if (n == 0) return; |
n | 79 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
n | 80 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
n | 84 | include/asm-m68k/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 86 | include/asm-m68k/segment.h | if (n == 0) { |
n | 88 | include/asm-m68k/segment.h | } else if (n == 1) { |
n | 91 | include/asm-m68k/segment.h | } else if (n == 2) { |
n | 94 | include/asm-m68k/segment.h | } else if (n == 3) { |
n | 98 | include/asm-m68k/segment.h | } else if (n == 4) { |
n | 112 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 115 | include/asm-m68k/segment.h | switch (n % 4) { |
n | 131 | include/asm-m68k/segment.h | __generic_memcpy_tofs(to,from,n); |
n | 135 | include/asm-m68k/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 137 | include/asm-m68k/segment.h | if (n == 0) return; |
n | 145 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
n | 146 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
n | 150 | include/asm-m68k/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 152 | include/asm-m68k/segment.h | if (n == 0) { |
n | 154 | include/asm-m68k/segment.h | } else if (n == 1) { |
n | 157 | include/asm-m68k/segment.h | } else if (n == 2) { |
n | 160 | include/asm-m68k/segment.h | } else if (n == 3) { |
n | 164 | include/asm-m68k/segment.h | } else if (n == 4) { |
n | 174 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 177 | include/asm-m68k/segment.h | switch (n % 4) { |
n | 193 | include/asm-m68k/segment.h | __generic_memcpy_fromfs(to,from,n); |
n | 197 | include/asm-m68k/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 198 | include/asm-m68k/segment.h | (__builtin_constant_p(n) ? \ |
n | 199 | include/asm-m68k/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 200 | include/asm-m68k/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 202 | include/asm-m68k/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 203 | include/asm-m68k/segment.h | (__builtin_constant_p(n) ? \ |
n | 204 | include/asm-m68k/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 205 | include/asm-m68k/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 18 | include/asm-m68k/string.h | extern inline void * strncpy(char *dest, const void *src, size_t n) |
n | 22 | include/asm-m68k/string.h | if (n == 0) |
n | 31 | include/asm-m68k/string.h | : "=a" (dest), "=a" (src), "=d" (n) |
n | 32 | include/asm-m68k/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 108 | include/asm-m68k/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
n | 112 | include/asm-m68k/string.h | if (!n) |
n | 118 | include/asm-m68k/string.h | : "=a" (to), "=a" (from), "=d" (n) |
n | 119 | include/asm-m68k/string.h | : "0" (to), "1" (from), "2" (n) |
n | 124 | include/asm-m68k/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 128 | include/asm-m68k/string.h | if (!n) |
n | 136 | include/asm-m68k/string.h | : "=a" (dest), "=a" (src), "=d" (n) |
n | 137 | include/asm-m68k/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 144 | include/asm-m68k/string.h | : "=a" (dest), "=a" (src), "=d" (n) |
n | 145 | include/asm-m68k/string.h | : "0" (dest+n), "1" (src+n), "2" (n) |
n | 90 | include/asm-mips/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 104 | include/asm-mips/segment.h | :"d" (n),"d" (((long) to)| segment_fs),"d" ((long) from) |
n | 108 | include/asm-mips/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 113 | include/asm-mips/segment.h | switch (n) { |
n | 136 | include/asm-mips/segment.h | __generic_memcpy_tofs(to, from, n); |
n | 141 | include/asm-mips/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 155 | include/asm-mips/segment.h | :"d" (n),"d" ((long) to),"d" (((long) from | segment_fs)) |
n | 159 | include/asm-mips/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 164 | include/asm-mips/segment.h | switch (n) { |
n | 188 | include/asm-mips/segment.h | __generic_memcpy_fromfs(to, from, n); |
n | 192 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 193 | include/asm-mips/segment.h | (__builtin_constant_p(n) ? \ |
n | 194 | include/asm-mips/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 195 | include/asm-mips/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 197 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 198 | include/asm-mips/segment.h | (__builtin_constant_p(n) ? \ |
n | 199 | include/asm-mips/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 200 | include/asm-mips/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 37 | include/asm-mips/string.h | extern inline char * strncpy(char *dest, const char *src, size_t n) |
n | 41 | include/asm-mips/string.h | if (n == 0) |
n | 57 | include/asm-mips/string.h | : "=d" (dest), "=d" (src), "=d" (n) |
n | 58 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 144 | include/asm-mips/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
n | 148 | include/asm-mips/string.h | if (!n) |
n | 161 | include/asm-mips/string.h | : "=d" (to), "=d" (from), "=d" (n) |
n | 162 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
n | 167 | include/asm-mips/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 171 | include/asm-mips/string.h | if (!n) |
n | 186 | include/asm-mips/string.h | : "=d" (dest), "=d" (src), "=d" (n) |
n | 187 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 201 | include/asm-mips/string.h | : "=d" (dest), "=d" (src), "=d" (n) |
n | 202 | include/asm-mips/string.h | : "0" (dest+n), "1" (src+n), "2" (n) |
n | 36 | include/linux/msdos_fs.h | #define IS_FREE(n) (!*(n) || *(unsigned char *) (n) == DELETED_FLAG || \ |
n | 37 | include/linux/msdos_fs.h | *(unsigned char *) (n) == FD_FILL_BYTE) |
n | 467 | include/linux/sbpcd.h | u_int n; |
n | 474 | include/linux/sbpcd.h | u_int n; |
n | 41 | include/linux/sched.h | #define CALC_LOAD(load,exp,n) \ |
n | 43 | include/linux/sched.h | load += n*(FIXED_1-exp); \ |
n | 261 | init/main.c | int n = strlen(bootsetups[i].str); |
n | 262 | init/main.c | if (!strncmp(line,bootsetups[i].str,n)) { |
n | 263 | init/main.c | bootsetups[i].setup_func(get_options(line+n,ints), ints); |
n | 329 | init/main.c | int n; |
n | 336 | init/main.c | for (n = 0 ; devnames[n] ; n++) { |
n | 337 | init/main.c | int len = strlen(devnames[n]); |
n | 338 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
n | 339 | init/main.c | ROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,0); |
n | 62 | kernel/vsprintf.c | #define do_div(n,base) ({ \ |
n | 64 | kernel/vsprintf.c | __res = ((unsigned long) n) % (unsigned) base; \ |
n | 65 | kernel/vsprintf.c | n = ((unsigned long) n) / (unsigned) base; \ |
n | 65 | mm/mprotect.c | struct vm_area_struct * n; |
n | 67 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 68 | mm/mprotect.c | if (!n) |
n | 70 | mm/mprotect.c | *n = *vma; |
n | 72 | mm/mprotect.c | n->vm_end = end; |
n | 73 | mm/mprotect.c | vma->vm_offset += vma->vm_start - n->vm_start; |
n | 74 | mm/mprotect.c | n->vm_flags = newflags; |
n | 75 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 76 | mm/mprotect.c | if (n->vm_inode) |
n | 77 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 78 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 79 | mm/mprotect.c | n->vm_ops->open(n); |
n | 80 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 88 | mm/mprotect.c | struct vm_area_struct * n; |
n | 90 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 91 | mm/mprotect.c | if (!n) |
n | 93 | mm/mprotect.c | *n = *vma; |
n | 95 | mm/mprotect.c | n->vm_start = start; |
n | 96 | mm/mprotect.c | n->vm_offset += n->vm_start - vma->vm_start; |
n | 97 | mm/mprotect.c | n->vm_flags = newflags; |
n | 98 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 99 | mm/mprotect.c | if (n->vm_inode) |
n | 100 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 101 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 102 | mm/mprotect.c | n->vm_ops->open(n); |
n | 103 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 182 | mm/vmalloc.c | int n; |
n | 191 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
n | 193 | mm/vmalloc.c | n -= addr - vaddr; |
n | 194 | mm/vmalloc.c | while (--n >= 0) { |
n | 73 | net/inet/ip.h | extern int backoff(int n); |
n | 490 | net/inet/skbuff.c | struct sk_buff *n; |
n | 493 | net/inet/skbuff.c | n=alloc_skb(skb->mem_len-sizeof(struct sk_buff),priority); |
n | 494 | net/inet/skbuff.c | if(n==NULL) |
n | 497 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
n | 499 | net/inet/skbuff.c | memcpy(n->data,skb->data,skb->mem_len-sizeof(struct sk_buff)); |
n | 500 | net/inet/skbuff.c | n->len=skb->len; |
n | 501 | net/inet/skbuff.c | n->link3=NULL; |
n | 502 | net/inet/skbuff.c | n->sk=NULL; |
n | 503 | net/inet/skbuff.c | n->when=skb->when; |
n | 504 | net/inet/skbuff.c | n->dev=skb->dev; |
n | 505 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
n | 506 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
n | 507 | net/inet/skbuff.c | n->fraglen=skb->fraglen; |
n | 508 | net/inet/skbuff.c | n->fraglist=skb->fraglist; |
n | 509 | net/inet/skbuff.c | n->saddr=skb->saddr; |
n | 510 | net/inet/skbuff.c | n->daddr=skb->daddr; |
n | 511 | net/inet/skbuff.c | n->raddr=skb->raddr; |
n | 512 | net/inet/skbuff.c | n->acked=skb->acked; |
n | 513 | net/inet/skbuff.c | n->used=skb->used; |
n | 514 | net/inet/skbuff.c | n->free=1; |
n | 515 | net/inet/skbuff.c | n->arp=skb->arp; |
n | 516 | net/inet/skbuff.c | n->tries=0; |
n | 517 | net/inet/skbuff.c | n->lock=0; |
n | 518 | net/inet/skbuff.c | n->users=0; |
n | 519 | net/inet/skbuff.c | n->pkt_type=skb->pkt_type; |
n | 520 | net/inet/skbuff.c | return n; |
n | 210 | tools/build.c | int l, n; |
n | 215 | tools/build.c | if ((n=read(id, buf, l)) != l) { |
n | 216 | tools/build.c | if (n == -1) |
n | 22 | zBoot/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |
n | 27 | zBoot/gzip.h | # define memcpy(d, s, n) bcopy((s), (d), (n)) |
n | 28 | zBoot/gzip.h | # define memcmp(s1, s2, n) bcmp((s1), (s2), (n)) |
n | 29 | zBoot/gzip.h | # define memzero(s, n) bzero((s), (n)) |
n | 205 | zBoot/gzip.h | #define put_long(n) { \ |
n | 206 | zBoot/gzip.h | put_short((n) & 0xffff); \ |
n | 207 | zBoot/gzip.h | put_short(((ulg)(n)) >> 16); \ |
n | 268 | zBoot/gzip.h | extern ulg updcrc OF((uch *s, unsigned n)); |
n | 27 | zBoot/inflate.c | ush n; /* literal, length base, or distance base */ |
n | 84 | zBoot/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
n | 85 | zBoot/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
n | 99 | zBoot/inflate.c | int huft_build(b, n, s, d, e, t, m) |
n | 101 | zBoot/inflate.c | unsigned n; /* number of codes (assumed <= N_MAX) */ |
n | 137 | zBoot/inflate.c | p = b; i = n; |
n | 141 | zBoot/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
n | 192 | zBoot/inflate.c | } while (++i < n); |
n | 264 | zBoot/inflate.c | if (p >= v + n) |
n | 269 | zBoot/inflate.c | r.v.n = *p++; /* simple code is just the value */ |
n | 274 | zBoot/inflate.c | r.v.n = d[*p++ - s]; |
n | 335 | zBoot/inflate.c | unsigned n, d; /* length and index for copy */ |
n | 365 | zBoot/inflate.c | slide[w++] = (uch)t->v.n; |
n | 380 | zBoot/inflate.c | n = t->v.n + ((unsigned)b & mask_bits[e]); |
n | 395 | zBoot/inflate.c | d = w - t->v.n - ((unsigned)b & mask_bits[e]); |
n | 400 | zBoot/inflate.c | n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); |
n | 418 | zBoot/inflate.c | } while (n); |
n | 437 | zBoot/inflate.c | unsigned n; /* number of bytes in block */ |
n | 451 | zBoot/inflate.c | n = k & 7; |
n | 452 | zBoot/inflate.c | DUMPBITS(n); |
n | 457 | zBoot/inflate.c | n = ((unsigned)b & 0xffff); |
n | 460 | zBoot/inflate.c | if (n != (unsigned)((~b) & 0xffff)) |
n | 466 | zBoot/inflate.c | while (n--) |
n | 551 | zBoot/inflate.c | unsigned n; /* number of lengths to get */ |
n | 617 | zBoot/inflate.c | n = nl + nd; |
n | 620 | zBoot/inflate.c | while ((unsigned)i < n) |
n | 625 | zBoot/inflate.c | j = td->v.n; |
n | 633 | zBoot/inflate.c | if ((unsigned)i + j > n) |
n | 643 | zBoot/inflate.c | if ((unsigned)i + j > n) |
n | 654 | zBoot/inflate.c | if ((unsigned)i + j > n) |
n | 159 | zBoot/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
n | 164 | zBoot/misc.c | for (i=0;i<n;i++) ss[i] = c; |
n | 183 | zBoot/misc.c | ulg updcrc(s, n) |
n | 185 | zBoot/misc.c | unsigned n; /* number of bytes in s[] */ |
n | 195 | zBoot/misc.c | while (n--) { |
n | 18 | zBoot/piggyback.c | int c, n=0, len=0; |
n | 36 | zBoot/piggyback.c | while ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0) |
n | 37 | zBoot/piggyback.c | len += n; |
n | 39 | zBoot/piggyback.c | if (n==-1) |
n | 100 | zBoot/unzip.c | int n; |
n | 126 | zBoot/unzip.c | register ulg n = LG(inbuf + LOCLEN); |
n | 128 | zBoot/unzip.c | if (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) { |
n | 132 | zBoot/unzip.c | while (n--) { |
n | 148 | zBoot/unzip.c | for (n = 0; n < 8; n++) { |
n | 149 | zBoot/unzip.c | buf[n] = (uch)get_byte(); /* may cause an error if EOF */ |
n | 160 | zBoot/unzip.c | for (n = 0; n < EXTHDR; n++) { |
n | 161 | zBoot/unzip.c | buf[n] = (uch)get_byte(); /* may cause an error if EOF */ |
n | 66 | zBoot/xtract.c | int l, n; |
n | 71 | zBoot/xtract.c | if ((n=read(id, buf, l)) !=l) |
n | 73 | zBoot/xtract.c | if (n == -1) |