tag | line | file | source code |
a | 30 | fs/ext/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
a | 31 | fs/ext/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
a | 24 | fs/minix/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
a | 25 | fs/minix/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
a | 46 | fs/super.c | int a; |
a | 48 | fs/super.c | for(a = 0 ; file_systems[a].read_super ; a++) |
a | 49 | fs/super.c | if (!strcmp(name,file_systems[a].name)) |
a | 50 | fs/super.c | return(&file_systems[a]); |
a | 41 | include/linux/fs.h | #define MAJOR(a) (((unsigned)(a))>>8) |
a | 42 | include/linux/fs.h | #define MINOR(a) ((a)&0xff) |
a | 5 | include/linux/head.h | unsigned long a,b; |
a | 63 | include/linux/math_emu.h | long a,b; |
a | 72 | include/linux/math_emu.h | #define real_to_real(a,b) \ |
a | 73 | include/linux/math_emu.h | ((*(long long *) (b) = *(long long *) (a)),((b)->exponent = (a)->exponent)) |
a | 76 | include/linux/math_emu.h | long a,b; |
a | 82 | include/linux/math_emu.h | long a,b; |
a | 254 | include/linux/sched.h | struct {long a,b;} __tmp; \ |
a | 264 | include/linux/sched.h | ::"m" (*&__tmp.a),"m" (*&__tmp.b), \ |
a | 61 | include/linux/tty.h | #define INC(a) ((a) = ((a)+1) & (TTY_BUF_SIZE-1)) |
a | 62 | include/linux/tty.h | #define DEC(a) ((a) = ((a)-1) & (TTY_BUF_SIZE-1)) |
a | 63 | include/linux/tty.h | #define EMPTY(a) ((a)->head == (a)->tail) |
a | 64 | include/linux/tty.h | #define LEFT(a) (((a)->tail-(a)->head-1)&(TTY_BUF_SIZE-1)) |
a | 65 | include/linux/tty.h | #define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)]) |
a | 66 | include/linux/tty.h | #define FULL(a) (!LEFT(a)) |
a | 67 | include/linux/tty.h | #define CHARS(a) (((a)->head-(a)->tail)&(TTY_BUF_SIZE-1)) |
a | 136 | include/linux/unistd.h | #define _syscall1(type,name,atype,a) \ |
a | 137 | include/linux/unistd.h | type name(atype a) \ |
a | 143 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)):"bx"); \ |
a | 150 | include/linux/unistd.h | #define _syscall2(type,name,atype,a,btype,b) \ |
a | 151 | include/linux/unistd.h | type name(atype a,btype b) \ |
a | 157 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)):"bx"); \ |
a | 164 | include/linux/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
a | 165 | include/linux/unistd.h | type name(atype a,btype b,ctype c) \ |
a | 171 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
a | 178 | include/linux/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
a | 179 | include/linux/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
a | 185 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
a | 193 | include/linux/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
a | 194 | include/linux/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
a | 200 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
a | 21 | kernel/blk_drv/scsi/scsi_ioctl.c | #define max(a,b) (((a) > (b)) ? (a) : (b)) |
a | 1247 | kernel/chr_drv/console.c | register unsigned char a; |
a | 1343 | kernel/chr_drv/console.c | a=inb_p(0x61); |
a | 1344 | kernel/chr_drv/console.c | outb_p(a|0x80,0x61); |
a | 1345 | kernel/chr_drv/console.c | outb_p(a,0x61); |
a | 32 | kernel/chr_drv/tty_io.c | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
a | 49 | kernel/fork.c | printk("ldt[0]: %08x %08x\n",current->ldt[0].a,current->ldt[0].b); |
a | 50 | kernel/fork.c | printk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b); |
a | 51 | kernel/fork.c | printk("ldt[2]: %08x %08x\n",current->ldt[2].a,current->ldt[2].b); |
a | 22 | kernel/math/add.c | #define NEGINT(a) \ |
a | 24 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) \ |
a | 25 | kernel/math/add.c | :"0" (a->a),"1" (a->b)) |
a | 27 | kernel/math/add.c | static void signify(temp_real * a) |
a | 29 | kernel/math/add.c | a->exponent += 2; |
a | 31 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) |
a | 32 | kernel/math/add.c | :"0" (a->a),"1" (a->b)); |
a | 33 | kernel/math/add.c | if (a->exponent < 0) |
a | 34 | kernel/math/add.c | NEGINT(a); |
a | 35 | kernel/math/add.c | a->exponent &= 0x7fff; |
a | 38 | kernel/math/add.c | static void unsignify(temp_real * a) |
a | 40 | kernel/math/add.c | if (!(a->a || a->b)) { |
a | 41 | kernel/math/add.c | a->exponent = 0; |
a | 44 | kernel/math/add.c | a->exponent &= 0x7fff; |
a | 45 | kernel/math/add.c | if (a->b < 0) { |
a | 46 | kernel/math/add.c | NEGINT(a); |
a | 47 | kernel/math/add.c | a->exponent |= 0x8000; |
a | 49 | kernel/math/add.c | while (a->b >= 0) { |
a | 50 | kernel/math/add.c | a->exponent--; |
a | 52 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) |
a | 53 | kernel/math/add.c | :"0" (a->a),"1" (a->b)); |
a | 59 | kernel/math/add.c | temp_real a,b; |
a | 65 | kernel/math/add.c | a = *src1; |
a | 69 | kernel/math/add.c | a = *src2; |
a | 74 | kernel/math/add.c | *result = a; |
a | 78 | kernel/math/add.c | b.a = b.b; |
a | 83 | kernel/math/add.c | :"=r" (b.a),"=r" (b.b) |
a | 84 | kernel/math/add.c | :"0" (b.a),"1" (b.b),"c" ((char) shift)); |
a | 85 | kernel/math/add.c | signify(&a); |
a | 88 | kernel/math/add.c | :"=r" (a.a),"=r" (a.b) |
a | 89 | kernel/math/add.c | :"0" (a.a),"1" (a.b),"g" (b.a),"g" (b.b)); |
a | 90 | kernel/math/add.c | unsignify(&a); |
a | 91 | kernel/math/add.c | *result = a; |
a | 15 | kernel/math/compare.c | static void normalize(temp_real * a) |
a | 17 | kernel/math/compare.c | int i = a->exponent & 0x7fff; |
a | 18 | kernel/math/compare.c | int sign = a->exponent & 0x8000; |
a | 20 | kernel/math/compare.c | if (!(a->a || a->b)) { |
a | 21 | kernel/math/compare.c | a->exponent = 0; |
a | 24 | kernel/math/compare.c | while (i && a->b >= 0) { |
a | 27 | kernel/math/compare.c | :"=r" (a->a),"=r" (a->b) |
a | 28 | kernel/math/compare.c | :"0" (a->a),"1" (a->b)); |
a | 30 | kernel/math/compare.c | a->exponent = i | sign; |
a | 33 | kernel/math/compare.c | void ftst(const temp_real * a) |
a | 38 | kernel/math/compare.c | b = *a; |
a | 40 | kernel/math/compare.c | if (b.a || b.b || b.exponent) { |
a | 49 | kernel/math/compare.c | temp_real a; |
a | 51 | kernel/math/compare.c | a = *src1; |
a | 52 | kernel/math/compare.c | a.exponent ^= 0x8000; |
a | 53 | kernel/math/compare.c | fadd(&a,src2,&a); |
a | 54 | kernel/math/compare.c | ftst(&a); |
a | 21 | kernel/math/convert.c | void short_to_temp(const short_real * a, temp_real * b) |
a | 23 | kernel/math/convert.c | if (!(*a & 0x7fffffff)) { |
a | 24 | kernel/math/convert.c | b->a = b->b = 0; |
a | 25 | kernel/math/convert.c | if (*a) |
a | 31 | kernel/math/convert.c | b->exponent = ((*a>>23) & 0xff)-127+16383; |
a | 32 | kernel/math/convert.c | if (*a<0) |
a | 34 | kernel/math/convert.c | b->b = (*a<<8) | 0x80000000; |
a | 35 | kernel/math/convert.c | b->a = 0; |
a | 38 | kernel/math/convert.c | void long_to_temp(const long_real * a, temp_real * b) |
a | 40 | kernel/math/convert.c | if (!a->a && !(a->b & 0x7fffffff)) { |
a | 41 | kernel/math/convert.c | b->a = b->b = 0; |
a | 42 | kernel/math/convert.c | if (a->b) |
a | 48 | kernel/math/convert.c | b->exponent = ((a->b >> 20) & 0x7ff)-1023+16383; |
a | 49 | kernel/math/convert.c | if (a->b<0) |
a | 51 | kernel/math/convert.c | b->b = 0x80000000 | (a->b<<11) | (((unsigned long)a->a)>>21); |
a | 52 | kernel/math/convert.c | b->a = a->a<<11; |
a | 55 | kernel/math/convert.c | void temp_to_short(const temp_real * a, short_real * b) |
a | 57 | kernel/math/convert.c | if (!(a->exponent & 0x7fff)) { |
a | 58 | kernel/math/convert.c | *b = (a->exponent)?0x80000000:0; |
a | 61 | kernel/math/convert.c | *b = ((((long) a->exponent)-16383+127) << 23) & 0x7f800000; |
a | 62 | kernel/math/convert.c | if (a->exponent < 0) |
a | 64 | kernel/math/convert.c | *b |= (a->b >> 8) & 0x007fffff; |
a | 67 | kernel/math/convert.c | if ((a->b & 0xff) > 0x80) |
a | 71 | kernel/math/convert.c | if ((a->exponent & 0x8000) && (a->b & 0xff)) |
a | 75 | kernel/math/convert.c | if (!(a->exponent & 0x8000) && (a->b & 0xff)) |
a | 81 | kernel/math/convert.c | void temp_to_long(const temp_real * a, long_real * b) |
a | 83 | kernel/math/convert.c | if (!(a->exponent & 0x7fff)) { |
a | 84 | kernel/math/convert.c | b->a = 0; |
a | 85 | kernel/math/convert.c | b->b = (a->exponent)?0x80000000:0; |
a | 88 | kernel/math/convert.c | b->b = (((0x7fff & (long) a->exponent)-16383+1023) << 20) & 0x7ff00000; |
a | 89 | kernel/math/convert.c | if (a->exponent < 0) |
a | 91 | kernel/math/convert.c | b->b |= (a->b >> 11) & 0x000fffff; |
a | 92 | kernel/math/convert.c | b->a = a->b << 21; |
a | 93 | kernel/math/convert.c | b->a |= (a->a >> 11) & 0x001fffff; |
a | 96 | kernel/math/convert.c | if ((a->a & 0x7ff) > 0x400) |
a | 98 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 99 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 102 | kernel/math/convert.c | if ((a->exponent & 0x8000) && (a->b & 0xff)) |
a | 104 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 105 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 108 | kernel/math/convert.c | if (!(a->exponent & 0x8000) && (a->b & 0xff)) |
a | 110 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 111 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 116 | kernel/math/convert.c | void frndint(const temp_real * a, temp_real * b) |
a | 118 | kernel/math/convert.c | int shift = 16383 + 63 - (a->exponent & 0x7fff); |
a | 122 | kernel/math/convert.c | *b = *a; |
a | 125 | kernel/math/convert.c | b->a = b->b = underflow = 0; |
a | 126 | kernel/math/convert.c | b->exponent = a->exponent; |
a | 128 | kernel/math/convert.c | b->b = a->b; b->a = a->a; |
a | 130 | kernel/math/convert.c | b->a = a->b; underflow = a->a; |
a | 134 | kernel/math/convert.c | underflow = a->b; |
a | 143 | kernel/math/convert.c | :"=r" (underflow),"=r" (b->a) |
a | 144 | kernel/math/convert.c | :"c" ((char) shift),"0" (underflow),"1" (b->a)); |
a | 146 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 147 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->a),"1" (b->b)); |
a | 154 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 155 | kernel/math/convert.c | :"0" (b->a),"1" (b->b) |
a | 156 | kernel/math/convert.c | ,"r" (0x7fffffff + (b->a & 1)) |
a | 162 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 163 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 168 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 169 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 172 | kernel/math/convert.c | if (b->a || b->b) |
a | 176 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 177 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 183 | kernel/math/convert.c | void real_to_int(const temp_real * a, temp_int * b) |
a | 185 | kernel/math/convert.c | int shift = 16383 + 63 - (a->exponent & 0x7fff); |
a | 188 | kernel/math/convert.c | b->a = b->b = underflow = 0; |
a | 189 | kernel/math/convert.c | b->sign = (a->exponent < 0); |
a | 195 | kernel/math/convert.c | b->b = a->b; b->a = a->a; |
a | 197 | kernel/math/convert.c | b->a = a->b; underflow = a->a; |
a | 200 | kernel/math/convert.c | underflow = a->b; |
a | 207 | kernel/math/convert.c | :"=r" (underflow),"=r" (b->a) |
a | 208 | kernel/math/convert.c | :"c" ((char) shift),"0" (underflow),"1" (b->a)); |
a | 210 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 211 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->a),"1" (b->b)); |
a | 218 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 219 | kernel/math/convert.c | :"0" (b->a),"1" (b->b) |
a | 220 | kernel/math/convert.c | ,"r" (0x7fffffff + (b->a & 1)) |
a | 226 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 227 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 232 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 233 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 238 | kernel/math/convert.c | void int_to_real(const temp_int * a, temp_real * b) |
a | 240 | kernel/math/convert.c | b->a = a->a; |
a | 241 | kernel/math/convert.c | b->b = a->b; |
a | 242 | kernel/math/convert.c | if (b->a || b->b) |
a | 243 | kernel/math/convert.c | b->exponent = 16383 + 63 + (a->sign? 0x8000:0); |
a | 251 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
a | 252 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
a | 28 | kernel/math/div.c | static int try_sub(int * a, int * b) |
a | 36 | kernel/math/div.c | "setae %%al":"=a" (ok):"c" ((long) a),"d" ((long) b)); |
a | 40 | kernel/math/div.c | static void div64(int * a, int * b, int * c) |
a | 52 | kernel/math/div.c | tmp[0] = a[0]; tmp[1] = a[1]; |
a | 53 | kernel/math/div.c | tmp[2] = a[2]; tmp[3] = a[3]; |
a | 56 | kernel/math/div.c | a[0] = tmp[0]; a[1] = tmp[1]; |
a | 57 | kernel/math/div.c | a[2] = tmp[2]; a[3] = tmp[3]; |
a | 66 | kernel/math/div.c | int a[4],b[4],tmp[4] = {0,0,0,0}; |
a | 69 | kernel/math/div.c | if (!(src2->a || src2->b)) { |
a | 77 | kernel/math/div.c | result->a = result->b = 0; |
a | 80 | kernel/math/div.c | a[0] = a[1] = 0; |
a | 81 | kernel/math/div.c | a[2] = src1->a; |
a | 82 | kernel/math/div.c | a[3] = src1->b; |
a | 84 | kernel/math/div.c | b[2] = src2->a; |
a | 90 | kernel/math/div.c | div64(a,b,tmp); |
a | 107 | kernel/math/div.c | result->a = tmp[2]; |
a | 51 | kernel/math/emulate.c | static void fxchg(temp_real_unaligned * a, temp_real_unaligned * b); |
a | 522 | kernel/math/emulate.c | static void fxchg(temp_real_unaligned * a, temp_real_unaligned * b) |
a | 526 | kernel/math/emulate.c | c = *a; |
a | 527 | kernel/math/emulate.c | *a = *b; |
a | 36 | kernel/math/get_put.c | lr.a = get_fs_long((unsigned long *) addr); |
a | 47 | kernel/math/get_put.c | tmp->a = get_fs_long((unsigned long *) addr); |
a | 59 | kernel/math/get_put.c | ti.a = (signed short) get_fs_word((unsigned short *) addr); |
a | 61 | kernel/math/get_put.c | if (ti.sign = (ti.a < 0)) |
a | 62 | kernel/math/get_put.c | ti.a = - ti.a; |
a | 73 | kernel/math/get_put.c | ti.a = get_fs_long((unsigned long *) addr); |
a | 75 | kernel/math/get_put.c | if (ti.sign = (ti.a < 0)) |
a | 76 | kernel/math/get_put.c | ti.a = - ti.a; |
a | 87 | kernel/math/get_put.c | ti.a = get_fs_long((unsigned long *) addr); |
a | 92 | kernel/math/get_put.c | :"=r" (ti.a),"=r" (ti.b) |
a | 93 | kernel/math/get_put.c | :"0" (ti.a),"1" (ti.b)); |
a | 120 | kernel/math/get_put.c | i.a = i.b = 0; |
a | 123 | kernel/math/get_put.c | MUL10(i.a, i.b); |
a | 124 | kernel/math/get_put.c | ADD64((c>>4), i.a, i.b); |
a | 125 | kernel/math/get_put.c | MUL10(i.a, i.b); |
a | 126 | kernel/math/get_put.c | ADD64((c&0xf), i.a, i.b); |
a | 152 | kernel/math/get_put.c | put_fs_long(lr.a, (unsigned long *) addr); |
a | 163 | kernel/math/get_put.c | put_fs_long(tmp->a, (unsigned long *) addr); |
a | 178 | kernel/math/get_put.c | ti.a = -ti.a; |
a | 179 | kernel/math/get_put.c | put_fs_word(ti.a,(short *) addr); |
a | 192 | kernel/math/get_put.c | ti.a = -ti.a; |
a | 193 | kernel/math/get_put.c | put_fs_long(ti.a,(unsigned long *) addr); |
a | 208 | kernel/math/get_put.c | :"=r" (ti.a),"=r" (ti.b) |
a | 209 | kernel/math/get_put.c | :"0" (ti.a),"1" (ti.b)); |
a | 210 | kernel/math/get_put.c | put_fs_long(ti.a,(unsigned long *) addr); |
a | 234 | kernel/math/get_put.c | DIV10(i.a,i.b,rem); |
a | 236 | kernel/math/get_put.c | DIV10(i.a,i.b,rem); |
a | 22 | kernel/math/mul.c | static void mul64(const temp_real * a, const temp_real * b, int * c) |
a | 42 | kernel/math/mul.c | ::"S" ((long) a),"c" ((long) b),"D" ((long) c) |
a | 55 | kernel/math/mul.c | result->a = result->b = 0; |
a | 71 | kernel/math/mul.c | result->a = tmp[2]; |
a | 22 | kernel/math/sqrt.c | static int sqr64(unsigned long * a, unsigned long * b) |
a | 34 | kernel/math/sqrt.c | ::"b" ((long) a),"c" ((long) tmp) |
a | 54 | kernel/math/sqrt.c | src[2] = s->a; |
a | 57 | kernel/math/sqrt.c | d->a = d->b = 0; |
a | 79 | kernel/math/sqrt.c | res[0] = d->a; res[1] = d->b; |
a | 82 | kernel/math/sqrt.c | d->a = res[0]; |
a | 86 | kernel/math/sqrt.c | if (!d->a && !d->b) |
a | 90 | kernel/math/sqrt.c | :"=a" (d->a),"=d" (d->b) |
a | 91 | kernel/math/sqrt.c | :"0" (d->a),"1" (d->b)); |
a | 90 | kernel/sched.c | long * a; |
a | 502 | kernel/sched.c | p->a=p->b=0; |
a | 504 | kernel/sched.c | p->a=p->b=0; |