tag | line | file | source code |
x | 56 | arch/alpha/kernel/osf_sys.c | #define ROUND_UP(x) (((x)+3) & ~3) |
x | 12 | arch/alpha/lib/checksum.c | static inline unsigned short from64to16(unsigned long x) |
x | 15 | arch/alpha/lib/checksum.c | x = (x & 0xffffffff) + (x >> 32); |
x | 17 | arch/alpha/lib/checksum.c | x = (x & 0xffff) + (x >> 16); |
x | 19 | arch/alpha/lib/checksum.c | x = (x & 0xffff) + (x >> 16); |
x | 21 | arch/alpha/lib/checksum.c | x = (x & 0xffff) + (x >> 16); |
x | 22 | arch/alpha/lib/checksum.c | return x; |
x | 53 | arch/i386/boot/compressed/misc.c | # define Trace(x) fprintf x |
x | 54 | arch/i386/boot/compressed/misc.c | # define Tracev(x) {if (verbose) fprintf x ;} |
x | 55 | arch/i386/boot/compressed/misc.c | # define Tracevv(x) {if (verbose>1) fprintf x ;} |
x | 56 | arch/i386/boot/compressed/misc.c | # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} |
x | 57 | arch/i386/boot/compressed/misc.c | # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} |
x | 60 | arch/i386/boot/compressed/misc.c | # define Trace(x) |
x | 61 | arch/i386/boot/compressed/misc.c | # define Tracev(x) |
x | 62 | arch/i386/boot/compressed/misc.c | # define Tracevv(x) |
x | 63 | arch/i386/boot/compressed/misc.c | # define Tracec(c,x) |
x | 64 | arch/i386/boot/compressed/misc.c | # define Tracecv(c,x) |
x | 169 | arch/i386/boot/compressed/misc.c | int x,y,pos; |
x | 172 | arch/i386/boot/compressed/misc.c | x = SCREEN_INFO.orig_x; |
x | 177 | arch/i386/boot/compressed/misc.c | x = 0; |
x | 183 | arch/i386/boot/compressed/misc.c | vidmem [ ( x + cols * y ) * 2 ] = c; |
x | 184 | arch/i386/boot/compressed/misc.c | if ( ++x >= cols ) { |
x | 185 | arch/i386/boot/compressed/misc.c | x = 0; |
x | 194 | arch/i386/boot/compressed/misc.c | SCREEN_INFO.orig_x = x; |
x | 197 | arch/i386/boot/compressed/misc.c | pos = (x + cols * y) * 2; /* Update cursor position */ |
x | 260 | arch/i386/boot/compressed/misc.c | static void error(char *x) |
x | 263 | arch/i386/boot/compressed/misc.c | puts(x); |
x | 24 | arch/i386/boot/compressed/xtract.c | #define STRINGIFY(x) #x |
x | 51 | arch/i386/boot/tools/build.c | #define STRINGIFY(x) #x |
x | 11 | arch/i386/kernel/hexify.c | unsigned char x=c; |
x | 49 | arch/i386/kernel/signal.c | #define COPY(x) regs->x = context.x |
x | 50 | arch/i386/kernel/signal.c | #define COPY_SEG(x) \ |
x | 51 | arch/i386/kernel/signal.c | if ((context.x & 0xfffc) && (context.x & 3) != 3) goto badframe; COPY(x); |
x | 52 | arch/i386/kernel/signal.c | #define COPY_SEG_STRICT(x) \ |
x | 53 | arch/i386/kernel/signal.c | if (!(context.x & 0xfffc) || (context.x & 3) != 3) goto badframe; COPY(x); |
x | 91 | arch/i386/kernel/signal.c | #define CODE(x) ((unsigned long *) ((x)+__CODE)) |
x | 87 | arch/i386/kernel/smp.c | #define SMP_PRINTK(x) printk x |
x | 89 | arch/i386/kernel/smp.c | #define SMP_PRINTK(x) |
x | 14 | arch/i386/math-emu/control_w.h | #define _Const_(x) $##x |
x | 16 | arch/i386/math-emu/control_w.h | #define _Const_(x) x |
x | 388 | arch/i386/math-emu/errors.c | FPU_REG const *x; |
x | 393 | arch/i386/math-emu/errors.c | x = a; |
x | 401 | arch/i386/math-emu/errors.c | x = b; |
x | 415 | arch/i386/math-emu/errors.c | x = b; |
x | 422 | arch/i386/math-emu/errors.c | x = &CONST_QNaN; |
x | 428 | arch/i386/math-emu/errors.c | if ( !(x->sigh & 0x80000000) ) /* pseudo-NaN ? */ |
x | 429 | arch/i386/math-emu/errors.c | x = &CONST_QNaN; |
x | 430 | arch/i386/math-emu/errors.c | reg_move(x, dest); |
x | 437 | arch/i386/math-emu/errors.c | if ( !(x->sigh & 0x80000000) ) /* pseudo-NaN ? */ |
x | 438 | arch/i386/math-emu/errors.c | x = &CONST_QNaN; |
x | 439 | arch/i386/math-emu/errors.c | reg_move(x, dest); |
x | 14 | arch/i386/math-emu/exception.h | #define Const_(x) $##x |
x | 16 | arch/i386/math-emu/exception.h | #define Const_(x) x |
x | 45 | arch/i386/math-emu/exception.h | #define EXCEPTION(x) { printk("exception in %s at line %d\n", \ |
x | 46 | arch/i386/math-emu/exception.h | __FILE__, __LINE__); exception(x); } |
x | 48 | arch/i386/math-emu/exception.h | #define EXCEPTION(x) exception(x) |
x | 24 | arch/i386/math-emu/fpu_asm.h | #define SIGN(x) (x) |
x | 25 | arch/i386/math-emu/fpu_asm.h | #define TAG(x) 1(x) |
x | 26 | arch/i386/math-emu/fpu_asm.h | #define EXP(x) 4(x) |
x | 27 | arch/i386/math-emu/fpu_asm.h | #define SIG(x) SIGL_OFFSET##(x) |
x | 28 | arch/i386/math-emu/fpu_asm.h | #define SIGL(x) SIGL_OFFSET##(x) |
x | 29 | arch/i386/math-emu/fpu_asm.h | #define SIGH(x) 12(x) |
x | 33 | arch/i386/math-emu/fpu_emu.h | #define Const(x) $##x |
x | 35 | arch/i386/math-emu/fpu_emu.h | #define Const(x) x |
x | 120 | arch/i386/math-emu/fpu_emu.h | #define st(x) ( regs[((top+x) &7 )] ) |
x | 135 | arch/i386/math-emu/fpu_emu.h | #define reg_move(x, y) { \ |
x | 136 | arch/i386/math-emu/fpu_emu.h | *(short *)&((y)->sign) = *(const short *)&((x)->sign); \ |
x | 137 | arch/i386/math-emu/fpu_emu.h | *(long *)&((y)->exp) = *(const long *)&((x)->exp); \ |
x | 138 | arch/i386/math-emu/fpu_emu.h | *(long long *)&((y)->sigl) = *(const long long *)&((x)->sigl); } |
x | 140 | arch/i386/math-emu/fpu_emu.h | #define significand(x) ( ((unsigned long long *)&((x)->sigl))[0] ) |
x | 146 | arch/i386/math-emu/fpu_emu.h | asmlinkage void normalize(FPU_REG *x); |
x | 147 | arch/i386/math-emu/fpu_emu.h | asmlinkage void normalize_nuo(FPU_REG *x); |
x | 159 | arch/i386/math-emu/fpu_emu.h | asmlinkage unsigned shrx(void *l, unsigned x); |
x | 160 | arch/i386/math-emu/fpu_emu.h | asmlinkage unsigned shrxs(void *v, unsigned x); |
x | 161 | arch/i386/math-emu/fpu_emu.h | asmlinkage unsigned long div_small(unsigned long long *x, unsigned long y); |
x | 24 | arch/i386/math-emu/fpu_system.h | #define SEG_D_SIZE(x) ((x).b & (3 << 21)) |
x | 25 | arch/i386/math-emu/fpu_system.h | #define SEG_G_BIT(x) ((x).b & (1 << 23)) |
x | 26 | arch/i386/math-emu/fpu_system.h | #define SEG_GRANULARITY(x) (((x).b & (1 << 23)) ? 4096 : 1) |
x | 27 | arch/i386/math-emu/fpu_system.h | #define SEG_286_MODE(x) ((x).b & ( 0xff000000 | 0xf0000 | (1 << 23))) |
x | 66 | arch/i386/math-emu/fpu_system.h | #define FPU_verify_area(x,y,z) if ( verify_area(x,y,z) ) \ |
x | 743 | arch/i386/math-emu/fpu_trig.c | unsigned long long x; |
x | 745 | arch/i386/math-emu/fpu_trig.c | x = st0 << n; |
x | 751 | arch/i386/math-emu/fpu_trig.c | :"=m" (x), "=m" (((unsigned *)&x)[1]) |
x | 756 | arch/i386/math-emu/fpu_trig.c | *y = x; |
x | 823 | arch/i386/math-emu/fpu_trig.c | unsigned long long x; |
x | 828 | arch/i386/math-emu/fpu_trig.c | x = significand(st1_ptr) - significand(&tmp); |
x | 830 | arch/i386/math-emu/fpu_trig.c | x = (significand(st1_ptr) << 1) - significand(&tmp); |
x | 831 | arch/i386/math-emu/fpu_trig.c | if ( (x < significand(&tmp)) || |
x | 833 | arch/i386/math-emu/fpu_trig.c | ((x == significand(&tmp)) && (q & 1) ) ) |
x | 836 | arch/i386/math-emu/fpu_trig.c | significand(&tmp) = x; |
x | 44 | arch/i386/math-emu/get_address.c | #define REG_(x) (*(long *)(reg_offset[(x)]+(char *) FPU_info)) |
x | 56 | arch/i386/math-emu/get_address.c | #define VM86_REG_(x) (*(unsigned short *) \ |
x | 57 | arch/i386/math-emu/get_address.c | (reg_offset_vm86[((unsigned)x)]+(char *) FPU_info)) |
x | 69 | arch/i386/math-emu/get_address.c | #define PM_REG_(x) (*(unsigned short *) \ |
x | 70 | arch/i386/math-emu/get_address.c | (reg_offset_pm[((unsigned)x)]+(char *) FPU_info)) |
x | 31 | arch/i386/math-emu/poly.h | asmlinkage void polynomial_Xsig(Xsig *, const unsigned long long *x, |
x | 44 | arch/i386/math-emu/poly.h | #define LL_MSW(x) (((unsigned long *)&x)[1]) |
x | 50 | arch/i386/math-emu/poly.h | #define XSIG_LL(x) (*(unsigned long long *)&x.midw) |
x | 106 | arch/i386/math-emu/poly.h | extern inline void negate_Xsig(Xsig *x) |
x | 113 | arch/i386/math-emu/poly.h | :"=g" (*x):"g" (x):"si","ax","cx"); |
x | 34 | arch/i386/math-emu/poly_l2.c | FPU_REG x; |
x | 43 | arch/i386/math-emu/poly_l2.c | significand(&x) = - significand(arg); |
x | 44 | arch/i386/math-emu/poly_l2.c | x.sign = SIGN_NEG; |
x | 45 | arch/i386/math-emu/poly_l2.c | x.tag = TW_Valid; |
x | 46 | arch/i386/math-emu/poly_l2.c | x.exp = EXP_BIAS-1; |
x | 48 | arch/i386/math-emu/poly_l2.c | normalize(&x); |
x | 53 | arch/i386/math-emu/poly_l2.c | x.sigh = arg->sigh - 0x80000000; |
x | 54 | arch/i386/math-emu/poly_l2.c | x.sigl = arg->sigl; |
x | 55 | arch/i386/math-emu/poly_l2.c | x.sign = SIGN_POS; |
x | 56 | arch/i386/math-emu/poly_l2.c | x.tag = TW_Valid; |
x | 57 | arch/i386/math-emu/poly_l2.c | x.exp = EXP_BIAS; |
x | 58 | arch/i386/math-emu/poly_l2.c | normalize(&x); |
x | 61 | arch/i386/math-emu/poly_l2.c | if ( x.tag == TW_Zero ) |
x | 68 | arch/i386/math-emu/poly_l2.c | log2_kernel(&x, &accumulator, &expon); |
x | 79 | arch/i386/math-emu/poly_l2.c | if ( sign ^ (x.sign == SIGN_NEG) ) |
x | 86 | arch/i386/math-emu/poly_l2.c | sign = x.sign; |
x | 16 | arch/i386/math-emu/status_w.h | #define Const__(x) $##x |
x | 18 | arch/i386/math-emu/status_w.h | #define Const__(x) x |
x | 489 | arch/ppc/kernel/raw_printf.c | #define CATTR(x) (x) /* store color/attributes un-shifted */ |
x | 344 | arch/sparc/kernel/sys_sunos.c | #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) |
x | 204 | drivers/block/floppy.c | static inline int TYPE(kdev_t x) { |
x | 205 | drivers/block/floppy.c | return (MINOR(x)>>2) & 0x1f; |
x | 207 | drivers/block/floppy.c | static inline int DRIVE(kdev_t x) { |
x | 208 | drivers/block/floppy.c | return (MINOR(x)&0x03) | ((MINOR(x)&0x80) >> 5); |
x | 210 | drivers/block/floppy.c | #define ITYPE(x) (((x)>>2) & 0x1f) |
x | 211 | drivers/block/floppy.c | #define TOMINOR(x) ((x & 3) | ((x & 4) << 5)) |
x | 212 | drivers/block/floppy.c | #define UNIT(x) ((x) & 0x03) /* drive on fdc */ |
x | 213 | drivers/block/floppy.c | #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ |
x | 220 | drivers/block/floppy.c | #define CLEARF(x) (clear_bit(x##_BIT, &DRS->flags)) |
x | 221 | drivers/block/floppy.c | #define SETF(x) (set_bit(x##_BIT, &DRS->flags)) |
x | 222 | drivers/block/floppy.c | #define TESTF(x) (test_bit(x##_BIT, &DRS->flags)) |
x | 228 | drivers/block/floppy.c | #define UCLEARF(x) (clear_bit(x##_BIT, &UDRS->flags)) |
x | 229 | drivers/block/floppy.c | #define USETF(x) (set_bit(x##_BIT, &UDRS->flags)) |
x | 230 | drivers/block/floppy.c | #define UTESTF(x) (test_bit(x##_BIT, &UDRS->flags)) |
x | 232 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
x | 234 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
x | 236 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
x | 238 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
x | 243 | drivers/block/floppy.c | #define CLEARSTRUCT(x) memset((x), 0, sizeof(*(x))) |
x | 290 | drivers/block/floppy.c | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
x | 396 | drivers/block/floppy.c | #define NUMBER(x) (sizeof(x) / sizeof(*(x))) |
x | 429 | drivers/block/floppy.c | #define CALL(x) if ((x) == -EINTR) return -EINTR |
x | 430 | drivers/block/floppy.c | #define ECALL(x) if ((ret = (x))) return ret; |
x | 431 | drivers/block/floppy.c | #define _WAIT(x,i) CALL(ret=wait_til_done((x),i)) |
x | 432 | drivers/block/floppy.c | #define WAIT(x) _WAIT((x),interruptible) |
x | 433 | drivers/block/floppy.c | #define IWAIT(x) _WAIT((x),1) |
x | 1048 | drivers/block/floppy.c | #define LAST_OUT(x) if (output_byte(x)){ reset_fdc();return;} |
x | 1966 | drivers/block/floppy.c | #define FM_MODE(x,y) ((y) & ~(((x)->rate & 0x80) >>1)) |
x | 1967 | drivers/block/floppy.c | #define CT(x) ((x) | 0x40) |
x | 2771 | drivers/block/floppy.c | #define COPYOUT(x) ECALL(fd_copyout((void *)param, &(x), sizeof(x))) |
x | 2772 | drivers/block/floppy.c | #define COPYIN(x) ECALL(fd_copyin((void *)param, &(x), sizeof(x))) |
x | 3170 | drivers/block/floppy.c | #define OUT(c,x) case c: outparam = (const char *) (x); break |
x | 3171 | drivers/block/floppy.c | #define IN(c,x,tag) case c: *(x) = inparam. tag ; return 0 |
x | 3417 | drivers/block/floppy.c | #define RETERR(x) do{floppy_release(inode,filp); return -(x);}while(0) |
x | 1528 | drivers/block/ide-cd.c | int bin2bcd (int x) |
x | 1530 | drivers/block/ide-cd.c | return (x%10) | ((x/10) << 4); |
x | 1535 | drivers/block/ide-cd.c | int bcd2bin (int x) |
x | 1537 | drivers/block/ide-cd.c | return (x >> 4) * 10 + (x & 0x0f); |
x | 485 | drivers/block/rd.c | #define Trace(x) |
x | 486 | drivers/block/rd.c | #define Tracev(x) |
x | 487 | drivers/block/rd.c | #define Tracevv(x) |
x | 488 | drivers/block/rd.c | #define Tracec(c,x) |
x | 489 | drivers/block/rd.c | #define Tracecv(c,x) |
x | 561 | drivers/block/rd.c | static void error(char *x) |
x | 563 | drivers/block/rd.c | printk(KERN_ERR "%s", x); |
x | 841 | drivers/cdrom/mcdx.c | unsigned char x; |
x | 852 | drivers/cdrom/mcdx.c | (~(x = inb((unsigned int) stuffp->rreg_status)) & MCDX_RBIT_DTEN))) |
x | 854 | drivers/cdrom/mcdx.c | irq, x, inb((unsigned int) stuffp->rreg_data))); |
x | 857 | drivers/cdrom/mcdx.c | TRACE((IRQ, "irq() irq %d ok, status %02x\n", irq, x)); |
x | 79 | drivers/cdrom/optcd.c | #define DEBUG(x) debug x |
x | 94 | drivers/cdrom/optcd.c | #define DEBUG(x) |
x | 837 | drivers/cdrom/sjcd.c | subchnl.cdsc_ind = bcd2bin( q_info.x ); |
x | 434 | drivers/char/console.c | gotoxy(currcons, x, y); |
x | 457 | drivers/char/console.c | #define set_kbd(x) set_vc_kbd_mode(kbd_table+currcons,x) |
x | 458 | drivers/char/console.c | #define clr_kbd(x) clr_vc_kbd_mode(kbd_table+currcons,x) |
x | 459 | drivers/char/console.c | #define is_kbd(x) vc_kbd_mode(kbd_table+currcons,x) |
x | 493 | drivers/char/console.c | x = 0; |
x | 496 | drivers/char/console.c | x = video_num_columns - 1; |
x | 498 | drivers/char/console.c | x = new_x; |
x | 511 | drivers/char/console.c | pos = origin + y*video_size_row + (x<<1); |
x | 708 | drivers/char/console.c | pos -= x<<1; |
x | 709 | drivers/char/console.c | need_wrap = x = 0; |
x | 714 | drivers/char/console.c | if (x) { |
x | 716 | drivers/char/console.c | x--; |
x | 761 | drivers/char/console.c | count = video_num_columns-x; |
x | 765 | drivers/char/console.c | start = (unsigned short *) (pos - (x<<1)); |
x | 766 | drivers/char/console.c | count = x+1; |
x | 769 | drivers/char/console.c | start = (unsigned short *) (pos - (x<<1)); |
x | 791 | drivers/char/console.c | count = (vpar > video_num_columns-x) ? (video_num_columns-x) : vpar; |
x | 944 | drivers/char/console.c | sprintf(buf, "\033[%ld;%ldR", y + (decom ? top+1 : 1), x+1); |
x | 1044 | drivers/char/console.c | p[0] = x; |
x | 1174 | drivers/char/console.c | unsigned int i = x; |
x | 1195 | drivers/char/console.c | unsigned int i = x; |
x | 1254 | drivers/char/console.c | saved_x = x; |
x | 1471 | drivers/char/console.c | if (x == video_num_columns - 1) |
x | 1474 | drivers/char/console.c | x++; |
x | 1493 | drivers/char/console.c | pos -= (x << 1); |
x | 1494 | drivers/char/console.c | while (x < video_num_columns - 1) { |
x | 1495 | drivers/char/console.c | x++; |
x | 1496 | drivers/char/console.c | if (tab_stop[x >> 5] & (1 << (x & 31))) |
x | 1499 | drivers/char/console.c | pos += (x << 1); |
x | 1555 | drivers/char/console.c | tab_stop[x >> 5] |= (1 << (x & 31)); |
x | 1665 | drivers/char/console.c | gotoxy(currcons,x,y-par[0]); |
x | 1669 | drivers/char/console.c | gotoxy(currcons,x,y+par[0]); |
x | 1673 | drivers/char/console.c | gotoxy(currcons,x+par[0],y); |
x | 1677 | drivers/char/console.c | gotoxy(currcons,x-par[0],y); |
x | 1689 | drivers/char/console.c | gotoxy(currcons,x,par[0]); |
x | 1717 | drivers/char/console.c | tab_stop[x >> 5] &= ~(1 << (x & 31)); |
x | 1890 | drivers/char/console.c | if (x == video_num_columns - 1) { |
x | 1894 | drivers/char/console.c | x++; |
x | 267 | drivers/char/cyclades.c | #define small_delay(x) for(j=0;j<x;j++)k++; |
x | 139 | drivers/char/kbd_kern.h | #define U(x) ((x) ^ 0xf000) |
x | 50 | drivers/char/keyboard.c | #define SIZE(x) (sizeof(x)/sizeof((x)[0])) |
x | 464 | drivers/char/random.c | #define F1(x, y, z) (z ^ (x & (y ^ z))) |
x | 465 | drivers/char/random.c | #define F2(x, y, z) F1(z, x, y) |
x | 466 | drivers/char/random.c | #define F3(x, y, z) (x ^ y ^ z) |
x | 467 | drivers/char/random.c | #define F4(x, y, z) (y ^ (x | ~z)) |
x | 470 | drivers/char/random.c | #define MD5STEP(f, w, x, y, z, data, s) \ |
x | 471 | drivers/char/random.c | ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
x | 2376 | drivers/char/scc.c | #define CAST(x) (unsigned long)(x) |
x | 334 | drivers/char/tga.c | pos = origin + y*video_size_row + (x<<1); |
x | 348 | drivers/char/tga.c | pos = origin + y*video_size_row + (x<<1); |
x | 31 | drivers/char/tty_ioctl.c | # define PRINTK(x) printk (x) |
x | 33 | drivers/char/tty_ioctl.c | # define PRINTK(x) /**/ |
x | 80 | drivers/char/tty_ioctl.c | #define NOSET_MASK(x,y,z) (x = ((x) & ~(z)) | ((y) & (z))) |
x | 233 | drivers/char/vga.c | pos = origin + y*video_size_row + (x<<1); |
x | 278 | drivers/char/vga.c | pos = origin + y*video_size_row + (x<<1); |
x | 137 | drivers/isdn/teles/tei.c | int x = jiffies & 0xffff; |
x | 139 | drivers/isdn/teles/tei.c | return (x); |
x | 349 | drivers/isdn/teles/teles.h | #define DATAPTR(x) ((byte *)x+sizeof(struct BufHeader)) |
x | 336 | drivers/net/arcnet.c | #define BUGLVL(x) if ((ARCNET_DEBUG_MAX)&arcnet_debug&(x)) |
x | 337 | drivers/net/arcnet.c | #define BUGMSG2(x,msg,args...) BUGLVL(x) printk(msg , ## args) |
x | 338 | drivers/net/arcnet.c | #define BUGMSG(x,msg,args...) BUGMSG2(x,"%6s: " msg, dev->name , ## args) |
x | 131 | drivers/net/bsd_comp.c | #define BSD_VERSION(x) ((x) >> 5) |
x | 132 | drivers/net/bsd_comp.c | #define BSD_NBITS(x) ((x) & 0x1F) |
x | 86 | drivers/net/de600.c | #define PRINTK(x) if (de600_debug >= 2) printk x |
x | 89 | drivers/net/de600.c | #define PRINTK(x) /**/ |
x | 168 | drivers/net/de620.c | #define PRINTK(x) if (de620_debug >= 2) printk x |
x | 171 | drivers/net/de620.c | #define PRINTK(x) /**/ |
x | 1505 | drivers/net/depca.c | u_short j, x, chksum; |
x | 1507 | drivers/net/depca.c | x = (((adapter == de100) || (adapter == de101)) ? 1 : 0); |
x | 1513 | drivers/net/depca.c | k += (u_char) (tmp = inb(DEPCA_PROM + x)); |
x | 1515 | drivers/net/depca.c | k += (u_short) ((tmp = inb(DEPCA_PROM + x)) << 8); |
x | 1522 | drivers/net/depca.c | chksum = (u_char) inb(DEPCA_PROM + x); |
x | 1523 | drivers/net/depca.c | chksum |= (u_short) (inb(DEPCA_PROM + x) << 8); |
x | 171 | drivers/net/ibmtr.h | #define SET_PAGE(x) (*(unsigned char *) \ |
x | 173 | drivers/net/ibmtr.h | = (x>>8)&ti.page_mask) |
x | 175 | drivers/net/ibmtr.h | #define SET_PAGE(x) |
x | 159 | drivers/net/ni52.c | #define DELAY(x) __delay((loops_per_sec>>5)*(x)); |
x | 156 | drivers/net/pi2.c | static void rts(struct pi_local *lp, int x); |
x | 998 | drivers/net/pi2.c | static void rts(struct pi_local *lp, int x) |
x | 1009 | drivers/net/pi2.c | if (x == ON) { /* Turn Tx ON and Receive OFF */ |
x | 127 | drivers/net/pt.c | static void pt_rts(struct pt_local *lp, int x); |
x | 638 | drivers/net/pt.c | static void pt_rts(struct pt_local *lp, int x) |
x | 644 | drivers/net/pt.c | printk("PTd pt_rts(): Transmitter status will be %d (%d).\n", x, lp->base & CHANA); |
x | 646 | drivers/net/pt.c | if (x == ON) { |
x | 367 | drivers/net/sk_g16.c | #define PRINTK(x) printk x |
x | 369 | drivers/net/sk_g16.c | #define PRINTK(x) /**/ |
x | 373 | drivers/net/sk_g16.c | #define PRINTK2(x) printk x |
x | 375 | drivers/net/sk_g16.c | #define PRINTK2(x) /**/ |
x | 91 | drivers/net/slhc.c | static unsigned char * put16(unsigned char *cp, unsigned short x); |
x | 184 | drivers/net/slhc.c | put16(unsigned char *cp, unsigned short x) |
x | 186 | drivers/net/slhc.c | *cp++ = x >> 8; |
x | 187 | drivers/net/slhc.c | *cp++ = x; |
x | 222 | drivers/net/slhc.c | register int x; |
x | 224 | drivers/net/slhc.c | x = *(*cpp)++; |
x | 225 | drivers/net/slhc.c | if(x == 0){ |
x | 228 | drivers/net/slhc.c | return x & 0xff; /* -1 if PULLCHAR returned error */ |
x | 495 | drivers/net/slhc.c | long x; |
x | 513 | drivers/net/slhc.c | x = *cp++; /* Read conn index */ |
x | 514 | drivers/net/slhc.c | if(x < 0 || x > comp->rslot_limit) |
x | 518 | drivers/net/slhc.c | comp->recv_current = x; |
x | 532 | drivers/net/slhc.c | if((x = pull16(&cp)) == -1) { /* Read the TCP checksum */ |
x | 535 | drivers/net/slhc.c | thp->check = htons(x); |
x | 564 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
x | 567 | drivers/net/slhc.c | thp->urg_ptr = htons(x); |
x | 571 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
x | 574 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
x | 577 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
x | 580 | drivers/net/slhc.c | thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); |
x | 583 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
x | 586 | drivers/net/slhc.c | thp->seq = htonl( ntohl(thp->seq) + x); |
x | 591 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
x | 594 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
x | 169 | drivers/net/slhc.h | #define __ARGS(x) x |
x | 182 | drivers/net/sunlance.c | #define LANCE_ADDR(x) ((int)(x) & ~0xff000000) |
x | 193 | drivers/net/wavelan.c | unsigned long x; |
x | 198 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 203 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 212 | drivers/net/wavelan.c | unsigned long x; |
x | 217 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 222 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 1220 | drivers/net/wavelan.c | unsigned long x; |
x | 1252 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 1258 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 1292 | drivers/net/wavelan.c | unsigned long x; |
x | 1297 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 1368 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 1819 | drivers/net/wavelan.c | unsigned long x; |
x | 1822 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 1830 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 1839 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 1854 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 2023 | drivers/net/wavelan.c | unsigned long x; |
x | 2036 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 2038 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 2054 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 2056 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 2121 | drivers/net/wavelan.c | unsigned long x; |
x | 2132 | drivers/net/wavelan.c | x = wavelan_splhi(); |
x | 2158 | drivers/net/wavelan.c | wavelan_splx(x); |
x | 616 | drivers/scsi/53c7,8xx.c | #define setup_wrapper(x) \ |
x | 617 | drivers/scsi/53c7,8xx.c | void ncr53c##x##_setup (char *str, int *ints) { \ |
x | 618 | drivers/scsi/53c7,8xx.c | internal_setup (BOARD_GENERIC, x, str, ints); \ |
x | 48 | drivers/scsi/AM53C974.c | #define DEB(x) x |
x | 55 | drivers/scsi/AM53C974.c | #define DEB_INIT(x) x |
x | 57 | drivers/scsi/AM53C974.c | #define DEB_INIT(x) |
x | 60 | drivers/scsi/AM53C974.c | #define DEB_MSG(x) x |
x | 62 | drivers/scsi/AM53C974.c | #define DEB_MSG(x) |
x | 65 | drivers/scsi/AM53C974.c | #define DEB_RESEL(x) x |
x | 67 | drivers/scsi/AM53C974.c | #define DEB_RESEL(x) |
x | 70 | drivers/scsi/AM53C974.c | #define DEB_QUEUE(x) x |
x | 71 | drivers/scsi/AM53C974.c | #define LIST(x,y) {printk("LINE:%d Adding %p to %p\n", __LINE__, (void*)(x), (void*)(y)); if ((x)==(y)) udelay(5); } |
x | 72 | drivers/scsi/AM53C974.c | #define REMOVE(w,x,y,z) {printk("LINE:%d Removing: %p->%p %p->%p \n", __LINE__, (void*)(w), (void*)(x), (void*)(y), (void*)(z)); if ((x)==(y)) udelay(5); } |
x | 74 | drivers/scsi/AM53C974.c | #define DEB_QUEUE(x) |
x | 75 | drivers/scsi/AM53C974.c | #define LIST(x,y) |
x | 76 | drivers/scsi/AM53C974.c | #define REMOVE(w,x,y,z) |
x | 79 | drivers/scsi/AM53C974.c | #define DEB_INFO(x) x |
x | 81 | drivers/scsi/AM53C974.c | #define DEB_INFO(x) |
x | 84 | drivers/scsi/AM53C974.c | #define DEB_LINKED(x) x |
x | 86 | drivers/scsi/AM53C974.c | #define DEB_LINKED(x) |
x | 89 | drivers/scsi/AM53C974.c | #define DEB_INTR(x) x |
x | 91 | drivers/scsi/AM53C974.c | #define DEB_INTR(x) |
x | 94 | drivers/scsi/AM53C974.c | #define DEB_INIT(x) |
x | 95 | drivers/scsi/AM53C974.c | #define DEB(x) |
x | 96 | drivers/scsi/AM53C974.c | #define DEB_QUEUE(x) |
x | 97 | drivers/scsi/AM53C974.c | #define LIST(x,y) |
x | 98 | drivers/scsi/AM53C974.c | #define REMOVE(w,x,y,z) |
x | 99 | drivers/scsi/AM53C974.c | #define DEB_INFO(x) |
x | 100 | drivers/scsi/AM53C974.c | #define DEB_LINKED(x) |
x | 101 | drivers/scsi/AM53C974.c | #define DEB_INTR(x) |
x | 102 | drivers/scsi/AM53C974.c | #define DEB_MSG(x) |
x | 103 | drivers/scsi/AM53C974.c | #define DEB_RESEL(x) |
x | 107 | drivers/scsi/AM53C974.c | #define DEB_ABORT(x) x |
x | 109 | drivers/scsi/AM53C974.c | #define DEB_ABORT(x) |
x | 113 | drivers/scsi/AM53C974.c | #define VDEB(x) x |
x | 115 | drivers/scsi/AM53C974.c | #define VDEB(x) |
x | 118 | drivers/scsi/AM53C974.c | #define INSIDE(x,l,h) ( ((x) >= (l)) && ((x) <= (h)) ) |
x | 298 | drivers/scsi/AM53C974.h | #define AM53C974_write_8(addr,x) outb((x), io_port + (addr)) |
x | 300 | drivers/scsi/AM53C974.h | #define AM53C974_write_16(addr,x) outw((x), io_port + (addr)) |
x | 302 | drivers/scsi/AM53C974.h | #define AM53C974_write_32(addr,x) outl((x), io_port + (addr)) |
x | 328 | drivers/scsi/AM53C974.h | #define AM53C974_PCIREG_WRITE_BYTE(instance,x,a) ( outb((x), (a) + (instance)->io_port) ) |
x | 329 | drivers/scsi/AM53C974.h | #define AM53C974_PCIREG_WRITE_WORD(instance,x,a) ( outw((x), (a) + (instance)->io_port) ) |
x | 330 | drivers/scsi/AM53C974.h | #define AM53C974_PCIREG_WRITE_DWORD(instance,x,a) ( outl((x), (a) + (instance)->io_port) ) |
x | 72 | drivers/scsi/NCR5380.c | #define LIST(x,y) {printk("LINE:%d Adding %p to %p\n", __LINE__, (void*)(x), (void*)(y)); if ((x)==(y)) udelay(5); } |
x | 73 | drivers/scsi/NCR5380.c | #define REMOVE(w,x,y,z) {printk("LINE:%d Removing: %p->%p %p->%p \n", __LINE__, (void*)(w), (void*)(x), (void*)(y), (void*)(z)); if ((x)==(y)) udelay(5); } |
x | 75 | drivers/scsi/NCR5380.c | #define LIST(x,y) |
x | 76 | drivers/scsi/NCR5380.c | #define REMOVE(w,x,y,z) |
x | 92 | drivers/scsi/NCR53c406a.c | #define DEB(x) x |
x | 94 | drivers/scsi/NCR53c406a.c | #define DEB(x) |
x | 98 | drivers/scsi/NCR53c406a.c | #define VDEB(x) x |
x | 100 | drivers/scsi/NCR53c406a.c | #define VDEB(x) |
x | 549 | drivers/scsi/advansys.c | #define HI_BYTE(x) ( *( ( BYTE *)(&x)+1 ) ) |
x | 550 | drivers/scsi/advansys.c | #define LO_BYTE(x) ( *( ( BYTE *)&x ) ) |
x | 552 | drivers/scsi/advansys.c | #define HI_WORD(x) ( *( ( WORD *)(&x)+1 ) ) |
x | 553 | drivers/scsi/advansys.c | #define LO_WORD(x) ( *( ( WORD *)&x ) ) |
x | 665 | drivers/scsi/advansys.c | #define FLIP_BYTE_NIBBLE( x ) ( ((x<<4)& 0xFF) | (x>>4) ) |
x | 843 | drivers/scsi/advansys.c | #define ASC_SRB_HOST( x ) ( ( uchar )( ( uchar )( x ) >> 4 ) ) |
x | 844 | drivers/scsi/advansys.c | #define ASC_SRB_TID( x ) ( ( uchar )( ( uchar )( x ) & ( uchar )0x0F ) ) |
x | 846 | drivers/scsi/advansys.c | #define ASC_SRB_LUN( x ) ( ( uchar )( ( uint )( x ) >> 13 ) ) |
x | 848 | drivers/scsi/advansys.c | #define PUT_CDB1( x ) ( ( uchar )( ( uint )( x ) >> 8 ) ) |
x | 358 | drivers/scsi/aha152x.c | #define ADDMSG(x) (MSG(MSGLEN++)=x) |
x | 46 | drivers/scsi/aha1542.c | #define DEB(x) x |
x | 48 | drivers/scsi/aha1542.c | #define DEB(x) |
x | 53 | drivers/scsi/aha1740.c | #define DEB(x) x |
x | 55 | drivers/scsi/aha1740.c | #define DEB(x) |
x | 20 | drivers/scsi/aha1740.h | #define SLOTBASE(x) ((x << 12)+ 0xc80 ) |
x | 274 | drivers/scsi/aic7xxx.c | #define SLOTBASE(x) ((x) << 12) |
x | 817 | drivers/scsi/aic7xxx.c | # define debug_config(x) |
x | 818 | drivers/scsi/aic7xxx.c | # define debug_scb(x) |
x | 2522 | drivers/scsi/aic7xxx.c | int x; |
x | 2539 | drivers/scsi/aic7xxx.c | for (x = 9; x <= 17; x++) |
x | 2541 | drivers/scsi/aic7xxx.c | if (actual < (1 << x)) |
x | 2543 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
x | 2547 | drivers/scsi/aic7xxx.c | if (x > 17) |
x | 2549 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
x | 162 | drivers/scsi/eata_dma.c | uint x; |
x | 168 | drivers/scsi/eata_dma.c | for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->next) { |
x | 293 | drivers/scsi/eata_dma.c | "sense_key: %#x, result: %#.8x\n", x, |
x | 348 | drivers/scsi/eata_dma.c | unsigned int i, x, y; |
x | 364 | drivers/scsi/eata_dma.c | for (y = hd->last_ccb + 1, x = 0; x < sh->can_queue; x++, y++) { |
x | 373 | drivers/scsi/eata_dma.c | if (x >= sh->can_queue) { |
x | 378 | drivers/scsi/eata_dma.c | queue_counter, int_counter, sh->can_queue, x, y); |
x | 408 | drivers/scsi/eata_dma.c | int x, z; |
x | 411 | drivers/scsi/eata_dma.c | x = 0; /* just to keep GCC quiet */ |
x | 420 | drivers/scsi/eata_dma.c | x = cmd->cmnd[4]/2; |
x | 425 | drivers/scsi/eata_dma.c | x = ntohs(*sho)/2; |
x | 430 | drivers/scsi/eata_dma.c | x = ntohl(*lon)/2; |
x | 434 | drivers/scsi/eata_dma.c | for(z = 0; (x > (1 << z)) && (z <= 11); z++) |
x | 578 | drivers/scsi/eata_dma.c | ushort x, z; |
x | 607 | drivers/scsi/eata_dma.c | for (x = 0; x < MAXCHANNEL; x++) { |
x | 609 | drivers/scsi/eata_dma.c | HD(cmd)->t_state[x][z] = RESET; |
x | 610 | drivers/scsi/eata_dma.c | HD(cmd)->t_timeout[x][z] = NO_TIMEOUT; |
x | 614 | drivers/scsi/eata_dma.c | for (x = 0; x < cmd->host->can_queue; x++) { |
x | 615 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status == FREE) |
x | 618 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status == LOCKED) { |
x | 619 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = FREE; |
x | 620 | drivers/scsi/eata_dma.c | printk("eata_reset: locked slot %d forced free.\n", x); |
x | 624 | drivers/scsi/eata_dma.c | sp = HD(cmd)->ccb[x].cmd; |
x | 625 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = RESET; |
x | 626 | drivers/scsi/eata_dma.c | printk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
x | 630 | drivers/scsi/eata_dma.c | panic("eata_reset: slot %d, sp==NULL.\n", x); |
x | 657 | drivers/scsi/eata_dma.c | for (x = 0; x < cmd->host->can_queue; x++) { |
x | 660 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status != RESET) |
x | 663 | drivers/scsi/eata_dma.c | sp = HD(cmd)->ccb[x].cmd; |
x | 667 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = LOCKED; |
x | 670 | drivers/scsi/eata_dma.c | x, sp->pid); |
x | 855 | drivers/scsi/eata_dma.c | int x; |
x | 1090 | drivers/scsi/eata_dma.c | for(x = 0; x <= 11; x++){ /* Initialize min. latency */ |
x | 1091 | drivers/scsi/eata_dma.c | hd->writes_lat[x][1] = 0xffffffff; |
x | 1092 | drivers/scsi/eata_dma.c | hd->reads_lat[x][1] = 0xffffffff; |
x | 1185 | drivers/scsi/eata_dma.c | u32 error, i, x; |
x | 1253 | drivers/scsi/eata_dma.c | for (x = 0; x < MAXISA; ++x) { |
x | 1254 | drivers/scsi/eata_dma.c | if (ISAbases[x] == base) { |
x | 1255 | drivers/scsi/eata_dma.c | ISAbases[x] = 0; |
x | 56 | drivers/scsi/eata_dma.h | #define DBG(x, y) if ((x)) {y;} |
x | 58 | drivers/scsi/eata_dma.h | #define DBG(x, y) |
x | 89 | drivers/scsi/eata_dma_proc.c | int i, x; |
x | 268 | drivers/scsi/eata_dma_proc.c | for (x = 0; x <= 3; x++) { |
x | 269 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
x | 270 | drivers/scsi/eata_dma_proc.c | mc->banksize[x] & 0x7f, |
x | 271 | drivers/scsi/eata_dma_proc.c | (mc->banksize[x] & 0x80)?"":"out"); |
x | 328 | drivers/scsi/eata_dma_proc.c | for (x = 0; x <= 11; x++) { |
x | 329 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads[x] += rhcs->sizes[x]; |
x | 330 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes[x] += whcs->sizes[x]; |
x | 331 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads[12] += rhcs->sizes[x]; |
x | 332 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes[12] += whcs->sizes[x]; |
x | 338 | drivers/scsi/eata_dma_proc.c | for (x = 0; x <= 10; x++) { |
x | 339 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
x | 340 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads[x], |
x | 341 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes[x]); |
x | 370 | drivers/scsi/eata_dma_proc.c | for (x = 0; x <= 10; x++) { |
x | 372 | drivers/scsi/eata_dma_proc.c | 1 << x, |
x | 373 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads_lat[x][0], |
x | 374 | drivers/scsi/eata_dma_proc.c | (SD(HBA_ptr)->reads_lat[x][1] == 0xffffffff) |
x | 375 | drivers/scsi/eata_dma_proc.c | ? 0:(SD(HBA_ptr)->reads_lat[x][1] * 10), |
x | 376 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads_lat[x][2] * 10, |
x | 377 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->reads_lat[x][3] * 10 / |
x | 378 | drivers/scsi/eata_dma_proc.c | ((SD(HBA_ptr)->reads_lat[x][0]) |
x | 379 | drivers/scsi/eata_dma_proc.c | ? SD(HBA_ptr)->reads_lat[x][0]:1)); |
x | 389 | drivers/scsi/eata_dma_proc.c | ((SD(HBA_ptr)->reads_lat[x][0]) |
x | 390 | drivers/scsi/eata_dma_proc.c | ? SD(HBA_ptr)->reads_lat[x][0]:1)); |
x | 405 | drivers/scsi/eata_dma_proc.c | for (x = 0; x <= 10; x++) { |
x | 407 | drivers/scsi/eata_dma_proc.c | 1 << x, |
x | 408 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes_lat[x][0], |
x | 409 | drivers/scsi/eata_dma_proc.c | (SD(HBA_ptr)->writes_lat[x][1] == 0xffffffff) |
x | 410 | drivers/scsi/eata_dma_proc.c | ? 0:(SD(HBA_ptr)->writes_lat[x][1] * 10), |
x | 411 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes_lat[x][2] * 10, |
x | 412 | drivers/scsi/eata_dma_proc.c | SD(HBA_ptr)->writes_lat[x][3] * 10 / |
x | 413 | drivers/scsi/eata_dma_proc.c | ((SD(HBA_ptr)->writes_lat[x][0]) |
x | 414 | drivers/scsi/eata_dma_proc.c | ? SD(HBA_ptr)->writes_lat[x][0]:1)); |
x | 421 | drivers/scsi/eata_dma_proc.c | ? 0:(SD(HBA_ptr)->writes_lat[x][1] * 10), |
x | 424 | drivers/scsi/eata_dma_proc.c | ((SD(HBA_ptr)->writes_lat[x][0]) |
x | 425 | drivers/scsi/eata_dma_proc.c | ? SD(HBA_ptr)->writes_lat[x][0]:1)); |
x | 96 | drivers/scsi/eata_generic.h | #define DELAY(x) { __u32 i; i = jiffies + (x * HZ); while (jiffies < i) barrier(); } |
x | 97 | drivers/scsi/eata_generic.h | #define DEL2(x) { __u32 i; for (i = 0; i < 0xffff * x; i++); } |
x | 135 | drivers/scsi/eata_pio.c | uint x,z; |
x | 143 | drivers/scsi/eata_pio.c | for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->prev) { |
x | 172 | drivers/scsi/eata_pio.c | x=min(z,cmd->SCp.this_residual/2); |
x | 173 | drivers/scsi/eata_pio.c | insw(base+HA_RDATA,cmd->SCp.ptr,x); |
x | 174 | drivers/scsi/eata_pio.c | z-=x; |
x | 175 | drivers/scsi/eata_pio.c | IncStat(&cmd->SCp,2*x); |
x | 202 | drivers/scsi/eata_pio.c | x=min(z,cmd->SCp.this_residual/2); |
x | 203 | drivers/scsi/eata_pio.c | outsw(base+HA_RDATA,cmd->SCp.ptr,x); |
x | 204 | drivers/scsi/eata_pio.c | z-=x; |
x | 205 | drivers/scsi/eata_pio.c | IncStat(&cmd->SCp,2*x); |
x | 281 | drivers/scsi/eata_pio.c | uint x, y; |
x | 300 | drivers/scsi/eata_pio.c | y = x = 0; |
x | 304 | drivers/scsi/eata_pio.c | DBG(DBG_QUEUE, printk("can_queue %d, x %d, y %d\n",sh->can_queue,x,y)); |
x | 391 | drivers/scsi/eata_pio.c | for (x = 0; x < hd->cppadlen; x++) outw(0, base + HA_RDATA); |
x | 451 | drivers/scsi/eata_pio.c | uint x, z, time, limit = 0; |
x | 477 | drivers/scsi/eata_pio.c | for (x = 0; x < cmd->host->can_queue; x++) { |
x | 479 | drivers/scsi/eata_pio.c | if (HD(cmd)->ccb[x].status == FREE) |
x | 482 | drivers/scsi/eata_pio.c | sp = HD(cmd)->ccb[x].cmd; |
x | 483 | drivers/scsi/eata_pio.c | HD(cmd)->ccb[x].status = RESET; |
x | 484 | drivers/scsi/eata_pio.c | printk("eata_pio_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
x | 488 | drivers/scsi/eata_pio.c | panic("eata_pio_reset: slot %d, sp==NULL.\n", x); |
x | 504 | drivers/scsi/eata_pio.c | for (x = 0; x < cmd->host->can_queue; x++) { |
x | 507 | drivers/scsi/eata_pio.c | if (HD(cmd)->ccb[x].status != RESET) |
x | 510 | drivers/scsi/eata_pio.c | sp = HD(cmd)->ccb[x].cmd; |
x | 514 | drivers/scsi/eata_pio.c | printk("eata_pio_reset: resetted ccb %d.\n",x); |
x | 515 | drivers/scsi/eata_pio.c | HD(cmd)->ccb[x].status = FREE; |
x | 887 | drivers/scsi/eata_pio.c | u32 error, i, x; |
x | 946 | drivers/scsi/eata_pio.c | for (x = 0; x < MAXISA; ++x) { |
x | 947 | drivers/scsi/eata_pio.c | if (ISAbases[x] == base) { |
x | 948 | drivers/scsi/eata_pio.c | ISAbases[x] = 0; |
x | 953 | drivers/scsi/eata_pio.c | x = (base >> 12) & 0x0f; |
x | 954 | drivers/scsi/eata_pio.c | EISAbases[x] = 0; |
x | 56 | drivers/scsi/eata_pio.h | #define DBG(x, y) if ((x)) {y;} |
x | 58 | drivers/scsi/eata_pio.h | #define DBG(x, y) |
x | 85 | drivers/scsi/g_NCR5380.h | #define __STRVAL(x) #x |
x | 86 | drivers/scsi/g_NCR5380.h | #define STRVAL(x) __STRVAL(x) |
x | 87 | drivers/scsi/in2000.c | #define DEB(x) x |
x | 89 | drivers/scsi/in2000.c | #define DEB(x) |
x | 179 | drivers/scsi/qlogic.c | int x; |
x | 183 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
x | 187 | drivers/scsi/qlogic.c | if (x & 0x80) |
x | 71 | drivers/scsi/scsi_debug.c | #define DEB(x) x |
x | 73 | drivers/scsi/scsi_debug.c | #define DEB(x) |
x | 259 | drivers/scsi/scsi_proc.c | int x, y = *size; |
x | 264 | drivers/scsi/scsi_proc.c | for (x = 0; x < 8; x++) { |
x | 265 | drivers/scsi/scsi_proc.c | if (scd->vendor[x] >= 0x20) |
x | 266 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->vendor[x]); |
x | 271 | drivers/scsi/scsi_proc.c | for (x = 0; x < 16; x++) { |
x | 272 | drivers/scsi/scsi_proc.c | if (scd->model[x] >= 0x20) |
x | 273 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->model[x]); |
x | 278 | drivers/scsi/scsi_proc.c | for (x = 0; x < 4; x++) { |
x | 279 | drivers/scsi/scsi_proc.c | if (scd->rev[x] >= 0x20) |
x | 280 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->rev[x]); |
x | 77 | drivers/scsi/st.c | #define TAPE_NR(x) (MINOR(x) & 127) |
x | 167 | drivers/scsi/ultrastor.c | #define ALIGNED(x) __attribute__((aligned(x))) |
x | 134 | drivers/sound/ad1848.c | int x; |
x | 143 | drivers/sound/ad1848.c | x = inb (io_Indexed_Data (devc)); |
x | 147 | drivers/sound/ad1848.c | return x; |
x | 1486 | drivers/sound/ad1848.c | int x; |
x | 1495 | drivers/sound/ad1848.c | for (x = 0; x < 100000 && devc->timer_ticks == 0; x++); |
x | 41 | drivers/sound/configure.c | #define B(x) (1 << (x)) |
x | 55 | drivers/sound/gus_vol.c | int i, m, n, x; |
x | 63 | drivers/sound/gus_vol.c | x = 256 + 6 * (voicev - 64); |
x | 75 | drivers/sound/gus_vol.c | x = vel * xpn * 6 + (voicev / 4) * x; |
x | 82 | drivers/sound/gus_vol.c | x = (x * GUS_VOLUME * GUS_VOLUME) / 10000; |
x | 91 | drivers/sound/gus_vol.c | x = (x * mainv * mainv) / 16384; |
x | 94 | drivers/sound/gus_vol.c | if (x < 2) |
x | 96 | drivers/sound/gus_vol.c | else if (x >= 65535) |
x | 103 | drivers/sound/gus_vol.c | n = x; |
x | 120 | drivers/sound/gus_vol.c | m = x - (1 << i); |
x | 109 | drivers/sound/mad16.c | #define DDB(x) |
x | 66 | drivers/sound/midi_synth.c | #define _SEQ_ADVBUF(x) len=x |
x | 183 | drivers/sound/mpu401.c | #define _SEQ_ADVBUF(x) len=x |
x | 134 | drivers/sound/pas2_midi.c | int fifo_space, x; |
x | 136 | drivers/sound/pas2_midi.c | fifo_space = ((x = pas_read (MIDI_FIFO_STATUS)) >> 4) & 0x0f; |
x | 39 | drivers/sound/pss.c | #define REG(x) (devc->base+x) |
x | 32 | drivers/sound/sb16_dsp.c | #define DEB(x) |
x | 33 | drivers/sound/sb16_dsp.c | #define DEB1(x) |
x | 1187 | drivers/sound/sb_dsp.c | int x; |
x | 1193 | drivers/sound/sb_dsp.c | for (x = 0; x < 1000; ++x) /* wait 10 milliseconds */ |
x | 184 | drivers/sound/sound_config.h | #define DEB(x) |
x | 188 | drivers/sound/sound_config.h | #define DDB(x) |
x | 862 | fs/binfmt_elf.c | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) |
x | 501 | fs/ext2/balloc.c | unsigned long desc_count, bitmap_count, x; |
x | 515 | fs/ext2/balloc.c | x = ext2_count_free (sb->u.ext2_sb.s_block_bitmap[bitmap_nr], |
x | 518 | fs/ext2/balloc.c | i, gdp->bg_free_blocks_count, x); |
x | 519 | fs/ext2/balloc.c | bitmap_count += x; |
x | 542 | fs/ext2/balloc.c | unsigned long desc_count, bitmap_count, x; |
x | 587 | fs/ext2/balloc.c | x = ext2_count_free (bh, sb->s_blocksize); |
x | 588 | fs/ext2/balloc.c | if (gdp->bg_free_blocks_count != x) |
x | 592 | fs/ext2/balloc.c | gdp->bg_free_blocks_count, x); |
x | 593 | fs/ext2/balloc.c | bitmap_count += x; |
x | 509 | fs/ext2/ialloc.c | unsigned long desc_count, bitmap_count, x; |
x | 523 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
x | 526 | fs/ext2/ialloc.c | i, gdp->bg_free_inodes_count, x); |
x | 527 | fs/ext2/ialloc.c | bitmap_count += x; |
x | 541 | fs/ext2/ialloc.c | unsigned long desc_count, bitmap_count, x; |
x | 555 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
x | 557 | fs/ext2/ialloc.c | if (gdp->bg_free_inodes_count != x) |
x | 561 | fs/ext2/ialloc.c | gdp->bg_free_inodes_count, x); |
x | 562 | fs/ext2/ialloc.c | bitmap_count += x; |
x | 27 | fs/fat/file.c | #define PRINTK(x) |
x | 28 | fs/fat/file.c | #define Printk(x) printk x |
x | 17 | fs/fat/misc.c | #define PRINTK(x) |
x | 18 | fs/fat/misc.c | #define Printk(x) printk x |
x | 123 | fs/hpfs/hpfs_fs.c | #define little_ushort(x) (*(unsigned short *) &(x)) |
x | 22 | fs/msdos/namei.c | #define PRINTK(x) |
x | 21 | fs/namei.c | #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE]) |
x | 22 | fs/ncpfs/ncplib_kernel.c | ncp_add_byte(struct ncp_server *server, byte x) |
x | 25 | fs/ncpfs/ncplib_kernel.c | *(byte *)(&(server->packet[server->current_size])) = x; |
x | 31 | fs/ncpfs/ncplib_kernel.c | ncp_add_word(struct ncp_server *server, word x) |
x | 34 | fs/ncpfs/ncplib_kernel.c | *(word *)(&(server->packet[server->current_size])) = x; |
x | 40 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(struct ncp_server *server, dword x) |
x | 43 | fs/ncpfs/ncplib_kernel.c | *(dword *)(&(server->packet[server->current_size])) = x; |
x | 42 | fs/nfs/rpcsock.c | #define dprintk(x) printk(x) |
x | 44 | fs/nfs/rpcsock.c | #define dprintk(x) |
x | 54 | fs/proc/array.c | #define LOAD_INT(x) ((x) >> FSHIFT) |
x | 55 | fs/proc/array.c | #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) |
x | 25 | fs/readdir.c | #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) |
x | 28 | fs/select.c | #define ROUND_UP(x,y) (((x)+(y)-1)/(y)) |
x | 19 | fs/smbfs/dir.c | #define ROUND_UP(x) (((x)+3) & ~3) |
x | 22 | fs/umsdos/dir.c | #define PRINTK(x) |
x | 23 | fs/umsdos/dir.c | #define Printk(x) printk x |
x | 20 | fs/umsdos/emd.c | #define PRINTK(x) |
x | 21 | fs/umsdos/emd.c | #define Printk(x) printk x |
x | 22 | fs/umsdos/file.c | #define PRINTK(x) |
x | 23 | fs/umsdos/file.c | #define Printk(x) printk x |
x | 35 | fs/umsdos/inode.c | #define PRINTK(x) |
x | 36 | fs/umsdos/inode.c | #define Printk(x) printk x |
x | 18 | fs/umsdos/ioctl.c | #define PRINTK(x) |
x | 19 | fs/umsdos/ioctl.c | #define Printk(x) printk x |
x | 21 | fs/umsdos/namei.c | #define PRINTK(x) |
x | 22 | fs/umsdos/namei.c | #define Printk(x) printk x |
x | 21 | fs/umsdos/rdir.c | #define PRINTK(x) |
x | 22 | fs/umsdos/rdir.c | #define Printk(x) printk x |
x | 22 | fs/umsdos/symlink.c | #define PRINTK(x) |
x | 23 | fs/umsdos/symlink.c | #define Printk(x) printk x |
x | 25 | fs/vfat/namei.c | #define PRINTK(x) printk x |
x | 27 | fs/vfat/namei.c | #define PRINTK(x) |
x | 24 | fs/xiafs/namei.c | #define RNDUP4(x) ((3+(u_long)(x)) & ~3) |
x | 76 | include/asm-alpha/a.out.h | #define N_TXTADDR(x) ((x).a_textstart) |
x | 77 | include/asm-alpha/a.out.h | #define N_DATADDR(x) ((x).a_datastart) |
x | 78 | include/asm-alpha/a.out.h | #define N_BSSADDR(x) ((x).a_bssstart) |
x | 79 | include/asm-alpha/a.out.h | #define N_DRSIZE(x) 0 |
x | 80 | include/asm-alpha/a.out.h | #define N_TRSIZE(x) 0 |
x | 81 | include/asm-alpha/a.out.h | #define N_SYMSIZE(x) 0 |
x | 87 | include/asm-alpha/a.out.h | #define N_TXTOFF(x) \ |
x | 88 | include/asm-alpha/a.out.h | ((long) N_MAGIC(x) == ZMAGIC ? 0 : \ |
x | 89 | include/asm-alpha/a.out.h | (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1)) |
x | 343 | include/asm-alpha/alcor.h | #define outb(x, port) \ |
x | 344 | include/asm-alpha/alcor.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
x | 403 | include/asm-alpha/alcor.h | #define RTC_PORT(x) (0x70 + (x)) |
x | 404 | include/asm-alpha/alcor.h | #define RTC_ADDR(x) (0x80 | (x)) |
x | 320 | include/asm-alpha/apecs.h | #define outb(x, port) \ |
x | 321 | include/asm-alpha/apecs.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
x | 380 | include/asm-alpha/apecs.h | #define RTC_PORT(x) (0x70 + (x)) |
x | 381 | include/asm-alpha/apecs.h | #define RTC_ADDR(x) (0x80 | (x)) |
x | 35 | include/asm-alpha/byteorder.h | __ntohl(unsigned long int x) |
x | 52 | include/asm-alpha/byteorder.h | : "0" (x & 0xffffffffUL)); |
x | 56 | include/asm-alpha/byteorder.h | #define __constant_ntohl(x) \ |
x | 57 | include/asm-alpha/byteorder.h | ((unsigned long int)((((x) & 0x000000ffUL) << 24) | \ |
x | 58 | include/asm-alpha/byteorder.h | (((x) & 0x0000ff00UL) << 8) | \ |
x | 59 | include/asm-alpha/byteorder.h | (((x) & 0x00ff0000UL) >> 8) | \ |
x | 60 | include/asm-alpha/byteorder.h | (((x) & 0xff000000UL) >> 24))) |
x | 63 | include/asm-alpha/byteorder.h | __ntohs(unsigned short int x) |
x | 73 | include/asm-alpha/byteorder.h | : "r="(res), "r="(t1) : "r"(x)); |
x | 77 | include/asm-alpha/byteorder.h | #define __constant_ntohs(x) \ |
x | 78 | include/asm-alpha/byteorder.h | ((unsigned short int)((((unsigned short int)(x) & 0x00ff) << 8) | \ |
x | 79 | include/asm-alpha/byteorder.h | (((unsigned short int)(x) & 0xff00) >> 8))) |
x | 81 | include/asm-alpha/byteorder.h | #define __htonl(x) __ntohl(x) |
x | 82 | include/asm-alpha/byteorder.h | #define __htons(x) __ntohs(x) |
x | 83 | include/asm-alpha/byteorder.h | #define __constant_htonl(x) __constant_ntohl(x) |
x | 84 | include/asm-alpha/byteorder.h | #define __constant_htons(x) __constant_ntohs(x) |
x | 87 | include/asm-alpha/byteorder.h | # define ntohl(x) \ |
x | 88 | include/asm-alpha/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 89 | include/asm-alpha/byteorder.h | __constant_ntohl((x)) : \ |
x | 90 | include/asm-alpha/byteorder.h | __ntohl((x))) |
x | 91 | include/asm-alpha/byteorder.h | # define ntohs(x) \ |
x | 92 | include/asm-alpha/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 93 | include/asm-alpha/byteorder.h | __constant_ntohs((x)) : \ |
x | 94 | include/asm-alpha/byteorder.h | __ntohs((x))) |
x | 95 | include/asm-alpha/byteorder.h | # define htonl(x) \ |
x | 96 | include/asm-alpha/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 97 | include/asm-alpha/byteorder.h | __constant_htonl((x)) : \ |
x | 98 | include/asm-alpha/byteorder.h | __htonl((x))) |
x | 99 | include/asm-alpha/byteorder.h | # define htons(x) \ |
x | 100 | include/asm-alpha/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 101 | include/asm-alpha/byteorder.h | __constant_htons((x)) : \ |
x | 102 | include/asm-alpha/byteorder.h | __htons((x))) |
x | 45 | include/asm-alpha/console.h | #define puts(x,l) dispatch(CCB_PUTS,0,x,l) |
x | 25 | include/asm-alpha/irq.h | #define __STR(x) #x |
x | 26 | include/asm-alpha/irq.h | #define STR(x) __STR(x) |
x | 259 | include/asm-alpha/jensen.h | #define outb(x, port) \ |
x | 260 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
x | 269 | include/asm-alpha/jensen.h | #define RTC_PORT(x) (0x170+(x)) |
x | 270 | include/asm-alpha/jensen.h | #define RTC_ADDR(x) (x) |
x | 302 | include/asm-alpha/lca.h | #define outb(x, port) \ |
x | 303 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
x | 354 | include/asm-alpha/lca.h | #define RTC_PORT(x) (0x70 + (x)) |
x | 355 | include/asm-alpha/lca.h | #define RTC_ADDR(x) (0x80 | (x)) |
x | 22 | include/asm-alpha/page.h | #define pte_val(x) ((x).pte) |
x | 23 | include/asm-alpha/page.h | #define pmd_val(x) ((x).pmd) |
x | 24 | include/asm-alpha/page.h | #define pgd_val(x) ((x).pgd) |
x | 25 | include/asm-alpha/page.h | #define pgprot_val(x) ((x).pgprot) |
x | 27 | include/asm-alpha/page.h | #define __pte(x) ((pte_t) { (x) } ) |
x | 28 | include/asm-alpha/page.h | #define __pgd(x) ((pgd_t) { (x) } ) |
x | 29 | include/asm-alpha/page.h | #define __pgprot(x) ((pgprot_t) { (x) } ) |
x | 40 | include/asm-alpha/page.h | #define pte_val(x) (x) |
x | 41 | include/asm-alpha/page.h | #define pmd_val(x) (x) |
x | 42 | include/asm-alpha/page.h | #define pgd_val(x) (x) |
x | 43 | include/asm-alpha/page.h | #define pgprot_val(x) (x) |
x | 45 | include/asm-alpha/page.h | #define __pte(x) (x) |
x | 46 | include/asm-alpha/page.h | #define __pgd(x) (x) |
x | 47 | include/asm-alpha/page.h | #define __pgprot(x) (x) |
x | 104 | include/asm-alpha/pgtable.h | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
x | 152 | include/asm-alpha/pgtable.h | #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x)) |
x | 154 | include/asm-alpha/pgtable.h | #define _PAGE_P(x) _PAGE_NORMAL((x) | (((x) & _PAGE_FOW)?0:_PAGE_FOW)) |
x | 155 | include/asm-alpha/pgtable.h | #define _PAGE_S(x) _PAGE_NORMAL(x) |
x | 21 | include/asm-alpha/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
x | 32 | include/asm-alpha/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
x | 37 | include/asm-alpha/segment.h | *(char *) y = x; |
x | 40 | include/asm-alpha/segment.h | *(short *) y = x; |
x | 43 | include/asm-alpha/segment.h | *(int *) y = x; |
x | 46 | include/asm-alpha/segment.h | *(long *) y = x; |
x | 85 | include/asm-alpha/segment.h | #define put_fs_byte(x,addr) put_user((x),(char *)(addr)) |
x | 86 | include/asm-alpha/segment.h | #define put_fs_word(x,addr) put_user((x),(short *)(addr)) |
x | 87 | include/asm-alpha/segment.h | #define put_fs_long(x,addr) put_user((x),(int *)(addr)) |
x | 88 | include/asm-alpha/segment.h | #define put_fs_quad(x,addr) put_user((x),(long *)(addr)) |
x | 107 | include/asm-alpha/system.h | #define tbisi(x) tbi(1,(x)) |
x | 108 | include/asm-alpha/system.h | #define tbisd(x) tbi(2,(x)) |
x | 109 | include/asm-alpha/system.h | #define tbis(x) tbi(3,(x)) |
x | 151 | include/asm-alpha/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
x | 164 | include/asm-alpha/system.h | static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
x | 168 | include/asm-alpha/system.h | return xchg_u32(ptr, x); |
x | 170 | include/asm-alpha/system.h | return xchg_u64(ptr, x); |
x | 173 | include/asm-alpha/system.h | return x; |
x | 347 | include/asm-alpha/termios.h | #define SET_LOW_BITS(x,y) ((x) = (0xffff0000 & (x)) | (y)) |
x | 259 | include/asm-alpha/unistd.h | #define exit(x) _exit(x) |
x | 46 | include/asm-i386/bugs.h | static double x = 4195835.0; |
x | 93 | include/asm-i386/bugs.h | : "m" (*&x), "m" (*&y)); |
x | 33 | include/asm-i386/byteorder.h | __ntohl(unsigned long int x) |
x | 36 | include/asm-i386/byteorder.h | __asm__("bswap %0" : "=r" (x) : "0" (x)); |
x | 41 | include/asm-i386/byteorder.h | :"=q" (x) |
x | 42 | include/asm-i386/byteorder.h | : "0" (x)); |
x | 44 | include/asm-i386/byteorder.h | return x; |
x | 47 | include/asm-i386/byteorder.h | #define __constant_ntohl(x) \ |
x | 48 | include/asm-i386/byteorder.h | ((unsigned long int)((((unsigned long int)(x) & 0x000000ffU) << 24) | \ |
x | 49 | include/asm-i386/byteorder.h | (((unsigned long int)(x) & 0x0000ff00U) << 8) | \ |
x | 50 | include/asm-i386/byteorder.h | (((unsigned long int)(x) & 0x00ff0000U) >> 8) | \ |
x | 51 | include/asm-i386/byteorder.h | (((unsigned long int)(x) & 0xff000000U) >> 24))) |
x | 54 | include/asm-i386/byteorder.h | __ntohs(unsigned short int x) |
x | 57 | include/asm-i386/byteorder.h | : "=q" (x) |
x | 58 | include/asm-i386/byteorder.h | : "0" (x)); |
x | 59 | include/asm-i386/byteorder.h | return x; |
x | 62 | include/asm-i386/byteorder.h | #define __constant_ntohs(x) \ |
x | 63 | include/asm-i386/byteorder.h | ((unsigned short int)((((unsigned short int)(x) & 0x00ff) << 8) | \ |
x | 64 | include/asm-i386/byteorder.h | (((unsigned short int)(x) & 0xff00) >> 8))) \ |
x | 66 | include/asm-i386/byteorder.h | #define __htonl(x) __ntohl(x) |
x | 67 | include/asm-i386/byteorder.h | #define __htons(x) __ntohs(x) |
x | 68 | include/asm-i386/byteorder.h | #define __constant_htonl(x) __constant_ntohl(x) |
x | 69 | include/asm-i386/byteorder.h | #define __constant_htons(x) __constant_ntohs(x) |
x | 72 | include/asm-i386/byteorder.h | # define ntohl(x) \ |
x | 73 | include/asm-i386/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 74 | include/asm-i386/byteorder.h | __constant_ntohl((x)) : \ |
x | 75 | include/asm-i386/byteorder.h | __ntohl((x))) |
x | 76 | include/asm-i386/byteorder.h | # define ntohs(x) \ |
x | 77 | include/asm-i386/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 78 | include/asm-i386/byteorder.h | __constant_ntohs((x)) : \ |
x | 79 | include/asm-i386/byteorder.h | __ntohs((x))) |
x | 80 | include/asm-i386/byteorder.h | # define htonl(x) \ |
x | 81 | include/asm-i386/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 82 | include/asm-i386/byteorder.h | __constant_htonl((x)) : \ |
x | 83 | include/asm-i386/byteorder.h | __htonl((x))) |
x | 84 | include/asm-i386/byteorder.h | # define htons(x) \ |
x | 85 | include/asm-i386/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 86 | include/asm-i386/byteorder.h | __constant_htons((x)) : \ |
x | 87 | include/asm-i386/byteorder.h | __htons((x))) |
x | 11 | include/asm-i386/i82489.h | #define GET_APIC_ID(x) (((x)>>24)&0x0F) |
x | 21 | include/asm-i386/i82489.h | #define GET_APIC_LOGICAL_ID(x) (((x)>>24)&0xFF) |
x | 23 | include/asm-i386/i82489.h | #define GET_APIC_DFR(x) (((x)>>28)&0x0F) |
x | 24 | include/asm-i386/i82489.h | #define SET_APIC_DFR(x) ((x)<<28) |
x | 59 | include/asm-i386/i82489.h | #define GET_APIC_DEST_FIELD(x) (((x)>>24)&0xFF) |
x | 60 | include/asm-i386/i82489.h | #define SET_APIC_DEST_FIELD(x) ((x)<<24) |
x | 69 | include/asm-i386/i82489.h | #define GET_APIC_DELIVERY_MODE(x) (((x)>>8)&0x7) |
x | 70 | include/asm-i386/i82489.h | #define SET_APIC_DELIVERY_MODE(x,y) (((x)&~0x700)|((y)<<8)) |
x | 90 | include/asm-i386/io.h | #define __OUT1(s,x) \ |
x | 91 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
x | 96 | include/asm-i386/io.h | #define __OUT(s,s1,x) \ |
x | 97 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
x | 98 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ |
x | 99 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
x | 100 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } |
x | 20 | include/asm-i386/irq.h | #define __STR(x) #x |
x | 21 | include/asm-i386/irq.h | #define STR(x) __STR(x) |
x | 7 | include/asm-i386/mmu_context.h | #define get_mmu_context(x) do { } while (0) |
x | 22 | include/asm-i386/page.h | #define pte_val(x) ((x).pte) |
x | 23 | include/asm-i386/page.h | #define pmd_val(x) ((x).pmd) |
x | 24 | include/asm-i386/page.h | #define pgd_val(x) ((x).pgd) |
x | 25 | include/asm-i386/page.h | #define pgprot_val(x) ((x).pgprot) |
x | 27 | include/asm-i386/page.h | #define __pte(x) ((pte_t) { (x) } ) |
x | 28 | include/asm-i386/page.h | #define __pmd(x) ((pmd_t) { (x) } ) |
x | 29 | include/asm-i386/page.h | #define __pgd(x) ((pgd_t) { (x) } ) |
x | 30 | include/asm-i386/page.h | #define __pgprot(x) ((pgprot_t) { (x) } ) |
x | 41 | include/asm-i386/page.h | #define pte_val(x) (x) |
x | 42 | include/asm-i386/page.h | #define pmd_val(x) (x) |
x | 43 | include/asm-i386/page.h | #define pgd_val(x) (x) |
x | 44 | include/asm-i386/page.h | #define pgprot_val(x) (x) |
x | 46 | include/asm-i386/page.h | #define __pte(x) (x) |
x | 47 | include/asm-i386/page.h | #define __pmd(x) (x) |
x | 48 | include/asm-i386/page.h | #define __pgd(x) (x) |
x | 49 | include/asm-i386/page.h | #define __pgprot(x) (x) |
x | 193 | include/asm-i386/pgtable.h | #define VMALLOC_VMADDR(x) (TASK_SIZE + (unsigned long)(x)) |
x | 17 | include/asm-i386/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
x | 32 | include/asm-i386/segment.h | #define __sd(x) ((struct __segment_dummy *) (x)) |
x | 33 | include/asm-i386/segment.h | #define __const_sd(x) ((const struct __segment_dummy *) (x)) |
x | 35 | include/asm-i386/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
x | 41 | include/asm-i386/segment.h | :"iq" ((unsigned char) x), "m" (*__sd(y))); |
x | 46 | include/asm-i386/segment.h | :"ir" ((unsigned short) x), "m" (*__sd(y))); |
x | 51 | include/asm-i386/segment.h | :"ir" (x), "m" (*__sd(y))); |
x | 143 | include/asm-i386/segment.h | #define COMMON(x) \ |
x | 149 | include/asm-i386/segment.h | x \ |
x | 228 | include/asm-i386/segment.h | #define COMMON(x) \ |
x | 231 | include/asm-i386/segment.h | x \ |
x | 273 | include/asm-i386/segment.h | #define put_fs_byte(x,addr) __put_user((x),(unsigned char *)(addr),1) |
x | 274 | include/asm-i386/segment.h | #define put_fs_word(x,addr) __put_user((x),(unsigned short *)(addr),2) |
x | 275 | include/asm-i386/segment.h | #define put_fs_long(x,addr) __put_user((x),(unsigned int *)(addr),4) |
x | 403 | include/asm-i386/string.h | #define COMMON(x) \ |
x | 406 | include/asm-i386/string.h | x \ |
x | 552 | include/asm-i386/string.h | #define COMMON(x) \ |
x | 555 | include/asm-i386/string.h | x \ |
x | 195 | include/asm-i386/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
x | 199 | include/asm-i386/system.h | #define __xg(x) ((volatile struct __xchg_dummy *)(x)) |
x | 201 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
x | 206 | include/asm-i386/system.h | :"=q" (x), "=m" (*__xg(ptr)) |
x | 207 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
x | 211 | include/asm-i386/system.h | :"=r" (x), "=m" (*__xg(ptr)) |
x | 212 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
x | 216 | include/asm-i386/system.h | :"=r" (x), "=m" (*__xg(ptr)) |
x | 217 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
x | 220 | include/asm-i386/system.h | return x; |
x | 227 | include/asm-i386/system.h | #define save_flags(x) \ |
x | 228 | include/asm-i386/system.h | __asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory") |
x | 230 | include/asm-i386/system.h | #define restore_flags(x) \ |
x | 231 | include/asm-i386/system.h | __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory") |
x | 279 | include/asm-i386/termios.h | #define SET_LOW_BITS(x,y) ((x) = (0xffff0000 & (x)) | (y)) |
x | 21 | include/asm-m68k/io.h | #define outb_p(x,addr) put_user_byte_io((x),(char *)(addr)) |
x | 22 | include/asm-m68k/io.h | #define outb(x,addr) put_user_byte_io((x),(char *)(addr)) |
x | 53 | include/asm-m68k/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
x | 60 | include/asm-m68k/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
x | 67 | include/asm-m68k/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
x | 103 | include/asm-m68k/segment.h | #define COMMON(x) \ |
x | 109 | include/asm-m68k/segment.h | x \ |
x | 169 | include/asm-m68k/segment.h | #define COMMON(x) \ |
x | 172 | include/asm-m68k/segment.h | x \ |
x | 29 | include/asm-m68k/system.h | #define save_flags(x) \ |
x | 30 | include/asm-m68k/system.h | __asm__ __volatile__("movew sr,%0":"=d" (x) : /* no input */ :"memory") |
x | 32 | include/asm-m68k/system.h | #define restore_flags(x) \ |
x | 33 | include/asm-m68k/system.h | __asm__ __volatile__("movew %0,sr": /* no outputs */ :"d" (x) : "memory") |
x | 85 | include/asm-mips/bitops.h | #define __save_flags(x) save_flags(x) |
x | 86 | include/asm-mips/bitops.h | #define __restore_flags(x) restore_flags(x) |
x | 142 | include/asm-mips/bitops.h | #undef __save_flags(x) |
x | 143 | include/asm-mips/bitops.h | #undef __restore_flags(x) |
x | 42 | include/asm-mips/byteorder.h | __ntohl(unsigned long int x) |
x | 44 | include/asm-mips/byteorder.h | return (((x & 0x000000ffU) << 24) | |
x | 45 | include/asm-mips/byteorder.h | ((x & 0x0000ff00U) << 8) | |
x | 46 | include/asm-mips/byteorder.h | ((x & 0x00ff0000U) >> 8) | |
x | 47 | include/asm-mips/byteorder.h | ((x & 0xff000000U) >> 24)); |
x | 50 | include/asm-mips/byteorder.h | #define __constant_ntohl(x) \ |
x | 51 | include/asm-mips/byteorder.h | ((unsigned long int)((((unsigned long int)(x) & 0x000000ffU) << 24) | \ |
x | 52 | include/asm-mips/byteorder.h | (((unsigned long int)(x) & 0x0000ff00U) << 8) | \ |
x | 53 | include/asm-mips/byteorder.h | (((unsigned long int)(x) & 0x00ff0000U) >> 8) | \ |
x | 54 | include/asm-mips/byteorder.h | (((unsigned long int)(x) & 0xff000000U) >> 24))) |
x | 57 | include/asm-mips/byteorder.h | __ntohs(unsigned short int x) |
x | 59 | include/asm-mips/byteorder.h | return (((x & 0x00ff) << 8) | |
x | 60 | include/asm-mips/byteorder.h | ((x & 0xff00) >> 8)); |
x | 63 | include/asm-mips/byteorder.h | #define __constant_ntohs(x) \ |
x | 64 | include/asm-mips/byteorder.h | ((unsigned short int)((((unsigned short int)(x) & 0x00ff) << 8) | \ |
x | 65 | include/asm-mips/byteorder.h | (((unsigned short int)(x) & 0xff00) >> 8))) \ |
x | 67 | include/asm-mips/byteorder.h | #define __htonl(x) __ntohl(x) |
x | 68 | include/asm-mips/byteorder.h | #define __htons(x) __ntohs(x) |
x | 69 | include/asm-mips/byteorder.h | #define __constant_htonl(x) __constant_ntohl(x) |
x | 70 | include/asm-mips/byteorder.h | #define __constant_htons(x) __constant_ntohs(x) |
x | 73 | include/asm-mips/byteorder.h | # define ntohl(x) \ |
x | 74 | include/asm-mips/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 75 | include/asm-mips/byteorder.h | __constant_ntohl((x)) : \ |
x | 76 | include/asm-mips/byteorder.h | __ntohl((x))) |
x | 77 | include/asm-mips/byteorder.h | # define ntohs(x) \ |
x | 78 | include/asm-mips/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 79 | include/asm-mips/byteorder.h | __constant_ntohs((x)) : \ |
x | 80 | include/asm-mips/byteorder.h | __ntohs((x))) |
x | 81 | include/asm-mips/byteorder.h | # define htonl(x) \ |
x | 82 | include/asm-mips/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 83 | include/asm-mips/byteorder.h | __constant_htonl((x)) : \ |
x | 84 | include/asm-mips/byteorder.h | __htonl((x))) |
x | 85 | include/asm-mips/byteorder.h | # define htons(x) \ |
x | 86 | include/asm-mips/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 87 | include/asm-mips/byteorder.h | __constant_htons((x)) : \ |
x | 88 | include/asm-mips/byteorder.h | __htons((x))) |
x | 11 | include/asm-mips/mc146818rtc.h | #define RTC_PORT(x) (0x70 + (x)) |
x | 20 | include/asm-mips/mipsregs.h | #define __STR(x) #x |
x | 23 | include/asm-mips/mipsregs.h | #define STR(x) __STR(x) |
x | 24 | include/asm-mips/page.h | #define pte_val(x) ((x).pte) |
x | 25 | include/asm-mips/page.h | #define pmd_val(x) ((x).pmd) |
x | 26 | include/asm-mips/page.h | #define pgd_val(x) ((x).pgd) |
x | 27 | include/asm-mips/page.h | #define pgprot_val(x) ((x).pgprot) |
x | 29 | include/asm-mips/page.h | #define __pte(x) ((pte_t) { (x) } ) |
x | 30 | include/asm-mips/page.h | #define __pme(x) ((pme_t) { (x) } ) |
x | 31 | include/asm-mips/page.h | #define __pgd(x) ((pgd_t) { (x) } ) |
x | 32 | include/asm-mips/page.h | #define __pgprot(x) ((pgprot_t) { (x) } ) |
x | 43 | include/asm-mips/page.h | #define pte_val(x) (x) |
x | 44 | include/asm-mips/page.h | #define pmd_val(x) (x) |
x | 45 | include/asm-mips/page.h | #define pgd_val(x) (x) |
x | 46 | include/asm-mips/page.h | #define pgprot_val(x) (x) |
x | 48 | include/asm-mips/page.h | #define __pte(x) (x) |
x | 49 | include/asm-mips/page.h | #define __pmd(x) (x) |
x | 50 | include/asm-mips/page.h | #define __pgd(x) (x) |
x | 51 | include/asm-mips/page.h | #define __pgprot(x) (x) |
x | 83 | include/asm-mips/pgtable.h | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
x | 38 | include/asm-mips/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
x | 49 | include/asm-mips/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
x | 54 | include/asm-mips/segment.h | *(char *) y = x; |
x | 57 | include/asm-mips/segment.h | *(short *) y = x; |
x | 60 | include/asm-mips/segment.h | *(int *) y = x; |
x | 63 | include/asm-mips/segment.h | *(long *) y = x; |
x | 104 | include/asm-mips/segment.h | #define put_fs_byte(x,addr) put_user((x),(char *)(addr)) |
x | 105 | include/asm-mips/segment.h | #define put_fs_word(x,addr) put_user((x),(short *)(addr)) |
x | 106 | include/asm-mips/segment.h | #define put_fs_long(x,addr) put_user((x),(int *)(addr)) |
x | 107 | include/asm-mips/segment.h | #define put_fs_quad(x,addr) put_user((x),(long *)(addr)) |
x | 81 | include/asm-mips/system.h | #define save_flags(x) \ |
x | 86 | include/asm-mips/system.h | : "=r" (x)) \ |
x | 88 | include/asm-mips/system.h | #define restore_flags(x) \ |
x | 97 | include/asm-mips/system.h | : "r" (x)) \ |
x | 182 | include/asm-mips/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
x | 195 | include/asm-mips/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
x | 199 | include/asm-mips/system.h | return xchg_u8(ptr, x); |
x | 201 | include/asm-mips/system.h | return xchg_u16(ptr, x); |
x | 203 | include/asm-mips/system.h | return xchg_u32(ptr, x); |
x | 205 | include/asm-mips/system.h | return xchg_u64(ptr, x); |
x | 208 | include/asm-mips/system.h | return x; |
x | 24 | include/asm-mips/termios.h | #define SET_LOW_BITS(x,y) ((x) = (0xffff0000 & (x)) | (y)) |
x | 29 | include/asm-ppc/byteorder.h | __ntohl(unsigned long int x) |
x | 31 | include/asm-ppc/byteorder.h | return (((x & 0x000000ffU) << 24) | |
x | 32 | include/asm-ppc/byteorder.h | ((x & 0x0000ff00U) << 8) | |
x | 33 | include/asm-ppc/byteorder.h | ((x & 0x00ff0000U) >> 8) | |
x | 34 | include/asm-ppc/byteorder.h | ((x & 0xff000000U) >> 24)); |
x | 38 | include/asm-ppc/byteorder.h | __constant_ntohl(unsigned long int x) |
x | 40 | include/asm-ppc/byteorder.h | return (((x & 0x000000ffU) << 24) | |
x | 41 | include/asm-ppc/byteorder.h | ((x & 0x0000ff00U) << 8) | |
x | 42 | include/asm-ppc/byteorder.h | ((x & 0x00ff0000U) >> 8) | |
x | 43 | include/asm-ppc/byteorder.h | ((x & 0xff000000U) >> 24)); |
x | 47 | include/asm-ppc/byteorder.h | __ntohs(unsigned short int x) |
x | 49 | include/asm-ppc/byteorder.h | return (((x & 0x00ff) << 8) | |
x | 50 | include/asm-ppc/byteorder.h | ((x & 0xff00) >> 8)); |
x | 54 | include/asm-ppc/byteorder.h | __constant_ntohs(unsigned short int x) |
x | 56 | include/asm-ppc/byteorder.h | return (((x & 0x00ff) << 8) | |
x | 57 | include/asm-ppc/byteorder.h | ((x & 0xff00) >> 8)); |
x | 60 | include/asm-ppc/byteorder.h | #define __htonl(x) __ntohl(x) |
x | 61 | include/asm-ppc/byteorder.h | #define __htons(x) __ntohs(x) |
x | 62 | include/asm-ppc/byteorder.h | #define __constant_htonl(x) __constant_ntohl(x) |
x | 63 | include/asm-ppc/byteorder.h | #define __constant_htons(x) __constant_ntohs(x) |
x | 66 | include/asm-ppc/byteorder.h | # define ntohl(x) \ |
x | 67 | include/asm-ppc/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 68 | include/asm-ppc/byteorder.h | __constant_ntohl((x)) : \ |
x | 69 | include/asm-ppc/byteorder.h | __ntohl((x))) |
x | 70 | include/asm-ppc/byteorder.h | # define ntohs(x) \ |
x | 71 | include/asm-ppc/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 72 | include/asm-ppc/byteorder.h | __constant_ntohs((x)) : \ |
x | 73 | include/asm-ppc/byteorder.h | __ntohs((x))) |
x | 74 | include/asm-ppc/byteorder.h | # define htonl(x) \ |
x | 75 | include/asm-ppc/byteorder.h | (__builtin_constant_p((long)(x)) ? \ |
x | 76 | include/asm-ppc/byteorder.h | __constant_htonl((x)) : \ |
x | 77 | include/asm-ppc/byteorder.h | __htonl((x))) |
x | 78 | include/asm-ppc/byteorder.h | # define htons(x) \ |
x | 79 | include/asm-ppc/byteorder.h | (__builtin_constant_p((short)(x)) ? \ |
x | 80 | include/asm-ppc/byteorder.h | __constant_htons((x)) : \ |
x | 81 | include/asm-ppc/byteorder.h | __htons((x))) |
x | 86 | include/asm-ppc/byteorder.h | #define ntohl(x) (x) |
x | 87 | include/asm-ppc/byteorder.h | #define ntohs(x) (x) |
x | 88 | include/asm-ppc/byteorder.h | #define htonl(x) (x) |
x | 89 | include/asm-ppc/byteorder.h | #define htons(x) (x) |
x | 24 | include/asm-ppc/page.h | #define pte_val(x) ((x).pte) |
x | 25 | include/asm-ppc/page.h | #define pmd_val(x) ((x).pmd) |
x | 26 | include/asm-ppc/page.h | #define pgd_val(x) ((x).pgd) |
x | 27 | include/asm-ppc/page.h | #define pgprot_val(x) ((x).pgprot) |
x | 29 | include/asm-ppc/page.h | #define __pte(x) ((pte_t) { (x) } ) |
x | 30 | include/asm-ppc/page.h | #define __pmd(x) ((pmd_t) { (x) } ) |
x | 31 | include/asm-ppc/page.h | #define __pgd(x) ((pgd_t) { (x) } ) |
x | 32 | include/asm-ppc/page.h | #define __pgprot(x) ((pgprot_t) { (x) } ) |
x | 43 | include/asm-ppc/page.h | #define pte_val(x) (x) |
x | 44 | include/asm-ppc/page.h | #define pmd_val(x) (x) |
x | 45 | include/asm-ppc/page.h | #define pgd_val(x) (x) |
x | 46 | include/asm-ppc/page.h | #define pgprot_val(x) (x) |
x | 48 | include/asm-ppc/page.h | #define __pte(x) (x) |
x | 49 | include/asm-ppc/page.h | #define __pmd(x) (x) |
x | 50 | include/asm-ppc/page.h | #define __pgd(x) (x) |
x | 51 | include/asm-ppc/page.h | #define __pgprot(x) (x) |
x | 105 | include/asm-ppc/pgtable.h | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
x | 6 | include/asm-ppc/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
x | 11 | include/asm-ppc/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
x | 15 | include/asm-ppc/segment.h | *(char *) y = x; |
x | 18 | include/asm-ppc/segment.h | *(short *) y = x; |
x | 21 | include/asm-ppc/segment.h | *(int *) y = x; |
x | 24 | include/asm-ppc/segment.h | *(long *) y = x; |
x | 80 | include/asm-ppc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
x | 87 | include/asm-ppc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
x | 94 | include/asm-ppc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
x | 101 | include/asm-ppc/segment.h | #define put_fs_quad(x,addr) put_user_quad((x),(long *)(addr)) |
x | 27 | include/asm-ppc/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
x | 50 | include/asm-ppc/system.h | static inline unsigned long __xchg(unsigned long x, void * ptr, int size) |
x | 54 | include/asm-ppc/system.h | return (unsigned long )xchg_u32(ptr, x); |
x | 56 | include/asm-ppc/system.h | return (unsigned long )xchg_u64(ptr, x); |
x | 59 | include/asm-ppc/system.h | return x; |
x | 351 | include/asm-ppc/termios.h | #define SET_LOW_BITS(x,y) ((x) = (0xffff0000 & (x)) | (y)) |
x | 23 | include/asm-sparc/a.out.h | #define N_TXTOFF(x) (N_MAGIC(x) == ZMAGIC ? 0 : sizeof (struct exec)) |
x | 26 | include/asm-sparc/a.out.h | #define N_SYMOFF(x) (N_TXTOFF(x) + (x).a_text + \ |
x | 27 | include/asm-sparc/a.out.h | (x).a_data + (x).a_trsize + \ |
x | 28 | include/asm-sparc/a.out.h | (x).a_drsize) |
x | 31 | include/asm-sparc/a.out.h | #define N_TXTADDR(x) (((N_MAGIC(x) == ZMAGIC) && \ |
x | 32 | include/asm-sparc/a.out.h | ((x).a_entry < SPARC_PGSIZE)) ? \ |
x | 36 | include/asm-sparc/a.out.h | #define N_DATADDR(x) (N_MAGIC(x)==OMAGIC ? \ |
x | 37 | include/asm-sparc/a.out.h | (N_TXTADDR(x) + (x).a_text) \ |
x | 38 | include/asm-sparc/a.out.h | : (_N_SEGMENT_ROUND (_N_TXTENDADDR(x)))) |
x | 5 | include/asm-sparc/byteorder.h | #define ntohl(x) x |
x | 6 | include/asm-sparc/byteorder.h | #define ntohs(x) x |
x | 7 | include/asm-sparc/byteorder.h | #define htonl(x) x |
x | 8 | include/asm-sparc/byteorder.h | #define htons(x) x |
x | 13 | include/asm-sparc/checksum.h | extern inline unsigned short from32to16(unsigned long x) |
x | 16 | include/asm-sparc/checksum.h | x = (x & 0xffff) + (x >> 16); |
x | 18 | include/asm-sparc/checksum.h | x = (x & 0xffff) + (x >> 16); |
x | 20 | include/asm-sparc/checksum.h | x = (x & 0xffff) + (x >> 16); |
x | 21 | include/asm-sparc/checksum.h | return x; |
x | 71 | include/asm-sparc/floppy.h | #define virt_to_bus(x) (x) |
x | 72 | include/asm-sparc/floppy.h | #define bus_to_virt(x) (x) |
x | 75 | include/asm-sparc/floppy.h | #define get_dma_residue(x) (0) |
x | 47 | include/asm-sparc/mostek.h | #define MSTK_REGVAL_TO_DECIMAL(x) (((x) & 0xf) + 0xa * ((x) >> 0x4)) |
x | 48 | include/asm-sparc/mostek.h | #define MSTK_DECIMAL_TO_REGVAL(x) ((((x) / 0xa) << 0x4) + ((x) % 0xa)) |
x | 55 | include/asm-sparc/page.h | #define pte_val(x) ((x).pte) |
x | 56 | include/asm-sparc/page.h | #define pmd_val(x) ((x).pmd) |
x | 57 | include/asm-sparc/page.h | #define pgd_val(x) ((x).pgd) |
x | 58 | include/asm-sparc/page.h | #define pgprot_val(x) ((x).pgprot) |
x | 60 | include/asm-sparc/page.h | #define __pte(x) ((pte_t) { (x) } ) |
x | 61 | include/asm-sparc/page.h | #define __pmd(x) ((pmd_t) { (x) } ) |
x | 62 | include/asm-sparc/page.h | #define __pgd(x) ((pgd_t) { (x) } ) |
x | 63 | include/asm-sparc/page.h | #define __pgprot(x) ((pgprot_t) { (x) } ) |
x | 74 | include/asm-sparc/page.h | #define pte_val(x) (x) |
x | 75 | include/asm-sparc/page.h | #define pmd_val(x) (x) |
x | 76 | include/asm-sparc/page.h | #define pgd_val(x) (x) |
x | 77 | include/asm-sparc/page.h | #define pgprot_val(x) (x) |
x | 79 | include/asm-sparc/page.h | #define __pte(x) (x) |
x | 80 | include/asm-sparc/page.h | #define __pmd(x) (x) |
x | 81 | include/asm-sparc/page.h | #define __pgd(x) (x) |
x | 82 | include/asm-sparc/page.h | #define __pgprot(x) (x) |
x | 53 | include/asm-sparc/pgtable.h | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
x | 81 | include/asm-sparc/pgtsrmmu.h | #define _SRMMU_PAGE_NORMAL(x) __pgprot(_SRMMU_PAGE_VALID | _SRMMU_PAGE_REF | (x)) |
x | 19 | include/asm-sparc/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
x | 30 | include/asm-sparc/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
x | 34 | include/asm-sparc/segment.h | *(char *) y = x; |
x | 37 | include/asm-sparc/segment.h | *(short *) y = x; |
x | 40 | include/asm-sparc/segment.h | *(int *) y = x; |
x | 92 | include/asm-sparc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
x | 99 | include/asm-sparc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
x | 106 | include/asm-sparc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
x | 114 | include/asm-sparc/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
x | 119 | include/asm-sparc/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
x | 123 | include/asm-sparc/system.h | return xchg_u32(ptr, x); |
x | 126 | include/asm-sparc/system.h | return x; |
x | 359 | include/asm-sparc/termios.h | #define SET_LOW_BITS(x,y) ((x) = (0xffff0000 & (x)) | (y)) |
x | 74 | include/linux/a.out.h | #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ |
x | 75 | include/linux/a.out.h | && N_MAGIC(x) != NMAGIC \ |
x | 76 | include/linux/a.out.h | && N_MAGIC(x) != ZMAGIC \ |
x | 77 | include/linux/a.out.h | && N_MAGIC(x) != QMAGIC) |
x | 80 | include/linux/a.out.h | #define _N_HDROFF(x) (1024 - sizeof (struct exec)) |
x | 83 | include/linux/a.out.h | #define N_TXTOFF(x) \ |
x | 84 | include/linux/a.out.h | (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \ |
x | 85 | include/linux/a.out.h | (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec))) |
x | 89 | include/linux/a.out.h | #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) |
x | 93 | include/linux/a.out.h | #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) |
x | 97 | include/linux/a.out.h | #define N_DRELOFF(x) (N_TRELOFF(x) + (x).a_trsize) |
x | 101 | include/linux/a.out.h | #define N_SYMOFF(x) (N_DRELOFF(x) + (x).a_drsize) |
x | 105 | include/linux/a.out.h | #define N_STROFF(x) (N_SYMOFF(x) + (x).a_syms) |
x | 110 | include/linux/a.out.h | #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) |
x | 139 | include/linux/a.out.h | #define _N_SEGMENT_ROUND(x) (((x) + SEGMENT_SIZE - 1) & ~(SEGMENT_SIZE - 1)) |
x | 141 | include/linux/a.out.h | #define _N_TXTENDADDR(x) (N_TXTADDR(x)+(x).a_text) |
x | 144 | include/linux/a.out.h | #define N_DATADDR(x) \ |
x | 145 | include/linux/a.out.h | (N_MAGIC(x)==OMAGIC? (_N_TXTENDADDR(x)) \ |
x | 146 | include/linux/a.out.h | : (_N_SEGMENT_ROUND (_N_TXTENDADDR(x)))) |
x | 151 | include/linux/a.out.h | #define N_BSSADDR(x) (N_DATADDR(x) + (x).a_data) |
x | 326 | include/linux/blk.h | #define SET_INTR(x) \ |
x | 327 | include/linux/blk.h | if ((DEVICE_INTR = (x)) != NULL) \ |
x | 334 | include/linux/blk.h | #define SET_INTR(x) (DEVICE_INTR = (x)) |
x | 106 | include/linux/coff.h | #define COFF_I386BADMAG(x) ((COFF_SHORT((x).f_magic) != COFF_I386MAGIC) \ |
x | 107 | include/linux/coff.h | && COFF_SHORT((x).f_magic) != COFF_I386PTXMAGIC \ |
x | 108 | include/linux/coff.h | && COFF_SHORT((x).f_magic) != COFF_I386AIXMAGIC) |
x | 110 | include/linux/coff.h | #define COFF_I386BADMAG(x) (COFF_SHORT((x).f_magic) != COFF_I386MAGIC) |
x | 79 | include/linux/elf.h | #define ELF32_ST_BIND(x) ((x) >> 4) |
x | 80 | include/linux/elf.h | #define ELF32_ST_TYPE(x) (((unsigned int) x) & 0xf) |
x | 112 | include/linux/elf.h | #define ELF32_R_SYM(x) ((x) >> 8) |
x | 113 | include/linux/elf.h | #define ELF32_R_TYPE(x) ((x) & 0xff) |
x | 27 | include/linux/gscd.h | #define GSCDPORT(x) (gscd_port + (x)) |
x | 125 | include/linux/in.h | #define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000)) |
x | 126 | include/linux/in.h | #define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000)) |
x | 206 | include/linux/isdn.h | #define USG_NONE(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_NONE) |
x | 207 | include/linux/isdn.h | #define USG_RAW(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_RAW) |
x | 208 | include/linux/isdn.h | #define USG_MODEM(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_MODEM) |
x | 209 | include/linux/isdn.h | #define USG_NET(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_NET) |
x | 210 | include/linux/isdn.h | #define USG_OUTGOING(x) ((x & ISDN_USAGE_OUTGOING)==ISDN_USAGE_OUTGOING) |
x | 44 | include/linux/keyboard.h | #define KTYP(x) ((x) >> 8) |
x | 45 | include/linux/keyboard.h | #define KVAL(x) ((x) & 0xff) |
x | 16 | include/linux/mc146818rtc.h | #define RTC_PORT(x) (0x70 + (x)) |
x | 41 | include/linux/mcd.h | #define MCDPORT(x) (mcd_port + (x)) |
x | 83 | include/linux/mcdx.h | #define INFO(x) |
x | 85 | include/linux/mcdx.h | #define INFO(x) warn x |
x | 88 | include/linux/mcdx.h | #define WARN(x) warn x |
x | 91 | include/linux/mcdx.h | #define TRACE(x) trace x |
x | 108 | include/linux/mcdx.h | #define TRACE(x) |
x | 155 | include/linux/mcdx.h | #define e_door(x) ((x) & MCDX_RBIT_OPEN) |
x | 156 | include/linux/mcdx.h | #define e_check(x) (~(x) & MCDX_RBIT_CHECK) |
x | 157 | include/linux/mcdx.h | #define e_notset(x) (~(x) & MCDX_RBIT_DISKSET) |
x | 158 | include/linux/mcdx.h | #define e_changed(x) ((x) & MCDX_RBIT_CHANGED) |
x | 159 | include/linux/mcdx.h | #define e_audio(x) ((x) & MCDX_RBIT_AUDIOTR) |
x | 160 | include/linux/mcdx.h | #define e_audiobusy(x) ((x) & MCDX_RBIT_AUDIOBS) |
x | 161 | include/linux/mcdx.h | #define e_cmderr(x) ((x) & MCDX_RBIT_CMDERR) |
x | 162 | include/linux/mcdx.h | #define e_readerr(x) ((x) & MCDX_RBIT_RDERR) |
x | 190 | include/linux/mtio.h | #define GMT_EOF(x) ((x) & 0x80000000) |
x | 191 | include/linux/mtio.h | #define GMT_BOT(x) ((x) & 0x40000000) |
x | 192 | include/linux/mtio.h | #define GMT_EOT(x) ((x) & 0x20000000) |
x | 193 | include/linux/mtio.h | #define GMT_SM(x) ((x) & 0x10000000) /* DDS setmark */ |
x | 194 | include/linux/mtio.h | #define GMT_EOD(x) ((x) & 0x08000000) /* DDS EOD */ |
x | 195 | include/linux/mtio.h | #define GMT_WR_PROT(x) ((x) & 0x04000000) |
x | 197 | include/linux/mtio.h | #define GMT_ONLINE(x) ((x) & 0x01000000) |
x | 198 | include/linux/mtio.h | #define GMT_D_6250(x) ((x) & 0x00800000) |
x | 199 | include/linux/mtio.h | #define GMT_D_1600(x) ((x) & 0x00400000) |
x | 200 | include/linux/mtio.h | #define GMT_D_800(x) ((x) & 0x00200000) |
x | 203 | include/linux/mtio.h | #define GMT_DR_OPEN(x) ((x) & 0x00040000) /* door open (no tape) */ |
x | 205 | include/linux/mtio.h | #define GMT_IM_REP_EN(x) ((x) & 0x00010000) /* immediate report mode */ |
x | 38 | include/linux/pagemap.h | #define s(x) ((x)+((x)>>PAGE_HASH_BITS)) |
x | 163 | include/linux/ppp-comp.h | #define BSD_NBITS(x) ((x) & 0x1F) /* number of bits requested */ |
x | 164 | include/linux/ppp-comp.h | #define BSD_VERSION(x) ((x) >> 5) /* version of option format */ |
x | 186 | include/linux/ppp-comp.h | #define DEFLATE_SIZE(x) (((x) >> 4) + DEFLATE_MIN_SIZE) |
x | 187 | include/linux/ppp-comp.h | #define DEFLATE_METHOD(x) ((x) & 0x0F) |
x | 171 | include/linux/ppp_defs.h | #define __P(x) x |
x | 173 | include/linux/ppp_defs.h | #define __P(x) () |
x | 196 | include/linux/proc_fs.h | static inline int proc_net_register(struct proc_dir_entry * x) |
x | 198 | include/linux/proc_fs.h | return proc_register(&proc_net, x); |
x | 201 | include/linux/proc_fs.h | static inline int proc_net_unregister(int x) |
x | 203 | include/linux/proc_fs.h | return proc_unregister(&proc_net, x); |
x | 207 | include/linux/proc_fs.h | struct proc_dir_entry *x) |
x | 209 | include/linux/proc_fs.h | x->ops = &proc_scsi_inode_operations; |
x | 210 | include/linux/proc_fs.h | if(x->low_ino < PROC_SCSI_FILE){ |
x | 211 | include/linux/proc_fs.h | return(proc_register(&proc_scsi, x)); |
x | 213 | include/linux/proc_fs.h | return(proc_register(driver, x)); |
x | 217 | include/linux/proc_fs.h | static inline int proc_scsi_unregister(struct proc_dir_entry *driver, int x) |
x | 221 | include/linux/proc_fs.h | if(x <= PROC_SCSI_FILE) |
x | 222 | include/linux/proc_fs.h | return(proc_unregister(&proc_scsi, x)); |
x | 228 | include/linux/proc_fs.h | if (dp->low_ino == x) |
x | 232 | include/linux/proc_fs.h | ret = proc_unregister(driver, x); |
x | 431 | include/linux/sbpcd.h | #define OUT(x,y) outb(y,x) |
x | 62 | include/linux/sched.h | #define CT_TO_SECS(x) ((x) / HZ) |
x | 63 | include/linux/sched.h | #define CT_TO_USECS(x) (((x) % HZ) * 1000000/HZ) |
x | 53 | include/linux/sjcd.h | #define SJCD_STATUS_AVAILABLE( x ) (((x)&0x02)==0) |
x | 54 | include/linux/sjcd.h | #define SJCD_DATA_AVAILABLE( x ) (((x)&0x01)==0) |
x | 60 | include/linux/sjcd.h | #define SJCDPORT( x ) ( sjcd_base + ( x ) ) |
x | 130 | include/linux/sjcd.h | unsigned char x, y, z; |
x | 140 | include/linux/sjcd.h | unsigned char x; |
x | 96 | include/linux/sonycd535.h | #define SONY_BLOCK_NUMBER_MSF(x) (((x)[0]*60L+(x)[1])*75L+(x)[2]) |
x | 81 | include/linux/soundcard.h | #define _IO(x,y) ((int)(IOC_VOID|(x<<8)|y)) |
x | 82 | include/linux/soundcard.h | #define _IOR(x,y,t) ((int)(IOC_OUT|((sizeof(t)&IOCPARM_MASK)<<16)|(x<<8)|y)) |
x | 83 | include/linux/soundcard.h | #define _IOW(x,y,t) ((int)(IOC_IN|((sizeof(t)&IOCPARM_MASK)<<16)|(x<<8)|y)) |
x | 85 | include/linux/soundcard.h | #define _IOWR(x,y,t) ((int)(IOC_INOUT|((sizeof(t)&IOCPARM_MASK)<<16)|(x<<8)|y)) |
x | 19 | include/linux/stats206.h | y {x(interrupt), x(data_ready), x(fifo_overflow), x(data_error), |
x | 20 | include/linux/stats206.h | x(crc_error), x(sync_error), x(lost_intr), x(echo), |
x | 21 | include/linux/stats206.h | x(write_timeout), x(receive_timeout), x(read_timeout), |
x | 22 | include/linux/stats206.h | x(dsb_timeout), x(stop_0xff), x(back_read_timeout), |
x | 23 | include/linux/stats206.h | x(sector_transferred), x(read_restarted), x(read_background), |
x | 24 | include/linux/stats206.h | x(bh), x(open), x(ioctl_multisession) |
x | 26 | include/linux/stats206.h | , x(last_entry) |
x | 42 | include/linux/sysv_fs.h | static inline coh_ulong to_coh_ulong (unsigned long x) |
x | 44 | include/linux/sysv_fs.h | return ((x & 0xffff) << 16) | ((x & 0xffff0000) >> 16); |
x | 47 | include/linux/sysv_fs.h | static inline unsigned long from_coh_ulong (coh_ulong x) |
x | 49 | include/linux/sysv_fs.h | return ((x & 0xffff) << 16) | ((x & 0xffff0000) >> 16); |
x | 10 | include/linux/wrapper.h | #define connect_wrapper(x) 0 |
x | 526 | include/net/sock.h | #define NETDEBUG(x) x |
x | 156 | include/net/tcp.h | #define tcp_reset_msl_timer(x,y,z) reset_timer(x,y,z) |
x | 1 | lib/inflate.c | #define DEBG(x) |
x | 2 | lib/inflate.c | #define DEBG1(x) |
x | 297 | lib/inflate.c | unsigned x[BMAX+1]; /* bit offsets, then code stack */ |
x | 351 | lib/inflate.c | x[1] = j = 0; |
x | 352 | lib/inflate.c | p = c + 1; xp = x + 2; |
x | 363 | lib/inflate.c | v[x[j]++] = i; |
x | 369 | lib/inflate.c | x[0] = i = 0; /* first Huffman code is zero */ |
x | 429 | lib/inflate.c | x[h] = i; /* save pattern for backing up */ |
x | 468 | lib/inflate.c | while ((i & ((1 << w) - 1)) != x[h]) |
x | 218 | mm/page_alloc.c | #define LONG_ALIGN(x) (((x)+(sizeof(long))-1)&~((sizeof(long))-1)) |
x | 70 | net/appletalk/ddp.c | #define DPRINT(x) print(x) |
x | 72 | net/appletalk/ddp.c | #define DPRINT(x) |
x | 23 | net/core/iovec.c | extern inline int min(int x, int y) |
x | 25 | net/core/iovec.c | return x>y?y:x; |
x | 41 | scripts/ksymoops.cc | inline int strequ(char const* x, char const* y) { return (::strcmp(x, y) == 0); } |
x | 42 | scripts/ksymoops.cc | inline int strnequ(char const* x, char const* y, size_t n) { return (::strncmp(x, y, n) == 0); } |
x | 61 | scripts/lxdialog/checklist.c | int y, int x, int height) |
x | 63 | scripts/lxdialog/checklist.c | wmove(win, y, x); |
x | 79 | scripts/lxdialog/checklist.c | wmove(win, y, x); |
x | 101 | scripts/lxdialog/checklist.c | int x = width / 2 - 11; |
x | 104 | scripts/lxdialog/checklist.c | print_button (dialog, "Select", y, x, okval); |
x | 105 | scripts/lxdialog/checklist.c | print_button (dialog, " Help ", y, x + 14, cancelval); |
x | 118 | scripts/lxdialog/checklist.c | int i, x, y, cur_x, cur_y, box_x, box_y; |
x | 142 | scripts/lxdialog/checklist.c | x = (COLS - width) / 2; |
x | 145 | scripts/lxdialog/checklist.c | draw_shadow (stdscr, y, x, height, width); |
x | 147 | scripts/lxdialog/checklist.c | dialog = newwin (height, width, y, x); |
x | 174 | scripts/lxdialog/checklist.c | list = subwin (dialog, list_height, list_width, y+box_y+1, x+box_x+1); |
x | 147 | scripts/lxdialog/colors.h | #define C_ATTR(x,y) ((x ? A_BOLD : 0) | COLOR_PAIR((y))) |
x | 35 | scripts/lxdialog/dialog.h | #define MIN(x,y) (x < y ? x : y) |
x | 36 | scripts/lxdialog/dialog.h | #define MAX(x,y) (x > y ? x : y) |
x | 128 | scripts/lxdialog/dialog.h | void print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x); |
x | 129 | scripts/lxdialog/dialog.h | void print_button (WINDOW * win, const char *label, int y, int x, int selected); |
x | 130 | scripts/lxdialog/dialog.h | void draw_box (WINDOW * win, int y, int x, int height, int width, chtype box, |
x | 132 | scripts/lxdialog/dialog.h | void draw_shadow (WINDOW * win, int y, int x, int height, int width); |
x | 32 | scripts/lxdialog/inputbox.c | int x = width / 2 - 11; |
x | 35 | scripts/lxdialog/inputbox.c | print_button (dialog, " Ok ", y, x, okval); |
x | 36 | scripts/lxdialog/inputbox.c | print_button (dialog, " Help ", y, x + 14, cancelval); |
x | 48 | scripts/lxdialog/inputbox.c | int i, x, y, box_y, box_x, box_width; |
x | 54 | scripts/lxdialog/inputbox.c | x = (COLS - width) / 2; |
x | 58 | scripts/lxdialog/inputbox.c | draw_shadow (stdscr, y, x, height, width); |
x | 60 | scripts/lxdialog/inputbox.c | dialog = newwin (height, width, y, x); |
x | 83 | scripts/lxdialog/inputbox.c | getyx (dialog, y, x); |
x | 54 | scripts/lxdialog/menubox.c | int y, int x, int height) |
x | 56 | scripts/lxdialog/menubox.c | wmove(win, y, x); |
x | 72 | scripts/lxdialog/menubox.c | wmove(win, y, x); |
x | 95 | scripts/lxdialog/menubox.c | int x = width / 2 - 16; |
x | 98 | scripts/lxdialog/menubox.c | print_button (win, "Select", y, x, okval); |
x | 99 | scripts/lxdialog/menubox.c | print_button (win, " Exit ", y, x + 12, exitval); |
x | 100 | scripts/lxdialog/menubox.c | print_button (win, " Help ", y, x + 24, cancelval); |
x | 114 | scripts/lxdialog/menubox.c | int i, j, x, y, cur_x, cur_y, box_x, box_y; |
x | 121 | scripts/lxdialog/menubox.c | x = (COLS - width) / 2; |
x | 124 | scripts/lxdialog/menubox.c | draw_shadow (stdscr, y, x, height, width); |
x | 126 | scripts/lxdialog/menubox.c | dialog = newwin (height, width, y, x); |
x | 154 | scripts/lxdialog/menubox.c | y + box_y + 1, x + box_x + 1); |
x | 32 | scripts/lxdialog/msgbox.c | int i, x, y, key = 0; |
x | 36 | scripts/lxdialog/msgbox.c | x = (COLS - width) / 2; |
x | 39 | scripts/lxdialog/msgbox.c | draw_shadow (stdscr, y, x, height, width); |
x | 41 | scripts/lxdialog/msgbox.c | dialog = newwin (height, width, y, x); |
x | 40 | scripts/lxdialog/textbox.c | int i, x, y, cur_x, cur_y, fpos, key = 0; |
x | 82 | scripts/lxdialog/textbox.c | x = (COLS - width) / 2; |
x | 86 | scripts/lxdialog/textbox.c | draw_shadow (stdscr, y, x, height, width); |
x | 88 | scripts/lxdialog/textbox.c | dialog = newwin (height, width, y, x); |
x | 92 | scripts/lxdialog/textbox.c | text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); |
x | 451 | scripts/lxdialog/textbox.c | int i, y, x; |
x | 460 | scripts/lxdialog/textbox.c | getyx (win, y, x); |
x | 462 | scripts/lxdialog/textbox.c | for (i = 0; i < width - x; i++) |
x | 198 | scripts/lxdialog/util.c | print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x) |
x | 215 | scripts/lxdialog/util.c | if (strlen (tempstr) <= width - x * 2) { /* If prompt is short */ |
x | 219 | scripts/lxdialog/util.c | cur_x = x; |
x | 227 | scripts/lxdialog/util.c | cur_x = x; |
x | 241 | scripts/lxdialog/util.c | print_button (WINDOW * win, const char *label, int y, int x, int selected) |
x | 245 | scripts/lxdialog/util.c | wmove (win, y, x); |
x | 262 | scripts/lxdialog/util.c | wmove (win, y, x + temp + 1); |
x | 269 | scripts/lxdialog/util.c | draw_box (WINDOW * win, int y, int x, int height, int width, |
x | 276 | scripts/lxdialog/util.c | wmove (win, y + i, x); |
x | 304 | scripts/lxdialog/util.c | draw_shadow (WINDOW * win, int y, int x, int height, int width) |
x | 310 | scripts/lxdialog/util.c | wmove (win, y + height, x + 2); |
x | 314 | scripts/lxdialog/util.c | wmove (win, i, x + width); |
x | 30 | scripts/lxdialog/yesno.c | int x = width / 2 - 10; |
x | 33 | scripts/lxdialog/yesno.c | print_button (dialog, " Yes ", y, x, okval); |
x | 34 | scripts/lxdialog/yesno.c | print_button (dialog, " No ", y, x + 13, cancelval); |
x | 45 | scripts/lxdialog/yesno.c | int i, x, y, key = 0, button = 0; |
x | 49 | scripts/lxdialog/yesno.c | x = (COLS - width) / 2; |
x | 52 | scripts/lxdialog/yesno.c | draw_shadow (stdscr, y, x, height, width); |
x | 54 | scripts/lxdialog/yesno.c | dialog = newwin (height, width, y, x); |