tag | line | file | source code |
b | 35 | arch/alpha/boot/tools/build.c | static int comp(struct scnhdr * a, struct scnhdr * b) |
b | 37 | arch/alpha/boot/tools/build.c | return a->s_vaddr - b->s_vaddr; |
b | 20 | arch/alpha/lib/io.c | void _bus_outb(unsigned char b, unsigned long addr) |
b | 22 | arch/alpha/lib/io.c | __bus_outb(b, addr); |
b | 42 | arch/alpha/lib/io.c | void _outb(unsigned char b, unsigned long addr) |
b | 44 | arch/alpha/lib/io.c | __outb(b, addr); |
b | 47 | arch/alpha/lib/io.c | void _outw(unsigned short b, unsigned long addr) |
b | 49 | arch/alpha/lib/io.c | __outw(b, addr); |
b | 52 | arch/alpha/lib/io.c | void _outl(unsigned int b, unsigned long addr) |
b | 54 | arch/alpha/lib/io.c | __outl(b, addr); |
b | 74 | arch/alpha/lib/io.c | void _writeb(unsigned char b, unsigned long addr) |
b | 76 | arch/alpha/lib/io.c | __writeb(b, addr); |
b | 79 | arch/alpha/lib/io.c | void _writew(unsigned short b, unsigned long addr) |
b | 81 | arch/alpha/lib/io.c | __writew(b, addr); |
b | 84 | arch/alpha/lib/io.c | void _writel(unsigned int b, unsigned long addr) |
b | 86 | arch/alpha/lib/io.c | __writel(b, addr); |
b | 93 | arch/alpha/math-emu/ieee-math.c | cmp128 (const long a[2], const long b[2]) |
b | 95 | arch/alpha/math-emu/ieee-math.c | if (a[1] < b[1]) return -1; |
b | 96 | arch/alpha/math-emu/ieee-math.c | if (a[1] > b[1]) return 1; |
b | 97 | arch/alpha/math-emu/ieee-math.c | return a[0] - b[0]; |
b | 118 | arch/alpha/math-emu/ieee-math.c | add128 (const unsigned long a[2], const unsigned long b[2], unsigned long c[2]) |
b | 120 | arch/alpha/math-emu/ieee-math.c | unsigned long carry = a[0] > (0xffffffffffffffff - b[0]); |
b | 122 | arch/alpha/math-emu/ieee-math.c | c[0] = a[0] + b[0]; |
b | 123 | arch/alpha/math-emu/ieee-math.c | c[1] = a[1] + b[1] + carry; |
b | 128 | arch/alpha/math-emu/ieee-math.c | sub128 (const unsigned long a[2], const unsigned long b[2], unsigned long c[2]) |
b | 130 | arch/alpha/math-emu/ieee-math.c | unsigned long borrow = a[0] < b[0]; |
b | 132 | arch/alpha/math-emu/ieee-math.c | c[0] = a[0] - b[0]; |
b | 133 | arch/alpha/math-emu/ieee-math.c | c[1] = a[1] - b[1] - borrow; |
b | 138 | arch/alpha/math-emu/ieee-math.c | mul64 (const unsigned long a, const unsigned long b, unsigned long c[2]) |
b | 142 | arch/alpha/math-emu/ieee-math.c | : "r="(c[0]), "r="(c[1]) : "r"(a), "r"(b)); |
b | 147 | arch/alpha/math-emu/ieee-math.c | div128 (unsigned long a[2], unsigned long b[2], unsigned long c[2]) |
b | 155 | arch/alpha/math-emu/ieee-math.c | while (cmp128(b, a) < 0 && sign(b[1]) >= 0) { |
b | 156 | arch/alpha/math-emu/ieee-math.c | sll128(b); |
b | 161 | arch/alpha/math-emu/ieee-math.c | if (cmp128(a, b) >= 0) { |
b | 162 | arch/alpha/math-emu/ieee-math.c | sub128(a, b, a); |
b | 166 | arch/alpha/math-emu/ieee-math.c | srl128(b); |
b | 239 | arch/alpha/math-emu/ieee-math.c | extend_ieee (unsigned long a, EXTENDED *b, int prec) |
b | 243 | arch/alpha/math-emu/ieee-math.c | b->s = a >> 63; |
b | 244 | arch/alpha/math-emu/ieee-math.c | b->e = ((a >> 52) & 0x7ff) - 0x3ff; /* remove bias */ |
b | 245 | arch/alpha/math-emu/ieee-math.c | b->f[1] = 0; |
b | 250 | arch/alpha/math-emu/ieee-math.c | b->f[0] = (a & 0x000fffffffffffff) << 3; |
b | 254 | arch/alpha/math-emu/ieee-math.c | b->f[0] |= 1UL << 55; |
b | 257 | arch/alpha/math-emu/ieee-math.c | b->e = -126; |
b | 259 | arch/alpha/math-emu/ieee-math.c | b->e = -1022; |
b | 275 | arch/alpha/math-emu/ieee-math.c | make_s_ieee (long f, EXTENDED *a, unsigned long *b) |
b | 280 | arch/alpha/math-emu/ieee-math.c | *b = (unsigned long) a->s << 63; /* return +/-0 */ |
b | 319 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 323 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_SMAX; |
b | 328 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 330 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_SMAX; |
b | 336 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_SMAX; |
b | 338 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 342 | arch/alpha/math-emu/ieee-math.c | *b |= ((unsigned long) a->s << 63); |
b | 347 | arch/alpha/math-emu/ieee-math.c | *b = (((unsigned long) a->s << 63) | |
b | 355 | arch/alpha/math-emu/ieee-math.c | make_t_ieee (long f, EXTENDED *a, unsigned long *b) |
b | 360 | arch/alpha/math-emu/ieee-math.c | *b = (unsigned long) a->s << 63; /* return +/-0 */ |
b | 398 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 402 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_TMAX; |
b | 407 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 409 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_TMAX; |
b | 415 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_TMAX; |
b | 417 | arch/alpha/math-emu/ieee-math.c | *b = IEEE_PINF; |
b | 421 | arch/alpha/math-emu/ieee-math.c | *b |= ((unsigned long) a->s << 63); |
b | 425 | arch/alpha/math-emu/ieee-math.c | *b = (((unsigned long) a->s << 63) | |
b | 444 | arch/alpha/math-emu/ieee-math.c | round_s_ieee (int f, EXTENDED *a, unsigned long *b) |
b | 450 | arch/alpha/math-emu/ieee-math.c | return make_s_ieee(f, a, b); /* no rounding error */ |
b | 468 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
b | 470 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
b | 474 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
b | 476 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
b | 480 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
b | 485 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
b | 487 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
b | 493 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
b | 495 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
b | 504 | arch/alpha/math-emu/ieee-math.c | round_t_ieee (EXTENDED *a, unsigned long *b, int f) |
b | 511 | arch/alpha/math-emu/ieee-math.c | return make_t_ieee(f, a, b); |
b | 526 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
b | 528 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
b | 532 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
b | 534 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
b | 538 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
b | 543 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
b | 545 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
b | 551 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
b | 553 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
b | 615 | arch/alpha/math-emu/ieee-math.c | ieee_CVTST (int f, unsigned long a, unsigned long *b) |
b | 622 | arch/alpha/math-emu/ieee-math.c | *b = a; |
b | 624 | arch/alpha/math-emu/ieee-math.c | *b |= (1UL << 51); /* turn SNaN into QNaN */ |
b | 629 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &temp, b); |
b | 646 | arch/alpha/math-emu/ieee-math.c | ieee_CVTTS (int f, unsigned long a, unsigned long *b) |
b | 653 | arch/alpha/math-emu/ieee-math.c | *b = a; |
b | 655 | arch/alpha/math-emu/ieee-math.c | *b |= (1UL << 51); /* turn SNaN into QNaN */ |
b | 660 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &temp, b); |
b | 677 | arch/alpha/math-emu/ieee-math.c | ieee_CVTQS (int f, unsigned long a, unsigned long *b) |
b | 690 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_b, b); |
b | 707 | arch/alpha/math-emu/ieee-math.c | ieee_CVTQT (int f, unsigned long a, unsigned long *b) |
b | 720 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_b, b, f); |
b | 737 | arch/alpha/math-emu/ieee-math.c | ieee_CVTTQ (int f, unsigned long a, unsigned long *b) |
b | 744 | arch/alpha/math-emu/ieee-math.c | *b = 0; |
b | 769 | arch/alpha/math-emu/ieee-math.c | *b = ((temp.f[1] << 9) | (temp.f[0] >> 55)) & 0x7fffffffffffffff; |
b | 780 | arch/alpha/math-emu/ieee-math.c | ++b; |
b | 786 | arch/alpha/math-emu/ieee-math.c | ++b; |
b | 791 | arch/alpha/math-emu/ieee-math.c | --b; |
b | 802 | arch/alpha/math-emu/ieee-math.c | *b = -*b; |
b | 809 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTEQ (unsigned long a, unsigned long b, unsigned long *c) |
b | 816 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 831 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTLT (unsigned long a, unsigned long b, unsigned long *c) |
b | 838 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 858 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTLE (unsigned long a, unsigned long b, unsigned long *c) |
b | 865 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 885 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTUN (unsigned long a, unsigned long b, unsigned long *c) |
b | 892 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 907 | arch/alpha/math-emu/ieee-math.c | ieee_ADDS (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 913 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, SINGLE); |
b | 919 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 921 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 932 | arch/alpha/math-emu/ieee-math.c | if (a_type == INFTY && b_type == INFTY && sign(a) != sign(b)) { |
b | 939 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 956 | arch/alpha/math-emu/ieee-math.c | ieee_ADDT (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 962 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 968 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 970 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 981 | arch/alpha/math-emu/ieee-math.c | if (a_type == INFTY && b_type == INFTY && sign(a) != sign(b)) { |
b | 988 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1005 | arch/alpha/math-emu/ieee-math.c | ieee_SUBS (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1011 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, SINGLE); |
b | 1017 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1019 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 1030 | arch/alpha/math-emu/ieee-math.c | if (a_type == INFTY && b_type == INFTY && sign(a) == sign(b)) { |
b | 1037 | arch/alpha/math-emu/ieee-math.c | *c = b ^ (1UL << 63); |
b | 1055 | arch/alpha/math-emu/ieee-math.c | ieee_SUBT (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1061 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 1067 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1069 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 1080 | arch/alpha/math-emu/ieee-math.c | if (a_type == INFTY && b_type == INFTY && sign(a) == sign(b)) { |
b | 1087 | arch/alpha/math-emu/ieee-math.c | *c = b ^ (1UL << 63); |
b | 1105 | arch/alpha/math-emu/ieee-math.c | ieee_MULS (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1111 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, SINGLE); |
b | 1117 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1119 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 1137 | arch/alpha/math-emu/ieee-math.c | *c = a ^ ((b >> 63) << 63); |
b | 1139 | arch/alpha/math-emu/ieee-math.c | *c = b ^ ((a >> 63) << 63); |
b | 1161 | arch/alpha/math-emu/ieee-math.c | ieee_MULT (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1168 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 1174 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1176 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 1194 | arch/alpha/math-emu/ieee-math.c | *c = a ^ ((b >> 63) << 63); |
b | 1196 | arch/alpha/math-emu/ieee-math.c | *c = b ^ ((a >> 63) << 63); |
b | 1218 | arch/alpha/math-emu/ieee-math.c | ieee_DIVS (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1224 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, SINGLE); |
b | 1232 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1234 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 1284 | arch/alpha/math-emu/ieee-math.c | ieee_DIVT (int f, unsigned long a, unsigned long b, unsigned long *c) |
b | 1291 | arch/alpha/math-emu/ieee-math.c | b_type = extend_ieee(b, &op_b, DOUBLE); |
b | 1299 | arch/alpha/math-emu/ieee-math.c | *c = b; |
b | 1301 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
b | 20 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CVTST (int rm, unsigned long a, unsigned long *b); |
b | 21 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CVTTS (int rm, unsigned long a, unsigned long *b); |
b | 22 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CVTQS (int rm, unsigned long a, unsigned long *b); |
b | 23 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CVTQT (int rm, unsigned long a, unsigned long *b); |
b | 24 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CVTTQ (int rm, unsigned long a, unsigned long *b); |
b | 26 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CMPTEQ (unsigned long a, unsigned long b, |
b | 28 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CMPTLT (unsigned long a, unsigned long b, |
b | 30 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CMPTLE (unsigned long a, unsigned long b, |
b | 32 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_CMPTUN (unsigned long a, unsigned long b, |
b | 35 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_ADDS (int rm, unsigned long a, unsigned long b, |
b | 37 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_ADDT (int rm, unsigned long a, unsigned long b, |
b | 39 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_SUBS (int rm, unsigned long a, unsigned long b, |
b | 41 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_SUBT (int rm, unsigned long a, unsigned long b, |
b | 43 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_MULS (int rm, unsigned long a, unsigned long b, |
b | 45 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_MULT (int rm, unsigned long a, unsigned long b, |
b | 47 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_DIVS (int rm, unsigned long a, unsigned long b, |
b | 49 | arch/alpha/math-emu/ieee-math.h | extern unsigned long ieee_DIVT (int rm, unsigned long a, unsigned long b, |
b | 275 | arch/i386/boot/compressed/misc.c | short b; |
b | 56 | arch/i386/boot/tools/build.c | char b[4]; |
b | 63 | arch/i386/boot/tools/build.c | t.b[0] = l & 0xff; l >>= 8; |
b | 64 | arch/i386/boot/tools/build.c | t.b[1] = l & 0xff; l >>= 8; |
b | 65 | arch/i386/boot/tools/build.c | t.b[2] = l & 0xff; l >>= 8; |
b | 66 | arch/i386/boot/tools/build.c | t.b[3] = l & 0xff; l >>= 8; |
b | 74 | arch/i386/boot/tools/build.c | t.b[0] = l & 0xff; l >>= 8; |
b | 75 | arch/i386/boot/tools/build.c | t.b[1] = l & 0xff; l >>= 8; |
b | 392 | arch/i386/kernel/traps.c | p->a=p->b=0; |
b | 394 | arch/i386/kernel/traps.c | p->a=p->b=0; |
b | 386 | arch/i386/math-emu/errors.c | asmlinkage int real_2op_NaN(FPU_REG const *a, FPU_REG const *b, FPU_REG *dest) |
b | 396 | arch/i386/math-emu/errors.c | if (b->tag == TW_NaN) |
b | 398 | arch/i386/math-emu/errors.c | signalling = !(a->sigh & b->sigh & 0x40000000); |
b | 400 | arch/i386/math-emu/errors.c | if ( significand(a) < significand(b) ) |
b | 401 | arch/i386/math-emu/errors.c | x = b; |
b | 411 | arch/i386/math-emu/errors.c | if (b->tag == TW_NaN) |
b | 414 | arch/i386/math-emu/errors.c | signalling = !(b->sigh & 0x40000000); |
b | 415 | arch/i386/math-emu/errors.c | x = b; |
b | 11 | arch/i386/math-emu/fpu_proto.h | asmlinkage int real_2op_NaN(FPU_REG const *a, FPU_REG const *b, FPU_REG *dest); |
b | 95 | arch/i386/math-emu/fpu_proto.h | extern int reg_add(FPU_REG const *a, FPU_REG const *b, |
b | 97 | arch/i386/math-emu/fpu_proto.h | extern int reg_sub(FPU_REG const *a, FPU_REG const *b, |
b | 101 | arch/i386/math-emu/fpu_proto.h | extern int compare(FPU_REG const *b); |
b | 102 | arch/i386/math-emu/fpu_proto.h | extern int compare_st_data(FPU_REG const *b); |
b | 136 | arch/i386/math-emu/fpu_proto.h | extern int reg_mul(FPU_REG const *a, FPU_REG const *b, |
b | 24 | arch/i386/math-emu/fpu_system.h | #define SEG_D_SIZE(x) ((x).b & (3 << 21)) |
b | 25 | arch/i386/math-emu/fpu_system.h | #define SEG_G_BIT(x) ((x).b & (1 << 23)) |
b | 26 | arch/i386/math-emu/fpu_system.h | #define SEG_GRANULARITY(x) (((x).b & (1 << 23)) ? 4096 : 1) |
b | 27 | arch/i386/math-emu/fpu_system.h | #define SEG_286_MODE(x) ((x).b & ( 0xff000000 | 0xf0000 | (1 << 23))) |
b | 28 | arch/i386/math-emu/fpu_system.h | #define SEG_BASE_ADDR(s) (((s).b & 0xff000000) \ |
b | 29 | arch/i386/math-emu/fpu_system.h | | (((s).b & 0xff) << 16) | ((s).a >> 16)) |
b | 30 | arch/i386/math-emu/fpu_system.h | #define SEG_LIMIT(s) (((s).b & 0xff0000) | ((s).a & 0xffff)) |
b | 31 | arch/i386/math-emu/fpu_system.h | #define SEG_EXECUTE_ONLY(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 11)) |
b | 32 | arch/i386/math-emu/fpu_system.h | #define SEG_WRITE_PERM(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 9)) |
b | 33 | arch/i386/math-emu/fpu_system.h | #define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \ |
b | 29 | arch/i386/math-emu/poly.h | asmlinkage void mul64(unsigned long long const *a, unsigned long long const *b, |
b | 47 | arch/i386/math-emu/poly.h | #define MK_XSIG(a,b,c) { c, b, a } |
b | 25 | arch/i386/math-emu/reg_add_sub.c | int reg_add(FPU_REG const *a, FPU_REG const *b, FPU_REG *dest, int control_w) |
b | 30 | arch/i386/math-emu/reg_add_sub.c | if ( !(a->tag | b->tag) ) |
b | 33 | arch/i386/math-emu/reg_add_sub.c | if (!(a->sign ^ b->sign)) |
b | 37 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_add(a, b, dest, control_w) ) |
b | 46 | arch/i386/math-emu/reg_add_sub.c | diff = a->exp - b->exp; |
b | 49 | arch/i386/math-emu/reg_add_sub.c | diff = a->sigh - b->sigh; /* Works only if ms bits are identical */ |
b | 52 | arch/i386/math-emu/reg_add_sub.c | diff = a->sigl > b->sigl; |
b | 54 | arch/i386/math-emu/reg_add_sub.c | diff = -(a->sigl < b->sigl); |
b | 61 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_sub(a, b, dest, control_w) ) |
b | 70 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 81 | arch/i386/math-emu/reg_add_sub.c | dest->sign = b->sign; |
b | 82 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_sub(b, a, dest, control_w) ) |
b | 92 | arch/i386/math-emu/reg_add_sub.c | if ( (a->tag == TW_NaN) || (b->tag == TW_NaN) ) |
b | 93 | arch/i386/math-emu/reg_add_sub.c | { return real_2op_NaN(a, b, dest); } |
b | 96 | arch/i386/math-emu/reg_add_sub.c | if (b->tag == TW_Zero) |
b | 98 | arch/i386/math-emu/reg_add_sub.c | char different_signs = a->sign ^ b->sign; |
b | 112 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 116 | arch/i386/math-emu/reg_add_sub.c | reg_move(b, dest); |
b | 120 | arch/i386/math-emu/reg_add_sub.c | else if (b->tag == TW_Zero) |
b | 131 | arch/i386/math-emu/reg_add_sub.c | if (b->tag != TW_Infinity) |
b | 134 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 140 | arch/i386/math-emu/reg_add_sub.c | if (a->sign == b->sign) |
b | 147 | arch/i386/math-emu/reg_add_sub.c | else if (b->tag == TW_Infinity) |
b | 154 | arch/i386/math-emu/reg_add_sub.c | reg_move(b, dest); return 0; |
b | 165 | arch/i386/math-emu/reg_add_sub.c | int reg_sub(FPU_REG const *a, FPU_REG const *b, FPU_REG *dest, int control_w) |
b | 170 | arch/i386/math-emu/reg_add_sub.c | if ( !(a->tag | b->tag) ) |
b | 173 | arch/i386/math-emu/reg_add_sub.c | diff = a->exp - b->exp; |
b | 176 | arch/i386/math-emu/reg_add_sub.c | diff = a->sigh - b->sigh; /* Works only if ms bits are identical */ |
b | 179 | arch/i386/math-emu/reg_add_sub.c | diff = a->sigl > b->sigl; |
b | 181 | arch/i386/math-emu/reg_add_sub.c | diff = -(a->sigl < b->sigl); |
b | 185 | arch/i386/math-emu/reg_add_sub.c | switch (a->sign*2 + b->sign) |
b | 193 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_sub(a, b, dest, control_w) ) |
b | 203 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 215 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_sub(b, a, dest, control_w) ) |
b | 224 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_add(a, b, dest, control_w) ) |
b | 232 | arch/i386/math-emu/reg_add_sub.c | if ( reg_u_add(a, b, dest, control_w) ) |
b | 243 | arch/i386/math-emu/reg_add_sub.c | if ( (a->tag == TW_NaN) || (b->tag == TW_NaN) ) |
b | 244 | arch/i386/math-emu/reg_add_sub.c | { return real_2op_NaN(b, a, dest); } |
b | 245 | arch/i386/math-emu/reg_add_sub.c | else if (b->tag == TW_Zero) |
b | 249 | arch/i386/math-emu/reg_add_sub.c | char same_signs = !(a->sign ^ b->sign); |
b | 273 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 277 | arch/i386/math-emu/reg_add_sub.c | reg_move(b, dest); |
b | 283 | arch/i386/math-emu/reg_add_sub.c | if (b->tag != TW_Infinity) |
b | 286 | arch/i386/math-emu/reg_add_sub.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 293 | arch/i386/math-emu/reg_add_sub.c | if (a->sign == b->sign) |
b | 301 | arch/i386/math-emu/reg_add_sub.c | else if (b->tag == TW_Infinity) |
b | 308 | arch/i386/math-emu/reg_add_sub.c | reg_move(b, dest); |
b | 24 | arch/i386/math-emu/reg_compare.c | int compare(FPU_REG const *b) |
b | 33 | arch/i386/math-emu/reg_compare.c | if ( st0_tag | b->tag ) |
b | 37 | arch/i386/math-emu/reg_compare.c | if ( b->tag == TW_Zero ) return COMP_A_eq_B; |
b | 38 | arch/i386/math-emu/reg_compare.c | if ( b->tag == TW_Valid ) |
b | 40 | arch/i386/math-emu/reg_compare.c | return ((b->sign == SIGN_POS) ? COMP_A_lt_B : COMP_A_gt_B) |
b | 42 | arch/i386/math-emu/reg_compare.c | | ((b->exp <= EXP_UNDER) ? |
b | 48 | arch/i386/math-emu/reg_compare.c | else if ( b->tag == TW_Zero ) |
b | 64 | arch/i386/math-emu/reg_compare.c | if ( (b->tag == TW_Valid) || (b->tag == TW_Zero) ) |
b | 69 | arch/i386/math-emu/reg_compare.c | | (((b->tag == TW_Valid) && (b->exp <= EXP_UNDER)) ? |
b | 74 | arch/i386/math-emu/reg_compare.c | else if ( b->tag == TW_Infinity ) |
b | 77 | arch/i386/math-emu/reg_compare.c | return (st0_ptr->sign == b->sign) ? COMP_A_eq_B : |
b | 82 | arch/i386/math-emu/reg_compare.c | else if ( b->tag == TW_Infinity ) |
b | 86 | arch/i386/math-emu/reg_compare.c | return ((b->sign == SIGN_POS) ? COMP_A_lt_B : COMP_A_gt_B) |
b | 99 | arch/i386/math-emu/reg_compare.c | if ( (st0_tag == TW_NaN) || (b->tag == TW_NaN) ) |
b | 102 | arch/i386/math-emu/reg_compare.c | || ((b->tag == TW_NaN) && !(b->sigh & 0x40000000)) ) |
b | 115 | arch/i386/math-emu/reg_compare.c | if (!(b->sigh & 0x80000000)) EXCEPTION(EX_Invalid); |
b | 119 | arch/i386/math-emu/reg_compare.c | if (st0_ptr->sign != b->sign) |
b | 124 | arch/i386/math-emu/reg_compare.c | ( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
b | 130 | arch/i386/math-emu/reg_compare.c | diff = st0_ptr->exp - b->exp; |
b | 133 | arch/i386/math-emu/reg_compare.c | diff = st0_ptr->sigh - b->sigh; /* Works only if ms bits are |
b | 137 | arch/i386/math-emu/reg_compare.c | diff = st0_ptr->sigl > b->sigl; |
b | 139 | arch/i386/math-emu/reg_compare.c | diff = -(st0_ptr->sigl < b->sigl); |
b | 148 | arch/i386/math-emu/reg_compare.c | ( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
b | 158 | arch/i386/math-emu/reg_compare.c | ( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
b | 167 | arch/i386/math-emu/reg_compare.c | ( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
b | 1016 | arch/i386/math-emu/reg_ld_str.c | unsigned char b; |
b | 1066 | arch/i386/math-emu/reg_ld_str.c | b = div_small(&ll, 10); |
b | 1067 | arch/i386/math-emu/reg_ld_str.c | b |= (div_small(&ll, 10)) << 4; |
b | 1069 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(b,(unsigned char *) d+i); |
b | 24 | arch/i386/math-emu/reg_mul.c | int reg_mul(FPU_REG const *a, FPU_REG const *b, |
b | 28 | arch/i386/math-emu/reg_mul.c | char sign = (a->sign ^ b->sign); |
b | 30 | arch/i386/math-emu/reg_mul.c | if (!(a->tag | b->tag)) |
b | 34 | arch/i386/math-emu/reg_mul.c | if ( reg_u_mul(a, b, dest, control_w) ) |
b | 41 | arch/i386/math-emu/reg_mul.c | else if ((a->tag <= TW_Zero) && (b->tag <= TW_Zero)) |
b | 44 | arch/i386/math-emu/reg_mul.c | if ( ((b->tag == TW_Valid) && (b->exp <= EXP_UNDER)) || |
b | 63 | arch/i386/math-emu/reg_mul.c | if ( (a->tag == TW_NaN) || (b->tag == TW_NaN) ) |
b | 64 | arch/i386/math-emu/reg_mul.c | { return real_2op_NaN(a, b, dest); } |
b | 67 | arch/i386/math-emu/reg_mul.c | if (b->tag == TW_Zero) |
b | 72 | arch/i386/math-emu/reg_mul.c | if ( (b->tag == TW_Valid) && (b->exp <= EXP_UNDER) && |
b | 81 | arch/i386/math-emu/reg_mul.c | else if (b->tag == TW_Infinity) |
b | 92 | arch/i386/math-emu/reg_mul.c | reg_move(b, dest); |
b | 107 | arch/sparc/kernel/smp.c | inline void smp_invalidate(int type, unsigned long a, unsigned long b, unsigned long c) |
b | 151 | drivers/block/ali14xx.c | driveNum = (HWIF(drive)->index << 1) + drive->select.b.unit; |
b | 138 | drivers/block/cmd640.c | byte b; |
b | 144 | drivers/block/cmd640.c | b = inb_p(0xcfc + (reg_no & 3)); |
b | 146 | drivers/block/cmd640.c | return b; |
b | 165 | drivers/block/cmd640.c | byte b; |
b | 171 | drivers/block/cmd640.c | b = inb_p(cmd640_key + reg_no); |
b | 174 | drivers/block/cmd640.c | return b; |
b | 192 | drivers/block/cmd640.c | byte b; |
b | 198 | drivers/block/cmd640.c | b = inb_p(cmd640_key + 0xc); |
b | 200 | drivers/block/cmd640.c | return b; |
b | 255 | drivers/block/cmd640.c | byte b; |
b | 258 | drivers/block/cmd640.c | b = inb(0x17c); |
b | 259 | drivers/block/cmd640.c | if (b == 0xff || b == 0 || (b & CFR_AT_VESA_078h)) { |
b | 261 | drivers/block/cmd640.c | b = inb(0x7c); |
b | 262 | drivers/block/cmd640.c | if (b == 0xff || b == 0 || !(b & CFR_AT_VESA_078h)) |
b | 309 | drivers/block/cmd640.c | byte b; |
b | 326 | drivers/block/cmd640.c | for (b = 0; b != 0xff; b++) { |
b | 327 | drivers/block/cmd640.c | printk(" %2x%c", get_cmd640_reg(b), |
b | 328 | drivers/block/cmd640.c | ((b&0xf) == 0xf) ? '\n' : ','); |
b | 376 | drivers/block/cmd640.c | b = get_cmd640_reg(CNTRL); |
b | 379 | drivers/block/cmd640.c | b |= CNTRL_ENA_2ND; |
b | 381 | drivers/block/cmd640.c | b &= ~CNTRL_ENA_2ND; |
b | 386 | drivers/block/cmd640.c | b |= (CNTRL_DIS_RA0 | CNTRL_DIS_RA1); |
b | 388 | drivers/block/cmd640.c | put_cmd640_reg(CNTRL, b); |
b | 445 | drivers/block/cmd640.c | byte b; |
b | 450 | drivers/block/cmd640.c | b = get_cmd640_reg(CNTRL); |
b | 451 | drivers/block/cmd640.c | b &= ~CNTRL_ENA_2ND; |
b | 452 | drivers/block/cmd640.c | put_cmd640_reg(CNTRL, b); |
b | 471 | drivers/block/cmd640.c | byte b; |
b | 473 | drivers/block/cmd640.c | b = get_cmd640_reg(port); |
b | 475 | drivers/block/cmd640.c | b &= ~mask; /* Enable readahead for specific drive */ |
b | 477 | drivers/block/cmd640.c | b |= mask; /* Disable readahed for specific drive */ |
b | 478 | drivers/block/cmd640.c | put_cmd640_reg(port, b); |
b | 543 | drivers/block/cmd640.c | inline int max(int a, int b) { return a > b ? a : b; } |
b | 606 | drivers/block/cmd640.c | int a, b; |
b | 613 | drivers/block/cmd640.c | b = (ds_time + clock_time - 1)/clock_time - a; |
b | 614 | drivers/block/cmd640.c | if (b < 2) |
b | 615 | drivers/block/cmd640.c | b = 2; |
b | 616 | drivers/block/cmd640.c | if (b > 0x11) { |
b | 617 | drivers/block/cmd640.c | a += b - 0x11; |
b | 618 | drivers/block/cmd640.c | b = 0x11; |
b | 623 | drivers/block/cmd640.c | b -= 1; |
b | 624 | drivers/block/cmd640.c | if (b > 0x10) |
b | 625 | drivers/block/cmd640.c | b = 0x10; |
b | 628 | drivers/block/cmd640.c | r_count[drv_idx] = b; |
b | 655 | drivers/block/cmd640.c | drive_number = drive->select.b.unit; |
b | 688 | drivers/block/cmd640.c | drive_number = drive->select.b.unit; |
b | 51 | drivers/block/dtc2278.c | static void sub22 (char b, char c) |
b | 57 | drivers/block/dtc2278.c | outb_p(b,0xb0); |
b | 93 | drivers/block/dtc2278.c | HWIF(drive)->drives[!drive->select.b.unit].io_32bit = 1; |
b | 595 | drivers/block/floppy.c | static int maximum(int a, int b) |
b | 597 | drivers/block/floppy.c | if(a > b) |
b | 600 | drivers/block/floppy.c | return b; |
b | 602 | drivers/block/floppy.c | #define INFBOUND(a,b) (a)=maximum((a),(b)); |
b | 604 | drivers/block/floppy.c | static int minimum(int a, int b) |
b | 606 | drivers/block/floppy.c | if(a < b) |
b | 609 | drivers/block/floppy.c | return b; |
b | 611 | drivers/block/floppy.c | #define SUPBOUND(a,b) (a)=minimum((a),(b)); |
b | 132 | drivers/block/ht6560b.c | byte select = ht6560b_selects[HWIF(drive)->index][drive->select.b.unit]; |
b | 133 | drivers/block/ht6560b.c | byte timing = ht6560b_timings[HWIF(drive)->index][drive->select.b.unit]; |
b | 206 | drivers/block/ht6560b.c | unit = drive->select.b.unit; |
b | 158 | drivers/block/ide-cd.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 1837 | drivers/block/ide-cd.c | HWIF(drive)->gd->sizes[drive->select.b.unit << PARTN_BITS] |
b | 2668 | drivers/block/ide-cd.c | blksize_size[HWIF(drive)->major][drive->select.b.unit << PARTN_BITS] = CD_FRAMESIZE; |
b | 496 | drivers/block/ide-tape.c | } b; |
b | 511 | drivers/block/ide-tape.c | } b; |
b | 525 | drivers/block/ide-tape.c | } b; |
b | 537 | drivers/block/ide-tape.c | } b; |
b | 550 | drivers/block/ide-tape.c | } b; |
b | 565 | drivers/block/ide-tape.c | } b; |
b | 580 | drivers/block/ide-tape.c | } b; |
b | 946 | drivers/block/ide-tape.c | #define IDETAPE_MIN(a,b) ((a)<(b) ? (a):(b)) |
b | 1524 | drivers/block/ide-tape.c | OUT_BYTE (bcount.b.high,IDETAPE_BCOUNTH_REG); |
b | 1525 | drivers/block/ide-tape.c | OUT_BYTE (bcount.b.low,IDETAPE_BCOUNTL_REG); |
b | 1545 | drivers/block/ide-tape.c | if (!ireason.b.cod || ireason.b.io) { |
b | 1603 | drivers/block/ide-tape.c | if (!status.b.drq) { /* No more interrupts */ |
b | 1612 | drivers/block/ide-tape.c | if (status.b.check || pc->dma_error) { /* Error detected */ |
b | 1630 | drivers/block/ide-tape.c | if (pc->wait_for_dsc && !status.b.dsc) { /* Media access command */ |
b | 1655 | drivers/block/ide-tape.c | bcount.b.high=IN_BYTE (IDETAPE_BCOUNTH_REG); /* Get the number of bytes to transfer */ |
b | 1656 | drivers/block/ide-tape.c | bcount.b.low=IN_BYTE (IDETAPE_BCOUNTL_REG); /* on this interrupt */ |
b | 1659 | drivers/block/ide-tape.c | if (ireason.b.cod) { |
b | 1664 | drivers/block/ide-tape.c | if (ireason.b.io != !(pc->writing)) { /* Hopefully, we will never get here */ |
b | 1666 | drivers/block/ide-tape.c | printk ("but the tape wants us to %s !\n",ireason.b.io ? "Read":"Write"); |
b | 1780 | drivers/block/ide-tape.c | if (status.b.dsc) { /* DSC received */ |
b | 1855 | drivers/block/ide-tape.c | if (status.b.dsc) { /* DSC received */ |
b | 2054 | drivers/block/ide-tape.c | if (status.b.check) { /* Error detected */ |
b | 2622 | drivers/block/ide-tape.c | } b; |
b | 2639 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
b | 2640 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
b | 2641 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
b | 2659 | drivers/block/ide-tape.c | } b; |
b | 2679 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
b | 2680 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
b | 2681 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
b | 2696 | drivers/block/ide-tape.c | } b; |
b | 2713 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
b | 2714 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
b | 2715 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
b | 2987 | drivers/block/ide-tape.c | status.b.dsc=1; |
b | 2993 | drivers/block/ide-tape.c | if (!status.b.dsc) { /* Tape buffer not ready to accept r/w command */ |
b | 3015 | drivers/block/ide-tape.c | if (!status.b.dsc) { /* Tape buffer not ready to accept r/w command */ |
b | 3043 | drivers/block/ide-tape.c | if (!status.b.dsc) { /* Tape buffers are still not ready */ |
b | 3480 | drivers/block/ide-tape.c | } b; |
b | 3484 | drivers/block/ide-tape.c | converted.b.b1=original.b.b2; |
b | 3485 | drivers/block/ide-tape.c | converted.b.b2=original.b.b1; |
b | 3503 | drivers/block/ide-tape.c | } b; |
b | 3507 | drivers/block/ide-tape.c | converted.b.b1=original.b.b4; |
b | 3508 | drivers/block/ide-tape.c | converted.b.b2=original.b.b3; |
b | 3509 | drivers/block/ide-tape.c | converted.b.b3=original.b.b2; |
b | 3510 | drivers/block/ide-tape.c | converted.b.b4=original.b.b1; |
b | 350 | drivers/block/ide.c | drive->special.b.recalibrate = 1; |
b | 351 | drivers/block/ide.c | drive->special.b.set_geometry = 1; |
b | 482 | drivers/block/ide.c | drive->select.b.lba = 0; |
b | 487 | drivers/block/ide.c | drive->select.b.lba = 1; |
b | 694 | drivers/block/ide.c | rdrive->special.b.set_geometry = 1; |
b | 695 | drivers/block/ide.c | rdrive->special.b.recalibrate = 1; |
b | 704 | drivers/block/ide.c | rdrive->special.b.set_multmode = 1; |
b | 902 | drivers/block/ide.c | drive->special.b.recalibrate = 1; |
b | 1075 | drivers/block/ide.c | drive->special.b.recalibrate = 1; |
b | 1129 | drivers/block/ide.c | if (s->b.set_geometry) { |
b | 1130 | drivers/block/ide.c | s->b.set_geometry = 0; |
b | 1138 | drivers/block/ide.c | } else if (s->b.recalibrate) { |
b | 1139 | drivers/block/ide.c | s->b.recalibrate = 0; |
b | 1143 | drivers/block/ide.c | } else if (s->b.set_pio) { |
b | 1145 | drivers/block/ide.c | s->b.set_pio = 0; |
b | 1149 | drivers/block/ide.c | } else if (s->b.set_multmode) { |
b | 1150 | drivers/block/ide.c | s->b.set_multmode = 0; |
b | 1215 | drivers/block/ide.c | if (drive->select.b.lba) { |
b | 1680 | drivers/block/ide.c | rq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS); |
b | 1801 | drivers/block/ide.c | minor = drive->select.b.unit << PARTN_BITS; |
b | 1824 | drivers/block/ide.c | resetup_one_dev(HWIF(drive)->gd, drive->select.b.unit); |
b | 1963 | drivers/block/ide.c | HWIF(drive)->drives[!drive->select.b.unit].io_32bit = arg; |
b | 1979 | drivers/block/ide.c | if (drive->special.b.set_multmode) { |
b | 1984 | drivers/block/ide.c | drive->special.b.set_multmode = 1; |
b | 2018 | drivers/block/ide.c | drive->special.b.set_pio = 1; |
b | 2232 | drivers/block/ide.c | drive->select.b.lba ? "LBA, " : "", |
b | 2241 | drivers/block/ide.c | drive->special.b.set_multmode = 1; |
b | 2376 | drivers/block/ide.c | if (drive->select.b.unit != 0) { |
b | 2451 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && !drive->select.b.lba) { |
b | 2795 | drivers/block/ide.c | drive->special.b.set_geometry = 1; |
b | 105 | drivers/block/ide.h | #define OUT_BYTE(b,p) outb((b),p) |
b | 108 | drivers/block/ide.h | #define OUT_BYTE(b,p) outb_p((b),p) |
b | 285 | drivers/block/ide.h | } b; |
b | 296 | drivers/block/ide.h | } b; |
b | 559 | drivers/block/ll_rw_blk.c | void ll_rw_swap_file(int rw, kdev_t dev, unsigned int *b, int nb, char *buf) |
b | 601 | drivers/block/ll_rw_blk.c | req[j]->sector = (b[i] * buffersize) >> 9; |
b | 686 | drivers/cdrom/cdu31a.c | unsigned char a, b; |
b | 729 | drivers/cdrom/cdu31a.c | b = read_result_register(); |
b | 730 | drivers/cdrom/cdu31a.c | *result_buffer = b; |
b | 744 | drivers/cdrom/cdu31a.c | if (b > 8) |
b | 752 | drivers/cdrom/cdu31a.c | b = b - 8; |
b | 754 | drivers/cdrom/cdu31a.c | while (b > 10) |
b | 780 | drivers/cdrom/cdu31a.c | b = b - 10; |
b | 783 | drivers/cdrom/cdu31a.c | if (b > 0) |
b | 803 | drivers/cdrom/cdu31a.c | while (b > 0) |
b | 808 | drivers/cdrom/cdu31a.c | b--; |
b | 1076 | drivers/cdrom/cm206.c | int b=0x300, e=0x370; /* this is the range of start addresses */ |
b | 1082 | drivers/cdrom/cm206.c | if (base) b=e=base; |
b | 1083 | drivers/cdrom/cm206.c | for (base=b; base<=e; base += 0x10) { |
b | 71 | drivers/cdrom/isp16.c | #define ISP16_OUT(p,b) (outb(isp16_ctrl,ISP16_CTRL_PORT), outb(b,p)) |
b | 554 | drivers/cdrom/mcd.c | char a, b, c, d; |
b | 557 | drivers/cdrom/mcd.c | getValue(&b); |
b | 871 | drivers/cdrom/mcdx.c | unsigned char b; |
b | 881 | drivers/cdrom/mcdx.c | b = inb((unsigned int) stuffp->rreg_status); |
b | 882 | drivers/cdrom/mcdx.c | stuffp->introk = ~b & MCDX_RBIT_DTEN; |
b | 891 | drivers/cdrom/mcdx.c | TRACE((IRQ, "intr() irq %d hw status 0x%02x\n", irq, b)); |
b | 892 | drivers/cdrom/mcdx.c | if (~b & MCDX_RBIT_STEN) { |
b | 899 | drivers/cdrom/mcdx.c | TRACE((IRQ, "irq() irq %d ok, status %02x\n", irq, b)); |
b | 93 | drivers/cdrom/optcd_isp16.h | #define ISP16_OUT(p,b) (outb(isp16_ctrl,ISP16_CTRL_PORT), outb(b,p)) |
b | 222 | drivers/cdrom/sjcd.c | unsigned char b, unsigned char c, unsigned char d ){ |
b | 228 | drivers/cdrom/sjcd.c | outb( b, SJCDPORT( 0 ) ); |
b | 204 | drivers/char/atixlmouse.c | unsigned char a,b,c; |
b | 207 | drivers/char/atixlmouse.c | b = inb( ATIXL_MSE_SIGNATURE_PORT ); |
b | 209 | drivers/char/atixlmouse.c | if (( a != b ) && ( a == c )) |
b | 118 | drivers/char/console.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 588 | drivers/char/console.c | void scrup(int currcons, unsigned int t, unsigned int b) |
b | 592 | drivers/char/console.c | if (b > video_num_lines || t >= b) |
b | 597 | drivers/char/console.c | else if (t || b != video_num_lines) |
b | 641 | drivers/char/console.c | unsigned int count = (b-t-1) * video_num_columns; |
b | 656 | drivers/char/console.c | scrdown(int currcons, unsigned int t, unsigned int b) |
b | 661 | drivers/char/console.c | if (b > video_num_lines || t >= b) |
b | 663 | drivers/char/console.c | d = (unsigned short *) (origin+video_size_row*b); |
b | 664 | drivers/char/console.c | s = (unsigned short *) (origin+video_size_row*(b-1)); |
b | 665 | drivers/char/console.c | count = (b-t-1)*video_num_columns; |
b | 1854 | drivers/char/console.c | void console_print(const char * b) |
b | 1874 | drivers/char/console.c | serial_echo_print(b); |
b | 1877 | drivers/char/console.c | while ((c = *(b++)) != 0) { |
b | 287 | drivers/char/cyclades.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 270 | drivers/char/ftape/ecc.c | static inline unsigned char gfadd(unsigned char a, unsigned char b) |
b | 272 | drivers/char/ftape/ecc.c | return a ^ b; |
b | 280 | drivers/char/ftape/ecc.c | static inline unsigned long gfadd_long(unsigned long a, unsigned long b) |
b | 282 | drivers/char/ftape/ecc.c | return a ^ b; |
b | 289 | drivers/char/ftape/ecc.c | static inline unsigned char gfmul(unsigned char a, unsigned char b) |
b | 291 | drivers/char/ftape/ecc.c | if (a && b) { |
b | 292 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] + gflog[b])]; |
b | 303 | drivers/char/ftape/ecc.c | static inline unsigned char gfmul_exp(unsigned char a, int b) |
b | 306 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] + b)]; |
b | 317 | drivers/char/ftape/ecc.c | static inline unsigned long gfmul_exp_long(unsigned long a, int b) |
b | 325 | drivers/char/ftape/ecc.c | ((t = a >> 24 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 24) : 0) | |
b | 326 | drivers/char/ftape/ecc.c | ((t = a >> 16 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 16) : 0) | |
b | 327 | drivers/char/ftape/ecc.c | ((t = a >> 8 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 8) : 0) | |
b | 328 | drivers/char/ftape/ecc.c | ((t = a >> 0 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 0) : 0); |
b | 333 | drivers/char/ftape/ecc.c | ((t = a >> 56 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 56) : 0) | |
b | 334 | drivers/char/ftape/ecc.c | ((t = a >> 48 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 48) : 0) | |
b | 335 | drivers/char/ftape/ecc.c | ((t = a >> 40 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 40) : 0) | |
b | 336 | drivers/char/ftape/ecc.c | ((t = a >> 32 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 32) : 0) | |
b | 337 | drivers/char/ftape/ecc.c | ((t = a >> 24 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 24) : 0) | |
b | 338 | drivers/char/ftape/ecc.c | ((t = a >> 16 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 16) : 0) | |
b | 339 | drivers/char/ftape/ecc.c | ((t = a >> 8 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 8) : 0) | |
b | 340 | drivers/char/ftape/ecc.c | ((t = a >> 0 & 0xff) ? (((unsigned long) gfpow[mod255(gflog[t] + b)]) << 0) : 0); |
b | 353 | drivers/char/ftape/ecc.c | static inline unsigned char gfdiv(unsigned char a, unsigned char b) |
b | 356 | drivers/char/ftape/ecc.c | if (!b) { |
b | 362 | drivers/char/ftape/ecc.c | return gfpow[mod255(gflog[a] - gflog[b])]; |
b | 465 | drivers/char/ftape/ecc.c | static inline void gfmat_mul(int n, Matrix A, unsigned char *s, unsigned char *b) |
b | 475 | drivers/char/ftape/ecc.c | b[i] = dot_prod; |
b | 47 | drivers/char/ftape/tracing.h | #define TRACEx2(l,m,a,b) trace_dummy() |
b | 48 | drivers/char/ftape/tracing.h | #define TRACEx3(l,m,a,b,c) trace_dummy() |
b | 49 | drivers/char/ftape/tracing.h | #define TRACEx4(l,m,a,b,c,d) trace_dummy() |
b | 50 | drivers/char/ftape/tracing.h | #define TRACEx5(l,m,a,b,c,d,e) trace_dummy() |
b | 51 | drivers/char/ftape/tracing.h | #define TRACEx6(l,m,a,b,c,d,e,f) trace_dummy() |
b | 79 | drivers/char/ftape/tracing.h | #define TRACEx2(l,m,a,b) TRACE_(l,printk(m".\n",a,b)) |
b | 80 | drivers/char/ftape/tracing.h | #define TRACEx3(l,m,a,b,c) TRACE_(l,printk(m".\n",a,b,c)) |
b | 81 | drivers/char/ftape/tracing.h | #define TRACEx4(l,m,a,b,c,d) TRACE_(l,printk(m".\n",a,b,c,d)) |
b | 82 | drivers/char/ftape/tracing.h | #define TRACEx5(l,m,a,b,c,d,e) TRACE_(l,printk(m".\n",a,b,c,d,e)) |
b | 83 | drivers/char/ftape/tracing.h | #define TRACEx6(l,m,a,b,c,d,e,f) TRACE_(l,printk(m".\n",a,b,c,d,e,f)) |
b | 605 | drivers/char/istallion.c | #define MIN(a,b) (((a) <= (b)) ? (a) : (b)) |
b | 44 | drivers/char/n_tty.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 735 | drivers/char/n_tty.c | unsigned char **b, |
b | 744 | drivers/char/n_tty.c | memcpy_tofs(*b, &tty->read_buf[tty->read_tail], n); |
b | 747 | drivers/char/n_tty.c | *b += n; |
b | 756 | drivers/char/n_tty.c | unsigned char *b = buf; |
b | 813 | drivers/char/n_tty.c | if (b != buf) |
b | 815 | drivers/char/n_tty.c | put_user(tty->link->ctrl_status, b++); |
b | 824 | drivers/char/n_tty.c | if (((minimum - (b - buf)) < tty->minimum_to_wake) && |
b | 825 | drivers/char/n_tty.c | ((minimum - (b - buf)) >= 1)) |
b | 826 | drivers/char/n_tty.c | tty->minimum_to_wake = (minimum - (b - buf)); |
b | 851 | drivers/char/n_tty.c | if (tty->packet && b == buf) { |
b | 852 | drivers/char/n_tty.c | put_user(TIOCPKT_DATA, b++); |
b | 873 | drivers/char/n_tty.c | put_user(c, b++); |
b | 882 | drivers/char/n_tty.c | put_user(c, b++); |
b | 889 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
b | 890 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
b | 901 | drivers/char/n_tty.c | if (b - buf >= minimum || !nr) |
b | 913 | drivers/char/n_tty.c | size = b - buf; |
b | 928 | drivers/char/n_tty.c | const unsigned char *b = buf; |
b | 951 | drivers/char/n_tty.c | c = get_user(b); |
b | 954 | drivers/char/n_tty.c | b++; nr--; |
b | 959 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
b | 960 | drivers/char/n_tty.c | b += c; |
b | 973 | drivers/char/n_tty.c | return (b - buf) ? b - buf : retval; |
b | 62 | drivers/char/pty.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 247 | drivers/char/random.c | #define MIN(a,b) (((a) < (b)) ? (a) : (b)) |
b | 481 | drivers/char/random.c | __u32 a, b, c, d; |
b | 484 | drivers/char/random.c | b = buf[1]; |
b | 488 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478, 7); |
b | 489 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12); |
b | 490 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17); |
b | 491 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[ 3]+0xc1bdceee, 22); |
b | 492 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 4]+0xf57c0faf, 7); |
b | 493 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 5]+0x4787c62a, 12); |
b | 494 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[ 6]+0xa8304613, 17); |
b | 495 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[ 7]+0xfd469501, 22); |
b | 496 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 8]+0x698098d8, 7); |
b | 497 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 9]+0x8b44f7af, 12); |
b | 498 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[10]+0xffff5bb1, 17); |
b | 499 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[11]+0x895cd7be, 22); |
b | 500 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[12]+0x6b901122, 7); |
b | 501 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[13]+0xfd987193, 12); |
b | 502 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[14]+0xa679438e, 17); |
b | 503 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[15]+0x49b40821, 22); |
b | 505 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 1]+0xf61e2562, 5); |
b | 506 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[ 6]+0xc040b340, 9); |
b | 507 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[11]+0x265e5a51, 14); |
b | 508 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 0]+0xe9b6c7aa, 20); |
b | 509 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 5]+0xd62f105d, 5); |
b | 510 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[10]+0x02441453, 9); |
b | 511 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[15]+0xd8a1e681, 14); |
b | 512 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 4]+0xe7d3fbc8, 20); |
b | 513 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 9]+0x21e1cde6, 5); |
b | 514 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[14]+0xc33707d6, 9); |
b | 515 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[ 3]+0xf4d50d87, 14); |
b | 516 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 8]+0x455a14ed, 20); |
b | 517 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[13]+0xa9e3e905, 5); |
b | 518 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[ 2]+0xfcefa3f8, 9); |
b | 519 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[ 7]+0x676f02d9, 14); |
b | 520 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[12]+0x8d2a4c8a, 20); |
b | 522 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 5]+0xfffa3942, 4); |
b | 523 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 8]+0x8771f681, 11); |
b | 524 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[11]+0x6d9d6122, 16); |
b | 525 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[14]+0xfde5380c, 23); |
b | 526 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 1]+0xa4beea44, 4); |
b | 527 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 4]+0x4bdecfa9, 11); |
b | 528 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[ 7]+0xf6bb4b60, 16); |
b | 529 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[10]+0xbebfbc70, 23); |
b | 530 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[13]+0x289b7ec6, 4); |
b | 531 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 0]+0xeaa127fa, 11); |
b | 532 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[ 3]+0xd4ef3085, 16); |
b | 533 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[ 6]+0x04881d05, 23); |
b | 534 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 9]+0xd9d4d039, 4); |
b | 535 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[12]+0xe6db99e5, 11); |
b | 536 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[15]+0x1fa27cf8, 16); |
b | 537 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[ 2]+0xc4ac5665, 23); |
b | 539 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 0]+0xf4292244, 6); |
b | 540 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[ 7]+0x432aff97, 10); |
b | 541 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[14]+0xab9423a7, 15); |
b | 542 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 5]+0xfc93a039, 21); |
b | 543 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[12]+0x655b59c3, 6); |
b | 544 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[ 3]+0x8f0ccc92, 10); |
b | 545 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[10]+0xffeff47d, 15); |
b | 546 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 1]+0x85845dd1, 21); |
b | 547 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 8]+0x6fa87e4f, 6); |
b | 548 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[15]+0xfe2ce6e0, 10); |
b | 549 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[ 6]+0xa3014314, 15); |
b | 550 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[13]+0x4e0811a1, 21); |
b | 551 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 4]+0xf7537e82, 6); |
b | 552 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[11]+0xbd3af235, 10); |
b | 553 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[ 2]+0x2ad7d2bb, 15); |
b | 554 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 9]+0xeb86d391, 21); |
b | 557 | drivers/char/random.c | buf[1] += b; |
b | 27 | drivers/char/selection.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 195 | drivers/char/serial.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 440 | drivers/char/stallion.c | #define MIN(a,b) (((a) <= (b)) ? (a) : (b)) |
b | 126 | drivers/char/tty_io.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
b | 282 | drivers/isdn/icn/icn.h | #define MIN(a,b) ((a<b)?a:b) |
b | 283 | drivers/isdn/icn/icn.h | #define MAX(a,b) ((a>b)?a:b) |
b | 257 | drivers/isdn/isdn_ppp.c | static int get_arg(void *b, unsigned long *val) |
b | 260 | drivers/isdn/isdn_ppp.c | if ((r = verify_area(VERIFY_READ, (void *) b, sizeof(unsigned long)))) |
b | 262 | drivers/isdn/isdn_ppp.c | memcpy_fromfs((void *) val, b, sizeof(unsigned long)); |
b | 266 | drivers/isdn/isdn_ppp.c | static int set_arg(void *b, unsigned long val) |
b | 269 | drivers/isdn/isdn_ppp.c | if ((r = verify_area(VERIFY_WRITE, b, sizeof(unsigned long)))) |
b | 271 | drivers/isdn/isdn_ppp.c | memcpy_tofs(b, (void *) &val, sizeof(unsigned long)); |
b | 454 | drivers/isdn/isdn_ppp.c | struct ippp_buf_queue *b; |
b | 467 | drivers/isdn/isdn_ppp.c | b = c->first->next; |
b | 468 | drivers/isdn/isdn_ppp.c | if (!b->buf) { |
b | 472 | drivers/isdn/isdn_ppp.c | if (b->len < count) |
b | 473 | drivers/isdn/isdn_ppp.c | count = b->len; |
b | 474 | drivers/isdn/isdn_ppp.c | memcpy_tofs(buf, b->buf, count); |
b | 475 | drivers/isdn/isdn_ppp.c | kfree(b->buf); |
b | 476 | drivers/isdn/isdn_ppp.c | b->buf = NULL; |
b | 477 | drivers/isdn/isdn_ppp.c | c->first = b; |
b | 171 | drivers/isdn/teles/q931.c | prbits(char *dest, byte b, int start, int len) |
b | 175 | drivers/isdn/teles/q931.c | b = b << (8 - start); |
b | 177 | drivers/isdn/teles/q931.c | if (b & 0x80) |
b | 181 | drivers/isdn/teles/q931.c | b = b << 1; |
b | 226 | drivers/net/bsd_comp.c | #define MAXCODE(b) ((1 << (b)) - 1) |
b | 618 | drivers/net/de4x5.c | static int de4x5_strncmp(char *a, char *b, int n); |
b | 2918 | drivers/net/de4x5.c | static int de4x5_strncmp(char *a, char *b, int n) |
b | 2923 | drivers/net/de4x5.c | ret = *a++ - *b++; |
b | 805 | drivers/net/de600.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 1454 | drivers/net/depca.c | u32 b; |
b | 1473 | drivers/net/depca.c | dev.llsig.b = ETH_PROM_SIG; |
b | 319 | drivers/net/eth16i.c | static int eth16i_send_probe_packet(short ioaddr, unsigned char *b, int l); |
b | 622 | drivers/net/eth16i.c | static int eth16i_send_probe_packet(short ioaddr, unsigned char *b, int l) |
b | 629 | drivers/net/eth16i.c | outsw(ioaddr + DATAPORT, (unsigned short *)b, (l + 1) >> 1); |
b | 1557 | drivers/net/ewrk3.c | u32 b; |
b | 1566 | drivers/net/ewrk3.c | dev.llsig.b = ETH_PROM_SIG; |
b | 947 | drivers/net/pi2.c | int b = 1; |
b | 970 | drivers/net/pi2.c | b = inb_p(tmr1); |
b | 971 | drivers/net/pi2.c | } while (b == 0); |
b | 973 | drivers/net/pi2.c | while (b != 0) { |
b | 977 | drivers/net/pi2.c | b = inb_p(tmr1); |
b | 191 | drivers/net/plip.c | } b; |
b | 516 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
b | 528 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
b | 535 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
b | 714 | drivers/net/plip.c | &snd->nibble, snd->length.b.lsb)) |
b | 720 | drivers/net/plip.c | &snd->nibble, snd->length.b.msb)) |
b | 213 | drivers/net/ppp.c | #define bset(p,b) ((p)[(b) >> 5] |= (1 << ((b) & 0x1f))) |
b | 582 | drivers/net/pt.c | int b = 1; |
b | 603 | drivers/net/pt.c | b = inb_p(ioaddr + TMR1); |
b | 604 | drivers/net/pt.c | } while (b == 0); |
b | 606 | drivers/net/pt.c | while(b != 0) |
b | 611 | drivers/net/pt.c | b = inb_p(ioaddr + TMR1); |
b | 1142 | drivers/net/smc9194.c | byte a, b; |
b | 1145 | drivers/net/smc9194.c | b = *(buf ++ ); |
b | 1146 | drivers/net/smc9194.c | printk("%02x%02x ", a, b ); |
b | 1151 | drivers/net/smc9194.c | byte a, b; |
b | 1154 | drivers/net/smc9194.c | b = *(buf ++ ); |
b | 1155 | drivers/net/smc9194.c | printk("%02x%02x ", a, b ); |
b | 230 | drivers/net/wavelan.c | psa_read(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
b | 238 | drivers/net/wavelan.c | *b++ = inb(PIOP2(ioaddr)); |
b | 250 | drivers/net/wavelan.c | psa_write(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n) |
b | 258 | drivers/net/wavelan.c | outb(*b, PIOP2(ioaddr)); |
b | 259 | drivers/net/wavelan.c | b++; |
b | 271 | drivers/net/wavelan.c | obram_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
b | 277 | drivers/net/wavelan.c | insw(PIOP1(ioaddr), (unsigned short *)b, n); |
b | 285 | drivers/net/wavelan.c | obram_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
b | 291 | drivers/net/wavelan.c | outsw(PIOP1(ioaddr), (unsigned short *)b, n); |
b | 299 | drivers/net/wavelan.c | mmc_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
b | 312 | drivers/net/wavelan.c | *b++ = (unsigned char)(inw(MMCR(ioaddr)) >> 8); |
b | 321 | drivers/net/wavelan.c | mmc_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n) |
b | 328 | drivers/net/wavelan.c | outw((unsigned short)(((unsigned short)*b << 8) | (o << 1) | 1), MMCR(ioaddr)); |
b | 329 | drivers/net/wavelan.c | b++; |
b | 122 | drivers/scsi/53c7,8xx.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
b | 123 | drivers/scsi/53c7,8xx.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
b | 124 | drivers/scsi/53c7,8xx.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
b | 2156 | drivers/scsi/advansys.c | #define min(a, b) (((a) < (b)) ? (a) : (b)) |
b | 80 | drivers/scsi/aic7xxx.c | #define MIN(a,b) ((a < b) ? a : b) |
b | 26 | drivers/scsi/eata_generic.h | #define min(a,b) ((a<b)?(a):(b)) |
b | 28 | drivers/scsi/scsi_ioctl.c | #define max(a,b) (((a) > (b)) ? (a) : (b)) |
b | 51 | drivers/sound/cs4232.c | #define CS_OUT2(a, b) {CS_OUT(a);CS_OUT(b);} |
b | 52 | drivers/sound/cs4232.c | #define CS_OUT3(a, b, c) {CS_OUT(a);CS_OUT(b);CS_OUT(c);} |
b | 1086 | fs/buffer.c | int brw_page(int rw, unsigned long address, kdev_t dev, int b[], int size, int bmap) |
b | 1101 | fs/buffer.c | block = *(b++); |
b | 1737 | fs/buffer.c | unsigned long generate_cluster(kdev_t dev, int b[], int size) |
b | 1742 | fs/buffer.c | if(i && b[i]-1 != b[i-1]) return 0; /* No need to cluster */ |
b | 1743 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
b | 1753 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
b | 1758 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
b | 1760 | fs/buffer.c | return reassign_cluster(dev, b[0], size); |
b | 56 | fs/dquot.c | #define min(a,b) ((a) < (b)) ? (a) : (b) |
b | 29 | fs/ext/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 30 | fs/ext/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 36 | fs/ext2/balloc.c | #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) |
b | 33 | fs/ext2/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 34 | fs/ext2/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 365 | fs/ext2/inode.c | unsigned long b; |
b | 396 | fs/ext2/inode.c | b = block; |
b | 398 | fs/ext2/inode.c | return inode_getblk (inode, block, create, b, err); |
b | 401 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err); |
b | 403 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
b | 407 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err); |
b | 409 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
b | 411 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
b | 414 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err); |
b | 416 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
b | 418 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
b | 420 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
b | 427 | fs/ext2/inode.c | unsigned long b; |
b | 445 | fs/ext2/inode.c | b = block; |
b | 451 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, &err); |
b | 457 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, &err); |
b | 459 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
b | 464 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, &err); |
b | 466 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
b | 468 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
b | 39 | fs/ext2/namei.c | #define NAMEI_RA_INDEX(c,b) (((c) * NAMEI_RA_BLOCKS) + (b)) |
b | 24 | fs/fat/file.c | #define MIN(a,b) (((a) < (b)) ? (a) : (b)) |
b | 25 | fs/fat/file.c | #define MAX(a,b) (((a) > (b)) ? (a) : (b)) |
b | 175 | fs/fat/inode.c | struct msdos_boot_sector *b; |
b | 212 | fs/fat/inode.c | b = (struct msdos_boot_sector *) bh->b_data; |
b | 232 | fs/fat/inode.c | logical_sector_size = CF_LE_W(*(unsigned short *) &b->sector_size); |
b | 234 | fs/fat/inode.c | MSDOS_SB(sb)->cluster_size = b->cluster_size*sector_mult; |
b | 235 | fs/fat/inode.c | MSDOS_SB(sb)->fats = b->fats; |
b | 236 | fs/fat/inode.c | MSDOS_SB(sb)->fat_start = CF_LE_W(b->reserved)*sector_mult; |
b | 237 | fs/fat/inode.c | MSDOS_SB(sb)->fat_length = CF_LE_W(b->fat_length)*sector_mult; |
b | 238 | fs/fat/inode.c | MSDOS_SB(sb)->dir_start = (CF_LE_W(b->reserved)+b->fats*CF_LE_W( |
b | 239 | fs/fat/inode.c | b->fat_length))*sector_mult; |
b | 240 | fs/fat/inode.c | MSDOS_SB(sb)->dir_entries = CF_LE_W(*((unsigned short *) &b->dir_entries |
b | 245 | fs/fat/inode.c | data_sectors = (CF_LE_W(*((unsigned short *) &b->sectors)) ? |
b | 246 | fs/fat/inode.c | CF_LE_W(*((unsigned short *) &b->sectors)) : |
b | 247 | fs/fat/inode.c | CF_LE_L(b->total_sect))*sector_mult-MSDOS_SB(sb)->data_start; |
b | 248 | fs/fat/inode.c | error = !b->cluster_size || !sector_mult; |
b | 250 | fs/fat/inode.c | MSDOS_SB(sb)->clusters = b->cluster_size ? data_sectors/ |
b | 251 | fs/fat/inode.c | b->cluster_size/sector_mult : 0; |
b | 259 | fs/fat/inode.c | || !b->secs_track || !b->heads; |
b | 278 | fs/fat/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(sb)->cluster_size, |
b | 281 | fs/fat/inode.c | MSDOS_SB(sb)->data_start,CF_LE_W(*(unsigned short *) &b-> |
b | 282 | fs/fat/inode.c | sectors),(unsigned long)b->total_sect,logical_sector_size); |
b | 30 | fs/fat/msbuffer.h | #define brelse(b) fat_brelse(sb,b) |
b | 31 | fs/fat/msbuffer.h | #define bread(d,b,s) fat_bread(sb,b) |
b | 32 | fs/fat/msbuffer.h | #define getblk(d,b,s) fat_getblk(sb,b) |
b | 33 | fs/fat/msbuffer.h | #define mark_buffer_dirty(b,v) fat_mark_buffer_dirty(sb,b,v) |
b | 247 | fs/hpfs/hpfs_fs.c | static secno bplus_lookup(struct inode *inode, struct bplus_header *b, |
b | 1049 | fs/hpfs/hpfs_fs.c | static secno bplus_lookup(struct inode *inode, struct bplus_header *b, |
b | 1060 | fs/hpfs/hpfs_fs.c | if (!b->internal) { |
b | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
b | 1062 | fs/hpfs/hpfs_fs.c | for (i = 0; i < b->n_used_nodes; i++) { |
b | 1079 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
b | 1080 | fs/hpfs/hpfs_fs.c | for (i = 0; i < b->n_used_nodes; i++) { |
b | 24 | fs/minix/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 25 | fs/minix/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 21 | fs/ncpfs/file.c | static inline int min(int a, int b) |
b | 23 | fs/ncpfs/file.c | return a<b ? a : b; |
b | 24 | fs/ncpfs/mmap.c | static inline int min(int a, int b) |
b | 26 | fs/ncpfs/mmap.c | return a<b ? a : b; |
b | 14 | fs/ncpfs/ncplib_kernel.c | static inline int min(int a, int b) |
b | 16 | fs/ncpfs/ncplib_kernel.c | return a<b ? a : b; |
b | 25 | fs/noquot.c | #define min(a,b) ((a) < (b)) ? (a) : (b) |
b | 181 | fs/proc/array.c | int a, b, c; |
b | 184 | fs/proc/array.c | b = avenrun[1] + (FIXED_1/200); |
b | 188 | fs/proc/array.c | LOAD_INT(b), LOAD_FRAC(b), |
b | 20 | fs/smbfs/file.c | static inline int min(int a, int b) |
b | 22 | fs/smbfs/file.c | return a<b ? a : b; |
b | 35 | fs/smbfs/proc.c | static inline int min(int a, int b) |
b | 37 | fs/smbfs/proc.c | return a<b ? a : b; |
b | 30 | fs/sysv/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 31 | fs/sysv/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 29 | fs/xiafs/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 30 | fs/xiafs/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 207 | include/asm-alpha/alcor.h | extern inline void __outb(unsigned char b, unsigned long addr) |
b | 211 | include/asm-alpha/alcor.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 223 | include/asm-alpha/alcor.h | extern inline void __outw(unsigned short b, unsigned long addr) |
b | 227 | include/asm-alpha/alcor.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 237 | include/asm-alpha/alcor.h | extern inline void __outl(unsigned int b, unsigned long addr) |
b | 239 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_IO + 0x18) = b; |
b | 311 | include/asm-alpha/alcor.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
b | 320 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x00) = b * 0x01010101; |
b | 323 | include/asm-alpha/alcor.h | extern inline void __writew(unsigned short b, unsigned long addr) |
b | 332 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x08) = b * 0x00010001; |
b | 335 | include/asm-alpha/alcor.h | extern inline void __writel(unsigned int b, unsigned long addr) |
b | 337 | include/asm-alpha/alcor.h | *(vuip) (addr + ALCOR_DENSE_MEM) = b; |
b | 204 | include/asm-alpha/apecs.h | extern inline void __outb(unsigned char b, unsigned long addr) |
b | 208 | include/asm-alpha/apecs.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 220 | include/asm-alpha/apecs.h | extern inline void __outw(unsigned short b, unsigned long addr) |
b | 224 | include/asm-alpha/apecs.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 234 | include/asm-alpha/apecs.h | extern inline void __outl(unsigned int b, unsigned long addr) |
b | 236 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x18) = b; |
b | 284 | include/asm-alpha/apecs.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
b | 295 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x00) = b * 0x01010101; |
b | 298 | include/asm-alpha/apecs.h | extern inline void __writew(unsigned short b, unsigned long addr) |
b | 309 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x08) = b * 0x00010001; |
b | 312 | include/asm-alpha/apecs.h | extern inline void __writel(unsigned int b, unsigned long addr) |
b | 314 | include/asm-alpha/apecs.h | *(vuip) (addr + APECS_DENSE_MEM) = b; |
b | 42 | include/asm-alpha/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
b | 44 | include/asm-alpha/delay.h | return (a*b)/c; |
b | 94 | include/asm-alpha/io.h | extern void _outb (unsigned char b,unsigned long port); |
b | 100 | include/asm-alpha/io.h | extern void _writeb(unsigned char b, unsigned long addr); |
b | 101 | include/asm-alpha/io.h | extern void _writew(unsigned short b, unsigned long addr); |
b | 102 | include/asm-alpha/io.h | extern void _writel(unsigned int b, unsigned long addr); |
b | 119 | include/asm-alpha/io.h | # define outb(b,p) _outb((b),(p)) |
b | 115 | include/asm-alpha/jensen.h | extern inline void __local_outb(unsigned char b, unsigned long addr) |
b | 117 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 9) + EISA_VL82C106) = b; |
b | 133 | include/asm-alpha/jensen.h | extern void _bus_outb(unsigned char b, unsigned long addr); |
b | 135 | include/asm-alpha/jensen.h | extern inline void __bus_outb(unsigned char b, unsigned long addr) |
b | 138 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x00) = b * 0x01010101; |
b | 161 | include/asm-alpha/jensen.h | extern inline void __outb(unsigned char b, unsigned long addr) |
b | 164 | include/asm-alpha/jensen.h | __local_outb(b, addr); |
b | 166 | include/asm-alpha/jensen.h | _bus_outb(b, addr); |
b | 185 | include/asm-alpha/jensen.h | extern inline void __outw(unsigned short b, unsigned long addr) |
b | 188 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x20) = b * 0x00010001; |
b | 192 | include/asm-alpha/jensen.h | extern inline void __outl(unsigned int b, unsigned long addr) |
b | 195 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60) = b; |
b | 231 | include/asm-alpha/jensen.h | extern inline void __writeb(unsigned short b, unsigned long addr) |
b | 235 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x00) = b * 0x01010101; |
b | 238 | include/asm-alpha/jensen.h | extern inline void __writew(unsigned short b, unsigned long addr) |
b | 242 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x20) = b * 0x00010001; |
b | 245 | include/asm-alpha/jensen.h | extern inline void __writel(unsigned int b, unsigned long addr) |
b | 249 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60) = b; |
b | 177 | include/asm-alpha/lca.h | extern inline void __outb(unsigned char b, unsigned long addr) |
b | 181 | include/asm-alpha/lca.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 193 | include/asm-alpha/lca.h | extern inline void __outw(unsigned short b, unsigned long addr) |
b | 197 | include/asm-alpha/lca.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 207 | include/asm-alpha/lca.h | extern inline void __outl(unsigned int b, unsigned long addr) |
b | 209 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x18) = b; |
b | 257 | include/asm-alpha/lca.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
b | 269 | include/asm-alpha/lca.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 273 | include/asm-alpha/lca.h | extern inline void __writew(unsigned short b, unsigned long addr) |
b | 285 | include/asm-alpha/lca.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
b | 289 | include/asm-alpha/lca.h | extern inline void __writel(unsigned int b, unsigned long addr) |
b | 291 | include/asm-alpha/lca.h | *(vuip) (addr + LCA_DENSE_MEM) = b; |
b | 48 | include/asm-i386/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
b | 52 | include/asm-i386/delay.h | :"d" (b), |
b | 72 | include/asm-i386/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
b | 73 | include/asm-i386/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
b | 74 | include/asm-i386/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
b | 76 | include/asm-i386/io.h | #define memset_io(a,b,c) memset((void *)(a),(b),(c)) |
b | 77 | include/asm-i386/io.h | #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) |
b | 78 | include/asm-i386/io.h | #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) |
b | 84 | include/asm-i386/io.h | #define eth_io_copy_and_sum(a,b,c,d) eth_copy_and_sum((a),(void *)(b),(c),(d)) |
b | 126 | include/asm-i386/io.h | __IN(b,"") |
b | 136 | include/asm-i386/io.h | __OUT(b,"b",char) |
b | 140 | include/asm-i386/io.h | __INS(b) |
b | 144 | include/asm-i386/io.h | __OUTS(b) |
b | 34 | include/asm-m68k/unistd.h | #define _syscall2(type,name,atype,a,btype,b) \ |
b | 35 | include/asm-m68k/unistd.h | type name(atype a,btype b) \ |
b | 43 | include/asm-m68k/unistd.h | "g" ((long)(b)) \ |
b | 51 | include/asm-m68k/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
b | 52 | include/asm-m68k/unistd.h | type name(atype a,btype b,ctype c) \ |
b | 61 | include/asm-m68k/unistd.h | "g" ((long)(b)), \ |
b | 70 | include/asm-m68k/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
b | 71 | include/asm-m68k/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
b | 81 | include/asm-m68k/unistd.h | "g" ((long)(b)), \ |
b | 91 | include/asm-m68k/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
b | 92 | include/asm-m68k/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
b | 103 | include/asm-m68k/unistd.h | "g" ((long)(b)), \ |
b | 122 | include/asm-mips/asm.h | 9: b 9b; \ |
b | 41 | include/asm-mips/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
b | 43 | include/asm-mips/delay.h | return (a*b)/c; |
b | 80 | include/asm-mips/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
b | 81 | include/asm-mips/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
b | 82 | include/asm-mips/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
b | 84 | include/asm-mips/io.h | #define memset_io(a,b,c) memset((void *)(a),(b),(c)) |
b | 85 | include/asm-mips/io.h | #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) |
b | 86 | include/asm-mips/io.h | #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) |
b | 92 | include/asm-mips/io.h | #define eth_io_copy_and_sum(a,b,c,d) eth_copy_and_sum((a),(void *)(b),(c),(d)) |
b | 177 | include/asm-mips/io.h | __IN(unsigned char,b,b) |
b | 181 | include/asm-mips/io.h | __OUT(b,b) |
b | 185 | include/asm-mips/io.h | __INS(b,b,1) |
b | 189 | include/asm-mips/io.h | __OUTS(b,b,1) |
b | 1192 | include/asm-mips/unistd.h | #define _syscall2(type,name,atype,a,btype,b) \ |
b | 1193 | include/asm-mips/unistd.h | type name(atype a,btype b) \ |
b | 1203 | include/asm-mips/unistd.h | "r" ((long)(b)) \ |
b | 1211 | include/asm-mips/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
b | 1212 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c) \ |
b | 1223 | include/asm-mips/unistd.h | "r" ((long)(b)), \ |
b | 1232 | include/asm-mips/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
b | 1233 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
b | 1245 | include/asm-mips/unistd.h | "r" ((long)(b)), \ |
b | 1255 | include/asm-mips/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
b | 1256 | include/asm-mips/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
b | 1269 | include/asm-mips/unistd.h | "r" ((long)(b)), \ |
b | 9 | include/asm-ppc/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
b | 11 | include/asm-ppc/delay.h | return (a*b)/c; |
b | 43 | include/asm-ppc/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
b | 44 | include/asm-ppc/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
b | 45 | include/asm-ppc/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
b | 18 | include/asm-sparc/cprefix.h | #define CONCAT(a, b) CONCAT2(a, b) |
b | 19 | include/asm-sparc/cprefix.h | #define CONCAT2(a, b) a##b |
b | 25 | include/asm-sparc/delay.h | #define muldiv(a, b, c) (((a)*(b))/(c)) |
b | 23 | include/asm-sparc/head.h | rd %psr, %l0; b label; rd %wim, %l3; nop; |
b | 26 | include/asm-sparc/head.h | #define SPARC_TFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 1, %l7; |
b | 27 | include/asm-sparc/head.h | #define SPARC_DFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 0, %l7; |
b | 31 | include/asm-sparc/head.h | rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3; |
b | 43 | include/asm-sparc/head.h | b linux_sparc_syscall; \ |
b | 50 | include/asm-sparc/head.h | b linux_sparc_syscall; \ |
b | 57 | include/asm-sparc/head.h | b linux_sparc_syscall; \ |
b | 64 | include/asm-sparc/head.h | b linux_sparc_syscall; \ |
b | 69 | include/asm-sparc/head.h | b getcc_trap_handler; mov %psr, %l0; nop; nop |
b | 73 | include/asm-sparc/head.h | b setcc_trap_handler; mov %psr, %l0; nop; nop |
b | 79 | include/asm-sparc/head.h | mov int_level, %l7; rd %psr, %l0; b real_irq_entry; rd %wim, %l3; |
b | 89 | include/asm-sparc/head.h | rd %wim, %l3; b linux_trap_nmi_sun4c; mov %psr, %l0; nop; |
b | 95 | include/asm-sparc/head.h | rd %psr, %l0; rd %wim, %l3; b spill_window_entry; andcc %l0, PSR_PS, %g0; |
b | 98 | include/asm-sparc/head.h | rd %psr, %l0; rd %wim, %l3; b fill_window_entry; andcc %l0, PSR_PS, %g0; |
b | 22 | include/asm-sparc/io.h | extern inline void outb_local(unsigned char b, unsigned long addr) |
b | 42 | include/asm-sparc/io.h | extern inline void outb(unsigned char b, unsigned long addr) |
b | 47 | include/asm-sparc/io.h | extern inline void outw(unsigned short b, unsigned long addr) |
b | 52 | include/asm-sparc/io.h | extern inline void outl(unsigned int b, unsigned long addr) |
b | 75 | include/asm-sparc/io.h | extern inline void writeb(unsigned short b, unsigned long addr) |
b | 80 | include/asm-sparc/io.h | extern inline void writew(unsigned short b, unsigned long addr) |
b | 85 | include/asm-sparc/io.h | extern inline void writel(unsigned int b, unsigned long addr) |
b | 61 | include/linux/binfmts.h | #define change_ldt(a,b) setup_arg_pages(a,b) |
b | 580 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, kdev_t dev, unsigned int *b, int nb, char *buffer); |
b | 605 | include/linux/fs.h | unsigned long generate_cluster(kdev_t dev, int b[], int size); |
b | 5 | include/linux/head.h | unsigned long a,b; |
b | 107 | include/linux/if_ppp.h | struct ifreq b; |
b | 112 | include/linux/if_ppp.h | struct ifreq b; |
b | 116 | include/linux/if_ppp.h | #define ifr__name b.ifr_ifrn.ifrn_name |
b | 117 | include/linux/if_ppp.h | #define stats_ptr b.ifr_ifru.ifru_data |
b | 562 | include/linux/isdn.h | #define MIN(a,b) ((a<b)?a:b) |
b | 563 | include/linux/isdn.h | #define MAX(a,b) ((a>b)?a:b) |
b | 9 | include/linux/malloc.h | #define kfree_s(a,b) kfree(a) |
b | 159 | include/linux/mroute.h | #define MFC_HASH(a,b) ((((a)>>24)^((b)>>26))&(MFC_LINES-1)) |
b | 161 | include/linux/mroute.h | #define MFC_HASH(a,b) (((a)^((b)>>2))&(MFC_LINES-1)) |
b | 6 | include/linux/symtab_end.h | #define _set_ver(a,b) a |
b | 26 | include/net/netlink.h | #define ip_netlink_msg(a,b,c,d,e,f,g) |
b | 108 | include/net/tcp.h | static __inline__ int min(unsigned int a, unsigned int b) |
b | 110 | include/net/tcp.h | if (a < b) |
b | 112 | include/net/tcp.h | return(b); |
b | 126 | lib/inflate.c | uch b; /* number of bits in this code or subcode */ |
b | 219 | lib/inflate.c | #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} |
b | 220 | lib/inflate.c | #define DUMPBITS(n) {b>>=(n);k-=(n);} |
b | 268 | lib/inflate.c | STATIC int huft_build(b, n, s, d, e, t, m) |
b | 269 | lib/inflate.c | unsigned *b; /* code lengths in bits (all assumed <= BMAX) */ |
b | 306 | lib/inflate.c | p = b; i = n; |
b | 360 | lib/inflate.c | p = b; i = 0; |
b | 430 | lib/inflate.c | r.b = (uch)l; /* bits to dump before this table */ |
b | 441 | lib/inflate.c | r.b = (uch)(k - w); |
b | 518 | lib/inflate.c | register ulg b; /* bit buffer */ |
b | 523 | lib/inflate.c | b = bb; /* initialize bit buffer */ |
b | 533 | lib/inflate.c | if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) |
b | 537 | lib/inflate.c | DUMPBITS(t->b) |
b | 540 | lib/inflate.c | } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); |
b | 541 | lib/inflate.c | DUMPBITS(t->b) |
b | 560 | lib/inflate.c | n = t->v.n + ((unsigned)b & mask_bits[e]); |
b | 565 | lib/inflate.c | if ((e = (t = td + ((unsigned)b & md))->e) > 16) |
b | 569 | lib/inflate.c | DUMPBITS(t->b) |
b | 572 | lib/inflate.c | } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); |
b | 573 | lib/inflate.c | DUMPBITS(t->b) |
b | 575 | lib/inflate.c | d = w - t->v.n - ((unsigned)b & mask_bits[e]); |
b | 607 | lib/inflate.c | bb = b; /* restore global bit buffer */ |
b | 621 | lib/inflate.c | register ulg b; /* bit buffer */ |
b | 627 | lib/inflate.c | b = bb; /* initialize bit buffer */ |
b | 639 | lib/inflate.c | n = ((unsigned)b & 0xffff); |
b | 642 | lib/inflate.c | if (n != (unsigned)((~b) & 0xffff)) |
b | 651 | lib/inflate.c | slide[w++] = (uch)b; |
b | 663 | lib/inflate.c | bb = b; /* restore global bit buffer */ |
b | 746 | lib/inflate.c | register ulg b; /* bit buffer */ |
b | 752 | lib/inflate.c | b = bb; |
b | 758 | lib/inflate.c | nl = 257 + ((unsigned)b & 0x1f); /* number of literal/length codes */ |
b | 761 | lib/inflate.c | nd = 1 + ((unsigned)b & 0x1f); /* number of distance codes */ |
b | 764 | lib/inflate.c | nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ |
b | 779 | lib/inflate.c | ll[border[j]] = (unsigned)b & 7; |
b | 805 | lib/inflate.c | j = (td = tl + ((unsigned)b & m))->b; |
b | 813 | lib/inflate.c | j = 3 + ((unsigned)b & 3); |
b | 823 | lib/inflate.c | j = 3 + ((unsigned)b & 7); |
b | 834 | lib/inflate.c | j = 11 + ((unsigned)b & 0x7f); |
b | 852 | lib/inflate.c | bb = b; |
b | 909 | lib/inflate.c | register ulg b; /* bit buffer */ |
b | 915 | lib/inflate.c | b = bb; |
b | 921 | lib/inflate.c | *e = (int)b & 1; |
b | 927 | lib/inflate.c | t = (unsigned)b & 3; |
b | 932 | lib/inflate.c | bb = b; |
b | 77 | net/appletalk/ddp.c | #define min(a,b) (((a)<(b))?(a):(b)) |
b | 159 | net/ax25/af_ax25.c | int ax25cmp(ax25_address *a, ax25_address *b) |
b | 164 | net/ax25/af_ax25.c | if ((a->ax25_call[ct] & 0xFE) != (b->ax25_call[ct] & 0xFE)) /* Clean off repeater bits */ |
b | 169 | net/ax25/af_ax25.c | if ((a->ax25_call[ct] & 0x1E) == (b->ax25_call[ct] & 0x1E)) /* SSID without control bit */ |
b | 122 | net/core/dev.c | static __inline__ unsigned long min(unsigned long a, unsigned long b) |
b | 124 | net/core/dev.c | return (a < b)? a : b; |
b | 114 | net/core/sock.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 100 | net/ipv4/af_inet.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 111 | net/ipv4/icmp.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 162 | net/ipv4/ip_input.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 62 | net/ipv4/packet.c | static unsigned long min(unsigned long a, unsigned long b) |
b | 64 | net/ipv4/packet.c | if (a < b) |
b | 66 | net/ipv4/packet.c | return(b); |
b | 67 | net/ipv4/raw.c | static inline unsigned long min(unsigned long a, unsigned long b) |
b | 69 | net/ipv4/raw.c | if (a < b) |
b | 71 | net/ipv4/raw.c | return(b); |
b | 140 | net/ipv4/udp.c | #define min(a,b) ((a)<(b)?(a):(b)) |
b | 1886 | net/ipx/af_ipx.c | char *p, b[64]; |
b | 1888 | net/ipx/af_ipx.c | p = b; |
b | 1910 | net/ipx/af_ipx.c | printk("%s-%04X: %s\n",str,l*8,b); |
b | 73 | net/unix/af_unix.c | #define min(a,b) (((a)<(b))?(a):(b)) |
b | 586 | net/unix/af_unix.c | static int unix_socketpair(struct socket *a, struct socket *b) |
b | 591 | net/unix/af_unix.c | skb=b->data; |