tag | line | file | source code |
n | 22 | arch/i386/boot/compressed/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |
n | 27 | arch/i386/boot/compressed/gzip.h | # define memcpy(d, s, n) bcopy((s), (d), (n)) |
n | 28 | arch/i386/boot/compressed/gzip.h | # define memcmp(s1, s2, n) bcmp((s1), (s2), (n)) |
n | 29 | arch/i386/boot/compressed/gzip.h | # define memzero(s, n) bzero((s), (n)) |
n | 205 | arch/i386/boot/compressed/gzip.h | #define put_long(n) { \ |
n | 206 | arch/i386/boot/compressed/gzip.h | put_short((n) & 0xffff); \ |
n | 207 | arch/i386/boot/compressed/gzip.h | put_short(((ulg)(n)) >> 16); \ |
n | 268 | arch/i386/boot/compressed/gzip.h | extern ulg updcrc OF((uch *s, unsigned n)); |
n | 27 | arch/i386/boot/compressed/inflate.c | ush n; /* literal, length base, or distance base */ |
n | 84 | arch/i386/boot/compressed/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
n | 85 | arch/i386/boot/compressed/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
n | 99 | arch/i386/boot/compressed/inflate.c | int huft_build(b, n, s, d, e, t, m) |
n | 101 | arch/i386/boot/compressed/inflate.c | unsigned n; /* number of codes (assumed <= N_MAX) */ |
n | 137 | arch/i386/boot/compressed/inflate.c | p = b; i = n; |
n | 141 | arch/i386/boot/compressed/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
n | 192 | arch/i386/boot/compressed/inflate.c | } while (++i < n); |
n | 264 | arch/i386/boot/compressed/inflate.c | if (p >= v + n) |
n | 269 | arch/i386/boot/compressed/inflate.c | r.v.n = *p++; /* simple code is just the value */ |
n | 274 | arch/i386/boot/compressed/inflate.c | r.v.n = d[*p++ - s]; |
n | 335 | arch/i386/boot/compressed/inflate.c | unsigned n, d; /* length and index for copy */ |
n | 365 | arch/i386/boot/compressed/inflate.c | slide[w++] = (uch)t->v.n; |
n | 380 | arch/i386/boot/compressed/inflate.c | n = t->v.n + ((unsigned)b & mask_bits[e]); |
n | 395 | arch/i386/boot/compressed/inflate.c | d = w - t->v.n - ((unsigned)b & mask_bits[e]); |
n | 400 | arch/i386/boot/compressed/inflate.c | n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); |
n | 418 | arch/i386/boot/compressed/inflate.c | } while (n); |
n | 437 | arch/i386/boot/compressed/inflate.c | unsigned n; /* number of bytes in block */ |
n | 451 | arch/i386/boot/compressed/inflate.c | n = k & 7; |
n | 452 | arch/i386/boot/compressed/inflate.c | DUMPBITS(n); |
n | 457 | arch/i386/boot/compressed/inflate.c | n = ((unsigned)b & 0xffff); |
n | 460 | arch/i386/boot/compressed/inflate.c | if (n != (unsigned)((~b) & 0xffff)) |
n | 466 | arch/i386/boot/compressed/inflate.c | while (n--) |
n | 551 | arch/i386/boot/compressed/inflate.c | unsigned n; /* number of lengths to get */ |
n | 617 | arch/i386/boot/compressed/inflate.c | n = nl + nd; |
n | 620 | arch/i386/boot/compressed/inflate.c | while ((unsigned)i < n) |
n | 625 | arch/i386/boot/compressed/inflate.c | j = td->v.n; |
n | 633 | arch/i386/boot/compressed/inflate.c | if ((unsigned)i + j > n) |
n | 643 | arch/i386/boot/compressed/inflate.c | if ((unsigned)i + j > n) |
n | 654 | arch/i386/boot/compressed/inflate.c | if ((unsigned)i + j > n) |
n | 159 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
n | 164 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
n | 183 | arch/i386/boot/compressed/misc.c | ulg updcrc(s, n) |
n | 185 | arch/i386/boot/compressed/misc.c | unsigned n; /* number of bytes in s[] */ |
n | 195 | arch/i386/boot/compressed/misc.c | while (n--) { |
n | 18 | arch/i386/boot/compressed/piggyback.c | int c, n=0, len=0; |
n | 36 | arch/i386/boot/compressed/piggyback.c | while ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0) |
n | 37 | arch/i386/boot/compressed/piggyback.c | len += n; |
n | 39 | arch/i386/boot/compressed/piggyback.c | if (n==-1) |
n | 100 | arch/i386/boot/compressed/unzip.c | int n; |
n | 126 | arch/i386/boot/compressed/unzip.c | register ulg n = LG(inbuf + LOCLEN); |
n | 128 | arch/i386/boot/compressed/unzip.c | if (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) { |
n | 132 | arch/i386/boot/compressed/unzip.c | while (n--) { |
n | 148 | arch/i386/boot/compressed/unzip.c | for (n = 0; n < 8; n++) { |
n | 149 | arch/i386/boot/compressed/unzip.c | buf[n] = (uch)get_byte(); /* may cause an error if EOF */ |
n | 160 | arch/i386/boot/compressed/unzip.c | for (n = 0; n < EXTHDR; n++) { |
n | 161 | arch/i386/boot/compressed/unzip.c | buf[n] = (uch)get_byte(); /* may cause an error if EOF */ |
n | 65 | arch/i386/boot/compressed/xtract.c | int l, n; |
n | 70 | arch/i386/boot/compressed/xtract.c | if ((n=read(id, buf, l)) !=l) |
n | 72 | arch/i386/boot/compressed/xtract.c | if (n == -1) |
n | 210 | arch/i386/boot/tools/build.c | int l, n; |
n | 215 | arch/i386/boot/tools/build.c | if ((n=read(id, buf, l)) != l) { |
n | 216 | arch/i386/boot/tools/build.c | if (n == -1) |
n | 303 | arch/i386/math-emu/errors.c | void exception(int n) |
n | 308 | arch/i386/math-emu/errors.c | if ( n & EX_INTERNAL ) |
n | 310 | arch/i386/math-emu/errors.c | int_type = n - EX_INTERNAL; |
n | 311 | arch/i386/math-emu/errors.c | n = EX_INTERNAL; |
n | 318 | arch/i386/math-emu/errors.c | n &= (SW_Exc_Mask); |
n | 320 | arch/i386/math-emu/errors.c | partial_status |= n; |
n | 324 | arch/i386/math-emu/errors.c | if ( n & (SW_Stack_Fault | EX_Precision) ) |
n | 326 | arch/i386/math-emu/errors.c | if ( !(n & SW_C1) ) |
n | 334 | arch/i386/math-emu/errors.c | if ( (~control_word & n & CW_Exceptions) || (n == EX_INTERNAL) ) |
n | 343 | arch/i386/math-emu/errors.c | if ( (exception_names[i].type & n) == exception_names[i].type ) |
n | 353 | arch/i386/math-emu/errors.c | printk("FPU emulator: Unknown Exception: 0x%04x!\n", n); |
n | 355 | arch/i386/math-emu/errors.c | if ( n == EX_INTERNAL ) |
n | 158 | arch/i386/math-emu/fpu_emu.h | asmlinkage int wm_sqrt(FPU_REG *n, unsigned int control_w); |
n | 10 | arch/i386/math-emu/fpu_proto.h | asmlinkage void exception(int n); |
n | 23 | arch/i386/math-emu/fpu_trig.c | unsigned long long q, int n); |
n | 741 | arch/i386/math-emu/fpu_trig.c | unsigned long long q, int n) |
n | 745 | arch/i386/math-emu/fpu_trig.c | x = st0 << n; |
n | 32 | arch/i386/math-emu/poly.h | const unsigned long long terms[], const int n); |
n | 38 | arch/i386/math-emu/poly.h | asmlinkage void shr_Xsig(Xsig *, const int n); |
n | 1829 | drivers/block/floppy.c | int il,n; |
n | 1853 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
n | 1870 | drivers/block/floppy.c | here[n].sect = count; |
n | 1871 | drivers/block/floppy.c | n = (n+il) % F_SECT_PER_TRACK; |
n | 1872 | drivers/block/floppy.c | if (here[n].sect) { /* sector busy, find next free sector */ |
n | 1873 | drivers/block/floppy.c | ++n; |
n | 1874 | drivers/block/floppy.c | if (n>= F_SECT_PER_TRACK) { |
n | 1875 | drivers/block/floppy.c | n-=F_SECT_PER_TRACK; |
n | 1876 | drivers/block/floppy.c | while (here[n].sect) ++n; |
n | 37 | drivers/block/ide-cd.c | #define OUT_WORDS(b,n) outsw (IDE_PORT (HD_DATA, dev->hwif), (b), (n)) |
n | 38 | drivers/block/ide-cd.c | #define IN_WORDS(b,n) insw (IDE_PORT (HD_DATA, dev->hwif), (b), (n)) |
n | 685 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
n | 687 | drivers/block/ide-cd.c | rq->nr_sectors += n; |
n | 688 | drivers/block/ide-cd.c | rq->current_nr_sectors += n; |
n | 689 | drivers/block/ide-cd.c | rq->sector -= n; |
n | 228 | drivers/block/ide.c | #define OUT_SECTORS(b,n) outsl(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<7) |
n | 229 | drivers/block/ide.c | #define IN_SECTORS(b,n) insl(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<7) |
n | 231 | drivers/block/ide.c | #define OUT_SECTORS(b,n) outsw(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<8) |
n | 232 | drivers/block/ide.c | #define IN_SECTORS(b,n) insw(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<8) |
n | 144 | drivers/block/ll_rw_blk.c | static inline struct request * get_request(int n, int dev) |
n | 149 | drivers/block/ll_rw_blk.c | if (n <= 0) |
n | 150 | drivers/block/ll_rw_blk.c | panic("get_request(%d): impossible!\n", n); |
n | 152 | drivers/block/ll_rw_blk.c | limit = all_requests + n; |
n | 173 | drivers/block/ll_rw_blk.c | static struct request * __get_request_wait(int n, int dev) |
n | 183 | drivers/block/ll_rw_blk.c | req = get_request(n, dev); |
n | 194 | drivers/block/ll_rw_blk.c | static inline struct request * get_request_wait(int n, int dev) |
n | 199 | drivers/block/ll_rw_blk.c | req = get_request(n, dev); |
n | 203 | drivers/block/ll_rw_blk.c | return __get_request_wait(n, dev); |
n | 753 | drivers/block/sbpcd.c | return (msf.n); |
n | 786 | drivers/block/sbpcd.c | msf.n=msfx; |
n | 2976 | drivers/block/sbpcd.c | int i, n; |
n | 2984 | drivers/block/sbpcd.c | n=msf2blk(pos_audio_end)+1-i; |
n | 2988 | drivers/block/sbpcd.c | drvcmd[4]=(n>>16)&0x00FF; |
n | 2989 | drivers/block/sbpcd.c | drvcmd[5]=(n>>8)&0x00FF; |
n | 2990 | drivers/block/sbpcd.c | drvcmd[6]=n&0x00FF; |
n | 1342 | drivers/char/console.c | int c, tc, ok, n = 0; |
n | 1363 | drivers/char/console.c | buf++; n++; count--; |
n | 1742 | drivers/char/console.c | return n; |
n | 731 | drivers/char/n_tty.c | int n; |
n | 733 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
n | 734 | drivers/char/n_tty.c | if (!n) |
n | 736 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
n | 737 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
n | 738 | drivers/char/n_tty.c | tty->read_cnt -= n; |
n | 739 | drivers/char/n_tty.c | *b += n; |
n | 740 | 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 | 40 | drivers/char/selection.c | #define sel_pos(n) inverse_translate(screen_word(sel_cons, n, 1) & 0xff) |
n | 473 | drivers/char/tpqic02.c | static void report_exception(unsigned n) |
n | 475 | drivers/char/tpqic02.c | if (n >= NR_OF_EXC) { tpqputs(TPQD_ALWAYS, "Oops -- report_exception"); n = 0; } |
n | 476 | drivers/char/tpqic02.c | if (TPQDBG(SENSE_TEXT) || n==0) |
n | 477 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": sense: %s\n", exception_list[n].msg); |
n | 509 | drivers/char/tpqic02.c | short n = -1; |
n | 513 | drivers/char/tpqic02.c | n = 12; |
n | 515 | drivers/char/tpqic02.c | n = 13; |
n | 519 | drivers/char/tpqic02.c | n = 15; |
n | 523 | drivers/char/tpqic02.c | n = 4; |
n | 525 | drivers/char/tpqic02.c | n = 2; |
n | 527 | drivers/char/tpqic02.c | n = 1; |
n | 536 | drivers/char/tpqic02.c | n = 9; |
n | 538 | drivers/char/tpqic02.c | n = 10; |
n | 540 | drivers/char/tpqic02.c | n = 8; |
n | 543 | drivers/char/tpqic02.c | n = 7; |
n | 548 | drivers/char/tpqic02.c | n = 5; |
n | 555 | drivers/char/tpqic02.c | n = 6; |
n | 562 | drivers/char/tpqic02.c | n = 14; |
n | 564 | drivers/char/tpqic02.c | n = 11; |
n | 567 | drivers/char/tpqic02.c | n = 3; |
n | 569 | drivers/char/tpqic02.c | if (n >= 0) |
n | 570 | drivers/char/tpqic02.c | sensemsg(n); |
n | 847 | drivers/char/tpqic02.c | int s, n; |
n | 857 | drivers/char/tpqic02.c | n = 1000; /* 500 is not enough on a 486/33 */ |
n | 858 | drivers/char/tpqic02.c | while ((n>0) && ((inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK)) |
n | 859 | drivers/char/tpqic02.c | n--; /* wait for ready or exception or timeout */ |
n | 860 | drivers/char/tpqic02.c | if (n==0) { |
n | 1261 | drivers/char/tty_io.c | int i, n = 0; |
n | 1266 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
n | 1270 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
n | 1273 | drivers/char/tty_io.c | put_fs_long(1, (unsigned long *)(ts->present+n)); |
n | 1276 | drivers/char/tty_io.c | put_fs_long(0, (unsigned long *)(ts->present+n)); |
n | 83 | drivers/net/ppp.c | #define PRINTKN(n,p) {if (ppp_debug >= n) PRINTK (p)} |
n | 110 | drivers/net/ppp.c | static void ppp_unesc(struct ppp *ppp, unsigned char *c, int n); |
n | 825 | drivers/net/ppp.c | int n, error; |
n | 842 | drivers/net/ppp.c | n = tty_read_raw_data(tty, buff, 128); |
n | 843 | drivers/net/ppp.c | if ( n == 0 ) /* nothing there */ |
n | 847 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", buff, n > 0 ? n : -n, KERNEL_DS); |
n | 849 | drivers/net/ppp.c | if ( n < 0 ) { |
n | 852 | drivers/net/ppp.c | n = (-n) - 1; |
n | 853 | drivers/net/ppp.c | error = buff[n]; |
n | 855 | drivers/net/ppp.c | ppp->stats.rbytes += n; |
n | 856 | drivers/net/ppp.c | ppp_unesc(ppp,buff,n); |
n | 868 | drivers/net/ppp.c | ppp_unesc(struct ppp *ppp, unsigned char *c, int n) |
n | 872 | drivers/net/ppp.c | for (i = 0; i < n; i++, c++) { |
n | 85 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
n | 194 | drivers/net/slhc.c | encode(unsigned char *cp, unsigned short n) |
n | 196 | drivers/net/slhc.c | if(n >= 256 || n == 0){ |
n | 198 | drivers/net/slhc.c | cp = put16(cp,n); |
n | 200 | drivers/net/slhc.c | *cp++ = n; |
n | 231 | drivers/net/wavelan.c | psa_read(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
n | 235 | drivers/net/wavelan.c | while (n-- > 0) |
n | 250 | drivers/net/wavelan.c | obram_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 252 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 256 | drivers/net/wavelan.c | insw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 264 | drivers/net/wavelan.c | obram_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 266 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 270 | drivers/net/wavelan.c | outsw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 278 | drivers/net/wavelan.c | mmc_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 280 | drivers/net/wavelan.c | while (n-- > 0) |
n | 300 | drivers/net/wavelan.c | mmc_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 302 | drivers/net/wavelan.c | while (n-- > 0) |
n | 717 | drivers/net/wavelan.c | #define SC(t,s,n) if (sizeof(t) != s) return 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 | 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 | 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 | 255 | fs/hpfs/hpfs_fs.c | int n, |
n | 806 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
n | 828 | fs/hpfs/hpfs_fs.c | for (n = 0; n < n_bands; n++) |
n | 829 | fs/hpfs/hpfs_fs.c | if (bitmaps[n] == 0) |
n | 832 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
n | 870 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
n | 892 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
n | 897 | fs/hpfs/hpfs_fs.c | if (n > count) |
n | 898 | fs/hpfs/hpfs_fs.c | n = count; |
n | 912 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
n | 919 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
n | 920 | fs/hpfs/hpfs_fs.c | n0 = n; |
n | 926 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
n | 927 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos - n + n0) |
n | 928 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
n | 936 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
n | 1000 | fs/hpfs/hpfs_fs.c | unsigned n, disk_secno; |
n | 1009 | fs/hpfs/hpfs_fs.c | n = file_secno - inode->i_hpfs_file_sec; |
n | 1010 | fs/hpfs/hpfs_fs.c | if (n < inode->i_hpfs_n_secs) |
n | 1011 | fs/hpfs/hpfs_fs.c | return inode->i_hpfs_disk_sec + n; |
n | 1047 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
n | 1049 | fs/hpfs/hpfs_fs.c | unsigned t = file_secno - n[i].file_secno; |
n | 1050 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
n | 1051 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_file_sec = n[i].file_secno; |
n | 1052 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_disk_sec = n[i].disk_secno; |
n | 1053 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
n | 1054 | fs/hpfs/hpfs_fs.c | return n[i].disk_secno + t; |
n | 1065 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
n | 1067 | fs/hpfs/hpfs_fs.c | if (file_secno < n[i].file_secno) { |
n | 1069 | fs/hpfs/hpfs_fs.c | anode_secno ano = n[i].down; |
n | 1207 | fs/hpfs/hpfs_fs.c | unsigned n) |
n | 1211 | 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 | 1394 | fs/hpfs/hpfs_fs.c | for (n = namelen; n != 0;) { |
n | 1395 | fs/hpfs/hpfs_fs.c | unsigned t = name[--n]; |
n | 1400 | fs/hpfs/hpfs_fs.c | put_fs_byte(t, &dirent->d_name[n]); |
n | 1539 | fs/hpfs/hpfs_fs.c | int n, |
n | 1550 | fs/hpfs/hpfs_fs.c | if (i == n) |
n | 226 | fs/msdos/inode.c | #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
n | 101 | fs/nfs/file.c | int result, hunk, i, n, fs; |
n | 138 | fs/nfs/file.c | n = NFS_SERVER(inode)->rsize; |
n | 139 | fs/nfs/file.c | for (i = 0; i < count - n; i += n) { |
n | 141 | fs/nfs/file.c | pos, n, buf, &fattr, 1); |
n | 146 | fs/nfs/file.c | if (result < n) { |
n | 153 | fs/nfs/file.c | if (!(data = (char *)kmalloc(n, GFP_KERNEL))) { |
n | 158 | fs/nfs/file.c | pos, n, data, &fattr, fs); |
n | 161 | fs/nfs/file.c | kfree_s(data, n); |
n | 180 | fs/nfs/file.c | cache[tail].buf_size = n; |
n | 188 | fs/nfs/file.c | kfree_s(data, n); |
n | 196 | fs/nfs/file.c | int result, hunk, i, n, pos; |
n | 221 | fs/nfs/file.c | n = NFS_SERVER(inode)->wsize; |
n | 222 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
n | 224 | fs/nfs/file.c | if (hunk >= n) |
n | 225 | fs/nfs/file.c | hunk = n; |
n | 232 | fs/nfs/file.c | if (hunk < n) { |
n | 39 | fs/nfs/mmap.c | int n; |
n | 52 | fs/nfs/mmap.c | n = NFS_SERVER(inode)->rsize; /* what we can read in one go */ |
n | 54 | fs/nfs/mmap.c | for (i = 0; i < (PAGE_SIZE - clear); i += n) { |
n | 58 | fs/nfs/mmap.c | if (hunk > n) |
n | 59 | fs/nfs/mmap.c | hunk = n; |
n | 65 | fs/nfs/mmap.c | if (result < n) { |
n | 860 | fs/nfs/proc.c | unsigned int n; |
n | 863 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_REPLY) { |
n | 864 | fs/nfs/proc.c | printk("nfs_rpc_verify: not an RPC reply: %d\n", n); |
n | 867 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { |
n | 868 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call rejected: %d\n", n); |
n | 871 | fs/nfs/proc.c | switch (n = ntohl(*p++)) { |
n | 875 | fs/nfs/proc.c | printk("nfs_rpc_verify: bad RPC authentication type: %d\n", n); |
n | 878 | fs/nfs/proc.c | if ((n = ntohl(*p++)) > 400) { |
n | 882 | fs/nfs/proc.c | p += QUADLEN(n); |
n | 883 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_SUCCESS) { |
n | 884 | 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 | 85 | fs/select.c | static int do_select(int n, fd_set *in, fd_set *out, fd_set *ex, |
n | 97 | fs/select.c | if (i >= n) |
n | 101 | fs/select.c | if (i >= n) |
n | 113 | fs/select.c | n = max + 1; |
n | 125 | fs/select.c | for (i = 0 ; i < n ; i++) { |
n | 209 | fs/select.c | int n; |
n | 216 | fs/select.c | n = get_fs_long(buffer++); |
n | 217 | fs/select.c | if (n < 0) |
n | 219 | fs/select.c | if (n > NR_OPEN) |
n | 220 | fs/select.c | n = NR_OPEN; |
n | 225 | fs/select.c | if ((i = get_fd_set(n, inp, &in)) || |
n | 226 | fs/select.c | (i = get_fd_set(n, outp, &out)) || |
n | 227 | fs/select.c | (i = get_fd_set(n, exp, &ex))) return i; |
n | 239 | 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 | 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 | 364 | include/asm-i386/string.h | extern inline void * __constant_memcpy(void * to, const void * from, size_t n) |
n | 366 | include/asm-i386/string.h | switch (n) { |
n | 388 | include/asm-i386/string.h | : "c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 391 | include/asm-i386/string.h | switch (n % 4) { |
n | 400 | include/asm-i386/string.h | #define memcpy(t, f, n) \ |
n | 401 | include/asm-i386/string.h | (__builtin_constant_p(n) ? \ |
n | 402 | include/asm-i386/string.h | __constant_memcpy((t),(f),(n)) : \ |
n | 403 | include/asm-i386/string.h | __memcpy((t),(f),(n))) |
n | 405 | include/asm-i386/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 413 | include/asm-i386/string.h | :"c" (n),"S" (src),"D" (dest) |
n | 422 | include/asm-i386/string.h | :"c" (n), |
n | 423 | include/asm-i386/string.h | "S" (n-1+(const char *)src), |
n | 424 | include/asm-i386/string.h | "D" (n-1+(char *)dest) |
n | 21 | include/asm-i386/system.h | #define _TSS(n) ((((unsigned long) n)<<4)+(FIRST_TSS_ENTRY<<3)) |
n | 22 | include/asm-i386/system.h | #define _LDT(n) ((((unsigned long) n)<<4)+(FIRST_LDT_ENTRY<<3)) |
n | 23 | include/asm-i386/system.h | #define load_TR(n) __asm__("ltr %%ax": /* no output */ :"a" (_TSS(n))) |
n | 24 | include/asm-i386/system.h | #define load_ldt(n) __asm__("lldt %%ax": /* no output */ :"a" (_LDT(n))) |
n | 25 | include/asm-i386/system.h | #define store_TR(n) \ |
n | 29 | include/asm-i386/system.h | :"=a" (n) \ |
n | 191 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
n | 192 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
n | 194 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
n | 195 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
n | 197 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
n | 198 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
n | 213 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
n | 223 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
n | 224 | include/asm-i386/system.h | "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \ |
n | 227 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
n | 228 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
n | 229 | 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 char * strncpy(char *dest, const char *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 | 201 | include/asm-mips/processor.h | #define switch_to(n) \ |
n | 202 | include/asm-mips/processor.h | resume(n, ((int)(&((struct task_struct *)0)->tss))) |
n | 81 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 83 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 38 | include/asm-mips/string.h | extern __inline__ char * strncpy(char *dest, const char *src, size_t n) |
n | 42 | include/asm-mips/string.h | if (n == 0) |
n | 58 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 59 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 136 | include/asm-mips/string.h | extern __inline__ void * memcpy(void * to, const void * from, size_t n) |
n | 140 | include/asm-mips/string.h | if (!n) |
n | 153 | include/asm-mips/string.h | : "=r" (to), "=r" (from), "=r" (n) |
n | 154 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
n | 159 | include/asm-mips/string.h | extern __inline__ void * memmove(void * dest,const void * src, size_t n) |
n | 163 | include/asm-mips/string.h | if (!n) |
n | 178 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 179 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 193 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 194 | include/asm-mips/string.h | : "0" (dest+n), "1" (src+n), "2" (n) |
n | 167 | include/asm-mips/system.h | #define set_intr_gate(n,addr) \ |
n | 168 | include/asm-mips/system.h | IRQ_vectors[n] = (ulong) (addr) |
n | 170 | include/asm-mips/system.h | #define set_except_vector(n,addr) \ |
n | 171 | include/asm-mips/system.h | exception_handlers[n] = (ulong) (addr) |
n | 69 | include/asm-sparc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 71 | include/asm-sparc/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 79 | include/asm-sparc/system.h | #define set_intr_gate(n,addr) \ |
n | 80 | include/asm-sparc/system.h | _set_gate(&idt[n],14,0,addr) |
n | 82 | include/asm-sparc/system.h | #define set_trap_gate(n,addr) \ |
n | 83 | include/asm-sparc/system.h | _set_gate(&idt[n],15,0,addr) |
n | 85 | include/asm-sparc/system.h | #define set_system_gate(n,addr) \ |
n | 86 | include/asm-sparc/system.h | _set_gate(&idt[n],15,3,addr) |
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 | 29 | include/linux/notifier.h | extern __inline__ int notifier_chain_register(struct notifier_block **list, struct notifier_block *n) |
n | 33 | include/linux/notifier.h | if(n->priority > (*list)->priority) |
n | 37 | include/linux/notifier.h | n->next = *list; |
n | 38 | include/linux/notifier.h | *list=n; |
n | 47 | include/linux/notifier.h | extern __inline__ int notifier_chain_unregister(struct notifier_block **nl, struct notifier_block *n) |
n | 51 | include/linux/notifier.h | if((*nl)==n) |
n | 53 | include/linux/notifier.h | *nl=n->next; |
n | 65 | include/linux/notifier.h | extern __inline__ int notifier_call_chain(struct notifier_block **n, unsigned long val, void *v) |
n | 68 | include/linux/notifier.h | struct notifier_block *nb = *n; |
n | 350 | include/linux/sbpcd.h | u_int n; |
n | 357 | include/linux/sbpcd.h | u_int n; |
n | 42 | include/linux/sched.h | #define CALC_LOAD(load,exp,n) \ |
n | 44 | include/linux/sched.h | load += n*(FIXED_1-exp); \ |
n | 224 | init/main.c | int n = strlen(bootsetups[i].str); |
n | 225 | init/main.c | if (!strncmp(line,bootsetups[i].str,n)) { |
n | 226 | init/main.c | bootsetups[i].setup_func(get_options(line+n,ints), ints); |
n | 291 | init/main.c | int n; |
n | 298 | init/main.c | for (n = 0 ; devnames[n] ; n++) { |
n | 299 | init/main.c | int len = strlen(devnames[n]); |
n | 300 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
n | 301 | init/main.c | ROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,0); |
n | 62 | lib/vsprintf.c | #define do_div(n,base) ({ \ |
n | 64 | lib/vsprintf.c | __res = ((unsigned long) n) % (unsigned) base; \ |
n | 65 | lib/vsprintf.c | n = ((unsigned long) n) / (unsigned) base; \ |
n | 99 | mm/mprotect.c | struct vm_area_struct * n; |
n | 101 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 102 | mm/mprotect.c | if (!n) |
n | 104 | mm/mprotect.c | *n = *vma; |
n | 106 | mm/mprotect.c | n->vm_end = end; |
n | 107 | mm/mprotect.c | vma->vm_offset += vma->vm_start - n->vm_start; |
n | 108 | mm/mprotect.c | n->vm_flags = newflags; |
n | 109 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 110 | mm/mprotect.c | if (n->vm_inode) |
n | 111 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 112 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 113 | mm/mprotect.c | n->vm_ops->open(n); |
n | 114 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 122 | mm/mprotect.c | struct vm_area_struct * n; |
n | 124 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 125 | mm/mprotect.c | if (!n) |
n | 127 | mm/mprotect.c | *n = *vma; |
n | 129 | mm/mprotect.c | n->vm_start = start; |
n | 130 | mm/mprotect.c | n->vm_offset += n->vm_start - vma->vm_start; |
n | 131 | mm/mprotect.c | n->vm_flags = newflags; |
n | 132 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 133 | mm/mprotect.c | if (n->vm_inode) |
n | 134 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 135 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 136 | mm/mprotect.c | n->vm_ops->open(n); |
n | 137 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 225 | mm/vmalloc.c | int n; |
n | 234 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
n | 236 | mm/vmalloc.c | n -= addr - vaddr; |
n | 237 | mm/vmalloc.c | while (--n >= 0) { |
n | 74 | net/inet/ip.h | extern int backoff(int n); |
n | 495 | net/inet/skbuff.c | struct sk_buff *n; |
n | 498 | net/inet/skbuff.c | n=alloc_skb(skb->mem_len-sizeof(struct sk_buff),priority); |
n | 499 | net/inet/skbuff.c | if(n==NULL) |
n | 502 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
n | 504 | net/inet/skbuff.c | memcpy(n->data,skb->data,skb->mem_len-sizeof(struct sk_buff)); |
n | 505 | net/inet/skbuff.c | n->len=skb->len; |
n | 506 | net/inet/skbuff.c | n->link3=NULL; |
n | 507 | net/inet/skbuff.c | n->sk=NULL; |
n | 508 | net/inet/skbuff.c | n->when=skb->when; |
n | 509 | net/inet/skbuff.c | n->dev=skb->dev; |
n | 510 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
n | 511 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
n | 512 | net/inet/skbuff.c | n->fraglen=skb->fraglen; |
n | 513 | net/inet/skbuff.c | n->fraglist=skb->fraglist; |
n | 514 | net/inet/skbuff.c | n->saddr=skb->saddr; |
n | 515 | net/inet/skbuff.c | n->daddr=skb->daddr; |
n | 516 | net/inet/skbuff.c | n->raddr=skb->raddr; |
n | 517 | net/inet/skbuff.c | n->acked=skb->acked; |
n | 518 | net/inet/skbuff.c | n->used=skb->used; |
n | 519 | net/inet/skbuff.c | n->free=1; |
n | 520 | net/inet/skbuff.c | n->arp=skb->arp; |
n | 521 | net/inet/skbuff.c | n->tries=0; |
n | 522 | net/inet/skbuff.c | n->lock=0; |
n | 523 | net/inet/skbuff.c | n->users=0; |
n | 524 | net/inet/skbuff.c | n->pkt_type=skb->pkt_type; |
n | 525 | net/inet/skbuff.c | return n; |