tag | line | file | source code |
n | 24 | arch/alpha/lib/memcpy.c | #define ALIGN_DEST_TO8(d,s,n) \ |
n | 26 | arch/alpha/lib/memcpy.c | if (n <= 0) return; \ |
n | 27 | arch/alpha/lib/memcpy.c | n--; \ |
n | 36 | arch/alpha/lib/memcpy.c | #define DO_REST(d,s,n) \ |
n | 37 | arch/alpha/lib/memcpy.c | while (n > 0) { \ |
n | 38 | arch/alpha/lib/memcpy.c | n--; \ |
n | 47 | arch/alpha/lib/memcpy.c | #define DO_REST_ALIGNED(d,s,n) DO_REST(d,s,n) |
n | 56 | arch/alpha/lib/memcpy.c | static inline void __memcpy_unaligned(unsigned long d, unsigned long s, long n) |
n | 58 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
n | 59 | arch/alpha/lib/memcpy.c | n -= 8; /* to avoid compare against 8 in the loop */ |
n | 60 | arch/alpha/lib/memcpy.c | if (n >= 0) { |
n | 66 | arch/alpha/lib/memcpy.c | n -= 8; |
n | 77 | arch/alpha/lib/memcpy.c | } while (n >= 0); |
n | 79 | arch/alpha/lib/memcpy.c | n += 8; |
n | 80 | arch/alpha/lib/memcpy.c | DO_REST(d,s,n); |
n | 91 | arch/alpha/lib/memcpy.c | static inline void __memcpy_aligned(unsigned long d, unsigned long s, long n) |
n | 93 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
n | 94 | arch/alpha/lib/memcpy.c | n -= 8; |
n | 95 | arch/alpha/lib/memcpy.c | while (n >= 0) { |
n | 98 | arch/alpha/lib/memcpy.c | n -= 8; |
n | 103 | arch/alpha/lib/memcpy.c | n += 8; |
n | 104 | arch/alpha/lib/memcpy.c | DO_REST_ALIGNED(d,s,n); |
n | 107 | arch/alpha/lib/memcpy.c | void * __memcpy(void * dest, const void *src, size_t n) |
n | 110 | arch/alpha/lib/memcpy.c | __memcpy_aligned((unsigned long) dest, (unsigned long) src, n); |
n | 113 | arch/alpha/lib/memcpy.c | __memcpy_unaligned((unsigned long) dest, (unsigned long) src, n); |
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 | 160 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
n | 165 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
n | 184 | arch/i386/boot/compressed/misc.c | ulg updcrc(s, n) |
n | 186 | arch/i386/boot/compressed/misc.c | unsigned n; /* number of bytes in s[] */ |
n | 196 | 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 | 224 | arch/i386/boot/tools/build.c | int l, n; |
n | 229 | arch/i386/boot/tools/build.c | if ((n=read(id, buf, l)) != l) { |
n | 230 | arch/i386/boot/tools/build.c | if (n == -1) |
n | 71 | arch/i386/kernel/sys_i386.c | int n; |
n | 77 | arch/i386/kernel/sys_i386.c | n = verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)); |
n | 78 | arch/i386/kernel/sys_i386.c | if (n) |
n | 79 | arch/i386/kernel/sys_i386.c | return n; |
n | 80 | arch/i386/kernel/sys_i386.c | n = get_user(buffer); |
n | 85 | arch/i386/kernel/sys_i386.c | return sys_select(n, inp, outp, exp, tvp); |
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 | 2005 | drivers/block/floppy.c | int il,n; |
n | 2029 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
n | 2046 | drivers/block/floppy.c | here[n].sect = count; |
n | 2047 | drivers/block/floppy.c | n = (n+il) % F_SECT_PER_TRACK; |
n | 2048 | drivers/block/floppy.c | if (here[n].sect) { /* sector busy, find next free sector */ |
n | 2049 | drivers/block/floppy.c | ++n; |
n | 2050 | drivers/block/floppy.c | if (n>= F_SECT_PER_TRACK) { |
n | 2051 | drivers/block/floppy.c | n-=F_SECT_PER_TRACK; |
n | 2052 | drivers/block/floppy.c | while (here[n].sect) ++n; |
n | 71 | drivers/block/ide-cd.c | #define OUT_WORDS(b,n) outsw (IDE_PORT (HD_DATA, DEV_HWIF), (b), (n)) |
n | 72 | drivers/block/ide-cd.c | #define IN_WORDS(b,n) insw (IDE_PORT (HD_DATA, DEV_HWIF), (b), (n)) |
n | 74 | drivers/block/ide-cd.c | #define OUT_WORDS(b,n) output_ide_data(dev,b,(n)/2) |
n | 75 | drivers/block/ide-cd.c | #define IN_WORDS(b,n) input_ide_data(dev,b,(n)/2) |
n | 452 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
n | 454 | drivers/block/ide-cd.c | rq->nr_sectors += n; |
n | 455 | drivers/block/ide-cd.c | rq->sector -= n; |
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 | 270 | drivers/block/optcd.c | inline static void optReadData(char *buf, int n) { |
n | 271 | drivers/block/optcd.c | insb(DATA_PORT, buf, n); |
n | 805 | drivers/block/sbpcd.c | return (msf.n); |
n | 838 | drivers/block/sbpcd.c | msf.n=msfx; |
n | 1937 | drivers/block/sbpcd.c | int i, j, n; |
n | 1946 | drivers/block/sbpcd.c | n=msf2blk(pos_audio_end)+1-i; |
n | 1950 | drivers/block/sbpcd.c | drvcmd[4]=(n>>16)&0x00FF; |
n | 1951 | drivers/block/sbpcd.c | drvcmd[5]=(n>>8)&0x00FF; |
n | 1952 | drivers/block/sbpcd.c | drvcmd[6]=n&0x00FF; |
n | 1414 | drivers/char/console.c | int c, tc, ok, n = 0; |
n | 1435 | drivers/char/console.c | buf++; n++; count--; |
n | 1866 | drivers/char/console.c | return n; |
n | 730 | drivers/char/n_tty.c | int n; |
n | 732 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
n | 733 | drivers/char/n_tty.c | if (!n) |
n | 735 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
n | 736 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
n | 737 | drivers/char/n_tty.c | tty->read_cnt -= n; |
n | 738 | drivers/char/n_tty.c | *b += n; |
n | 739 | 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 | 41 | 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 | 1281 | drivers/char/tty_io.c | int i, n = 0; |
n | 1286 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
n | 1290 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
n | 1293 | drivers/char/tty_io.c | put_user(1, ts->present+n); |
n | 1296 | drivers/char/tty_io.c | put_user(0, 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 | 823 | drivers/net/ppp.c | int n, error; |
n | 840 | drivers/net/ppp.c | n = tty_read_raw_data(tty, buff, 128); |
n | 841 | drivers/net/ppp.c | if ( n == 0 ) /* nothing there */ |
n | 845 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", buff, n > 0 ? n : -n, KERNEL_DS); |
n | 847 | drivers/net/ppp.c | if ( n < 0 ) { |
n | 850 | drivers/net/ppp.c | n = (-n) - 1; |
n | 851 | drivers/net/ppp.c | error = buff[n]; |
n | 853 | drivers/net/ppp.c | ppp->stats.rbytes += n; |
n | 854 | drivers/net/ppp.c | ppp_unesc(ppp,buff,n); |
n | 866 | drivers/net/ppp.c | ppp_unesc(struct ppp *ppp, unsigned char *c, int n) |
n | 870 | drivers/net/ppp.c | for (i = 0; i < n; i++, c++) { |
n | 86 | 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 | 232 | drivers/net/wavelan.c | psa_read(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
n | 236 | drivers/net/wavelan.c | while (n-- > 0) |
n | 252 | drivers/net/wavelan.c | psa_write(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
n | 256 | drivers/net/wavelan.c | while (n-- > 0) |
n | 273 | drivers/net/wavelan.c | obram_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 275 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 279 | drivers/net/wavelan.c | insw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 287 | drivers/net/wavelan.c | obram_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 289 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 293 | drivers/net/wavelan.c | outsw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 301 | drivers/net/wavelan.c | mmc_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 303 | drivers/net/wavelan.c | while (n-- > 0) |
n | 323 | drivers/net/wavelan.c | mmc_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 325 | drivers/net/wavelan.c | while (n-- > 0) |
n | 755 | drivers/net/wavelan.c | #define SC(t,s,n) if (sizeof(t) != s) return n |
n | 2242 | drivers/scsi/aic7xxx.c | int n; |
n | 2267 | drivers/scsi/aic7xxx.c | if (!memcmp(buf, AIC7xxx[i].signature, AIC7xxx[i].n)) |
n | 202 | drivers/scsi/aic7xxx_asm.c | getl(int *n) |
n | 246 | drivers/scsi/aic7xxx_asm.c | *n = i; |
n | 266 | drivers/scsi/aic7xxx_asm.c | int n; /* number of operands, including opcode */ |
n | 456 | drivers/scsi/aic7xxx_asm.c | crack(char **a, int n) |
n | 467 | drivers/scsi/aic7xxx_asm.c | I_ret = (strcmp(a[n-1], "ret") ? 0 : !0); |
n | 468 | drivers/scsi/aic7xxx_asm.c | if (I_ret && n > 1) |
n | 469 | drivers/scsi/aic7xxx_asm.c | n -= 1; |
n | 477 | drivers/scsi/aic7xxx_asm.c | if (!strcmp(instr[i].name, *a) && instr[i].n == n) |
n | 526 | drivers/scsi/aic7xxx_asm.c | int n; |
n | 530 | drivers/scsi/aic7xxx_asm.c | while ((a = getl(&n))) { |
n | 540 | drivers/scsi/aic7xxx_asm.c | n -= 1; |
n | 543 | drivers/scsi/aic7xxx_asm.c | if (!n) /* line was all labels */ |
n | 546 | drivers/scsi/aic7xxx_asm.c | if (n == 3 && !strcmp("VERSION", *a)) |
n | 549 | drivers/scsi/aic7xxx_asm.c | if (n == 3 && !strcmp("=", a[1])) |
n | 552 | drivers/scsi/aic7xxx_asm.c | LC += crack(a, n); |
n | 266 | drivers/sound/ad1848.c | int i, n; |
n | 270 | drivers/sound/ad1848.c | n = 0; |
n | 273 | drivers/sound/ad1848.c | n++; |
n | 275 | drivers/sound/ad1848.c | if (n == 0) |
n | 277 | drivers/sound/ad1848.c | else if (n != 1) /* Too many devices selected */ |
n | 281 | drivers/sound/ad1848.c | n = 0; |
n | 284 | drivers/sound/ad1848.c | n++; |
n | 286 | drivers/sound/ad1848.c | if (n != 1) |
n | 644 | drivers/sound/ad1848.c | int i, n, selected = -1; |
n | 646 | drivers/sound/ad1848.c | n = sizeof (speed_table) / sizeof (speed_struct); |
n | 650 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
n | 651 | drivers/sound/ad1848.c | selected = n - 1; |
n | 653 | drivers/sound/ad1848.c | for (i = 1 /*really */ ; selected == -1 && i < n; i++) |
n | 741 | drivers/sound/ad1848.c | int i, n = sizeof (format2bits) / sizeof (struct format_tbl); |
n | 748 | drivers/sound/ad1848.c | for (i = 0; i < n; i++) |
n | 159 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, unsigned long n) |
n | 163 | drivers/sound/audio.c | for (i = 0; i < n; ++i) |
n | 169 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, unsigned long n) |
n | 176 | 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 | 57 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 89 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 94 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 122 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 131 | drivers/sound/dev_table.c | for (i = 0; i < (n - 1); i++) |
n | 162 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 168 | drivers/sound/dev_table.c | for (i = 0; i < n; i++) |
n | 199 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 222 | drivers/sound/dev_table.c | int i, n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 227 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 252 | drivers/sound/dev_table.c | int n = sizeof (snd_installed_cards) / sizeof (struct card_info); |
n | 255 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 59 | drivers/sound/dmabuf.c | unsigned i, p, n; |
n | 123 | drivers/sound/dmabuf.c | n = 0; |
n | 125 | drivers/sound/dmabuf.c | n < dmap->max_fragments && |
n | 126 | drivers/sound/dmabuf.c | n < MAX_SUB_BUFFERS; i++) |
n | 131 | drivers/sound/dmabuf.c | n < dmap->max_fragments && |
n | 132 | drivers/sound/dmabuf.c | n < MAX_SUB_BUFFERS) |
n | 134 | drivers/sound/dmabuf.c | dmap->buf[n] = dmap->raw_buf[i] + p; |
n | 135 | drivers/sound/dmabuf.c | dmap->buf_phys[n] = dmap->raw_buf_phys[i] + p; |
n | 137 | drivers/sound/dmabuf.c | n++; |
n | 141 | drivers/sound/dmabuf.c | dmap->nbufs = n; |
n | 142 | 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 | 843 | drivers/sound/gus_wave.c | int n, failed; |
n | 850 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
n | 2495 | drivers/sound/gus_wave.c | int i, n; |
n | 2531 | drivers/sound/gus_wave.c | n = 0; |
n | 2535 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
n | 2539 | drivers/sound/gus_wave.c | rec->parm1 = n; |
n | 2589 | drivers/sound/gus_wave.c | int n; |
n | 2599 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Num of bytes left */ |
n | 2601 | drivers/sound/gus_wave.c | if (l > n) |
n | 2602 | drivers/sound/gus_wave.c | l = n; |
n | 2616 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2617 | drivers/sound/gus_wave.c | rec->data.data8[n] = gus_peek (offs++); |
n | 2618 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 2630 | drivers/sound/gus_wave.c | int n; |
n | 2642 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* |
n | 2646 | drivers/sound/gus_wave.c | if (l > n) |
n | 2647 | drivers/sound/gus_wave.c | l = n; |
n | 2661 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2662 | drivers/sound/gus_wave.c | gus_poke (offs++, rec->data.data8[n]); |
n | 2663 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 41 | drivers/sound/hex2hex.h | int n, check; |
n | 46 | drivers/sound/hex2hex.h | if (fscanf(inf, "%02x", &n) != 1) |
n | 48 | drivers/sound/hex2hex.h | sum = n; |
n | 62 | drivers/sound/hex2hex.h | for (i=0;i<n;i++) |
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 | 400 | drivers/sound/mpu401.c | int n; |
n | 410 | drivers/sound/mpu401.c | n = 50; |
n | 412 | drivers/sound/mpu401.c | while (input_avail (devc->base) && n-- > 0) |
n | 1137 | drivers/sound/mpu401.c | int ok, timeout, n; |
n | 1150 | drivers/sound/mpu401.c | for (n = 0; n < 2 && !ok; n++) |
n | 1712 | drivers/sound/mpu401.c | int n; |
n | 1726 | drivers/sound/mpu401.c | n = 0; /* Overwrite the system timer */ |
n | 1728 | drivers/sound/mpu401.c | n = num_sound_timers++; |
n | 1730 | drivers/sound/mpu401.c | n = 0; |
n | 1732 | drivers/sound/mpu401.c | sound_timer_devs[n] = &mpu_timer; |
n | 239 | drivers/sound/sb16_midi.c | int ok, timeout, n; |
n | 249 | drivers/sound/sb16_midi.c | for (n = 0; n < 2 && !ok; n++) |
n | 1152 | drivers/sound/sequencer.c | int i, n; |
n | 1158 | drivers/sound/sequencer.c | n = 1; |
n | 1160 | drivers/sound/sequencer.c | while (!PROCESS_ABORTING (seq_sleeper, seq_sleep_flag) && n) |
n | 1162 | drivers/sound/sequencer.c | n = 0; |
n | 1168 | drivers/sound/sequencer.c | n++; |
n | 1173 | drivers/sound/sequencer.c | if (n) |
n | 1271 | drivers/sound/sequencer.c | int n; |
n | 1280 | drivers/sound/sequencer.c | n = 3 * HZ; /* Timeout */ |
n | 1283 | drivers/sound/sequencer.c | while (n && !midi_devs[dev]->putc (dev, data)) |
n | 1286 | 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 | 61 | drivers/sound/trix.c | int i = 0, n = sizeof (trix_boot); |
n | 74 | drivers/sound/trix.c | for (i = 0; i < n; i++) |
n | 76 | drivers/sound/trix.c | for (i = n; i < 10016; i++) /* Clear up to first 16 bytes of data RAM */ |
n | 392 | fs/ext2/super.c | #define log2(n) ffz(~(n)) |
n | 250 | 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 - (off_t) 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 | 1213 | fs/hpfs/hpfs_fs.c | } while (--n != 0); |
n | 1543 | fs/hpfs/hpfs_fs.c | int n, |
n | 1554 | 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 | 137 | fs/nfs/sock.c | if (n < retrans) |
n | 145 | 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 | 210 | fs/select.c | asmlinkage int sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp) |
n | 218 | fs/select.c | if (n < 0) |
n | 220 | fs/select.c | if (n > NR_OPEN) |
n | 221 | fs/select.c | n = NR_OPEN; |
n | 222 | fs/select.c | if ((i = get_fd_set(n, inp, &in)) || |
n | 223 | fs/select.c | (i = get_fd_set(n, outp, &out)) || |
n | 224 | fs/select.c | (i = get_fd_set(n, exp, &ex))) return i; |
n | 236 | fs/select.c | i = do_select(n, &in, &out, &ex, &res_in, &res_out, &res_ex); |
n | 251 | fs/select.c | set_fd_set(n, inp, &res_in); |
n | 252 | fs/select.c | set_fd_set(n, outp, &res_out); |
n | 253 | fs/select.c | set_fd_set(n, exp, &res_ex); |
n | 39 | fs/smbfs/mmap.c | int n; |
n | 52 | fs/smbfs/mmap.c | n = SMB_SERVER(inode)->max_xmit - SMB_HEADER_LEN - 5 * 2 - 3 - 10; |
n | 60 | fs/smbfs/mmap.c | for (i = 0; i < (PAGE_SIZE - clear); i += n) { |
n | 64 | fs/smbfs/mmap.c | if (hunk > n) |
n | 65 | fs/smbfs/mmap.c | hunk = n; |
n | 76 | fs/smbfs/mmap.c | if (result < n) { |
n | 115 | include/asm-alpha/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 117 | include/asm-alpha/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 129 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 150 | include/asm-i386/segment.h | :"=abd" (n) |
n | 151 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
n | 155 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 157 | include/asm-i386/segment.h | switch (n) { |
n | 198 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 201 | include/asm-i386/segment.h | switch (n % 4) { |
n | 218 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 235 | include/asm-i386/segment.h | :"=abd" (n) |
n | 236 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
n | 240 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 242 | include/asm-i386/segment.h | switch (n) { |
n | 279 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 282 | include/asm-i386/segment.h | switch (n % 4) { |
n | 299 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 300 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 301 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 302 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 304 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 305 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 306 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 307 | include/asm-i386/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 354 | include/asm-i386/string.h | extern inline void * __memcpy(void * to, const void * from, size_t n) |
n | 367 | include/asm-i386/string.h | :"c" (n/4), "q" (n),"D" ((long) to),"S" ((long) from) |
n | 376 | include/asm-i386/string.h | extern inline void * __constant_memcpy(void * to, const void * from, size_t n) |
n | 378 | include/asm-i386/string.h | switch (n) { |
n | 400 | include/asm-i386/string.h | : "c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 403 | include/asm-i386/string.h | switch (n % 4) { |
n | 413 | include/asm-i386/string.h | #define memcpy(t, f, n) \ |
n | 414 | include/asm-i386/string.h | (__builtin_constant_p(n) ? \ |
n | 415 | include/asm-i386/string.h | __constant_memcpy((t),(f),(n)) : \ |
n | 416 | include/asm-i386/string.h | __memcpy((t),(f),(n))) |
n | 419 | include/asm-i386/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 427 | include/asm-i386/string.h | :"c" (n),"S" (src),"D" (dest) |
n | 436 | include/asm-i386/string.h | :"c" (n), |
n | 437 | include/asm-i386/string.h | "S" (n-1+(const char *)src), |
n | 438 | 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 | 192 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
n | 193 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
n | 195 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
n | 196 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
n | 198 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
n | 199 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
n | 214 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
n | 224 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
n | 225 | include/asm-i386/system.h | "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \ |
n | 228 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
n | 229 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
n | 230 | 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 | 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 | 419 | include/linux/sbpcd.h | u_int n; |
n | 425 | 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 | 76 | include/net/ip.h | extern int backoff(int n); |
n | 257 | init/main.c | int n = strlen(bootsetups[i].str); |
n | 258 | init/main.c | if (!strncmp(line,bootsetups[i].str,n)) { |
n | 259 | init/main.c | bootsetups[i].setup_func(get_options(line+n,ints), ints); |
n | 324 | init/main.c | int n; |
n | 331 | init/main.c | for (n = 0 ; devnames[n] ; n++) { |
n | 332 | init/main.c | int len = strlen(devnames[n]); |
n | 333 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
n | 334 | 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 | 98 | mm/mprotect.c | struct vm_area_struct * n; |
n | 100 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 101 | mm/mprotect.c | if (!n) |
n | 103 | mm/mprotect.c | *n = *vma; |
n | 105 | mm/mprotect.c | n->vm_end = end; |
n | 106 | mm/mprotect.c | vma->vm_offset += vma->vm_start - n->vm_start; |
n | 107 | mm/mprotect.c | n->vm_flags = newflags; |
n | 108 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 109 | mm/mprotect.c | if (n->vm_inode) |
n | 110 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 111 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 112 | mm/mprotect.c | n->vm_ops->open(n); |
n | 113 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 121 | mm/mprotect.c | struct vm_area_struct * n; |
n | 123 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 124 | mm/mprotect.c | if (!n) |
n | 126 | mm/mprotect.c | *n = *vma; |
n | 128 | mm/mprotect.c | n->vm_start = start; |
n | 129 | mm/mprotect.c | n->vm_offset += n->vm_start - vma->vm_start; |
n | 130 | mm/mprotect.c | n->vm_flags = newflags; |
n | 131 | mm/mprotect.c | n->vm_page_prot = prot; |
n | 132 | mm/mprotect.c | if (n->vm_inode) |
n | 133 | mm/mprotect.c | n->vm_inode->i_count++; |
n | 134 | mm/mprotect.c | if (n->vm_ops && n->vm_ops->open) |
n | 135 | mm/mprotect.c | n->vm_ops->open(n); |
n | 136 | mm/mprotect.c | insert_vm_struct(current, n); |
n | 325 | mm/vmalloc.c | int n; |
n | 334 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
n | 336 | mm/vmalloc.c | n -= addr - vaddr; |
n | 337 | mm/vmalloc.c | while (--n >= 0) { |
n | 287 | net/appletalk/aarp.c | static void aarp_expire_timer(struct aarp_entry **n) |
n | 290 | net/appletalk/aarp.c | while((*n)!=NULL) |
n | 293 | net/appletalk/aarp.c | if((*n)->expires_at < jiffies) |
n | 295 | net/appletalk/aarp.c | t= *n; |
n | 296 | net/appletalk/aarp.c | *n=(*n)->next; |
n | 300 | net/appletalk/aarp.c | n=&((*n)->next); |
n | 308 | net/appletalk/aarp.c | static void aarp_kick(struct aarp_entry **n) |
n | 311 | net/appletalk/aarp.c | while((*n)!=NULL) |
n | 315 | net/appletalk/aarp.c | if((*n)->xmit_count>=AARP_RETRANSMIT_LIMIT) |
n | 317 | net/appletalk/aarp.c | t= *n; |
n | 318 | net/appletalk/aarp.c | *n=(*n)->next; |
n | 323 | net/appletalk/aarp.c | aarp_send_query(*n); |
n | 324 | net/appletalk/aarp.c | n=&((*n)->next); |
n | 334 | net/appletalk/aarp.c | static void aarp_expire_device(struct aarp_entry **n, struct device *dev) |
n | 337 | net/appletalk/aarp.c | while((*n)!=NULL) |
n | 339 | net/appletalk/aarp.c | if((*n)->dev==dev) |
n | 341 | net/appletalk/aarp.c | t= *n; |
n | 342 | net/appletalk/aarp.c | *n=(*n)->next; |
n | 346 | net/appletalk/aarp.c | n=&((*n)->next); |
n | 1154 | net/appletalk/ddp.c | int n; |
n | 1161 | net/appletalk/ddp.c | if (( n = atalk_pick_port( &sat )) < 0 ) |
n | 1162 | net/appletalk/ddp.c | return( n ); |
n | 1163 | net/appletalk/ddp.c | sk->at.src_port=n; |
n | 1208 | net/appletalk/ddp.c | int n = atalk_pick_port(addr); |
n | 1209 | net/appletalk/ddp.c | if(n < 0) |
n | 1210 | net/appletalk/ddp.c | return n; |
n | 1211 | net/appletalk/ddp.c | sk->at.src_port=addr->sat_port=n; |
n | 118 | net/ax25/af_ax25.c | int n; |
n | 120 | net/ax25/af_ax25.c | for (n = 0, s = buf; n < 6; n++) |
n | 122 | net/ax25/af_ax25.c | c = (a->ax25_call[n] >> 1) & 0x7F; |
n | 129 | net/ax25/af_ax25.c | if ((n = ((a->ax25_call[6] >> 1) & 0x0F)) > 9) |
n | 132 | net/ax25/af_ax25.c | n -= 10; |
n | 135 | net/ax25/af_ax25.c | *s++ = n + '0'; |
n | 59 | net/ax25/ax25_route.c | int n; |
n | 80 | net/ax25/ax25_route.c | ax25_rt->n++; |
n | 91 | net/ax25/ax25_route.c | oldest->n = 1; |
n | 102 | net/ax25/ax25_route.c | ax25_rt->n = 1; |
n | 154 | net/ax25/ax25_route.c | ax25_rt->n, |
n | 218 | net/ax25/ax25_subr.c | int n, t = 2; |
n | 221 | net/ax25/ax25_subr.c | for (n = 0; n < ax25->n2count; n++) |
n | 586 | net/core/skbuff.c | struct sk_buff *n; |
n | 595 | net/core/skbuff.c | n=alloc_skb(skb->truesize-sizeof(struct sk_buff),priority); |
n | 596 | net/core/skbuff.c | if(n==NULL) |
n | 603 | net/core/skbuff.c | offset=n->head-skb->head; |
n | 606 | net/core/skbuff.c | skb_reserve(n,skb->data-skb->head); |
n | 608 | net/core/skbuff.c | skb_put(n,skb->len); |
n | 610 | net/core/skbuff.c | memcpy(n->head,skb->head,skb->end-skb->head); |
n | 611 | net/core/skbuff.c | n->link3=NULL; |
n | 612 | net/core/skbuff.c | n->sk=NULL; |
n | 613 | net/core/skbuff.c | n->when=skb->when; |
n | 614 | net/core/skbuff.c | n->dev=skb->dev; |
n | 615 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
n | 616 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
n | 617 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
n | 618 | net/core/skbuff.c | n->saddr=skb->saddr; |
n | 619 | net/core/skbuff.c | n->daddr=skb->daddr; |
n | 620 | net/core/skbuff.c | n->raddr=skb->raddr; |
n | 621 | net/core/skbuff.c | n->acked=skb->acked; |
n | 622 | net/core/skbuff.c | n->used=skb->used; |
n | 623 | net/core/skbuff.c | n->free=1; |
n | 624 | net/core/skbuff.c | n->arp=skb->arp; |
n | 625 | net/core/skbuff.c | n->tries=0; |
n | 626 | net/core/skbuff.c | n->lock=0; |
n | 627 | net/core/skbuff.c | n->users=0; |
n | 628 | net/core/skbuff.c | n->pkt_type=skb->pkt_type; |
n | 629 | net/core/skbuff.c | n->stamp=skb->stamp; |
n | 631 | net/core/skbuff.c | IS_SKB(n); |
n | 632 | net/core/skbuff.c | return n; |
n | 293 | net/netrom/nr_subr.c | int n, t; |
n | 295 | net/netrom/nr_subr.c | for (t = 2, n = 0; n < sk->nr->n2count; n++) |