tag | line | file | source code |
b | 374 | fs/buffer.c | void bread_page(unsigned long address,int dev,int b[4]) |
b | 380 | fs/buffer.c | if (b[i]) { |
b | 381 | fs/buffer.c | if (bh[i] = getblk(dev, b[i], 1024)) |
b | 27 | fs/ext/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 28 | fs/ext/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 21 | fs/minix/file.c | #define MIN(a,b) (((a)<(b))?(a):(b)) |
b | 22 | fs/minix/file.c | #define MAX(a,b) (((a)>(b))?(a):(b)) |
b | 19 | fs/msdos/file.c | #define MIN(a,b) (((a) < (b)) ? (a) : (b)) |
b | 20 | fs/msdos/file.c | #define MAX(a,b) (((a) > (b)) ? (a) : (b)) |
b | 93 | fs/msdos/inode.c | struct msdos_boot_sector *b; |
b | 110 | fs/msdos/inode.c | b = (struct msdos_boot_sector *) bh->b_data; |
b | 112 | fs/msdos/inode.c | MSDOS_SB(s)->cluster_size = b->cluster_size; |
b | 113 | fs/msdos/inode.c | MSDOS_SB(s)->fats = b->fats; |
b | 114 | fs/msdos/inode.c | MSDOS_SB(s)->fat_start = b->reserved; |
b | 115 | fs/msdos/inode.c | MSDOS_SB(s)->fat_length = b->fat_length; |
b | 116 | fs/msdos/inode.c | MSDOS_SB(s)->dir_start = b->reserved+b->fats*b->fat_length; |
b | 117 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries = *((unsigned short *) &b->dir_entries); |
b | 120 | fs/msdos/inode.c | data_sectors = (*((unsigned short *) &b->sectors) ? *((unsigned short *) |
b | 121 | fs/msdos/inode.c | &b->sectors) : b->total_sect)-MSDOS_SB(s)->data_start; |
b | 122 | fs/msdos/inode.c | MSDOS_SB(s)->clusters = b->cluster_size ? data_sectors/b->cluster_size : |
b | 129 | fs/msdos/inode.c | b->media,MSDOS_SB(s)->cluster_size,MSDOS_SB(s)->fats,MSDOS_SB(s)->fat_start, |
b | 131 | fs/msdos/inode.c | MSDOS_SB(s)->data_start,*(unsigned short *) &b->sectors,b->total_sect); |
b | 133 | fs/msdos/inode.c | || !b->cluster_size || MSDOS_SB(s)->clusters+2 > MSDOS_SB(s)-> |
b | 259 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
b | 262 | include/linux/fs.h | extern void bread_page(unsigned long addr,int dev,int b[4]); |
b | 5 | include/linux/head.h | unsigned long a,b; |
b | 58 | include/linux/math_emu.h | long a,b; |
b | 67 | include/linux/math_emu.h | #define real_to_real(a,b) \ |
b | 68 | include/linux/math_emu.h | ((*(long long *) (b) = *(long long *) (a)),((b)->exponent = (a)->exponent)) |
b | 71 | include/linux/math_emu.h | long a,b; |
b | 77 | include/linux/math_emu.h | long a,b; |
b | 95 | include/linux/math_emu.h | int b:1; |
b | 264 | include/linux/sched.h | struct {long a,b;} __tmp; \ |
b | 276 | include/linux/sched.h | ::"m" (*&__tmp.a),"m" (*&__tmp.b), \ |
b | 151 | include/linux/unistd.h | #define _syscall2(type,name,atype,a,btype,b) \ |
b | 152 | include/linux/unistd.h | type name(atype a,btype b) \ |
b | 158 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)):"bx"); \ |
b | 165 | include/linux/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
b | 166 | include/linux/unistd.h | type name(atype a,btype b,ctype c) \ |
b | 172 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
b | 179 | include/linux/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
b | 180 | include/linux/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
b | 186 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
b | 194 | include/linux/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
b | 195 | include/linux/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
b | 201 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
b | 308 | kernel/blk_drv/ll_rw_blk.c | void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buf) |
b | 343 | kernel/blk_drv/ll_rw_blk.c | req->sector = b[i] << 1; |
b | 21 | kernel/blk_drv/scsi/scsi_ioctl.c | #define max(a,b) (((a) > (b)) ? (a) : (b)) |
b | 308 | kernel/chr_drv/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
b | 312 | kernel/chr_drv/console.c | if (b > video_num_lines || t >= b) |
b | 316 | kernel/chr_drv/console.c | else if (t || b != video_num_lines) |
b | 355 | kernel/chr_drv/console.c | "c" ((b-t-1)*video_num_columns>>1), |
b | 362 | kernel/chr_drv/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
b | 364 | kernel/chr_drv/console.c | if (b > video_num_lines || t >= b) |
b | 375 | kernel/chr_drv/console.c | "c" ((b-t-1)*video_num_columns>>1), |
b | 376 | kernel/chr_drv/console.c | "D" (origin+video_size_row*b-4), |
b | 377 | kernel/chr_drv/console.c | "S" (origin+video_size_row*(b-1)-4) |
b | 1463 | kernel/chr_drv/console.c | void console_print(const char * b) |
b | 1470 | kernel/chr_drv/console.c | while (c = *(b++)) { |
b | 308 | kernel/chr_drv/tty_io.c | char * b=buf; |
b | 356 | kernel/chr_drv/tty_io.c | put_fs_byte(c,b++); |
b | 364 | kernel/chr_drv/tty_io.c | if (b-buf >= minimum || !current->timeout) |
b | 382 | kernel/chr_drv/tty_io.c | if (b-buf) |
b | 383 | kernel/chr_drv/tty_io.c | return b-buf; |
b | 394 | kernel/chr_drv/tty_io.c | char c, *b=buf; |
b | 430 | kernel/chr_drv/tty_io.c | c=get_fs_byte(b); |
b | 444 | kernel/chr_drv/tty_io.c | b++; nr--; |
b | 452 | kernel/chr_drv/tty_io.c | if (b-buf) |
b | 453 | kernel/chr_drv/tty_io.c | return b-buf; |
b | 52 | kernel/fork.c | printk("ldt[0]: %08x %08x\n",current->ldt[0].a,current->ldt[0].b); |
b | 53 | kernel/fork.c | printk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b); |
b | 54 | kernel/fork.c | printk("ldt[2]: %08x %08x\n",current->ldt[2].a,current->ldt[2].b); |
b | 24 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) \ |
b | 25 | kernel/math/add.c | :"0" (a->a),"1" (a->b)) |
b | 31 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) |
b | 32 | kernel/math/add.c | :"0" (a->a),"1" (a->b)); |
b | 40 | kernel/math/add.c | if (!(a->a || a->b)) { |
b | 45 | kernel/math/add.c | if (a->b < 0) { |
b | 49 | kernel/math/add.c | while (a->b >= 0) { |
b | 52 | kernel/math/add.c | :"=r" (a->a),"=r" (a->b) |
b | 53 | kernel/math/add.c | :"0" (a->a),"1" (a->b)); |
b | 59 | kernel/math/add.c | temp_real a,b; |
b | 66 | kernel/math/add.c | b = *src2; |
b | 70 | kernel/math/add.c | b = *src1; |
b | 78 | kernel/math/add.c | b.a = b.b; |
b | 79 | kernel/math/add.c | b.b = 0; |
b | 83 | kernel/math/add.c | :"=r" (b.a),"=r" (b.b) |
b | 84 | kernel/math/add.c | :"0" (b.a),"1" (b.b),"c" ((char) shift)); |
b | 86 | kernel/math/add.c | signify(&b); |
b | 88 | kernel/math/add.c | :"=r" (a.a),"=r" (a.b) |
b | 89 | kernel/math/add.c | :"0" (a.a),"1" (a.b),"g" (b.a),"g" (b.b)); |
b | 20 | kernel/math/compare.c | if (!(a->a || a->b)) { |
b | 24 | kernel/math/compare.c | while (i && a->b >= 0) { |
b | 27 | kernel/math/compare.c | :"=r" (a->a),"=r" (a->b) |
b | 28 | kernel/math/compare.c | :"0" (a->a),"1" (a->b)); |
b | 35 | kernel/math/compare.c | temp_real b; |
b | 38 | kernel/math/compare.c | b = *a; |
b | 39 | kernel/math/compare.c | normalize(&b); |
b | 40 | kernel/math/compare.c | if (b.a || b.b || b.exponent) { |
b | 41 | kernel/math/compare.c | if (b.exponent < 0) |
b | 21 | kernel/math/convert.c | void short_to_temp(const short_real * a, temp_real * b) |
b | 24 | kernel/math/convert.c | b->a = b->b = 0; |
b | 26 | kernel/math/convert.c | b->exponent = 0x8000; |
b | 28 | kernel/math/convert.c | b->exponent = 0; |
b | 31 | kernel/math/convert.c | b->exponent = ((*a>>23) & 0xff)-127+16383; |
b | 33 | kernel/math/convert.c | b->exponent |= 0x8000; |
b | 34 | kernel/math/convert.c | b->b = (*a<<8) | 0x80000000; |
b | 35 | kernel/math/convert.c | b->a = 0; |
b | 38 | kernel/math/convert.c | void long_to_temp(const long_real * a, temp_real * b) |
b | 40 | kernel/math/convert.c | if (!a->a && !(a->b & 0x7fffffff)) { |
b | 41 | kernel/math/convert.c | b->a = b->b = 0; |
b | 42 | kernel/math/convert.c | if (a->b) |
b | 43 | kernel/math/convert.c | b->exponent = 0x8000; |
b | 45 | kernel/math/convert.c | b->exponent = 0; |
b | 48 | kernel/math/convert.c | b->exponent = ((a->b >> 20) & 0x7ff)-1023+16383; |
b | 49 | kernel/math/convert.c | if (a->b<0) |
b | 50 | kernel/math/convert.c | b->exponent |= 0x8000; |
b | 51 | kernel/math/convert.c | b->b = 0x80000000 | (a->b<<11) | (((unsigned long)a->a)>>21); |
b | 52 | kernel/math/convert.c | b->a = a->a<<11; |
b | 55 | kernel/math/convert.c | void temp_to_short(const temp_real * a, short_real * b) |
b | 58 | kernel/math/convert.c | *b = (a->exponent)?0x80000000:0; |
b | 61 | kernel/math/convert.c | *b = ((((long) a->exponent)-16383+127) << 23) & 0x7f800000; |
b | 63 | kernel/math/convert.c | *b |= 0x80000000; |
b | 64 | kernel/math/convert.c | *b |= (a->b >> 8) & 0x007fffff; |
b | 67 | kernel/math/convert.c | if ((a->b & 0xff) > 0x80) |
b | 68 | kernel/math/convert.c | ++*b; |
b | 71 | kernel/math/convert.c | if ((a->exponent & 0x8000) && (a->b & 0xff)) |
b | 72 | kernel/math/convert.c | ++*b; |
b | 75 | kernel/math/convert.c | if (!(a->exponent & 0x8000) && (a->b & 0xff)) |
b | 76 | kernel/math/convert.c | ++*b; |
b | 81 | kernel/math/convert.c | void temp_to_long(const temp_real * a, long_real * b) |
b | 84 | kernel/math/convert.c | b->a = 0; |
b | 85 | kernel/math/convert.c | b->b = (a->exponent)?0x80000000:0; |
b | 88 | kernel/math/convert.c | b->b = (((0x7fff & (long) a->exponent)-16383+1023) << 20) & 0x7ff00000; |
b | 90 | kernel/math/convert.c | b->b |= 0x80000000; |
b | 91 | kernel/math/convert.c | b->b |= (a->b >> 11) & 0x000fffff; |
b | 92 | kernel/math/convert.c | b->a = a->b << 21; |
b | 93 | kernel/math/convert.c | b->a |= (a->a >> 11) & 0x001fffff; |
b | 98 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 99 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 102 | kernel/math/convert.c | if ((a->exponent & 0x8000) && (a->b & 0xff)) |
b | 104 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 105 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 108 | kernel/math/convert.c | if (!(a->exponent & 0x8000) && (a->b & 0xff)) |
b | 110 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 111 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 116 | kernel/math/convert.c | void frndint(const temp_real * a, temp_real * b) |
b | 122 | kernel/math/convert.c | *b = *a; |
b | 125 | kernel/math/convert.c | b->a = b->b = underflow = 0; |
b | 126 | kernel/math/convert.c | b->exponent = a->exponent; |
b | 128 | kernel/math/convert.c | b->b = a->b; b->a = a->a; |
b | 130 | kernel/math/convert.c | b->a = a->b; underflow = a->a; |
b | 132 | kernel/math/convert.c | b->exponent += 32; |
b | 134 | kernel/math/convert.c | underflow = a->b; |
b | 136 | kernel/math/convert.c | b->exponent += 64; |
b | 141 | kernel/math/convert.c | b->exponent += shift; |
b | 143 | kernel/math/convert.c | :"=r" (underflow),"=r" (b->a) |
b | 144 | kernel/math/convert.c | :"c" ((char) shift),"0" (underflow),"1" (b->a)); |
b | 146 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 147 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->a),"1" (b->b)); |
b | 149 | kernel/math/convert.c | :"=r" (b->b) |
b | 150 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->b)); |
b | 154 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 155 | kernel/math/convert.c | :"0" (b->a),"1" (b->b) |
b | 156 | kernel/math/convert.c | ,"r" (0x7fffffff + (b->a & 1)) |
b | 160 | kernel/math/convert.c | if ((b->exponent >= 0) && underflow) |
b | 162 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 163 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 166 | kernel/math/convert.c | if ((b->exponent < 0) && underflow) |
b | 168 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 169 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 172 | kernel/math/convert.c | if (b->a || b->b) |
b | 173 | kernel/math/convert.c | while (b->b >= 0) { |
b | 174 | kernel/math/convert.c | b->exponent--; |
b | 176 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 177 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 180 | kernel/math/convert.c | b->exponent = 0; |
b | 183 | kernel/math/convert.c | void real_to_int(const temp_real * a, temp_int * b) |
b | 188 | kernel/math/convert.c | b->a = b->b = underflow = 0; |
b | 189 | kernel/math/convert.c | b->sign = (a->exponent < 0); |
b | 195 | kernel/math/convert.c | b->b = a->b; b->a = a->a; |
b | 197 | kernel/math/convert.c | b->a = a->b; underflow = a->a; |
b | 200 | kernel/math/convert.c | underflow = a->b; |
b | 207 | kernel/math/convert.c | :"=r" (underflow),"=r" (b->a) |
b | 208 | kernel/math/convert.c | :"c" ((char) shift),"0" (underflow),"1" (b->a)); |
b | 210 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 211 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->a),"1" (b->b)); |
b | 213 | kernel/math/convert.c | :"=r" (b->b) |
b | 214 | kernel/math/convert.c | :"c" ((char) shift),"0" (b->b)); |
b | 218 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 219 | kernel/math/convert.c | :"0" (b->a),"1" (b->b) |
b | 220 | kernel/math/convert.c | ,"r" (0x7fffffff + (b->a & 1)) |
b | 224 | kernel/math/convert.c | if (!b->sign && underflow) |
b | 226 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 227 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 230 | kernel/math/convert.c | if (b->sign && underflow) |
b | 232 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 233 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 238 | kernel/math/convert.c | void int_to_real(const temp_int * a, temp_real * b) |
b | 240 | kernel/math/convert.c | b->a = a->a; |
b | 241 | kernel/math/convert.c | b->b = a->b; |
b | 242 | kernel/math/convert.c | if (b->a || b->b) |
b | 243 | kernel/math/convert.c | b->exponent = 16383 + 63 + (a->sign? 0x8000:0); |
b | 245 | kernel/math/convert.c | b->exponent = 0; |
b | 248 | kernel/math/convert.c | while (b->b >= 0) { |
b | 249 | kernel/math/convert.c | b->exponent--; |
b | 251 | kernel/math/convert.c | :"=r" (b->a),"=r" (b->b) |
b | 252 | kernel/math/convert.c | :"0" (b->a),"1" (b->b)); |
b | 28 | kernel/math/div.c | static int try_sub(int * a, int * b) |
b | 36 | kernel/math/div.c | "setae %%al":"=a" (ok):"c" ((long) a),"d" ((long) b)); |
b | 40 | kernel/math/div.c | static void div64(int * a, int * b, int * c) |
b | 54 | kernel/math/div.c | if (try_sub(b,tmp)) { |
b | 59 | kernel/math/div.c | shift_right(b); |
b | 66 | kernel/math/div.c | int a[4],b[4],tmp[4] = {0,0,0,0}; |
b | 69 | kernel/math/div.c | if (!(src2->a || src2->b)) { |
b | 77 | kernel/math/div.c | result->a = result->b = 0; |
b | 82 | kernel/math/div.c | a[3] = src1->b; |
b | 83 | kernel/math/div.c | b[0] = b[1] = 0; |
b | 84 | kernel/math/div.c | b[2] = src2->a; |
b | 85 | kernel/math/div.c | b[3] = src2->b; |
b | 86 | kernel/math/div.c | while (b[3] >= 0) { |
b | 88 | kernel/math/div.c | shift_left(b); |
b | 90 | kernel/math/div.c | div64(a,b,tmp); |
b | 108 | kernel/math/div.c | result->b = tmp[3]; |
b | 51 | kernel/math/emulate.c | static void fxchg(temp_real_unaligned * a, temp_real_unaligned * b); |
b | 522 | kernel/math/emulate.c | static void fxchg(temp_real_unaligned * a, temp_real_unaligned * b) |
b | 527 | kernel/math/emulate.c | *a = *b; |
b | 528 | kernel/math/emulate.c | *b = c; |
b | 36 | kernel/math/get_put.c | lr.b = get_fs_long(1 + (unsigned long *) addr); |
b | 47 | kernel/math/get_put.c | tmp->b = get_fs_long(1 + (unsigned long *) addr); |
b | 59 | kernel/math/get_put.c | ti.b = 0; |
b | 73 | kernel/math/get_put.c | ti.b = 0; |
b | 87 | kernel/math/get_put.c | ti.b = get_fs_long(1 + (unsigned long *) addr); |
b | 88 | kernel/math/get_put.c | if (ti.sign = (ti.b < 0)) |
b | 91 | kernel/math/get_put.c | :"=r" (ti.a),"=r" (ti.b) |
b | 92 | kernel/math/get_put.c | :"0" (ti.a),"1" (ti.b)); |
b | 119 | kernel/math/get_put.c | i.a = i.b = 0; |
b | 122 | kernel/math/get_put.c | MUL10(i.a, i.b); |
b | 123 | kernel/math/get_put.c | ADD64((c>>4), i.a, i.b); |
b | 124 | kernel/math/get_put.c | MUL10(i.a, i.b); |
b | 125 | kernel/math/get_put.c | ADD64((c&0xf), i.a, i.b); |
b | 152 | kernel/math/get_put.c | put_fs_long(lr.b, 1 + (unsigned long *) addr); |
b | 163 | kernel/math/get_put.c | put_fs_long(tmp->b, 1 + (unsigned long *) addr); |
b | 207 | kernel/math/get_put.c | :"=r" (ti.a),"=r" (ti.b) |
b | 208 | kernel/math/get_put.c | :"0" (ti.a),"1" (ti.b)); |
b | 210 | kernel/math/get_put.c | put_fs_long(ti.b,1 + (unsigned long *) addr); |
b | 233 | kernel/math/get_put.c | DIV10(i.a,i.b,rem); |
b | 235 | kernel/math/get_put.c | DIV10(i.a,i.b,rem); |
b | 22 | kernel/math/mul.c | static void mul64(const temp_real * a, const temp_real * b, int * c) |
b | 42 | kernel/math/mul.c | ::"S" ((long) a),"c" ((long) b),"D" ((long) c) |
b | 55 | kernel/math/mul.c | result->a = result->b = 0; |
b | 72 | kernel/math/mul.c | result->b = tmp[3]; |
b | 22 | kernel/math/sqrt.c | static int sqr64(unsigned long * a, unsigned long * b) |
b | 36 | kernel/math/sqrt.c | if (tmp[3] > b[3] || |
b | 37 | kernel/math/sqrt.c | (tmp[3] == b[3] && (tmp[2] > b[2] || |
b | 38 | kernel/math/sqrt.c | (tmp[2] == b[2] && (tmp[1] > b[1] || |
b | 39 | kernel/math/sqrt.c | (tmp[1] == b[1] && tmp[0] > b[0])))))) |
b | 55 | kernel/math/sqrt.c | src[3] = s->b; |
b | 57 | kernel/math/sqrt.c | d->a = d->b = 0; |
b | 79 | kernel/math/sqrt.c | res[0] = d->a; res[1] = d->b; |
b | 83 | kernel/math/sqrt.c | d->b = res[1]; |
b | 86 | kernel/math/sqrt.c | if (!d->a && !d->b) |
b | 88 | kernel/math/sqrt.c | while (!(d->b & 0x80000000)) { |
b | 90 | kernel/math/sqrt.c | :"=a" (d->a),"=d" (d->b) |
b | 91 | kernel/math/sqrt.c | :"0" (d->a),"1" (d->b)); |
b | 95 | kernel/sched.c | short b; |
b | 521 | kernel/sched.c | p->a=p->b=0; |
b | 523 | kernel/sched.c | p->a=p->b=0; |