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 | 121 | arch/alpha/lib/memcpy.c | char * bcopy(const char * src, char * dest, size_t n) |
n | 123 | arch/alpha/lib/memcpy.c | __memcpy(dest, src, n); |
n | 24 | arch/i386/boot/compressed/misc.c | #define memzero(s, n) memset ((s), 0, (n)) |
n | 215 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
n | 220 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
n | 256 | arch/i386/boot/compressed/misc.c | unsigned n; |
n | 261 | arch/i386/boot/compressed/misc.c | for (n = 0; n < outcnt; n++) { |
n | 274 | arch/i386/boot/compressed/misc.c | unsigned n; |
n | 277 | arch/i386/boot/compressed/misc.c | for (n = 0; n < outcnt; 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 | 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 | 243 | arch/i386/boot/tools/build.c | int l, n; |
n | 248 | arch/i386/boot/tools/build.c | if ((n=read(id, buf, l)) != l) { |
n | 249 | arch/i386/boot/tools/build.c | if (n == -1) |
n | 258 | arch/i386/kernel/setup.c | int n; |
n | 260 | arch/i386/kernel/setup.c | #define CD(X) (cpu_data[n].X) |
n | 263 | arch/i386/kernel/setup.c | #define CPUN n |
n | 265 | arch/i386/kernel/setup.c | for ( n = 0 ; n < 32 ; n++ ) { |
n | 266 | arch/i386/kernel/setup.c | if ( cpu_present_map & (1<<n) ) { |
n | 126 | arch/i386/kernel/smp.c | static char n[32]; |
n | 143 | arch/i386/kernel/smp.c | sprintf(n,"Unknown CPU [%d:%d]",family, model); |
n | 144 | arch/i386/kernel/smp.c | return n; |
n | 70 | arch/i386/kernel/sys_i386.c | int n; |
n | 76 | arch/i386/kernel/sys_i386.c | n = verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)); |
n | 77 | arch/i386/kernel/sys_i386.c | if (n) |
n | 78 | arch/i386/kernel/sys_i386.c | return n; |
n | 79 | arch/i386/kernel/sys_i386.c | n = get_user(buffer); |
n | 84 | 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 | 21 | arch/ppc/boot/cortstrip.c | int i, n, skip; |
n | 58 | arch/ppc/boot/cortstrip.c | while ( (n = read(fd, data, SIZE)) > 0 ) |
n | 60 | arch/ppc/boot/cortstrip.c | printf("Read %d bytes\n", n); |
n | 61 | arch/ppc/boot/cortstrip.c | i = write(fdo, data, n); |
n | 16 | arch/ppc/kernel/cortstrip.c | int i, n, skip; |
n | 49 | arch/ppc/kernel/cortstrip.c | while ( (n = read(fd, data, SIZE)) > 0 ) |
n | 51 | arch/ppc/kernel/cortstrip.c | printf("Read %d bytes\n", n); |
n | 52 | arch/ppc/kernel/cortstrip.c | i = write(fdo, data, n); |
n | 17 | arch/ppc/kernel/mkboot.c | int i, n, skip; |
n | 54 | arch/ppc/kernel/mkboot.c | while ( (n = read(fd, data, SIZE)) > 0 ) |
n | 56 | arch/ppc/kernel/mkboot.c | printf("Read %d bytes\n", n); |
n | 57 | arch/ppc/kernel/mkboot.c | i = write(fdo, data, n); |
n | 40 | arch/ppc/kernel/mmu.h | unsigned long n:1; /* No-execute */ |
n | 40 | arch/ppc/mm/mmu.h | unsigned long n:1; /* No-execute */ |
n | 568 | arch/sparc/kernel/sys_sunos.c | sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp); |
n | 1967 | drivers/block/floppy.c | int il,n; |
n | 1994 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head) |
n | 2011 | drivers/block/floppy.c | here[n].sect = count; |
n | 2012 | drivers/block/floppy.c | n = (n+il) % F_SECT_PER_TRACK; |
n | 2013 | drivers/block/floppy.c | if (here[n].sect) { /* sector busy, find next free sector */ |
n | 2014 | drivers/block/floppy.c | ++n; |
n | 2015 | drivers/block/floppy.c | if (n>= F_SECT_PER_TRACK) { |
n | 2016 | drivers/block/floppy.c | n-=F_SECT_PER_TRACK; |
n | 2017 | drivers/block/floppy.c | while (here[n].sect) ++n; |
n | 533 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
n | 535 | drivers/block/ide-cd.c | rq->nr_sectors += n; |
n | 536 | drivers/block/ide-cd.c | rq->sector -= n; |
n | 2569 | drivers/block/ide.c | int i, n; |
n | 2586 | drivers/block/ide.c | for (n = 0; (i = stridx(decimal, *s)) >= 0;) { |
n | 2587 | drivers/block/ide.c | vals[n] = i; |
n | 2589 | drivers/block/ide.c | vals[n] = (vals[n] * 10) + i; |
n | 2590 | drivers/block/ide.c | if (*s == 'x' && !vals[n]) { |
n | 2592 | drivers/block/ide.c | vals[n] = (vals[n] * 0x10) + i; |
n | 2594 | drivers/block/ide.c | if (++n == max_vals) |
n | 2600 | drivers/block/ide.c | return n; |
n | 120 | drivers/block/ll_rw_blk.c | static inline struct request * get_request(int n, kdev_t dev) |
n | 125 | drivers/block/ll_rw_blk.c | if (n <= 0) |
n | 126 | drivers/block/ll_rw_blk.c | panic("get_request(%d): impossible!\n", n); |
n | 128 | drivers/block/ll_rw_blk.c | limit = all_requests + n; |
n | 150 | drivers/block/ll_rw_blk.c | static struct request * __get_request_wait(int n, kdev_t dev) |
n | 160 | drivers/block/ll_rw_blk.c | req = get_request(n, dev); |
n | 171 | drivers/block/ll_rw_blk.c | static inline struct request * get_request_wait(int n, kdev_t dev) |
n | 176 | drivers/block/ll_rw_blk.c | req = get_request(n, dev); |
n | 180 | drivers/block/ll_rw_blk.c | return __get_request_wait(n, dev); |
n | 434 | drivers/block/md.c | void make_md_request (struct request *pending, int n) |
n | 443 | drivers/block/md.c | for (i=0; i<n; i++) |
n | 536 | drivers/block/md.c | for (j=0; j<n; j++) |
n | 539 | drivers/block/rd.c | #define memzero(s, n) memset ((s), 0, (n)) |
n | 625 | drivers/block/rd.c | unsigned n; |
n | 631 | drivers/block/rd.c | for (n = 0; n < outcnt; n++) { |
n | 453 | drivers/cdrom/optcd.c | inline static void fetch_data(char *buf, int n) |
n | 455 | drivers/cdrom/optcd.c | insb(DATA_PORT, buf, n); |
n | 456 | drivers/cdrom/optcd.c | DEBUG((DEBUG_DRIVE_IF, "fetched 0x%x bytes", n)); |
n | 834 | drivers/cdrom/sbpcd.c | return (msf.n); |
n | 867 | drivers/cdrom/sbpcd.c | msf.n=msfx; |
n | 1924 | drivers/cdrom/sbpcd.c | int i, j, n; |
n | 1933 | drivers/cdrom/sbpcd.c | n=msf2blk(pos_audio_end)+1-i; |
n | 1937 | drivers/cdrom/sbpcd.c | drvcmd[4]=(n>>16)&0x00FF; |
n | 1938 | drivers/cdrom/sbpcd.c | drvcmd[5]=(n>>8)&0x00FF; |
n | 1939 | drivers/cdrom/sbpcd.c | drvcmd[6]=n&0x00FF; |
n | 1366 | drivers/char/console.c | int c, tc, ok, n = 0; |
n | 1388 | drivers/char/console.c | buf++; n++; count--; |
n | 1821 | drivers/char/console.c | return n; |
n | 318 | drivers/char/consolemap.c | int i, n; |
n | 321 | drivers/char/consolemap.c | if ( !(p1 = uni_pagedir[n = unicode >> 11]) ) |
n | 323 | drivers/char/consolemap.c | p1 = uni_pagedir[n] = kmalloc(32*sizeof(u16 *), GFP_KERNEL); |
n | 331 | drivers/char/consolemap.c | if ( !(p2 = p1[n = (unicode >> 6) & 0x1f]) ) |
n | 333 | drivers/char/consolemap.c | p2 = p1[n] = kmalloc(64*sizeof(u16), GFP_KERNEL); |
n | 464 | drivers/char/ftape/ecc.c | static inline void gfmat_mul(int n, Matrix A, unsigned char *s, unsigned char *b) |
n | 469 | drivers/char/ftape/ecc.c | for (i = 0; i < n; ++i) { |
n | 471 | drivers/char/ftape/ecc.c | for (j = 0; j < n; ++j) { |
n | 124 | drivers/char/ftape/kernel-interface.c | int n; |
n | 152 | drivers/char/ftape/kernel-interface.c | for (n = 0; n < NR_BUFFERS; n++) { |
n | 153 | drivers/char/ftape/kernel-interface.c | tape_buffer[n] = (byte *) dmaalloc(order); |
n | 154 | drivers/char/ftape/kernel-interface.c | if (!tape_buffer[n]) { |
n | 156 | drivers/char/ftape/kernel-interface.c | for (n = 0; n < NR_BUFFERS; n++) { |
n | 157 | drivers/char/ftape/kernel-interface.c | if (tape_buffer[n]) { |
n | 158 | drivers/char/ftape/kernel-interface.c | dmafree(tape_buffer[n], order); |
n | 159 | drivers/char/ftape/kernel-interface.c | tape_buffer[n] = NULL; |
n | 169 | drivers/char/ftape/kernel-interface.c | TRACEx2(3, "dma-buffer #%d @ %p", n, tape_buffer[n]); |
n | 190 | drivers/char/ftape/kernel-interface.c | int n; |
n | 200 | drivers/char/ftape/kernel-interface.c | for (n = 0; n < NR_BUFFERS; n++) { |
n | 201 | drivers/char/ftape/kernel-interface.c | if (tape_buffer[n]) { |
n | 202 | drivers/char/ftape/kernel-interface.c | dmafree(tape_buffer[n], order); |
n | 203 | drivers/char/ftape/kernel-interface.c | tape_buffer[n] = NULL; |
n | 204 | drivers/char/ftape/kernel-interface.c | TRACEx1(3, "removed dma-buffer #%d", n); |
n | 206 | drivers/char/ftape/kernel-interface.c | TRACEx1(1, "dma-buffer #%d == NULL (bug?)", n); |
n | 4183 | drivers/char/istallion.c | int brdnr, size, n; |
n | 4207 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
n | 4208 | drivers/char/istallion.c | memcpy_tofs(buf, memptr, n); |
n | 4209 | drivers/char/istallion.c | fp->f_pos += n; |
n | 4210 | drivers/char/istallion.c | buf += n; |
n | 4211 | drivers/char/istallion.c | size -= n; |
n | 4233 | drivers/char/istallion.c | int brdnr, size, n; |
n | 4258 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
n | 4259 | drivers/char/istallion.c | memcpy_fromfs(memptr, chbuf, n); |
n | 4260 | drivers/char/istallion.c | fp->f_pos += n; |
n | 4261 | drivers/char/istallion.c | chbuf += n; |
n | 4262 | drivers/char/istallion.c | size -= n; |
n | 1240 | drivers/char/keyboard.c | int n; |
n | 1243 | drivers/char/keyboard.c | n = TIMEOUT_CONST; |
n | 1267 | drivers/char/keyboard.c | } while (--n); |
n | 739 | drivers/char/n_tty.c | int n; |
n | 741 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
n | 742 | drivers/char/n_tty.c | if (!n) |
n | 744 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
n | 745 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
n | 746 | drivers/char/n_tty.c | tty->read_cnt -= n; |
n | 747 | drivers/char/n_tty.c | *b += n; |
n | 748 | drivers/char/n_tty.c | *nr -= n; |
n | 118 | drivers/char/pty.c | int c=0, n, r; |
n | 129 | drivers/char/pty.c | n = MIN(count, PTY_BUF_SIZE); |
n | 130 | drivers/char/pty.c | memcpy_fromfs(temp_buffer, buf, n); |
n | 134 | drivers/char/pty.c | n = MIN(n, r); |
n | 135 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
n | 136 | drivers/char/pty.c | buf += n; c+= n; |
n | 137 | drivers/char/pty.c | count -= n; |
n | 649 | drivers/char/random.c | int n; |
n | 660 | drivers/char/random.c | n = nbytes; |
n | 661 | drivers/char/random.c | if (n > random_state.entropy_count / 8) |
n | 662 | drivers/char/random.c | n = random_state.entropy_count / 8; |
n | 663 | drivers/char/random.c | if (n == 0) { |
n | 675 | drivers/char/random.c | n = extract_entropy(&random_state, buf, n, 1); |
n | 676 | drivers/char/random.c | count += n; |
n | 677 | drivers/char/random.c | buf += n; |
n | 678 | drivers/char/random.c | nbytes -= n; |
n | 41 | drivers/char/selection.c | #define sel_pos(n) inverse_translate(scrw2glyph(screen_word(sel_cons, n, 1))) |
n | 474 | drivers/char/tpqic02.c | static void report_exception(unsigned n) |
n | 476 | drivers/char/tpqic02.c | if (n >= NR_OF_EXC) { tpqputs(TPQD_ALWAYS, "Oops -- report_exception"); n = 0; } |
n | 477 | drivers/char/tpqic02.c | if (TPQDBG(SENSE_TEXT) || n==0) |
n | 478 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": sense: %s\n", exception_list[n].msg); |
n | 510 | drivers/char/tpqic02.c | short n = -1; |
n | 514 | drivers/char/tpqic02.c | n = 12; |
n | 516 | drivers/char/tpqic02.c | n = 13; |
n | 520 | drivers/char/tpqic02.c | n = 15; |
n | 524 | drivers/char/tpqic02.c | n = 4; |
n | 526 | drivers/char/tpqic02.c | n = 2; |
n | 528 | drivers/char/tpqic02.c | n = 1; |
n | 537 | drivers/char/tpqic02.c | n = 9; |
n | 539 | drivers/char/tpqic02.c | n = 10; |
n | 541 | drivers/char/tpqic02.c | n = 8; |
n | 544 | drivers/char/tpqic02.c | n = 7; |
n | 549 | drivers/char/tpqic02.c | n = 5; |
n | 556 | drivers/char/tpqic02.c | n = 6; |
n | 563 | drivers/char/tpqic02.c | n = 14; |
n | 565 | drivers/char/tpqic02.c | n = 11; |
n | 568 | drivers/char/tpqic02.c | n = 3; |
n | 570 | drivers/char/tpqic02.c | if (n >= 0) |
n | 571 | drivers/char/tpqic02.c | sensemsg(n); |
n | 848 | drivers/char/tpqic02.c | int s, n; |
n | 858 | drivers/char/tpqic02.c | n = 1000; /* 500 is not enough on a 486/33 */ |
n | 859 | drivers/char/tpqic02.c | while ((n>0) && ((inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK)) |
n | 860 | drivers/char/tpqic02.c | n--; /* wait for ready or exception or timeout */ |
n | 861 | drivers/char/tpqic02.c | if (n==0) { |
n | 1341 | drivers/char/tty_io.c | int i, n = 0; |
n | 1346 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
n | 1350 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
n | 1353 | drivers/char/tty_io.c | put_user(1, ts->present+n); |
n | 1356 | drivers/char/tty_io.c | put_user(0, ts->present+n); |
n | 1037 | drivers/isdn/icn/icn.c | int i, n; |
n | 1039 | drivers/isdn/icn/icn.c | n = 0; |
n | 1043 | drivers/isdn/icn/icn.c | n = 10 * n + (*s - '0'); |
n | 1044 | drivers/isdn/icn/icn.c | return n; |
n | 1641 | drivers/isdn/isdn_common.c | int n, j, k; |
n | 1650 | drivers/isdn/isdn_common.c | n = i->channels; |
n | 1651 | drivers/isdn/isdn_common.c | if (dev->channels + n >= ISDN_MAX_CHANNELS) { |
n | 1661 | drivers/isdn/isdn_common.c | if (!(d->rcverr = (int *) kmalloc(sizeof(int) * n, GFP_KERNEL))) { |
n | 1666 | drivers/isdn/isdn_common.c | memset((char *) d->rcverr, 0, sizeof(int) * n); |
n | 1667 | drivers/isdn/isdn_common.c | if (!(d->rcvcount = (int *) kmalloc(sizeof(int) * n, GFP_KERNEL))) { |
n | 1673 | drivers/isdn/isdn_common.c | memset((char *) d->rcvcount, 0, sizeof(int) * n); |
n | 1674 | drivers/isdn/isdn_common.c | if (!(d->rpqueue = (pqueue **) kmalloc(sizeof(pqueue *) * n, GFP_KERNEL))) { |
n | 1681 | drivers/isdn/isdn_common.c | memset((char *) d->rpqueue, 0, sizeof(pqueue *) * n); |
n | 1683 | drivers/isdn/isdn_common.c | kmalloc(sizeof(struct wait_queue *) * n, GFP_KERNEL))) { |
n | 1691 | drivers/isdn/isdn_common.c | memset((char *) d->rcv_waitq, 0, sizeof(struct wait_queue *) * n); |
n | 1693 | drivers/isdn/isdn_common.c | kmalloc(sizeof(struct wait_queue *) * n, GFP_KERNEL))) { |
n | 1702 | drivers/isdn/isdn_common.c | memset((char *) d->snd_waitq, 0, sizeof(struct wait_queue *) * n); |
n | 1703 | drivers/isdn/isdn_common.c | d->channels = n; |
n | 1726 | drivers/isdn/isdn_common.c | for (j = 0; j < n; j++) |
n | 1734 | drivers/isdn/isdn_common.c | dev->channels += n; |
n | 1370 | drivers/isdn/isdn_net.c | isdn_net_phone *n; |
n | 1414 | drivers/isdn/isdn_net.c | n = (isdn_net_phone *) 0; |
n | 1520 | drivers/isdn/isdn_net.c | n = p->local.phone[0]; |
n | 1522 | drivers/isdn/isdn_net.c | while (n) { |
n | 1523 | drivers/isdn/isdn_net.c | if (isdn_net_wildmat(nr, n->num)) |
n | 1525 | drivers/isdn/isdn_net.c | n = (isdn_net_phone *) n->next; |
n | 1528 | drivers/isdn/isdn_net.c | if (n || (!(p->local.flags & ISDN_NET_SECURE))) { |
n | 1817 | drivers/isdn/isdn_net.c | isdn_net_dev *n; |
n | 1827 | drivers/isdn/isdn_net.c | if (!(n = isdn_net_findif(parm))) |
n | 1830 | drivers/isdn/isdn_net.c | if (n->local.master) |
n | 1832 | drivers/isdn/isdn_net.c | return (isdn_net_new(newname, &(n->dev))); |
n | 2026 | drivers/isdn/isdn_net.c | isdn_net_phone *n; |
n | 2031 | drivers/isdn/isdn_net.c | if (!(n = (isdn_net_phone *) kmalloc(sizeof(isdn_net_phone), GFP_KERNEL))) |
n | 2033 | drivers/isdn/isdn_net.c | strcpy(n->num, phone->phone); |
n | 2034 | drivers/isdn/isdn_net.c | n->next = p->local.phone[phone->outgoing & 1]; |
n | 2035 | drivers/isdn/isdn_net.c | p->local.phone[phone->outgoing & 1] = n; |
n | 2050 | drivers/isdn/isdn_net.c | isdn_net_phone *n; |
n | 2059 | drivers/isdn/isdn_net.c | n = p->local.phone[inout]; |
n | 2060 | drivers/isdn/isdn_net.c | if (n) |
n | 2062 | drivers/isdn/isdn_net.c | while (n) { |
n | 2067 | drivers/isdn/isdn_net.c | if ((ret = verify_area(VERIFY_WRITE, (void *) phones, strlen(n->num) + 1))) { |
n | 2071 | drivers/isdn/isdn_net.c | memcpy_tofs(phones, n->num, strlen(n->num) + 1); |
n | 2072 | drivers/isdn/isdn_net.c | phones += strlen(n->num); |
n | 2073 | drivers/isdn/isdn_net.c | count += strlen(n->num); |
n | 2074 | drivers/isdn/isdn_net.c | n = n->next; |
n | 2089 | drivers/isdn/isdn_net.c | isdn_net_phone *n; |
n | 2093 | drivers/isdn/isdn_net.c | n = p->local.phone[inout]; |
n | 2095 | drivers/isdn/isdn_net.c | while (n) { |
n | 2096 | drivers/isdn/isdn_net.c | if (!strcmp(n->num, phone->phone)) { |
n | 2098 | drivers/isdn/isdn_net.c | m->next = n->next; |
n | 2100 | drivers/isdn/isdn_net.c | p->local.phone[inout] = n->next; |
n | 2101 | drivers/isdn/isdn_net.c | kfree(n); |
n | 2104 | drivers/isdn/isdn_net.c | m = n; |
n | 2105 | drivers/isdn/isdn_net.c | n = (isdn_net_phone *) n->next; |
n | 2117 | drivers/isdn/isdn_net.c | isdn_net_phone *n; |
n | 2125 | drivers/isdn/isdn_net.c | n = p->local.phone[i]; |
n | 2126 | drivers/isdn/isdn_net.c | while (n) { |
n | 2127 | drivers/isdn/isdn_net.c | m = n->next; |
n | 2128 | drivers/isdn/isdn_net.c | kfree(n); |
n | 2129 | drivers/isdn/isdn_net.c | n = m; |
n | 2206 | drivers/isdn/isdn_net.c | isdn_net_dev *n = dev->netdev; |
n | 2208 | drivers/isdn/isdn_net.c | while (n) { |
n | 2209 | drivers/isdn/isdn_net.c | if (!strcmp(n->local.name, slavename)) { |
n | 2210 | drivers/isdn/isdn_net.c | isdn_net_realrm(n, q); |
n | 2213 | drivers/isdn/isdn_net.c | q = n; |
n | 2214 | drivers/isdn/isdn_net.c | n = (isdn_net_dev *) n->next; |
n | 142 | drivers/isdn/isdn_tty.c | static void isdn_tty_dial(char *n, modem_info * info, atemu * m) |
n | 181 | drivers/isdn/isdn_tty.c | sprintf(cmd.num, "%s,%s,%d,%d", n, isdn_map_eaz2msn(m->msn, info->isdn_driver), |
n | 185 | drivers/isdn/isdn_tty.c | strcpy(dev->num[i], n); |
n | 1522 | drivers/isdn/isdn_tty.c | static void isdn_tty_get_msnstr(char *n, char **p) |
n | 1525 | drivers/isdn/isdn_tty.c | *n++ = *p[0]++; |
n | 1526 | drivers/isdn/isdn_tty.c | *n = '\0'; |
n | 182 | drivers/isdn/teles/callc.c | int i, n; |
n | 184 | drivers/isdn/teles/callc.c | n = 0; |
n | 188 | drivers/isdn/teles/callc.c | n = 10 * n + (*s - '0'); |
n | 189 | drivers/isdn/teles/callc.c | return n; |
n | 618 | drivers/net/de4x5.c | static int de4x5_strncmp(char *a, char *b, int n); |
n | 2918 | drivers/net/de4x5.c | static int de4x5_strncmp(char *a, char *b, int n) |
n | 2922 | drivers/net/de4x5.c | for (;n && !ret;n--) { |
n | 89 | 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 | 230 | drivers/net/wavelan.c | psa_read(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
n | 234 | drivers/net/wavelan.c | while (n-- > 0) |
n | 250 | drivers/net/wavelan.c | psa_write(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
n | 254 | drivers/net/wavelan.c | while (n-- > 0) |
n | 271 | drivers/net/wavelan.c | obram_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 273 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 277 | drivers/net/wavelan.c | insw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 285 | drivers/net/wavelan.c | obram_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 287 | drivers/net/wavelan.c | n = (n + 1) / (sizeof(unsigned short) / sizeof(unsigned char)); |
n | 291 | drivers/net/wavelan.c | outsw(PIOP1(ioaddr), (unsigned short *)b, n); |
n | 299 | drivers/net/wavelan.c | mmc_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 301 | drivers/net/wavelan.c | while (n-- > 0) |
n | 321 | drivers/net/wavelan.c | mmc_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
n | 323 | drivers/net/wavelan.c | while (n-- > 0) |
n | 753 | drivers/net/wavelan.c | #define SC(t,s,n) if (sizeof(t) != s) return n |
n | 4478 | drivers/scsi/advansys.c | DvcSleepMilliSecond(ulong n) |
n | 4482 | drivers/scsi/advansys.c | ASC_DBG1(4, "DvcSleepMilliSecond: %lu\n", n); |
n | 4483 | drivers/scsi/advansys.c | for (i = 0; i < n; i++) { |
n | 841 | drivers/scsi/aic7xxx.c | int i, n; |
n | 857 | drivers/scsi/aic7xxx.c | n = strlen(options[i].name); |
n | 858 | drivers/scsi/aic7xxx.c | if (!strncmp(options[i].name, p, n)) |
n | 860 | drivers/scsi/aic7xxx.c | if (p[n] == ':') |
n | 862 | drivers/scsi/aic7xxx.c | *(options[i].flag) = simple_strtoul(p + n + 1, NULL, 0); |
n | 2587 | drivers/scsi/aic7xxx.c | int n; |
n | 2612 | drivers/scsi/aic7xxx.c | if (!memcmp(buf, AIC7xxx[i].signature, AIC7xxx[i].n)) |
n | 218 | drivers/scsi/aic7xxx_asm.c | getl(int *n) |
n | 262 | drivers/scsi/aic7xxx_asm.c | *n = i; |
n | 282 | drivers/scsi/aic7xxx_asm.c | int n; /* number of operands, including opcode */ |
n | 472 | drivers/scsi/aic7xxx_asm.c | crack(char **a, int n) |
n | 483 | drivers/scsi/aic7xxx_asm.c | I_ret = (strcmp(a[n-1], "ret") ? 0 : !0); |
n | 484 | drivers/scsi/aic7xxx_asm.c | if (I_ret && n > 1) |
n | 485 | drivers/scsi/aic7xxx_asm.c | n -= 1; |
n | 493 | drivers/scsi/aic7xxx_asm.c | if (!strcmp(instr[i].name, *a) && instr[i].n == n) |
n | 542 | drivers/scsi/aic7xxx_asm.c | int n; |
n | 546 | drivers/scsi/aic7xxx_asm.c | while ((a = getl(&n))) { |
n | 556 | drivers/scsi/aic7xxx_asm.c | n -= 1; |
n | 559 | drivers/scsi/aic7xxx_asm.c | if (!n) /* line was all labels */ |
n | 562 | drivers/scsi/aic7xxx_asm.c | if (n == 3 && !strcmp("VERSION", *a)) |
n | 565 | drivers/scsi/aic7xxx_asm.c | if (n == 3 && !strcmp("=", a[1])) |
n | 568 | drivers/scsi/aic7xxx_asm.c | LC += crack(a, n); |
n | 292 | drivers/sound/ad1848.c | int i, n; |
n | 296 | drivers/sound/ad1848.c | n = 0; |
n | 299 | drivers/sound/ad1848.c | n++; |
n | 301 | drivers/sound/ad1848.c | if (n == 0) |
n | 303 | drivers/sound/ad1848.c | else if (n != 1) /* Too many devices selected */ |
n | 307 | drivers/sound/ad1848.c | n = 0; |
n | 310 | drivers/sound/ad1848.c | n++; |
n | 312 | drivers/sound/ad1848.c | if (n != 1) |
n | 660 | drivers/sound/ad1848.c | int i, n, selected = -1; |
n | 662 | drivers/sound/ad1848.c | n = sizeof (speed_table) / sizeof (speed_struct); |
n | 678 | drivers/sound/ad1848.c | if (arg > speed_table[n - 1].speed) |
n | 679 | drivers/sound/ad1848.c | selected = n - 1; |
n | 681 | drivers/sound/ad1848.c | for (i = 1 /*really */ ; selected == -1 && i < n; i++) |
n | 769 | drivers/sound/ad1848.c | int i, n = sizeof (format2bits) / sizeof (struct format_tbl); |
n | 776 | drivers/sound/ad1848.c | for (i = 0; i < n; i++) |
n | 160 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, int n) |
n | 164 | drivers/sound/audio.c | if (n <= 0) |
n | 167 | drivers/sound/audio.c | for (i = 0; i < n; ++i) |
n | 173 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, int n) |
n | 175 | drivers/sound/audio.c | if (n > 0) |
n | 182 | drivers/sound/audio.c | : "b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff) |
n | 1171 | drivers/sound/configure.c | int n = 0, j; |
n | 1179 | drivers/sound/configure.c | if (n) |
n | 1181 | drivers/sound/configure.c | if (!(n++ % 2)) |
n | 87 | drivers/sound/cs4232.c | int i, n; |
n | 123 | drivers/sound/cs4232.c | for (n = 0; n < 4; n++) |
n | 42 | drivers/sound/dev_table.c | int i, n = num_sound_drivers; |
n | 44 | drivers/sound/dev_table.c | for (i = 0; i < n; i++) |
n | 82 | drivers/sound/dev_table.c | int i, n = num_sound_cards; |
n | 93 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 96 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 138 | drivers/sound/dev_table.c | int i, n = num_sound_cards; |
n | 147 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 163 | drivers/sound/dev_table.c | int i, drv = -1, n = num_sound_cards; |
n | 169 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 196 | drivers/sound/dev_table.c | int i, sel = -1, n = num_sound_cards; |
n | 205 | drivers/sound/dev_table.c | for (i = 0; i < n && sel == -1 && snd_installed_cards[i].card_type; i++) |
n | 267 | drivers/sound/dev_table.c | int i, n = num_sound_cards; |
n | 278 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 325 | drivers/sound/dev_table.c | int i, n = num_sound_drivers; |
n | 330 | drivers/sound/dev_table.c | for (i = 0; i < n; i++) |
n | 347 | drivers/sound/dev_table.c | int i, n = num_sound_cards; |
n | 353 | drivers/sound/dev_table.c | for (i = 0; i < n && snd_installed_cards[i].card_type; i++) |
n | 384 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
n | 416 | drivers/sound/dev_table.c | int n = num_sound_cards; |
n | 419 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1 && snd_installed_cards[j].card_type; j++) |
n | 72 | drivers/sound/dmabuf.c | unsigned i, n; |
n | 151 | drivers/sound/dmabuf.c | n = dsp_dev->buffsize / bsz; |
n | 152 | drivers/sound/dmabuf.c | if (n > MAX_SUB_BUFFERS) |
n | 153 | drivers/sound/dmabuf.c | n = MAX_SUB_BUFFERS; |
n | 154 | drivers/sound/dmabuf.c | if (n > dmap->max_fragments) |
n | 155 | drivers/sound/dmabuf.c | n = dmap->max_fragments; |
n | 156 | drivers/sound/dmabuf.c | dmap->nbufs = n; |
n | 157 | drivers/sound/dmabuf.c | dmap->bytes_in_use = n * bsz; |
n | 55 | drivers/sound/gus_vol.c | int i, m, n, x; |
n | 103 | drivers/sound/gus_vol.c | n = x; |
n | 105 | drivers/sound/gus_vol.c | if (n < 128) |
n | 107 | drivers/sound/gus_vol.c | while (i > 0 && n < (1 << i)) |
n | 111 | drivers/sound/gus_vol.c | while (n > 255) |
n | 113 | drivers/sound/gus_vol.c | n >>= 1; |
n | 870 | drivers/sound/gus_wave.c | int n, failed; |
n | 877 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
n | 2538 | drivers/sound/gus_wave.c | int i, n; |
n | 2574 | drivers/sound/gus_wave.c | n = 0; |
n | 2578 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
n | 2582 | drivers/sound/gus_wave.c | rec->parm1 = n; |
n | 2632 | drivers/sound/gus_wave.c | int n; |
n | 2642 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Num of bytes left */ |
n | 2644 | drivers/sound/gus_wave.c | if (l > n) |
n | 2645 | drivers/sound/gus_wave.c | l = n; |
n | 2659 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2660 | drivers/sound/gus_wave.c | rec->data.data8[n] = gus_peek (offs++); |
n | 2661 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 2673 | drivers/sound/gus_wave.c | int n; |
n | 2685 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* |
n | 2689 | drivers/sound/gus_wave.c | if (l > n) |
n | 2690 | drivers/sound/gus_wave.c | l = n; |
n | 2704 | drivers/sound/gus_wave.c | for (n = 0; n < l; n++) |
n | 2705 | drivers/sound/gus_wave.c | gus_poke (offs++, rec->data.data8[n]); |
n | 2706 | drivers/sound/gus_wave.c | rec->parm1 = n; /* |
n | 23 | drivers/sound/hex2hex.h | int n, check; |
n | 28 | drivers/sound/hex2hex.h | if (fscanf(inf, "%02x", &n) != 1) |
n | 30 | drivers/sound/hex2hex.h | sum = n; |
n | 44 | drivers/sound/hex2hex.h | for (i=0;i<n;i++) |
n | 345 | drivers/sound/midibuf.c | int c, n, i; |
n | 360 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
n | 362 | drivers/sound/midibuf.c | if (n == 0) /* |
n | 389 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
n | 392 | drivers/sound/midibuf.c | if (n > (count - c)) |
n | 393 | drivers/sound/midibuf.c | n = count - c; |
n | 395 | drivers/sound/midibuf.c | for (i = 0; i < n; i++) |
n | 412 | drivers/sound/midibuf.c | int n, c = 0; |
n | 452 | drivers/sound/midibuf.c | n = DATA_AVAIL (midi_in_buf[dev]); |
n | 453 | drivers/sound/midibuf.c | if (n > count) |
n | 454 | drivers/sound/midibuf.c | n = count; |
n | 457 | drivers/sound/midibuf.c | while (c < n) |
n | 424 | drivers/sound/mpu401.c | int n; |
n | 435 | drivers/sound/mpu401.c | n = 50; |
n | 437 | drivers/sound/mpu401.c | while (input_avail (devc) && n-- > 0) |
n | 1209 | drivers/sound/mpu401.c | int ok, timeout, n; |
n | 1222 | drivers/sound/mpu401.c | for (n = 0; n < 2 && !ok; n++) |
n | 1803 | drivers/sound/mpu401.c | int n; |
n | 1816 | drivers/sound/mpu401.c | n = 0; /* Overwrite the system timer */ |
n | 1818 | drivers/sound/mpu401.c | n = num_sound_timers++; |
n | 1819 | drivers/sound/mpu401.c | sound_timer_devs[n] = &mpu_timer; |
n | 283 | drivers/sound/sb16_midi.c | int ok, timeout, n; |
n | 293 | drivers/sound/sb16_midi.c | for (n = 0; n < 2 && !ok; n++) |
n | 1231 | drivers/sound/sequencer.c | int i, n; |
n | 1237 | drivers/sound/sequencer.c | n = 1; |
n | 1239 | drivers/sound/sequencer.c | while (!current_got_fatal_signal () && n) |
n | 1241 | drivers/sound/sequencer.c | n = 0; |
n | 1247 | drivers/sound/sequencer.c | n++; |
n | 1252 | drivers/sound/sequencer.c | if (n) |
n | 1384 | drivers/sound/sequencer.c | int n; |
n | 1393 | drivers/sound/sequencer.c | n = 3 * HZ; /* Timeout */ |
n | 1397 | drivers/sound/sequencer.c | while (n && !midi_devs[dev]->putc (dev, data)) |
n | 1416 | drivers/sound/sequencer.c | n--; |
n | 336 | drivers/sound/sound_timer.c | int n; |
n | 345 | drivers/sound/sound_timer.c | n = 0; /* Overwrite the system timer */ |
n | 347 | drivers/sound/sound_timer.c | n = num_sound_timers++; |
n | 351 | drivers/sound/sound_timer.c | sound_timer_devs[n] = &sound_timer; |
n | 69 | drivers/sound/trix.c | int i = 0, n = trix_boot_len; |
n | 85 | drivers/sound/trix.c | for (i = 0; i < n; i++) |
n | 87 | drivers/sound/trix.c | for (i = n; i < 10016; i++) /* Clear up to first 16 bytes of data RAM */ |
n | 363 | fs/ext2/super.c | #define log2(n) ffz(~(n)) |
n | 224 | fs/fat/inode.c | #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
n | 256 | fs/hpfs/hpfs_fs.c | int n, |
n | 820 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
n | 842 | fs/hpfs/hpfs_fs.c | for (n = 0; n < n_bands; n++) |
n | 843 | fs/hpfs/hpfs_fs.c | if (bitmaps[n] == 0) |
n | 846 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
n | 884 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
n | 906 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
n | 911 | fs/hpfs/hpfs_fs.c | if (n > count) |
n | 912 | fs/hpfs/hpfs_fs.c | n = count; |
n | 926 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
n | 933 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
n | 934 | fs/hpfs/hpfs_fs.c | n0 = n; |
n | 940 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
n | 941 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos - n + n0) |
n | 942 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
n | 950 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
n | 1014 | fs/hpfs/hpfs_fs.c | unsigned n, disk_secno; |
n | 1023 | fs/hpfs/hpfs_fs.c | n = file_secno - inode->i_hpfs_file_sec; |
n | 1024 | fs/hpfs/hpfs_fs.c | if (n < inode->i_hpfs_n_secs) |
n | 1025 | fs/hpfs/hpfs_fs.c | return inode->i_hpfs_disk_sec + n; |
n | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
n | 1063 | fs/hpfs/hpfs_fs.c | unsigned t = file_secno - n[i].file_secno; |
n | 1064 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
n | 1065 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_file_sec = n[i].file_secno; |
n | 1066 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_disk_sec = n[i].disk_secno; |
n | 1067 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
n | 1068 | fs/hpfs/hpfs_fs.c | return n[i].disk_secno + t; |
n | 1079 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
n | 1081 | fs/hpfs/hpfs_fs.c | if (file_secno < n[i].file_secno) { |
n | 1083 | fs/hpfs/hpfs_fs.c | anode_secno ano = n[i].down; |
n | 1221 | fs/hpfs/hpfs_fs.c | unsigned n) |
n | 1225 | fs/hpfs/hpfs_fs.c | if (n != 0) |
n | 1231 | fs/hpfs/hpfs_fs.c | } while (--n != 0); |
n | 1561 | fs/hpfs/hpfs_fs.c | int n, |
n | 1572 | fs/hpfs/hpfs_fs.c | if (i == n) |
n | 154 | fs/ncpfs/ncplib_kernel.c | ncp_get_volume_info_with_number(struct ncp_server *server, int n, |
n | 161 | fs/ncpfs/ncplib_kernel.c | ncp_add_byte(server, n); |
n | 45 | fs/ncpfs/ncplib_kernel.h | ncp_get_volume_info_with_number(struct ncp_server *server, int n, |
n | 334 | fs/ncpfs/sock.c | int n; |
n | 372 | fs/ncpfs/sock.c | for (n = 0, timeout = init_timeout; ; n++, timeout <<= 1) |
n | 427 | fs/ncpfs/sock.c | if (n < retrans) |
n | 436 | fs/ncpfs/sock.c | n = 0; |
n | 869 | fs/nfs/proc.c | unsigned int n; |
n | 872 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_REPLY) { |
n | 873 | fs/nfs/proc.c | printk("nfs_rpc_verify: not an RPC reply: %d\n", n); |
n | 876 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { |
n | 877 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call rejected: %d\n", n); |
n | 880 | fs/nfs/proc.c | switch (n = ntohl(*p++)) { |
n | 884 | fs/nfs/proc.c | printk("nfs_rpc_verify: bad RPC authentication type: %d\n", n); |
n | 887 | fs/nfs/proc.c | if ((n = ntohl(*p++)) > 400) { |
n | 891 | fs/nfs/proc.c | p += QUADLEN(n); |
n | 892 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_SUCCESS) { |
n | 893 | fs/nfs/proc.c | printk("nfs_rpc_verify: RPC call failed: %d\n", n); |
n | 518 | fs/proc/array.c | unsigned int n = p->state; |
n | 529 | fs/proc/array.c | if (n >= NR_STATES) |
n | 530 | fs/proc/array.c | n = NR_STATES-1; |
n | 538 | fs/proc/array.c | states[n], |
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 | 34 | fs/smbfs/mmap.c | int n; |
n | 50 | fs/smbfs/mmap.c | n = SMB_SERVER(inode)->max_xmit - SMB_HEADER_LEN - 5 * 2 - 3 - 10; |
n | 58 | fs/smbfs/mmap.c | for (i = 0; i < (PAGE_SIZE - clear); i += n) { |
n | 62 | fs/smbfs/mmap.c | if (hunk > n) |
n | 63 | fs/smbfs/mmap.c | hunk = n; |
n | 74 | fs/smbfs/mmap.c | if (result < n) { |
n | 90 | include/asm-alpha/segment.h | static inline void memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 93 | include/asm-alpha/segment.h | memcpy(to, from, n); |
n | 97 | include/asm-alpha/segment.h | static inline void memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 100 | include/asm-alpha/segment.h | memcpy(to, from, n); |
n | 83 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 104 | include/asm-i386/segment.h | :"=abd" (n) |
n | 105 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
n | 109 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 111 | include/asm-i386/segment.h | switch (n) { |
n | 152 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 155 | include/asm-i386/segment.h | switch (n % 4) { |
n | 172 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 189 | include/asm-i386/segment.h | :"=abd" (n) |
n | 190 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
n | 194 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 196 | include/asm-i386/segment.h | switch (n) { |
n | 233 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 236 | include/asm-i386/segment.h | switch (n % 4) { |
n | 253 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
n | 254 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 255 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
n | 256 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
n | 258 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
n | 259 | include/asm-i386/segment.h | (__builtin_constant_p(n) ? \ |
n | 260 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
n | 261 | include/asm-i386/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
n | 425 | include/asm-i386/string-486.h | extern inline void * __memcpy_by4(void * to, const void * from, size_t n) |
n | 437 | include/asm-i386/string-486.h | :"1" (tmp), "2" (from), "3" (n/4) |
n | 442 | include/asm-i386/string-486.h | extern inline void * __memcpy_by2(void * to, const void * from, size_t n) |
n | 458 | include/asm-i386/string-486.h | :"1" (tmp), "2" (from), "3" (n/2) |
n | 463 | include/asm-i386/string-486.h | extern inline void * __memcpy_g(void * to, const void * from, size_t n) |
n | 477 | include/asm-i386/string-486.h | :"c" (n),"D" ((long) tmp),"S" ((long) from) |
n | 484 | include/asm-i386/string-486.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 493 | include/asm-i386/string-486.h | :"c" (n),"S" (src),"D" (tmp) |
n | 501 | include/asm-i386/string-486.h | :"c" (n), "S" (n-1+(const char *)src), "D" (n-1+(char *)tmp) |
n | 365 | include/asm-i386/string.h | extern inline void * __memcpy(void * to, const void * from, size_t n) |
n | 378 | include/asm-i386/string.h | :"c" (n/4), "q" (n),"D" ((long) to),"S" ((long) from) |
n | 387 | include/asm-i386/string.h | extern inline void * __constant_memcpy(void * to, const void * from, size_t n) |
n | 389 | include/asm-i386/string.h | switch (n) { |
n | 411 | include/asm-i386/string.h | : "c" (n/4),"D" ((long) to),"S" ((long) from) \ |
n | 414 | include/asm-i386/string.h | switch (n % 4) { |
n | 424 | include/asm-i386/string.h | #define memcpy(t, f, n) \ |
n | 425 | include/asm-i386/string.h | (__builtin_constant_p(n) ? \ |
n | 426 | include/asm-i386/string.h | __constant_memcpy((t),(f),(n)) : \ |
n | 427 | include/asm-i386/string.h | __memcpy((t),(f),(n))) |
n | 430 | include/asm-i386/string.h | extern inline void * memmove(void * dest,const void * src, size_t n) |
n | 438 | include/asm-i386/string.h | :"c" (n),"S" (src),"D" (dest) |
n | 447 | include/asm-i386/string.h | :"c" (n), |
n | 448 | include/asm-i386/string.h | "S" (n-1+(const char *)src), |
n | 449 | 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 | 242 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
n | 243 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
n | 245 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
n | 246 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
n | 248 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
n | 249 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
n | 264 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
n | 274 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
n | 275 | include/asm-i386/system.h | "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \ |
n | 278 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
n | 279 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
n | 280 | 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 | 199 | include/asm-mips/processor.h | #define switch_to(n) \ |
n | 200 | include/asm-mips/processor.h | resume(n, ((int)(&((struct task_struct *)0)->tss))) |
n | 109 | include/asm-mips/segment.h | static inline void memcpy_fromfs(void * to, const void * from, unsigned long n) |
n | 112 | include/asm-mips/segment.h | memcpy(to, from, n); |
n | 116 | include/asm-mips/segment.h | static inline void memcpy_tofs(void * to, const void * from, unsigned long n) |
n | 119 | include/asm-mips/segment.h | memcpy(to, from, n); |
n | 37 | include/asm-mips/string.h | extern __inline__ char * strncpy(char *dest, const char *src, size_t n) |
n | 41 | include/asm-mips/string.h | if (n == 0) |
n | 57 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 58 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 141 | include/asm-mips/string.h | extern __inline__ void * memcpy(void * to, const void * from, size_t n) |
n | 145 | include/asm-mips/string.h | if (!n) |
n | 158 | include/asm-mips/string.h | : "=r" (to), "=r" (from), "=r" (n) |
n | 159 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
n | 165 | include/asm-mips/string.h | extern __inline__ void * memmove(void * dest,const void * src, size_t n) |
n | 169 | include/asm-mips/string.h | if (!n) |
n | 184 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 185 | include/asm-mips/string.h | : "0" (dest), "1" (src), "2" (n) |
n | 199 | include/asm-mips/string.h | : "=r" (dest), "=r" (src), "=r" (n) |
n | 200 | include/asm-mips/string.h | : "0" (dest+n), "1" (src+n), "2" (n) |
n | 214 | include/asm-mips/system.h | #define set_int_vector(n,addr) \ |
n | 215 | include/asm-mips/system.h | IRQ_vectors[n] = (unsigned long) (addr) |
n | 217 | include/asm-mips/system.h | #define set_except_vector(n,addr) \ |
n | 218 | include/asm-mips/system.h | exception_handlers[n] = (unsigned long) (addr) |
n | 21 | include/asm-ppc/bitops.h | #define BIT(n) 1<<(n&0x1F) |
n | 40 | include/asm-ppc/mmu.h | unsigned long n:1; /* No-execute */ |
n | 103 | include/asm-ppc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 105 | include/asm-ppc/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 44 | include/asm-ppc/string.h | register const char *n = &needle[needle_last]; |
n | 48 | include/asm-ppc/string.h | if (*h != *n) |
n | 50 | include/asm-ppc/string.h | while (--n >= needle && --h >= haystack); |
n | 5 | include/asm-ppc/unistd.h | #define _NR(n) #n |
n | 6 | include/asm-ppc/unistd.h | #define _lisc(n) "li 0," _NR(n) |
n | 103 | include/asm-sparc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
n | 105 | include/asm-sparc/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
n | 138 | include/linux/md.h | extern void make_md_request(struct request *pending, int n); |
n | 37 | include/linux/mroute.h | #define VIFM_SET(n,m) ((m)|=(1<<(n))) |
n | 38 | include/linux/mroute.h | #define VIFM_CLR(n,m) ((m)&=~(1<<(n))) |
n | 39 | include/linux/mroute.h | #define VIFM_ISSET(n,m) ((m)&(1<<(n))) |
n | 55 | include/linux/msdos_fs.h | #define IS_FREE(n) (!*(n) || *(const unsigned char *) (n) == DELETED_FLAG || \ |
n | 56 | include/linux/msdos_fs.h | *(const 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 | 166 | include/linux/ppp-comp.h | #define BSD_MAKE_OPT(v, n) (((v) << 5) | (n)) |
n | 449 | include/linux/sbpcd.h | u_int n; |
n | 455 | include/linux/sbpcd.h | u_int n; |
n | 57 | include/linux/sched.h | #define CALC_LOAD(load,exp,n) \ |
n | 59 | include/linux/sched.h | load += n*(FIXED_1-exp); \ |
n | 97 | include/linux/swapctl.h | int n = (resources * AGE_CLUSTER_FRACT) >> 10; |
n | 98 | include/linux/swapctl.h | if (n < AGE_CLUSTER_MIN) |
n | 101 | include/linux/swapctl.h | return n; |
n | 374 | init/main.c | int n = strlen(bootsetups[i].str); |
n | 375 | init/main.c | if (!strncmp(line,bootsetups[i].str,n)) { |
n | 376 | init/main.c | bootsetups[i].setup_func(get_options(line+n,ints), ints); |
n | 467 | init/main.c | int n; |
n | 475 | init/main.c | for (n = 0 ; devnames[n] ; n++) { |
n | 476 | init/main.c | int len = strlen(devnames[n]); |
n | 477 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
n | 478 | init/main.c | ROOT_DEV = to_kdev_t(devnums[n]+ |
n | 487 | init/main.c | int n; |
n | 495 | init/main.c | n = strlen(line) + strlen(NFS_ROOT); |
n | 496 | init/main.c | if (n >= sizeof(nfs_root_name)) |
n | 128 | lib/inflate.c | ush n; /* literal, length base, or distance base */ |
n | 219 | lib/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
n | 220 | lib/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
n | 268 | lib/inflate.c | STATIC int huft_build(b, n, s, d, e, t, m) |
n | 270 | lib/inflate.c | unsigned n; /* number of codes (assumed <= N_MAX) */ |
n | 306 | lib/inflate.c | p = b; i = n; |
n | 308 | lib/inflate.c | Tracecv(*p, (stderr, (n-i >= ' ' && n-i <= '~' ? "%c %d\n" : "0x%x %d\n"), |
n | 309 | lib/inflate.c | n-i, *p)); |
n | 313 | lib/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
n | 364 | lib/inflate.c | } while (++i < n); |
n | 442 | lib/inflate.c | if (p >= v + n) |
n | 447 | lib/inflate.c | r.v.n = (ush)(*p); /* simple code is just the value */ |
n | 453 | lib/inflate.c | r.v.n = d[*p++ - s]; |
n | 514 | lib/inflate.c | unsigned n, d; /* length and index for copy */ |
n | 544 | lib/inflate.c | slide[w++] = (uch)t->v.n; |
n | 560 | lib/inflate.c | n = t->v.n + ((unsigned)b & mask_bits[e]); |
n | 575 | lib/inflate.c | d = w - t->v.n - ((unsigned)b & mask_bits[e]); |
n | 577 | lib/inflate.c | Tracevv((stderr,"\\[%d,%d]", w-d, n)); |
n | 581 | lib/inflate.c | n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); |
n | 600 | lib/inflate.c | } while (n); |
n | 619 | lib/inflate.c | unsigned n; /* number of bytes in block */ |
n | 633 | lib/inflate.c | n = k & 7; |
n | 634 | lib/inflate.c | DUMPBITS(n); |
n | 639 | lib/inflate.c | n = ((unsigned)b & 0xffff); |
n | 642 | lib/inflate.c | if (n != (unsigned)((~b) & 0xffff)) |
n | 648 | lib/inflate.c | while (n--) |
n | 733 | lib/inflate.c | unsigned n; /* number of lengths to get */ |
n | 799 | lib/inflate.c | n = nl + nd; |
n | 802 | lib/inflate.c | while ((unsigned)i < n) |
n | 807 | lib/inflate.c | j = td->v.n; |
n | 815 | lib/inflate.c | if ((unsigned)i + j > n) |
n | 825 | lib/inflate.c | if ((unsigned)i + j > n) |
n | 836 | lib/inflate.c | if ((unsigned)i + j > n) |
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 | 29 | mm/mlock.c | struct vm_area_struct * n; |
n | 31 | mm/mlock.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 32 | mm/mlock.c | if (!n) |
n | 34 | mm/mlock.c | *n = *vma; |
n | 36 | mm/mlock.c | n->vm_end = end; |
n | 37 | mm/mlock.c | vma->vm_offset += vma->vm_start - n->vm_start; |
n | 38 | mm/mlock.c | n->vm_flags = newflags; |
n | 39 | mm/mlock.c | if (n->vm_inode) |
n | 40 | mm/mlock.c | n->vm_inode->i_count++; |
n | 41 | mm/mlock.c | if (n->vm_ops && n->vm_ops->open) |
n | 42 | mm/mlock.c | n->vm_ops->open(n); |
n | 43 | mm/mlock.c | insert_vm_struct(current, n); |
n | 50 | mm/mlock.c | struct vm_area_struct * n; |
n | 52 | mm/mlock.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
n | 53 | mm/mlock.c | if (!n) |
n | 55 | mm/mlock.c | *n = *vma; |
n | 57 | mm/mlock.c | n->vm_start = start; |
n | 58 | mm/mlock.c | n->vm_offset += n->vm_start - vma->vm_start; |
n | 59 | mm/mlock.c | n->vm_flags = newflags; |
n | 60 | mm/mlock.c | if (n->vm_inode) |
n | 61 | mm/mlock.c | n->vm_inode->i_count++; |
n | 62 | mm/mlock.c | if (n->vm_ops && n->vm_ops->open) |
n | 63 | mm/mlock.c | n->vm_ops->open(n); |
n | 64 | mm/mlock.c | insert_vm_struct(current, n); |
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 | 328 | mm/vmalloc.c | int n; |
n | 337 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
n | 339 | mm/vmalloc.c | n -= addr - vaddr; |
n | 340 | 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 | 1232 | net/appletalk/ddp.c | int n; |
n | 1239 | net/appletalk/ddp.c | if (( n = atalk_pick_port( &sat )) < 0 ) |
n | 1240 | net/appletalk/ddp.c | return( n ); |
n | 1241 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=n; |
n | 1285 | net/appletalk/ddp.c | int n = atalk_pick_port(addr); |
n | 1286 | net/appletalk/ddp.c | if(n < 0) |
n | 1287 | net/appletalk/ddp.c | return n; |
n | 1288 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port=n; |
n | 135 | net/ax25/af_ax25.c | int n; |
n | 137 | net/ax25/af_ax25.c | for (n = 0, s = buf; n < 6; n++) |
n | 139 | net/ax25/af_ax25.c | c = (a->ax25_call[n] >> 1) & 0x7F; |
n | 146 | net/ax25/af_ax25.c | if ((n = ((a->ax25_call[6] >> 1) & 0x0F)) > 9) |
n | 149 | net/ax25/af_ax25.c | n -= 10; |
n | 152 | net/ax25/af_ax25.c | *s++ = n + '0'; |
n | 74 | net/ax25/ax25_route.c | int n; |
n | 137 | net/ax25/ax25_route.c | ax25_rt->n++; |
n | 176 | net/ax25/ax25_route.c | ax25_rt->n = 1; |
n | 274 | net/ax25/ax25_route.c | ax25_rt->n = 0; |
n | 386 | net/ax25/ax25_route.c | ax25_rt->n, |
n | 290 | net/ax25/ax25_subr.c | int n, t = 2; |
n | 293 | net/ax25/ax25_subr.c | for (n = 0; n < ax25->n2count; n++) |
n | 760 | net/core/skbuff.c | struct sk_buff *n; |
n | 763 | net/core/skbuff.c | n = kmalloc(sizeof(*n), priority); |
n | 764 | net/core/skbuff.c | if (!n) |
n | 766 | net/core/skbuff.c | memcpy(n, skb, sizeof(*n)); |
n | 767 | net/core/skbuff.c | n->count = 1; |
n | 773 | net/core/skbuff.c | n->data_skb = skb; |
n | 774 | net/core/skbuff.c | n->next = n->prev = n->link3 = NULL; |
n | 775 | net/core/skbuff.c | n->list = NULL; |
n | 776 | net/core/skbuff.c | n->sk = NULL; |
n | 777 | net/core/skbuff.c | n->free = 1; |
n | 778 | net/core/skbuff.c | n->tries = 0; |
n | 779 | net/core/skbuff.c | n->lock = 0; |
n | 780 | net/core/skbuff.c | n->users = 0; |
n | 781 | net/core/skbuff.c | return n; |
n | 790 | net/core/skbuff.c | struct sk_buff *n; |
n | 799 | net/core/skbuff.c | n=alloc_skb(skb->truesize-sizeof(struct sk_buff),priority); |
n | 800 | net/core/skbuff.c | if(n==NULL) |
n | 807 | net/core/skbuff.c | offset=n->head-skb->head; |
n | 810 | net/core/skbuff.c | skb_reserve(n,skb->data-skb->head); |
n | 812 | net/core/skbuff.c | skb_put(n,skb->len); |
n | 814 | net/core/skbuff.c | memcpy(n->head,skb->head,skb->end-skb->head); |
n | 815 | net/core/skbuff.c | n->link3=NULL; |
n | 816 | net/core/skbuff.c | n->list=NULL; |
n | 817 | net/core/skbuff.c | n->sk=NULL; |
n | 818 | net/core/skbuff.c | n->when=skb->when; |
n | 819 | net/core/skbuff.c | n->dev=skb->dev; |
n | 820 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
n | 821 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
n | 822 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
n | 823 | net/core/skbuff.c | n->saddr=skb->saddr; |
n | 824 | net/core/skbuff.c | n->daddr=skb->daddr; |
n | 825 | net/core/skbuff.c | n->raddr=skb->raddr; |
n | 826 | net/core/skbuff.c | n->seq=skb->seq; |
n | 827 | net/core/skbuff.c | n->end_seq=skb->end_seq; |
n | 828 | net/core/skbuff.c | n->ack_seq=skb->ack_seq; |
n | 829 | net/core/skbuff.c | n->acked=skb->acked; |
n | 830 | net/core/skbuff.c | memcpy(n->proto_priv, skb->proto_priv, sizeof(skb->proto_priv)); |
n | 831 | net/core/skbuff.c | n->used=skb->used; |
n | 832 | net/core/skbuff.c | n->free=1; |
n | 833 | net/core/skbuff.c | n->arp=skb->arp; |
n | 834 | net/core/skbuff.c | n->tries=0; |
n | 835 | net/core/skbuff.c | n->lock=0; |
n | 836 | net/core/skbuff.c | n->users=0; |
n | 837 | net/core/skbuff.c | n->pkt_type=skb->pkt_type; |
n | 838 | net/core/skbuff.c | n->stamp=skb->stamp; |
n | 840 | net/core/skbuff.c | IS_SKB(n); |
n | 841 | net/core/skbuff.c | return n; |
n | 858 | net/ipv4/ipmr.c | int n; |
n | 867 | net/ipv4/ipmr.c | for(n=0;n<MAXVIFS;n++) |
n | 868 | net/ipv4/ipmr.c | if(vifc_map&(1<<n) && mfc->mfc_ttls[ct]) |
n | 869 | net/ipv4/ipmr.c | vifmap[n]='X'; |
n | 871 | net/ipv4/ipmr.c | vifmap[n]='-'; |
n | 872 | net/ipv4/ipmr.c | vifmap[n]=0; |
n | 294 | net/netrom/nr_subr.c | int n, t; |
n | 296 | net/netrom/nr_subr.c | for (t = 2, n = 0; n < sk->nr->n2count; n++) |
n | 790 | net/unix/af_unix.c | int n=0; |
n | 794 | net/unix/af_unix.c | n++; |
n | 800 | net/unix/af_unix.c | if(n>=i) |
n | 802 | net/unix/af_unix.c | return i-n; |
n | 42 | scripts/ksymoops.cc | inline int strnequ(char const* x, char const* y, size_t n) { return (::strncmp(x, y, n) == 0); } |
n | 114 | scripts/ksymoops.cc | friend istream& operator >> (istream& is, NameList& n) { return n.scan(is); } |
n | 24 | scripts/lxdialog/textbox.c | static void back_lines (int n); |
n | 317 | scripts/lxdialog/textbox.c | back_lines (int n) |
n | 380 | scripts/lxdialog/textbox.c | for (i = 0; i < n; i++) |