tag | line | file | source code |
n | 297 | drivers/FPU-emu/errors.c | void exception(int n) |
n | 302 | drivers/FPU-emu/errors.c | if ( n & EX_INTERNAL ) |
n | 304 | drivers/FPU-emu/errors.c | int_type = n - EX_INTERNAL; |
n | 305 | drivers/FPU-emu/errors.c | n = EX_INTERNAL; |
n | 312 | drivers/FPU-emu/errors.c | n &= (SW_Exc_Mask); |
n | 314 | drivers/FPU-emu/errors.c | partial_status |= n; |
n | 318 | drivers/FPU-emu/errors.c | if ( n & (SW_Stack_Fault | EX_Precision) ) |
n | 320 | drivers/FPU-emu/errors.c | if ( !(n & SW_C1) ) |
n | 328 | drivers/FPU-emu/errors.c | if ( (~control_word & n & CW_Exceptions) || (n == EX_INTERNAL) ) |
n | 337 | drivers/FPU-emu/errors.c | if ( (exception_names[i].type & n) == exception_names[i].type ) |
n | 347 | drivers/FPU-emu/errors.c | printk("FPU emulator: Unknown Exception: 0x%04x!\n", n); |
n | 349 | drivers/FPU-emu/errors.c | if ( n == EX_INTERNAL ) |
n | 152 | drivers/FPU-emu/fpu_emu.h | unsigned short const terms[][4], int const n); |
n | 165 | 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 | 748 | drivers/FPU-emu/fpu_trig.c | unsigned long long q, int n) |
n | 752 | drivers/FPU-emu/fpu_trig.c | x = st0 << n; |
n | 228 | drivers/block/hd.c | static void rawstring (char *prefix, char *s, int n) |
n | 234 | drivers/block/hd.c | for (i=0; i < n && s[i^1] == ' '; ++i); /* skip blanks */ |
n | 235 | drivers/block/hd.c | for (; i < n && s[i^1]; ++i) /* flip bytes */ |
n | 236 | drivers/block/hd.c | if (s[i^1] != ' ' || ((i+1) < n && s[(i+1)^1] != ' ')) |
n | 78 | drivers/block/ll_rw_blk.c | static inline struct request * get_request(int n, int dev) |
n | 83 | drivers/block/ll_rw_blk.c | if (n <= 0) |
n | 84 | drivers/block/ll_rw_blk.c | panic("get_request(%d): impossible!\n", n); |
n | 86 | drivers/block/ll_rw_blk.c | limit = all_requests + n; |
n | 109 | drivers/block/ll_rw_blk.c | static inline struct request * get_request_wait(int n, int dev) |
n | 113 | drivers/block/ll_rw_blk.c | while ((req = get_request(n, dev)) == NULL) |
n | 651 | drivers/block/sbpcd.c | return (msf.n); |
n | 684 | drivers/block/sbpcd.c | msf.n=msfx; |
n | 1078 | drivers/char/console.c | int c, n = 0; |
n | 1095 | drivers/char/console.c | buf++; n++; count--; |
n | 1402 | drivers/char/console.c | return n; |
n | 708 | drivers/char/n_tty.c | int n; |
n | 710 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
n | 711 | drivers/char/n_tty.c | if (!n) |
n | 713 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
n | 714 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
n | 715 | drivers/char/n_tty.c | tty->read_cnt -= n; |
n | 716 | drivers/char/n_tty.c | *b += n; |
n | 717 | drivers/char/n_tty.c | *nr -= n; |
n | 92 | drivers/char/pty.c | int c=0, n, r; |
n | 103 | drivers/char/pty.c | n = MIN(count, PTY_BUF_SIZE); |
n | 104 | drivers/char/pty.c | memcpy_fromfs(temp_buffer, buf, n); |
n | 108 | drivers/char/pty.c | n = MIN(n, r); |
n | 109 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
n | 110 | drivers/char/pty.c | buf += n; c+= n; |
n | 111 | drivers/char/pty.c | count -= n; |
n | 407 | drivers/char/tpqic02.c | static void report_exception(unsigned n) |
n | 409 | drivers/char/tpqic02.c | if (n >= NR_OF_EXC) { tpqputs("Oops -- report_exception"); n = 0; } |
n | 410 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": sense: %s\n", exception_list[n].msg); |
n | 442 | drivers/char/tpqic02.c | short n = -1; |
n | 446 | drivers/char/tpqic02.c | n = 12; |
n | 448 | drivers/char/tpqic02.c | n = 13; |
n | 452 | drivers/char/tpqic02.c | n = 15; |
n | 456 | drivers/char/tpqic02.c | n = 4; |
n | 458 | drivers/char/tpqic02.c | n = 2; |
n | 460 | drivers/char/tpqic02.c | n = 1; |
n | 469 | drivers/char/tpqic02.c | n = 9; |
n | 471 | drivers/char/tpqic02.c | n = 10; |
n | 473 | drivers/char/tpqic02.c | n = 8; |
n | 476 | drivers/char/tpqic02.c | n = 7; |
n | 481 | drivers/char/tpqic02.c | n = 5; |
n | 488 | drivers/char/tpqic02.c | n = 6; |
n | 495 | drivers/char/tpqic02.c | n = 14; |
n | 497 | drivers/char/tpqic02.c | n = 11; |
n | 500 | drivers/char/tpqic02.c | n = 3; |
n | 502 | drivers/char/tpqic02.c | if (n >= 0) |
n | 503 | drivers/char/tpqic02.c | sensemsg(n); |
n | 767 | drivers/char/tpqic02.c | int s, n; |
n | 777 | drivers/char/tpqic02.c | n = 1000; /* 500 is not enough on a 486/33 */ |
n | 778 | drivers/char/tpqic02.c | while ((n>0) && ((inb_p(QIC_STAT_PORT) & QIC_STAT_MASK) == QIC_STAT_MASK)) |
n | 779 | drivers/char/tpqic02.c | n--; /* wait for ready or exception or timeout */ |
n | 780 | drivers/char/tpqic02.c | if (n==0) { |
n | 1203 | drivers/char/tty_io.c | int i, n = 0; |
n | 1208 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
n | 1212 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
n | 1215 | drivers/char/tty_io.c | put_fs_long(1, (unsigned long *)(ts->present+n)); |
n | 1218 | 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 | 76 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
n | 182 | drivers/net/slhc.c | encode(unsigned char *cp, unsigned short n) |
n | 184 | drivers/net/slhc.c | if(n >= 256 || n == 0){ |
n | 186 | drivers/net/slhc.c | cp = put16(cp,n); |
n | 188 | drivers/net/slhc.c | *cp++ = n; |
n | 290 | drivers/sound/ad1848.c | int i, n, selected = -1; |
n | 292 | drivers/sound/ad1848.c | n = sizeof (speed_table) / sizeof (speed_struct); |
n | 296 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
n | 297 | drivers/sound/ad1848.c | selected = n - 1; |
n | 299 | drivers/sound/ad1848.c | for (i = 1 /*really*/ ; selected == -1 && i < n; i++) |
n | 387 | drivers/sound/ad1848.c | int i, n = sizeof (format2bits) / sizeof (struct format_tbl); |
n | 394 | 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 | 1084 | drivers/sound/sequencer.c | int i, n; |
n | 1090 | drivers/sound/sequencer.c | n = 1; |
n | 1092 | drivers/sound/sequencer.c | while (!PROCESS_ABORTING (midi_sleeper, midi_sleep_flag) && n) |
n | 1094 | drivers/sound/sequencer.c | n = 0; |
n | 1100 | drivers/sound/sequencer.c | n++; |
n | 1105 | drivers/sound/sequencer.c | if (n) |
n | 1202 | drivers/sound/sequencer.c | int n; |
n | 1214 | drivers/sound/sequencer.c | n = 300; /* |
n | 1218 | drivers/sound/sequencer.c | while (n && !midi_devs[dev]->putc (dev, data)) |
n | 1221 | 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 | 251 | fs/hpfs/hpfs_fs.c | int n, |
n | 802 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
n | 824 | fs/hpfs/hpfs_fs.c | for (n = 0; n < n_bands; n++) |
n | 825 | fs/hpfs/hpfs_fs.c | if (bitmaps[n] == 0) |
n | 828 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
n | 866 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
n | 888 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
n | 893 | fs/hpfs/hpfs_fs.c | if (n > count) |
n | 894 | fs/hpfs/hpfs_fs.c | n = count; |
n | 908 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
n | 915 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
n | 916 | fs/hpfs/hpfs_fs.c | n0 = n; |
n | 922 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
n | 923 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - filp->f_pos - n + n0) |
n | 924 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
n | 932 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
n | 996 | fs/hpfs/hpfs_fs.c | unsigned n, disk_secno; |
n | 1005 | fs/hpfs/hpfs_fs.c | n = file_secno - inode->i_hpfs_file_sec; |
n | 1006 | fs/hpfs/hpfs_fs.c | if (n < inode->i_hpfs_n_secs) |
n | 1007 | fs/hpfs/hpfs_fs.c | return inode->i_hpfs_disk_sec + n; |
n | 1043 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
n | 1045 | fs/hpfs/hpfs_fs.c | unsigned t = file_secno - n[i].file_secno; |
n | 1046 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
n | 1047 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_file_sec = n[i].file_secno; |
n | 1048 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_disk_sec = n[i].disk_secno; |
n | 1049 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
n | 1050 | fs/hpfs/hpfs_fs.c | return n[i].disk_secno + t; |
n | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
n | 1063 | fs/hpfs/hpfs_fs.c | if (file_secno < n[i].file_secno) { |
n | 1065 | fs/hpfs/hpfs_fs.c | anode_secno ano = n[i].down; |
n | 1203 | fs/hpfs/hpfs_fs.c | unsigned n) |
n | 1207 | fs/hpfs/hpfs_fs.c | if (n != 0) |
n | 1217 | fs/hpfs/hpfs_fs.c | } while (--n != 0); |
n | 1389 | fs/hpfs/hpfs_fs.c | unsigned n; |
n | 1395 | fs/hpfs/hpfs_fs.c | for (n = namelen; n != 0;) { |
n | 1396 | fs/hpfs/hpfs_fs.c | unsigned t = name[--n]; |
n | 1399 | fs/hpfs/hpfs_fs.c | put_fs_byte(t, &dirent->d_name[n]); |
n | 1540 | fs/hpfs/hpfs_fs.c | int n, |
n | 1551 | fs/hpfs/hpfs_fs.c | if (i == n) |
n | 189 | fs/msdos/inode.c | #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
n | 68 | fs/nfs/file.c | int n; |
n | 87 | fs/nfs/file.c | n = NFS_SERVER(inode)->rsize; |
n | 88 | fs/nfs/file.c | data = (char *) kmalloc(n, GFP_KERNEL); |
n | 89 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
n | 91 | fs/nfs/file.c | if (hunk > n) |
n | 92 | fs/nfs/file.c | hunk = n; |
n | 96 | fs/nfs/file.c | kfree_s(data, n); |
n | 102 | fs/nfs/file.c | if (result < n) { |
n | 108 | fs/nfs/file.c | kfree_s(data, n); |
n | 119 | fs/nfs/file.c | int n; |
n | 138 | fs/nfs/file.c | n = NFS_SERVER(inode)->wsize; |
n | 139 | fs/nfs/file.c | data = (char *) kmalloc(n, GFP_KERNEL); |
n | 140 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
n | 142 | fs/nfs/file.c | if (hunk >= n) |
n | 143 | fs/nfs/file.c | hunk = n; |
n | 148 | fs/nfs/file.c | kfree_s(data, n); |
n | 153 | fs/nfs/file.c | if (hunk < n) { |
n | 159 | fs/nfs/file.c | kfree_s(data, 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 | 809 | fs/nfs/proc.c | unsigned int n; |
n | 812 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_REPLY) { |
n | 813 | fs/nfs/proc.c | printk("nfs_rpc_verify: not an RPC reply: %d\n", n); |
n | 816 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { |
n | 817 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call rejected: %d\n", n); |
n | 820 | fs/nfs/proc.c | switch (n = ntohl(*p++)) { |
n | 824 | fs/nfs/proc.c | printk("nfs_rpc_verify: bad RPC authentication type: %d\n", n); |
n | 827 | fs/nfs/proc.c | if ((n = ntohl(*p++)) > 400) { |
n | 831 | fs/nfs/proc.c | p += (n + 3) >> 2; |
n | 832 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_SUCCESS) { |
n | 833 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call failed: %d\n", n); |
n | 64 | fs/nfs/sock.c | int n; |
n | 99 | fs/nfs/sock.c | for (n = 0, timeout = init_timeout; ; n++, timeout <<= 1) { |
n | 129 | fs/nfs/sock.c | if (n < retrans) |
n | 137 | 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 | 55 | include/asm/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 71 | include/asm/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
n | 75 | include/asm/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 77 | include/asm/segment.h | switch (n) { |
n | 103 | include/asm/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 106 | include/asm/segment.h | switch (n % 4) { |
n | 123 | include/asm/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 135 | include/asm/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
n | 139 | include/asm/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 141 | include/asm/segment.h | switch (n) { |
n | 163 | include/asm/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 166 | include/asm/segment.h | switch (n % 4) { |
n | 183 | include/asm/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 184 | include/asm/segment.h | (__builtin_constant_p(n) ? \ |
n | 185 | include/asm/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 186 | include/asm/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 188 | include/asm/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 189 | include/asm/segment.h | (__builtin_constant_p(n) ? \ |
n | 190 | include/asm/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 191 | include/asm/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 66 | include/asm/system.h | #define set_intr_gate(n,addr) \ |
n | 67 | include/asm/system.h | _set_gate(&idt[n],14,0,addr) |
n | 69 | include/asm/system.h | #define set_trap_gate(n,addr) \ |
n | 70 | include/asm/system.h | _set_gate(&idt[n],15,0,addr) |
n | 72 | include/asm/system.h | #define set_system_gate(n,addr) \ |
n | 73 | include/asm/system.h | _set_gate(&idt[n],15,3,addr) |
n | 88 | include/asm/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
n | 98 | include/asm/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
n | 99 | include/asm/system.h | "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \ |
n | 102 | include/asm/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
n | 103 | include/asm/system.h | #define set_ldt_desc(n,addr,size) \ |
n | 104 | include/asm/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
n | 37 | include/linux/msdos_fs.h | #define IS_FREE(n) (!*(n) || *(unsigned char *) (n) == DELETED_FLAG || \ |
n | 38 | include/linux/msdos_fs.h | *(unsigned char *) (n) == FD_FILL_BYTE) |
n | 443 | include/linux/sbpcd.h | u_int n; |
n | 450 | include/linux/sbpcd.h | u_int n; |
n | 74 | include/linux/sched.h | #define CALC_LOAD(load,exp,n) \ |
n | 76 | include/linux/sched.h | load += n*(FIXED_1-exp); \ |
n | 395 | include/linux/sched.h | #define _TSS(n) ((((unsigned long) n)<<4)+(FIRST_TSS_ENTRY<<3)) |
n | 396 | include/linux/sched.h | #define _LDT(n) ((((unsigned long) n)<<4)+(FIRST_LDT_ENTRY<<3)) |
n | 397 | include/linux/sched.h | #define load_TR(n) __asm__("ltr %%ax": /* no output */ :"a" (_TSS(n))) |
n | 398 | include/linux/sched.h | #define load_ldt(n) __asm__("lldt %%ax": /* no output */ :"a" (_LDT(n))) |
n | 399 | include/linux/sched.h | #define store_TR(n) \ |
n | 403 | include/linux/sched.h | :"=a" (n) \ |
n | 350 | include/linux/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
n | 365 | include/linux/string.h | :"d" (n),"D" ((long) to),"S" ((long) from) |
n | 370 | include/linux/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 378 | include/linux/string.h | :"c" (n),"S" (src),"D" (dest) |
n | 387 | include/linux/string.h | :"c" (n), |
n | 388 | include/linux/string.h | "S" (n-1+(const char *)src), |
n | 389 | include/linux/string.h | "D" (n-1+(char *)dest) |
n | 225 | init/main.c | int n = strlen(bootsetups[i].str); |
n | 226 | init/main.c | if (!strncmp(line,bootsetups[i].str,n)) { |
n | 227 | init/main.c | bootsetups[i].setup_func(get_options(line+n,ints), ints); |
n | 293 | init/main.c | int n; |
n | 300 | init/main.c | for (n = 0 ; devnames[n] ; n++) { |
n | 301 | init/main.c | int len = strlen(devnames[n]); |
n | 302 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
n | 303 | init/main.c | ROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,16); |
n | 62 | kernel/vsprintf.c | #define do_div(n,base) ({ \ |
n | 64 | kernel/vsprintf.c | __asm__("divl %4":"=a" (n),"=d" (__res):"0" (n),"1" (0),"r" (base)); \ |
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 | 66 | net/inet/ip.h | extern int backoff(int n); |
n | 499 | net/inet/skbuff.c | struct sk_buff *n; |
n | 502 | net/inet/skbuff.c | n=alloc_skb(skb->mem_len-sizeof(struct sk_buff),priority); |
n | 503 | net/inet/skbuff.c | if(n==NULL) |
n | 506 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
n | 508 | net/inet/skbuff.c | memcpy(n->data,skb->data,skb->mem_len-sizeof(struct sk_buff)); |
n | 509 | net/inet/skbuff.c | n->len=skb->len; |
n | 510 | net/inet/skbuff.c | n->link3=NULL; |
n | 511 | net/inet/skbuff.c | n->sk=NULL; |
n | 512 | net/inet/skbuff.c | n->when=skb->when; |
n | 513 | net/inet/skbuff.c | n->dev=skb->dev; |
n | 514 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
n | 515 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
n | 516 | net/inet/skbuff.c | n->fraglen=skb->fraglen; |
n | 517 | net/inet/skbuff.c | n->fraglist=skb->fraglist; |
n | 518 | net/inet/skbuff.c | n->saddr=skb->saddr; |
n | 519 | net/inet/skbuff.c | n->daddr=skb->daddr; |
n | 520 | net/inet/skbuff.c | n->raddr=skb->raddr; |
n | 521 | net/inet/skbuff.c | n->acked=skb->acked; |
n | 522 | net/inet/skbuff.c | n->used=skb->used; |
n | 523 | net/inet/skbuff.c | n->free=1; |
n | 524 | net/inet/skbuff.c | n->arp=skb->arp; |
n | 525 | net/inet/skbuff.c | n->tries=0; |
n | 526 | net/inet/skbuff.c | n->lock=0; |
n | 527 | net/inet/skbuff.c | n->users=0; |
n | 528 | net/inet/skbuff.c | return n; |
n | 208 | tools/build.c | int l, n; |
n | 213 | tools/build.c | if ((n=read(id, buf, l)) != l) { |
n | 214 | 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) |