tag | line | file | source code |
c | 394 | arch/alpha/kernel/lca.c | el.c = (struct el_common *) la; |
c | 426 | arch/alpha/kernel/lca.c | switch (el.c->size) { |
c | 429 | arch/alpha/kernel/lca.c | reason, el.c->retry ? ", retryable" : "", el.s->dc_stat); |
c | 440 | arch/alpha/kernel/lca.c | reason, el.c->retry ? ", retryable" : ""); |
c | 453 | arch/alpha/kernel/lca.c | printk(" Unknown errorlog size %d\n", el.c->size); |
c | 276 | arch/alpha/lib/io.c | void _memset_io(unsigned long dst, int c, unsigned long count) |
c | 280 | arch/alpha/lib/io.c | writeb(c, dst); |
c | 13 | arch/alpha/lib/memset.c | inline void * __constant_c_memset(void * s, unsigned long c, long count) |
c | 22 | arch/alpha/lib/memset.c | *(char *) xs = c; |
c | 26 | arch/alpha/lib/memset.c | *(unsigned long *) xs = c; |
c | 30 | arch/alpha/lib/memset.c | *(char *) xs = c; |
c | 36 | arch/alpha/lib/memset.c | void * __memset(void * s,char c,size_t count) |
c | 38 | arch/alpha/lib/memset.c | __constant_c_memset(s,0x0101010101010101UL * (unsigned char) c, count); |
c | 118 | arch/alpha/math-emu/ieee-math.c | add128 (const unsigned long a[2], const unsigned long b[2], unsigned long c[2]) |
c | 122 | arch/alpha/math-emu/ieee-math.c | c[0] = a[0] + b[0]; |
c | 123 | arch/alpha/math-emu/ieee-math.c | c[1] = a[1] + b[1] + carry; |
c | 128 | arch/alpha/math-emu/ieee-math.c | sub128 (const unsigned long a[2], const unsigned long b[2], unsigned long c[2]) |
c | 132 | arch/alpha/math-emu/ieee-math.c | c[0] = a[0] - b[0]; |
c | 133 | arch/alpha/math-emu/ieee-math.c | c[1] = a[1] - b[1] - borrow; |
c | 138 | arch/alpha/math-emu/ieee-math.c | mul64 (const unsigned long a, const unsigned long b, unsigned long c[2]) |
c | 142 | arch/alpha/math-emu/ieee-math.c | : "r="(c[0]), "r="(c[1]) : "r"(a), "r"(b)); |
c | 147 | arch/alpha/math-emu/ieee-math.c | div128 (unsigned long a[2], unsigned long b[2], unsigned long c[2]) |
c | 159 | arch/alpha/math-emu/ieee-math.c | c[0] = c[1] = 0; |
c | 163 | arch/alpha/math-emu/ieee-math.c | add128(mask, c, c); |
c | 809 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTEQ (unsigned long a, unsigned long b, unsigned long *c) |
c | 814 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 825 | arch/alpha/math-emu/ieee-math.c | *c = 0x4000000000000000; |
c | 831 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTLT (unsigned long a, unsigned long b, unsigned long *c) |
c | 836 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 852 | arch/alpha/math-emu/ieee-math.c | *c = 0x4000000000000000; |
c | 858 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTLE (unsigned long a, unsigned long b, unsigned long *c) |
c | 863 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 879 | arch/alpha/math-emu/ieee-math.c | *c = 0x4000000000000000; |
c | 885 | arch/alpha/math-emu/ieee-math.c | ieee_CMPTUN (unsigned long a, unsigned long b, unsigned long *c) |
c | 890 | arch/alpha/math-emu/ieee-math.c | *c = 0x4000000000000000; |
c | 897 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 907 | arch/alpha/math-emu/ieee-math.c | ieee_ADDS (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 919 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 921 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 923 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 925 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 933 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 937 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 939 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 947 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
c | 956 | arch/alpha/math-emu/ieee-math.c | ieee_ADDT (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 968 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 970 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 972 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 974 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 982 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 986 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 988 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 996 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
c | 1005 | arch/alpha/math-emu/ieee-math.c | ieee_SUBS (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1017 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1019 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1021 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1023 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1031 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1035 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1037 | arch/alpha/math-emu/ieee-math.c | *c = b ^ (1UL << 63); |
c | 1046 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
c | 1055 | arch/alpha/math-emu/ieee-math.c | ieee_SUBT (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1067 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1069 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1071 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1073 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1081 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1085 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1087 | arch/alpha/math-emu/ieee-math.c | *c = b ^ (1UL << 63); |
c | 1096 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
c | 1105 | arch/alpha/math-emu/ieee-math.c | ieee_MULS (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1117 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1119 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1121 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1123 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1133 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; /* return canonical QNaN */ |
c | 1137 | arch/alpha/math-emu/ieee-math.c | *c = a ^ ((b >> 63) << 63); |
c | 1139 | arch/alpha/math-emu/ieee-math.c | *c = b ^ ((a >> 63) << 63); |
c | 1142 | arch/alpha/math-emu/ieee-math.c | *c = ((unsigned long) op_a.s ^ op_b.s) << 63; |
c | 1152 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
c | 1161 | arch/alpha/math-emu/ieee-math.c | ieee_MULT (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1166 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1174 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1176 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1178 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1180 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1190 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; /* return canonical QNaN */ |
c | 1194 | arch/alpha/math-emu/ieee-math.c | *c = a ^ ((b >> 63) << 63); |
c | 1196 | arch/alpha/math-emu/ieee-math.c | *c = b ^ ((a >> 63) << 63); |
c | 1199 | arch/alpha/math-emu/ieee-math.c | *c = ((unsigned long) op_a.s ^ op_b.s) << 63; |
c | 1209 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
c | 1218 | arch/alpha/math-emu/ieee-math.c | ieee_DIVS (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1232 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1234 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1236 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1238 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1246 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_PINF; |
c | 1249 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1254 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1260 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 1261 | arch/alpha/math-emu/ieee-math.c | *c |= (unsigned long) (op_a.s ^ op_b.s) << 63; |
c | 1275 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
c | 1284 | arch/alpha/math-emu/ieee-math.c | ieee_DIVT (int f, unsigned long a, unsigned long b, unsigned long *c) |
c | 1289 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1299 | arch/alpha/math-emu/ieee-math.c | *c = b; |
c | 1301 | arch/alpha/math-emu/ieee-math.c | *c = b | (1UL << 51); |
c | 1303 | arch/alpha/math-emu/ieee-math.c | *c = a; |
c | 1305 | arch/alpha/math-emu/ieee-math.c | *c = a | (1UL << 51); |
c | 1313 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_PINF; |
c | 1316 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1321 | arch/alpha/math-emu/ieee-math.c | *c = IEEE_QNaN; |
c | 1327 | arch/alpha/math-emu/ieee-math.c | *c = 0; |
c | 1328 | arch/alpha/math-emu/ieee-math.c | *c |= (unsigned long) (op_a.s ^ op_b.s) << 63; |
c | 1342 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
c | 27 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 29 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 31 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 33 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 36 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 38 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 40 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 42 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 44 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 46 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 48 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 50 | arch/alpha/math-emu/ieee-math.h | unsigned long *c); |
c | 56 | arch/i386/boot/compressed/misc.c | # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} |
c | 57 | arch/i386/boot/compressed/misc.c | # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} |
c | 63 | arch/i386/boot/compressed/misc.c | # define Tracec(c,x) |
c | 64 | arch/i386/boot/compressed/misc.c | # define Tracecv(c,x) |
c | 170 | arch/i386/boot/compressed/misc.c | char c; |
c | 175 | arch/i386/boot/compressed/misc.c | while ( ( c = *s++ ) != '\0' ) { |
c | 176 | arch/i386/boot/compressed/misc.c | if ( c == '\n' ) { |
c | 183 | arch/i386/boot/compressed/misc.c | vidmem [ ( x + cols * y ) * 2 ] = c; |
c | 204 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
c | 209 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
c | 244 | arch/i386/boot/compressed/misc.c | ulg c = crc; /* temporary variable */ |
c | 252 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); |
c | 254 | arch/i386/boot/compressed/misc.c | crc = c; |
c | 18 | arch/i386/boot/compressed/piggyback.c | int c, n=0, len=0; |
c | 39 | arch/i386/boot/compressed/xtract.c | int i,c,id, sz; |
c | 92 | arch/i386/boot/tools/build.c | int i,c,id, sz; |
c | 174 | arch/i386/boot/tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
c | 175 | arch/i386/boot/tools/build.c | if (write(1,buf,c)!=c) |
c | 177 | arch/i386/boot/tools/build.c | if (c != 0) |
c | 185 | arch/i386/boot/tools/build.c | for (c=0 ; c<sizeof(buf) ; c++) |
c | 186 | arch/i386/boot/tools/build.c | buf[c] = '\0'; |
c | 188 | arch/i386/boot/tools/build.c | c = setup_sectors * 512 - i; |
c | 189 | arch/i386/boot/tools/build.c | if (c > sizeof(buf)) |
c | 190 | arch/i386/boot/tools/build.c | c = sizeof(buf); |
c | 191 | arch/i386/boot/tools/build.c | if (write(1,buf,c) != c) |
c | 193 | arch/i386/boot/tools/build.c | i += c; |
c | 6 | arch/i386/kernel/hexify.c | int c; |
c | 9 | arch/i386/kernel/hexify.c | while((c=getchar())!=EOF) |
c | 11 | arch/i386/kernel/hexify.c | unsigned char x=c; |
c | 23 | arch/i386/kernel/hexify.c | printf("0x%02X",c); |
c | 105 | arch/i386/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
c | 151 | arch/i386/kernel/setup.c | if (c == ' ' && *(const unsigned long *)from == *(const unsigned long *)"mem=") { |
c | 166 | arch/i386/kernel/setup.c | c = *(from++); |
c | 167 | arch/i386/kernel/setup.c | if (!c) |
c | 171 | arch/i386/kernel/setup.c | *(to++) = c; |
c | 418 | arch/i386/kernel/smp.c | struct cpuinfo_x86 *c=&cpu_data[id]; |
c | 419 | arch/i386/kernel/smp.c | c->hard_math=hard_math; /* Always assumed same currently */ |
c | 420 | arch/i386/kernel/smp.c | c->x86=x86; |
c | 421 | arch/i386/kernel/smp.c | c->x86_model=x86_model; |
c | 422 | arch/i386/kernel/smp.c | c->x86_mask=x86_mask; |
c | 423 | arch/i386/kernel/smp.c | c->x86_capability=x86_capability; |
c | 424 | arch/i386/kernel/smp.c | c->fdiv_bug=fdiv_bug; |
c | 425 | arch/i386/kernel/smp.c | c->wp_works_ok=wp_works_ok; /* Always assumed the same currently */ |
c | 426 | arch/i386/kernel/smp.c | c->hlt_works_ok=hlt_works_ok; |
c | 427 | arch/i386/kernel/smp.c | c->udelay_val=loops_per_sec; |
c | 428 | arch/i386/kernel/smp.c | strcpy(c->x86_vendor_id, x86_vendor_id); |
c | 92 | arch/i386/math-emu/fpu_etc.c | int c=0; |
c | 96 | arch/i386/math-emu/fpu_etc.c | c = SW_C3|SW_C0; |
c | 99 | arch/i386/math-emu/fpu_etc.c | c = SW_C3; |
c | 104 | arch/i386/math-emu/fpu_etc.c | c = SW_C2|SW_C3; /* Denormal */ |
c | 106 | arch/i386/math-emu/fpu_etc.c | c = SW_C2; |
c | 109 | arch/i386/math-emu/fpu_etc.c | c = SW_C0; |
c | 112 | arch/i386/math-emu/fpu_etc.c | c = SW_C2|SW_C0; |
c | 116 | arch/i386/math-emu/fpu_etc.c | c |= SW_C1; |
c | 117 | arch/i386/math-emu/fpu_etc.c | setcc(c); |
c | 47 | arch/i386/math-emu/poly.h | #define MK_XSIG(a,b,c) { c, b, a } |
c | 178 | arch/i386/math-emu/reg_compare.c | int f, c; |
c | 180 | arch/i386/math-emu/reg_compare.c | c = compare(loaded_data); |
c | 182 | arch/i386/math-emu/reg_compare.c | if (c & COMP_NaN) |
c | 188 | arch/i386/math-emu/reg_compare.c | switch (c & 7) |
c | 210 | arch/i386/math-emu/reg_compare.c | if (c & COMP_Denormal) |
c | 220 | arch/i386/math-emu/reg_compare.c | int f, c; |
c | 230 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
c | 231 | arch/i386/math-emu/reg_compare.c | if (c & COMP_NaN) |
c | 238 | arch/i386/math-emu/reg_compare.c | switch (c & 7) |
c | 260 | arch/i386/math-emu/reg_compare.c | if (c & COMP_Denormal) |
c | 270 | arch/i386/math-emu/reg_compare.c | int f, c; |
c | 280 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
c | 281 | arch/i386/math-emu/reg_compare.c | if (c & COMP_NaN) |
c | 284 | arch/i386/math-emu/reg_compare.c | if (c & COMP_SNaN) /* This is the only difference between |
c | 293 | arch/i386/math-emu/reg_compare.c | switch (c & 7) |
c | 315 | arch/i386/math-emu/reg_compare.c | if (c & COMP_Denormal) |
c | 59 | arch/i386/math-emu/reg_constant.c | static void fld_const(FPU_REG const *c) |
c | 69 | arch/i386/math-emu/reg_constant.c | reg_move(c, st_new_ptr); |
c | 186 | arch/i386/math-emu/reg_ld_str.c | int c = loaded_data->sign; |
c | 188 | arch/i386/math-emu/reg_ld_str.c | loaded_data->sign = c; |
c | 234 | arch/i386/math-emu/reg_ld_str.c | int c = loaded_data->sign; |
c | 236 | arch/i386/math-emu/reg_ld_str.c | loaded_data->sign = c; |
c | 82 | arch/mips/kernel/gdb-stub.c | extern int putDebugChar(char c); /* write a single character */ |
c | 19 | arch/mips/kernel/jazz-c.c | unsigned char c; |
c | 21 | arch/mips/kernel/jazz-c.c | c = *(volatile unsigned char *) port; |
c | 24 | arch/mips/kernel/jazz-c.c | return c; |
c | 19 | arch/ppc/kernel/mmu.h | unsigned long c:1; /* Changed */ |
c | 5 | arch/ppc/kernel/raw_printf.c | extern void cnputc(char c); |
c | 63 | arch/ppc/kernel/raw_printf.c | void NS16550_putc(volatile struct NS16550 *com_port, unsigned char c); |
c | 65 | arch/ppc/kernel/raw_printf.c | static _sputc(char c) |
c | 67 | arch/ppc/kernel/raw_printf.c | *_sprintk_ptr++ = c; |
c | 103 | arch/ppc/kernel/raw_printf.c | #define is_digit(c) ((c >= '0') && (c <= '9')) |
c | 107 | arch/ppc/kernel/raw_printf.c | char c, sign, *cp; |
c | 111 | arch/ppc/kernel/raw_printf.c | while (c = *fmt0++) |
c | 113 | arch/ppc/kernel/raw_printf.c | if (c == '%') |
c | 115 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 117 | arch/ppc/kernel/raw_printf.c | if (c == '-') |
c | 119 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 122 | arch/ppc/kernel/raw_printf.c | if (c == '0') |
c | 125 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 130 | arch/ppc/kernel/raw_printf.c | while (is_digit(c)) |
c | 132 | arch/ppc/kernel/raw_printf.c | left_prec = (left_prec * 10) + (c - '0'); |
c | 133 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 135 | arch/ppc/kernel/raw_printf.c | if (c == '.') |
c | 137 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 139 | arch/ppc/kernel/raw_printf.c | while (is_digit(c)) |
c | 141 | arch/ppc/kernel/raw_printf.c | right_prec = (right_prec * 10) + (c - '0'); |
c | 142 | arch/ppc/kernel/raw_printf.c | c = *fmt0++; |
c | 149 | arch/ppc/kernel/raw_printf.c | switch (c) |
c | 155 | arch/ppc/kernel/raw_printf.c | switch (c) |
c | 179 | arch/ppc/kernel/raw_printf.c | c = va_arg(ap, long /*char*/); |
c | 180 | arch/ppc/kernel/raw_printf.c | (*putc)(c); |
c | 192 | arch/ppc/kernel/raw_printf.c | c = '0'; |
c | 200 | arch/ppc/kernel/raw_printf.c | c = ' '; |
c | 206 | arch/ppc/kernel/raw_printf.c | (*putc)(c); |
c | 215 | arch/ppc/kernel/raw_printf.c | (*putc)(c = *cp++); |
c | 216 | arch/ppc/kernel/raw_printf.c | if (c == '\n') |
c | 225 | arch/ppc/kernel/raw_printf.c | (*putc)(c); |
c | 230 | arch/ppc/kernel/raw_printf.c | (*putc)(c); |
c | 231 | arch/ppc/kernel/raw_printf.c | if (c == '\n') |
c | 286 | arch/ppc/kernel/raw_printf.c | c = CRT_getc(); |
c | 290 | arch/ppc/kernel/raw_printf.c | c = NS16550_getc((struct NS16550 *)port); |
c | 308 | arch/ppc/kernel/raw_printf.c | cnputc(char c) |
c | 334 | arch/ppc/kernel/raw_printf.c | if (c == '\n') |
c | 338 | arch/ppc/kernel/raw_printf.c | if (c == '\r') |
c | 353 | arch/ppc/kernel/raw_printf.c | while ((c = cngetc()) == 0); |
c | 355 | arch/ppc/kernel/raw_printf.c | if (c == ' ') |
c | 359 | arch/ppc/kernel/raw_printf.c | if (c == 'n') |
c | 363 | arch/ppc/kernel/raw_printf.c | if ((c == '\r') || (c == '\n')) |
c | 367 | arch/ppc/kernel/raw_printf.c | if (c == 0x03) /* ^C */ |
c | 382 | arch/ppc/kernel/raw_printf.c | while ((c = cngetc()) == 0); |
c | 409 | arch/ppc/kernel/raw_printf.c | void NS16550_putc(volatile struct NS16550 *com_port, unsigned char c) |
c | 450 | arch/ppc/kernel/raw_printf.c | outb(int port, unsigned char c) |
c | 548 | arch/ppc/kernel/raw_printf.c | int CRT_putc(int port, unsigned char c) |
c | 596 | arch/ppc/kernel/raw_printf.c | wrtchar(d->color_so|(c<<8), d); |
c | 598 | arch/ppc/kernel/raw_printf.c | wrtchar(d->color | (c<<8), d); |
c | 612 | arch/ppc/kernel/raw_printf.c | switch (c) { |
c | 698 | arch/ppc/kernel/raw_printf.c | if ((c >= '0') && (c <= '9')) { |
c | 700 | arch/ppc/kernel/raw_printf.c | *(d->accp) += c - '0'; |
c | 722 | arch/ppc/kernel/raw_printf.c | switch (c) { |
c | 754 | arch/ppc/kernel/raw_printf.c | if ((c >= '0') && (c <= '9')) { |
c | 756 | arch/ppc/kernel/raw_printf.c | d->cx += c - '0'; |
c | 766 | arch/ppc/kernel/raw_printf.c | switch (c) { |
c | 1060 | arch/ppc/kernel/raw_printf.c | unsigned char c; |
c | 1075 | arch/ppc/kernel/raw_printf.c | while ((c = inb(KBDATAP)) != 0xFA) |
c | 1081 | arch/ppc/kernel/raw_printf.c | int c; |
c | 1082 | arch/ppc/kernel/raw_printf.c | while ((c = kbd(0)) == 0) ; |
c | 1083 | arch/ppc/kernel/raw_printf.c | return(c); |
c | 1094 | arch/ppc/kernel/raw_printf.c | int i, c; |
c | 1125 | arch/ppc/kernel/raw_printf.c | c = p[i] & 0xFF; |
c | 1126 | arch/ppc/kernel/raw_printf.c | if ((c < 0x20) || (c >= 0x7F)) c = '.'; |
c | 1129 | arch/ppc/kernel/raw_printf.c | c = ' '; |
c | 1131 | arch/ppc/kernel/raw_printf.c | _printk("%c", c); |
c | 1147 | arch/ppc/kernel/raw_printf.c | int i, c; |
c | 1178 | arch/ppc/kernel/raw_printf.c | c = p[i] & 0xFF; |
c | 1179 | arch/ppc/kernel/raw_printf.c | if ((c < 0x20) || (c >= 0x7F)) c = '.'; |
c | 1182 | arch/ppc/kernel/raw_printf.c | c = ' '; |
c | 1184 | arch/ppc/kernel/raw_printf.c | printk("%c", c); |
c | 623 | arch/ppc/mm/init.c | printk(" V: %d, VSID: %05x, H: %d, RPN: %04x, R: %d, C: %d, PP: %x\n", _pte->v, _pte->vsid, _pte->h, _pte->rpn, _pte->r, _pte->c, _pte->pp); |
c | 629 | arch/ppc/mm/init.c | printk(" V: %d, VSID: %05x, H: %d, RPN: %04x, R: %d, C: %d, PP: %x\n", _pte->v, _pte->vsid, _pte->h, _pte->rpn, _pte->r, _pte->c, _pte->pp); |
c | 665 | arch/ppc/mm/init.c | slot->c = 0; |
c | 708 | arch/ppc/mm/init.c | if (slot->c) flags |= _PAGE_DIRTY; |
c | 19 | arch/ppc/mm/mmu.h | unsigned long c:1; /* Changed */ |
c | 366 | arch/sparc/kernel/sparc-stub.c | unsigned char c; |
c | 382 | arch/sparc/kernel/sparc-stub.c | while((c = getDebugChar()) != '$'); |
c | 383 | arch/sparc/kernel/sparc-stub.c | while((c = getDebugChar()) != '#'); |
c | 384 | arch/sparc/kernel/sparc-stub.c | c = getDebugChar(); /* eat first csum byte */ |
c | 385 | arch/sparc/kernel/sparc-stub.c | c = getDebugChar(); /* eat second csum byte */ |
c | 39 | arch/sparc/prom/console.c | prom_nbputchar(char c) |
c | 45 | arch/sparc/prom/console.c | return (*(romvec->pv_nbputchar))(c); |
c | 50 | arch/sparc/prom/console.c | outc = c; |
c | 70 | arch/sparc/prom/console.c | prom_putchar(char c) |
c | 72 | arch/sparc/prom/console.c | while(prom_nbputchar(c) == -1) ; |
c | 41 | drivers/block/dtc2278.c | static void sub22 (char b, char c) |
c | 49 | drivers/block/dtc2278.c | outb_p(c,0xb4); |
c | 51 | drivers/block/dtc2278.c | if(inb(0xb4) == c) { |
c | 3169 | drivers/block/floppy.c | #define OUT(c,x) case c: outparam = (const char *) (x); break |
c | 3170 | drivers/block/floppy.c | #define IN(c,x,tag) case c: *(x) = inparam. tag ; return 0 |
c | 4024 | drivers/block/floppy.c | char c; |
c | 4035 | drivers/block/floppy.c | c= get_fs_byte(i); |
c | 4038 | drivers/block/floppy.c | c='\0'; |
c | 4039 | drivers/block/floppy.c | buffer[j] = c; |
c | 4040 | drivers/block/floppy.c | if (!c || c == ' ' || c == '\t'){ |
c | 4048 | drivers/block/floppy.c | if (!c) |
c | 4052 | drivers/block/floppy.c | if ((!j && !c) || (j && c == pattern[j-1])) |
c | 360 | drivers/block/hd.c | unsigned char c; |
c | 363 | drivers/block/hd.c | c = inb_p(HD_STATUS); |
c | 364 | drivers/block/hd.c | if ((c & (BUSY_STAT | READY_STAT | SEEK_STAT)) == STAT_OK) |
c | 367 | drivers/block/hd.c | dump_status("reset timed out", c); |
c | 423 | drivers/block/ide-cd.c | failed_command->c[0] == SCMD_READ_SUBCHANNEL && |
c | 485 | drivers/block/ide-cd.c | for (i=0; i<sizeof (failed_command->c); i++) |
c | 486 | drivers/block/ide-cd.c | printk ("%02x ", failed_command->c[i]); |
c | 567 | drivers/block/ide-cd.c | pc->c[0] = REQUEST_SENSE; |
c | 568 | drivers/block/ide-cd.c | pc->c[4] = len; |
c | 601 | drivers/block/ide-cd.c | (struct atapi_request_sense *)(pc->buffer - pc->c[4]), |
c | 673 | drivers/block/ide-cd.c | if (pc->c[0] != SCMD_READ_SUBCHANNEL) |
c | 1165 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
c | 1166 | drivers/block/ide-cd.c | pc.c[0] = READ_10; |
c | 1167 | drivers/block/ide-cd.c | pc.c[7] = (nframes >> 8); |
c | 1168 | drivers/block/ide-cd.c | pc.c[8] = (nframes & 0xff); |
c | 1170 | drivers/block/ide-cd.c | stl_u (htonl (frame), (unsigned int *) &pc.c[2]); |
c | 1172 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (frame); |
c | 1176 | drivers/block/ide-cd.c | (void) cdrom_transfer_packet_command (drive, pc.c, sizeof (pc.c), |
c | 1246 | drivers/block/ide-cd.c | if (pc->c[0] == REQUEST_SENSE && pc->buflen > 0 && pc->buflen <= 5) { |
c | 1346 | drivers/block/ide-cd.c | cdrom_transfer_packet_command (drive, pc->c, sizeof (pc->c), &cdrom_pc_intr); |
c | 1435 | drivers/block/ide-cd.c | (pc->c[0] != REQUEST_SENSE && |
c | 1436 | drivers/block/ide-cd.c | pc->c[0] != ALLOW_MEDIUM_REMOVAL && |
c | 1437 | drivers/block/ide-cd.c | pc->c[0] != START_STOP)) |
c | 1570 | drivers/block/ide-cd.c | pc.c[0] = TEST_UNIT_READY; |
c | 1596 | drivers/block/ide-cd.c | pc.c[0] = ALLOW_MEDIUM_REMOVAL; |
c | 1597 | drivers/block/ide-cd.c | pc.c[4] = (lockflag != 0); |
c | 1630 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1631 | drivers/block/ide-cd.c | pc.c[4] = 2 + (ejectflag != 0); |
c | 1645 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PAUSE_RESUME; |
c | 1646 | drivers/block/ide-cd.c | pc.c[8] = !pauseflag; |
c | 1660 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1661 | drivers/block/ide-cd.c | pc.c[1] = 1; |
c | 1662 | drivers/block/ide-cd.c | pc.c[4] = startflag; |
c | 1682 | drivers/block/ide-cd.c | pc.c[0] = READ_CAPACITY; |
c | 1708 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_TOC; |
c | 1709 | drivers/block/ide-cd.c | pc.c[6] = trackno; |
c | 1710 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1711 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1712 | drivers/block/ide-cd.c | pc.c[9] = (format << 6); |
c | 1713 | drivers/block/ide-cd.c | if (msf_flag) pc.c[1] = 2; |
c | 1860 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_SUBCHANNEL; |
c | 1861 | drivers/block/ide-cd.c | pc.c[2] = 0x40; /* request subQ data */ |
c | 1862 | drivers/block/ide-cd.c | pc.c[3] = 0x01; /* Format 1: current position */ |
c | 1863 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1864 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1882 | drivers/block/ide-cd.c | pc.c[0] = MODE_SENSE_10; |
c | 1883 | drivers/block/ide-cd.c | pc.c[2] = pageno | (modeflag << 6); |
c | 1884 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1885 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1901 | drivers/block/ide-cd.c | pc.c[0] = MODE_SELECT_10; |
c | 1902 | drivers/block/ide-cd.c | pc.c[1] = 0x10; |
c | 1903 | drivers/block/ide-cd.c | pc.c[2] = pageno; |
c | 1904 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1905 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1919 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO12; |
c | 1922 | drivers/block/ide-cd.c | (unsigned long *) &pc.c[2]); |
c | 1924 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (lba_start); |
c | 1925 | drivers/block/ide-cd.c | *(int *)(&pc.c[6]) = htonl (lba_end - lba_start); |
c | 1942 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO_MSF; |
c | 1943 | drivers/block/ide-cd.c | lba_to_msf (lba_start, &pc.c[3], &pc.c[4], &pc.c[5]); |
c | 1944 | drivers/block/ide-cd.c | lba_to_msf (lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]); |
c | 1948 | drivers/block/ide-cd.c | pc.c[3] = bin2bcd (pc.c[3]); |
c | 1949 | drivers/block/ide-cd.c | pc.c[4] = bin2bcd (pc.c[4]); |
c | 1950 | drivers/block/ide-cd.c | pc.c[5] = bin2bcd (pc.c[5]); |
c | 1951 | drivers/block/ide-cd.c | pc.c[6] = bin2bcd (pc.c[6]); |
c | 1952 | drivers/block/ide-cd.c | pc.c[7] = bin2bcd (pc.c[7]); |
c | 1953 | drivers/block/ide-cd.c | pc.c[8] = bin2bcd (pc.c[8]); |
c | 2091 | drivers/block/ide-cd.c | pc.c[0] = 0xd4; |
c | 2094 | drivers/block/ide-cd.c | pc.c[0] = READ_CD; |
c | 2096 | drivers/block/ide-cd.c | pc.c[1] = (format << 2); |
c | 2098 | drivers/block/ide-cd.c | stl_u(htonl (lba), (unsigned int *) &pc.c[2]); |
c | 2100 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (lba); |
c | 2102 | drivers/block/ide-cd.c | pc.c[8] = 1; /* one block */ |
c | 2103 | drivers/block/ide-cd.c | pc.c[9] = 0x10; |
c | 2537 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
c | 2539 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
c | 2540 | drivers/block/ide-cd.c | arg += sizeof (pc.c); |
c | 1463 | drivers/block/ide-tape.c | if (tape->pc->c[0] == IDETAPE_REQUEST_SENSE_CMD && pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) { |
c | 1468 | drivers/block/ide-tape.c | if (tape->failed_pc == NULL && pc->c[0] != IDETAPE_REQUEST_SENSE_CMD) |
c | 1483 | drivers/block/ide-tape.c | printk ("pc = %x, key = %x, asc = %x, ascq = %x\n",pc->c[0],tape->sense_key,tape->asc,tape->ascq); |
c | 1551 | drivers/block/ide-tape.c | ide_output_data (drive,pc->c,12/4); /* Send the actual packet */ |
c | 1620 | drivers/block/ide-tape.c | if (pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) { |
c | 2276 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_INQUIRY_CMD; |
c | 2277 | drivers/block/ide-tape.c | pc->c[4]=255; |
c | 2376 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_REQUEST_SENSE_CMD; |
c | 2377 | drivers/block/ide-tape.c | pc->c[4]=255; |
c | 2423 | drivers/block/ide-tape.c | printk ("ide-tape: pc = %x, sense key = %x, asc = %x, ascq = %x\n",pc->c[0],result->sense_key,result->asc,result->ascq); |
c | 2426 | drivers/block/ide-tape.c | if (pc->c[0] == IDETAPE_READ_CMD) { |
c | 2433 | drivers/block/ide-tape.c | if (pc->c[0] == IDETAPE_READ_CMD || pc->c[0] == IDETAPE_WRITE_CMD) { |
c | 2468 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_TEST_UNIT_READY_CMD; |
c | 2488 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_LOCATE_CMD; |
c | 2489 | drivers/block/ide-tape.c | pc->c [1]=2; |
c | 2490 | drivers/block/ide-tape.c | ptr=(unsigned long *) &(pc->c[3]); |
c | 2492 | drivers/block/ide-tape.c | pc->c[8]=partition; |
c | 2510 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_REWIND_CMD; |
c | 2534 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_MODE_SENSE_CMD; |
c | 2535 | drivers/block/ide-tape.c | pc->c [1]=8; /* DBD = 1 - Don't return block descriptors for now */ |
c | 2536 | drivers/block/ide-tape.c | pc->c [2]=page_code; |
c | 2537 | drivers/block/ide-tape.c | pc->c [3]=255; /* Don't limit the returned information */ |
c | 2538 | drivers/block/ide-tape.c | pc->c [4]=255; /* (We will just discard data in that case) */ |
c | 2567 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_WRITE_FILEMARK_CMD; |
c | 2569 | drivers/block/ide-tape.c | pc->c [4]=1; |
c | 2587 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_LOAD_UNLOAD_CMD; |
c | 2588 | drivers/block/ide-tape.c | pc->c [4]=cmd; |
c | 2608 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_ERASE_CMD; |
c | 2609 | drivers/block/ide-tape.c | pc->c [1]=1; |
c | 2637 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_READ_CMD; |
c | 2638 | drivers/block/ide-tape.c | pc->c [1]=1; |
c | 2639 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
c | 2640 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
c | 2641 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
c | 2677 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_SPACE_CMD; |
c | 2678 | drivers/block/ide-tape.c | pc->c [1]=cmd; |
c | 2679 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
c | 2680 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
c | 2681 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
c | 2711 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_WRITE_CMD; |
c | 2712 | drivers/block/ide-tape.c | pc->c [1]=1; |
c | 2713 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
c | 2714 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
c | 2715 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
c | 2736 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_READ_POSITION_CMD; |
c | 2737 | drivers/block/ide-tape.c | pc->c [1]=0; |
c | 2945 | drivers/block/ide-tape.c | if (tape->failed_pc != NULL && tape->pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) { |
c | 3460 | drivers/block/ide-tape.c | pc->c[i]=0; |
c | 267 | drivers/block/ide-tape.h | byte c [12]; /* Actual packet bytes */ |
c | 2461 | drivers/block/ide.c | static int stridx (const char *s, char c) |
c | 2463 | drivers/block/ide.c | char *i = strchr(s, c); |
c | 2464 | drivers/block/ide.c | return (i && c) ? i - s : -1; |
c | 169 | drivers/block/ide.h | unsigned char c[12]; |
c | 34 | drivers/block/raid0.c | int i, j, c=0; |
c | 46 | drivers/block/raid0.c | c=1; |
c | 50 | drivers/block/raid0.c | if (!c) |
c | 53 | drivers/block/raid0.c | c=0; |
c | 65 | drivers/block/raid0.c | c=0; |
c | 70 | drivers/block/raid0.c | data->strip_zone[i].dev[c++]=devices[minor]+j; |
c | 76 | drivers/block/raid0.c | data->strip_zone[i].nb_dev=c; |
c | 77 | drivers/block/raid0.c | data->strip_zone[i].size=(smallest_by_zone->size-current_offset)*c; |
c | 488 | drivers/block/rd.c | #define Tracec(c,x) |
c | 489 | drivers/block/rd.c | #define Tracecv(c,x) |
c | 545 | drivers/block/rd.c | ulg c = crc; /* temporary variable */ |
c | 554 | drivers/block/rd.c | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); |
c | 556 | drivers/block/rd.c | crc = c; |
c | 553 | drivers/cdrom/mcd.c | char a, b, c, d; |
c | 557 | drivers/cdrom/mcd.c | getValue(&c); |
c | 879 | drivers/cdrom/mcdx.c | char c; |
c | 882 | drivers/cdrom/mcdx.c | if ((disgard = (buffer == NULL))) buffer = &c; |
c | 1374 | drivers/cdrom/mcdx.c | static unsigned int bcd2uint(unsigned char c) |
c | 1375 | drivers/cdrom/mcdx.c | { return (c >> 4) * 10 + (c & 0x0f); } |
c | 1738 | drivers/cdrom/mcdx.c | char c; |
c | 1740 | drivers/cdrom/mcdx.c | if (!buf) buf = &c; |
c | 829 | drivers/cdrom/sbpcd.c | msf.c[3] = 0; |
c | 830 | drivers/cdrom/sbpcd.c | msf.c[2] = (blk + CD_MSF_OFFSET) / (CD_SECS * CD_FRAMES); |
c | 832 | drivers/cdrom/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
c | 833 | drivers/cdrom/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
c | 868 | drivers/cdrom/sbpcd.c | i=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_MSF_OFFSET; |
c | 222 | drivers/cdrom/sjcd.c | unsigned char b, unsigned char c, unsigned char d ){ |
c | 229 | drivers/cdrom/sjcd.c | outb( c, SJCDPORT( 0 ) ); |
c | 204 | drivers/char/atixlmouse.c | unsigned char a,b,c; |
c | 208 | drivers/char/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
c | 209 | drivers/char/atixlmouse.c | if (( a != b ) && ( a == c )) |
c | 1371 | drivers/char/console.c | int c, tc, ok, n = 0; |
c | 1391 | drivers/char/console.c | c = from_user ? get_user(buf) : *buf; |
c | 1397 | drivers/char/console.c | if(c > 0x7f) { |
c | 1398 | drivers/char/console.c | if (utf_count > 0 && (c & 0xc0) == 0x80) { |
c | 1399 | drivers/char/console.c | utf_char = (utf_char << 6) | (c & 0x3f); |
c | 1402 | drivers/char/console.c | tc = c = utf_char; |
c | 1405 | drivers/char/console.c | if ((c & 0xe0) == 0xc0) { |
c | 1407 | drivers/char/console.c | utf_char = (c & 0x1f); |
c | 1408 | drivers/char/console.c | } else if ((c & 0xf0) == 0xe0) { |
c | 1410 | drivers/char/console.c | utf_char = (c & 0x0f); |
c | 1411 | drivers/char/console.c | } else if ((c & 0xf8) == 0xf0) { |
c | 1413 | drivers/char/console.c | utf_char = (c & 0x07); |
c | 1414 | drivers/char/console.c | } else if ((c & 0xfc) == 0xf8) { |
c | 1416 | drivers/char/console.c | utf_char = (c & 0x03); |
c | 1417 | drivers/char/console.c | } else if ((c & 0xfe) == 0xfc) { |
c | 1419 | drivers/char/console.c | utf_char = (c & 0x01); |
c | 1425 | drivers/char/console.c | tc = c; |
c | 1429 | drivers/char/console.c | tc = translate[toggle_meta ? (c|0x80) : c]; |
c | 1441 | drivers/char/console.c | ok = (tc && (c >= 32 || (!utf && !(((disp_ctrl ? CTRL_ALWAYS |
c | 1442 | drivers/char/console.c | : CTRL_ACTION) >> c) & 1)))); |
c | 1456 | drivers/char/console.c | tc = c; |
c | 1484 | drivers/char/console.c | switch (c) { |
c | 1534 | drivers/char/console.c | switch (c) { |
c | 1587 | drivers/char/console.c | if (c=='P') { /* palette escape sequence */ |
c | 1593 | drivers/char/console.c | } else if (c=='R') { /* reset palette */ |
c | 1600 | drivers/char/console.c | if ( (c>='0'&&c<='9') || (c>='A'&&c<='F') || (c>='a'&&c<='f') ) { |
c | 1601 | drivers/char/console.c | par[npar++] = (c>'9' ? (c&0xDF)-'A'+10 : c-'0') ; |
c | 1621 | drivers/char/console.c | if (c == '[') { /* Function key */ |
c | 1625 | drivers/char/console.c | ques = (c=='?'); |
c | 1629 | drivers/char/console.c | if (c==';' && npar<NPAR-1) { |
c | 1632 | drivers/char/console.c | } else if (c>='0' && c<='9') { |
c | 1634 | drivers/char/console.c | par[npar] += c-'0'; |
c | 1639 | drivers/char/console.c | switch(c) { |
c | 1658 | drivers/char/console.c | switch(c) { |
c | 1767 | drivers/char/console.c | switch (c) { |
c | 1782 | drivers/char/console.c | if (c == '8') { |
c | 1792 | drivers/char/console.c | if (c == '0') |
c | 1794 | drivers/char/console.c | else if (c == 'B') |
c | 1796 | drivers/char/console.c | else if (c == 'U') |
c | 1798 | drivers/char/console.c | else if (c == 'K') |
c | 1805 | drivers/char/console.c | if (c == '0') |
c | 1807 | drivers/char/console.c | else if (c == 'B') |
c | 1809 | drivers/char/console.c | else if (c == 'U') |
c | 1811 | drivers/char/console.c | else if (c == 'K') |
c | 1857 | drivers/char/console.c | unsigned char c; |
c | 1877 | drivers/char/console.c | while ((c = *(b++)) != 0) { |
c | 1878 | drivers/char/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1879 | drivers/char/console.c | if (c != 13) |
c | 1882 | drivers/char/console.c | if (c == 10 || c == 13) |
c | 1885 | drivers/char/console.c | if (c == 8) { /* backspace */ |
c | 1889 | drivers/char/console.c | scr_writew((attr << 8) + c, (unsigned short *) pos); |
c | 1616 | drivers/char/cyclades.c | int c, total = 0; |
c | 1632 | drivers/char/cyclades.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1634 | drivers/char/cyclades.c | if (c <= 0){ |
c | 1641 | drivers/char/cyclades.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1642 | drivers/char/cyclades.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1644 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1647 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1648 | drivers/char/cyclades.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1649 | drivers/char/cyclades.c | info->xmit_cnt += c; |
c | 1651 | drivers/char/cyclades.c | buf += c; |
c | 1652 | drivers/char/cyclades.c | count -= c; |
c | 1653 | drivers/char/cyclades.c | total += c; |
c | 179 | drivers/char/keyboard.c | static inline void send_cmd(unsigned char c) |
c | 182 | drivers/char/keyboard.c | outb(c,0x64); |
c | 191 | drivers/char/keyboard.c | void to_utf8(ushort c) { |
c | 192 | drivers/char/keyboard.c | if (c < 0x80) |
c | 193 | drivers/char/keyboard.c | put_queue(c); /* 0******* */ |
c | 194 | drivers/char/keyboard.c | else if (c < 0x800) { |
c | 195 | drivers/char/keyboard.c | put_queue(0xc0 | (c >> 6)); /* 110***** 10****** */ |
c | 196 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 198 | drivers/char/keyboard.c | put_queue(0xe0 | (c >> 12)); /* 1110**** 10****** 10****** */ |
c | 199 | drivers/char/keyboard.c | put_queue(0x80 | ((c >> 6) & 0x3f)); |
c | 200 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 234 | drivers/char/lp.c | char c; |
c | 239 | drivers/char/lp.c | c = get_user(temp); |
c | 240 | drivers/char/lp.c | retval = lp_char_polled(c, minor); |
c | 47 | drivers/char/mouse.c | struct mouse *c = mouse_list.next; |
c | 50 | drivers/char/mouse.c | while (c != &mouse_list) { |
c | 51 | drivers/char/mouse.c | if (c->minor == minor) { |
c | 52 | drivers/char/mouse.c | file->f_op = c->fops; |
c | 55 | drivers/char/mouse.c | c = c->next; |
c | 58 | drivers/char/n_tty.c | static inline void put_tty_queue(unsigned char c, struct tty_struct *tty) |
c | 61 | drivers/char/n_tty.c | tty->read_buf[tty->read_head] = c; |
c | 99 | drivers/char/n_tty.c | static int opost(unsigned char c, struct tty_struct *tty) |
c | 108 | drivers/char/n_tty.c | switch (c) { |
c | 124 | drivers/char/n_tty.c | c = '\n'; |
c | 148 | drivers/char/n_tty.c | c = toupper(c); |
c | 149 | drivers/char/n_tty.c | if (!iscntrl(c)) |
c | 154 | drivers/char/n_tty.c | tty->driver.put_char(tty, c); |
c | 158 | drivers/char/n_tty.c | static inline void put_char(unsigned char c, struct tty_struct *tty) |
c | 160 | drivers/char/n_tty.c | tty->driver.put_char(tty, c); |
c | 165 | drivers/char/n_tty.c | static void echo_char(unsigned char c, struct tty_struct *tty) |
c | 167 | drivers/char/n_tty.c | if (L_ECHOCTL(tty) && iscntrl(c) && c != '\t') { |
c | 169 | drivers/char/n_tty.c | put_char(c ^ 0100, tty); |
c | 172 | drivers/char/n_tty.c | opost(c, tty); |
c | 184 | drivers/char/n_tty.c | static void eraser(unsigned char c, struct tty_struct *tty) |
c | 193 | drivers/char/n_tty.c | if (c == ERASE_CHAR(tty)) |
c | 195 | drivers/char/n_tty.c | else if (c == WERASE_CHAR(tty)) |
c | 221 | drivers/char/n_tty.c | c = tty->read_buf[head]; |
c | 224 | drivers/char/n_tty.c | if (isalnum(c) || c == '_') |
c | 238 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 241 | drivers/char/n_tty.c | } else if (c == '\t') { |
c | 247 | drivers/char/n_tty.c | c = tty->read_buf[tail]; |
c | 248 | drivers/char/n_tty.c | if (c == '\t') |
c | 250 | drivers/char/n_tty.c | else if (iscntrl(c)) { |
c | 270 | drivers/char/n_tty.c | if (iscntrl(c) && L_ECHOCTL(tty)) { |
c | 277 | drivers/char/n_tty.c | if (!iscntrl(c) || L_ECHOCTL(tty)) { |
c | 334 | drivers/char/n_tty.c | unsigned char c) |
c | 342 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 348 | drivers/char/n_tty.c | static inline void n_tty_receive_char(struct tty_struct *tty, unsigned char c) |
c | 351 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 361 | drivers/char/n_tty.c | c &= 0x7f; |
c | 363 | drivers/char/n_tty.c | c=tolower(c); |
c | 367 | drivers/char/n_tty.c | if (c == START_CHAR(tty)) |
c | 369 | drivers/char/n_tty.c | else if (c == STOP_CHAR(tty)) |
c | 381 | drivers/char/n_tty.c | if (!test_bit(c, &tty->process_char_map) || tty->lnext) { |
c | 392 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 394 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 395 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 396 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 400 | drivers/char/n_tty.c | if (c == '\r') { |
c | 404 | drivers/char/n_tty.c | c = '\n'; |
c | 405 | drivers/char/n_tty.c | } else if (c == '\n' && I_INLCR(tty)) |
c | 406 | drivers/char/n_tty.c | c = '\r'; |
c | 408 | drivers/char/n_tty.c | if (c == START_CHAR(tty)) { |
c | 412 | drivers/char/n_tty.c | if (c == STOP_CHAR(tty)) { |
c | 418 | drivers/char/n_tty.c | if (c == INTR_CHAR(tty)) { |
c | 422 | drivers/char/n_tty.c | if (c == QUIT_CHAR(tty)) { |
c | 426 | drivers/char/n_tty.c | if (c == SUSP_CHAR(tty)) { |
c | 433 | drivers/char/n_tty.c | if (c == ERASE_CHAR(tty) || c == KILL_CHAR(tty) || |
c | 434 | drivers/char/n_tty.c | (c == WERASE_CHAR(tty) && L_IEXTEN(tty))) { |
c | 435 | drivers/char/n_tty.c | eraser(c, tty); |
c | 438 | drivers/char/n_tty.c | if (c == LNEXT_CHAR(tty) && L_IEXTEN(tty)) { |
c | 449 | drivers/char/n_tty.c | if (c == REPRINT_CHAR(tty) && L_ECHO(tty) && |
c | 454 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 462 | drivers/char/n_tty.c | if (c == '\n') { |
c | 472 | drivers/char/n_tty.c | if (c == EOF_CHAR(tty)) { |
c | 475 | drivers/char/n_tty.c | c = __DISABLED_CHAR; |
c | 478 | drivers/char/n_tty.c | if ((c == EOL_CHAR(tty)) || |
c | 479 | drivers/char/n_tty.c | (c == EOL2_CHAR(tty) && L_IEXTEN(tty))) { |
c | 491 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 497 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 498 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 502 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 519 | drivers/char/n_tty.c | if (c == '\n') |
c | 525 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 529 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 530 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 532 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 755 | drivers/char/n_tty.c | int c; |
c | 867 | drivers/char/n_tty.c | c = tty->read_buf[tty->read_tail]; |
c | 873 | drivers/char/n_tty.c | put_user(c, b++); |
c | 881 | drivers/char/n_tty.c | if (c != __DISABLED_CHAR) { |
c | 882 | drivers/char/n_tty.c | put_user(c, b++); |
c | 927 | drivers/char/n_tty.c | int c; |
c | 951 | drivers/char/n_tty.c | c = get_user(b); |
c | 952 | drivers/char/n_tty.c | if (opost(c, tty) < 0) |
c | 959 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
c | 960 | drivers/char/n_tty.c | b += c; |
c | 961 | drivers/char/n_tty.c | nr -= c; |
c | 423 | drivers/char/psaux.c | unsigned char c; |
c | 439 | drivers/char/psaux.c | c = get_from_queue(); |
c | 440 | drivers/char/psaux.c | put_user(c, buffer++); |
c | 118 | drivers/char/pty.c | int c=0, n, r; |
c | 136 | drivers/char/pty.c | buf += n; c+= n; |
c | 141 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
c | 142 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
c | 145 | drivers/char/pty.c | return c; |
c | 481 | drivers/char/random.c | __u32 a, b, c, d; |
c | 485 | drivers/char/random.c | c = buf[2]; |
c | 488 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478, 7); |
c | 489 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12); |
c | 490 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17); |
c | 491 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[ 3]+0xc1bdceee, 22); |
c | 492 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 4]+0xf57c0faf, 7); |
c | 493 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 5]+0x4787c62a, 12); |
c | 494 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[ 6]+0xa8304613, 17); |
c | 495 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[ 7]+0xfd469501, 22); |
c | 496 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[ 8]+0x698098d8, 7); |
c | 497 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[ 9]+0x8b44f7af, 12); |
c | 498 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[10]+0xffff5bb1, 17); |
c | 499 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[11]+0x895cd7be, 22); |
c | 500 | drivers/char/random.c | MD5STEP(F1, a, b, c, d, in[12]+0x6b901122, 7); |
c | 501 | drivers/char/random.c | MD5STEP(F1, d, a, b, c, in[13]+0xfd987193, 12); |
c | 502 | drivers/char/random.c | MD5STEP(F1, c, d, a, b, in[14]+0xa679438e, 17); |
c | 503 | drivers/char/random.c | MD5STEP(F1, b, c, d, a, in[15]+0x49b40821, 22); |
c | 505 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 1]+0xf61e2562, 5); |
c | 506 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[ 6]+0xc040b340, 9); |
c | 507 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[11]+0x265e5a51, 14); |
c | 508 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 0]+0xe9b6c7aa, 20); |
c | 509 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 5]+0xd62f105d, 5); |
c | 510 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[10]+0x02441453, 9); |
c | 511 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[15]+0xd8a1e681, 14); |
c | 512 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 4]+0xe7d3fbc8, 20); |
c | 513 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[ 9]+0x21e1cde6, 5); |
c | 514 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[14]+0xc33707d6, 9); |
c | 515 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[ 3]+0xf4d50d87, 14); |
c | 516 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[ 8]+0x455a14ed, 20); |
c | 517 | drivers/char/random.c | MD5STEP(F2, a, b, c, d, in[13]+0xa9e3e905, 5); |
c | 518 | drivers/char/random.c | MD5STEP(F2, d, a, b, c, in[ 2]+0xfcefa3f8, 9); |
c | 519 | drivers/char/random.c | MD5STEP(F2, c, d, a, b, in[ 7]+0x676f02d9, 14); |
c | 520 | drivers/char/random.c | MD5STEP(F2, b, c, d, a, in[12]+0x8d2a4c8a, 20); |
c | 522 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 5]+0xfffa3942, 4); |
c | 523 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 8]+0x8771f681, 11); |
c | 524 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[11]+0x6d9d6122, 16); |
c | 525 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[14]+0xfde5380c, 23); |
c | 526 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 1]+0xa4beea44, 4); |
c | 527 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 4]+0x4bdecfa9, 11); |
c | 528 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[ 7]+0xf6bb4b60, 16); |
c | 529 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[10]+0xbebfbc70, 23); |
c | 530 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[13]+0x289b7ec6, 4); |
c | 531 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[ 0]+0xeaa127fa, 11); |
c | 532 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[ 3]+0xd4ef3085, 16); |
c | 533 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[ 6]+0x04881d05, 23); |
c | 534 | drivers/char/random.c | MD5STEP(F3, a, b, c, d, in[ 9]+0xd9d4d039, 4); |
c | 535 | drivers/char/random.c | MD5STEP(F3, d, a, b, c, in[12]+0xe6db99e5, 11); |
c | 536 | drivers/char/random.c | MD5STEP(F3, c, d, a, b, in[15]+0x1fa27cf8, 16); |
c | 537 | drivers/char/random.c | MD5STEP(F3, b, c, d, a, in[ 2]+0xc4ac5665, 23); |
c | 539 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 0]+0xf4292244, 6); |
c | 540 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[ 7]+0x432aff97, 10); |
c | 541 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[14]+0xab9423a7, 15); |
c | 542 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 5]+0xfc93a039, 21); |
c | 543 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[12]+0x655b59c3, 6); |
c | 544 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[ 3]+0x8f0ccc92, 10); |
c | 545 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[10]+0xffeff47d, 15); |
c | 546 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 1]+0x85845dd1, 21); |
c | 547 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 8]+0x6fa87e4f, 6); |
c | 548 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[15]+0xfe2ce6e0, 10); |
c | 549 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[ 6]+0xa3014314, 15); |
c | 550 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[13]+0x4e0811a1, 21); |
c | 551 | drivers/char/random.c | MD5STEP(F4, a, b, c, d, in[ 4]+0xf7537e82, 6); |
c | 552 | drivers/char/random.c | MD5STEP(F4, d, a, b, c, in[11]+0xbd3af235, 10); |
c | 553 | drivers/char/random.c | MD5STEP(F4, c, d, a, b, in[ 2]+0x2ad7d2bb, 15); |
c | 554 | drivers/char/random.c | MD5STEP(F4, b, c, d, a, in[ 9]+0xeb86d391, 21); |
c | 558 | drivers/char/random.c | buf[2] += c; |
c | 31 | drivers/char/selection.c | #define isspace(c) ((c) == ' ') |
c | 84 | drivers/char/selection.c | static inline int inword(const unsigned char c) { |
c | 85 | drivers/char/selection.c | return ( inwordLut[c>>5] >> (c & 0x1F) ) & 1; |
c | 274 | drivers/char/selection.c | int c = sel_buffer_lth; |
c | 278 | drivers/char/selection.c | if (!bp || !c) |
c | 283 | drivers/char/selection.c | while (c) { |
c | 288 | drivers/char/selection.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
c | 290 | drivers/char/selection.c | c -= l; |
c | 179 | drivers/char/selection.h | static inline void memsetw(void * s, unsigned short c, unsigned int count) |
c | 186 | drivers/char/selection.h | scr_writew(c, addr++); |
c | 1321 | drivers/char/serial.c | int c, total = 0; |
c | 1336 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1338 | drivers/char/serial.c | if (c <= 0) |
c | 1342 | drivers/char/serial.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1343 | drivers/char/serial.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1345 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1347 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1348 | drivers/char/serial.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1349 | drivers/char/serial.c | info->xmit_cnt += c; |
c | 1351 | drivers/char/serial.c | buf += c; |
c | 1352 | drivers/char/serial.c | count -= c; |
c | 1353 | drivers/char/serial.c | total += c; |
c | 792 | drivers/char/tga.c | int row, col, temp, c, attrib; |
c | 798 | drivers/char/tga.c | c = charattr & 0x00ff; |
c | 808 | drivers/char/tga.c | i = (c & 0xff) << 4; /* NOTE: assumption of 16 bytes per character bitmap */ |
c | 839 | drivers/char/tga.c | if (c & 0x80) |
c | 866 | drivers/char/tga.c | if (c & 0x80) |
c | 2560 | drivers/char/tpqic02.c | int c; |
c | 2581 | drivers/char/tpqic02.c | c = iocmd & IOCCMD_MASK; |
c | 2585 | drivers/char/tpqic02.c | if (c == DDIOCSDBG) { |
c | 2590 | drivers/char/tpqic02.c | c = get_user((int *) ioarg); |
c | 2591 | drivers/char/tpqic02.c | if (c==0) { |
c | 2595 | drivers/char/tpqic02.c | if ((c>=1) && (c<=32)) { |
c | 2596 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG |= (1 << (c-1)); |
c | 2599 | drivers/char/tpqic02.c | if (c >= 128) { |
c | 2600 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG &= ~(1 << (c - 128)); |
c | 2608 | drivers/char/tpqic02.c | if (c == (MTIOCGETCONFIG & IOCCMD_MASK)) { |
c | 2625 | drivers/char/tpqic02.c | } else if (c == (MTIOCSETCONFIG & IOCCMD_MASK)) { |
c | 2664 | drivers/char/tpqic02.c | if (c == (MTIOCTOP & IOCCMD_MASK)) { |
c | 2719 | drivers/char/tpqic02.c | } else if (c == (MTIOCGET & IOCCMD_MASK)) { |
c | 2747 | drivers/char/tpqic02.c | } else if (TP_HAVE_TELL && (c == (MTIOCPOS & IOCCMD_MASK))) { |
c | 2766 | drivers/char/tpqic02.c | c = rdstatus((char *) blk_addr, sizeof(blk_addr), AR_QCMDV_TELL_BLK); |
c | 2767 | drivers/char/tpqic02.c | if (c!=TE_OK) |
c | 1340 | drivers/char/tty_io.c | char *c, *d; |
c | 1349 | drivers/char/tty_io.c | c = (char *)(*p); |
c | 1352 | drivers/char/tty_io.c | put_user(*c++, d++); |
c | 130 | drivers/char/wdt.c | unsigned short c=inb_p(WDT_RT); |
c | 140 | drivers/char/wdt.c | c*=11; |
c | 141 | drivers/char/wdt.c | c/=15; |
c | 142 | drivers/char/wdt.c | cp=c+7; |
c | 164 | drivers/isdn/icn/icn.c | register u_char c; |
c | 166 | drivers/isdn/icn/icn.c | for (s = firstbit, c = bitcount; c > 0; s--, c--) |
c | 455 | drivers/isdn/icn/icn.c | u_char c; |
c | 465 | drivers/isdn/icn/icn.c | c = dev->shmem->comm_buffers.iopc_buf[i & 0xff]; |
c | 468 | drivers/isdn/icn/icn.c | *dev->msg_buf_write++ = (c == 0xff) ? '\n' : c; |
c | 473 | drivers/isdn/icn/icn.c | if (c == 0xff) { |
c | 610 | drivers/isdn/icn/icn.c | dev->imsg[dev->iptr] = c; |
c | 1047 | drivers/isdn/icn/icn.c | static int icn_command(isdn_ctrl * c, icn_dev * ldev) |
c | 1055 | drivers/isdn/icn/icn.c | switch (c->command) { |
c | 1057 | drivers/isdn/icn/icn.c | memcpy(&a, c->num, sizeof(ulong)); |
c | 1058 | drivers/isdn/icn/icn.c | switch (c->arg) { |
c | 1174 | drivers/isdn/icn/icn.c | if ((c->arg & 255) < ICN_BCH) { |
c | 1182 | drivers/isdn/icn/icn.c | a = c->arg; |
c | 1183 | drivers/isdn/icn/icn.c | strcpy(sis, c->num); |
c | 1189 | drivers/isdn/icn/icn.c | p = c->num; |
c | 1208 | drivers/isdn/icn/icn.c | if (c->arg < ICN_BCH) { |
c | 1209 | drivers/isdn/icn/icn.c | a = c->arg + 1; |
c | 1215 | drivers/isdn/icn/icn.c | if (c->arg < ICN_BCH) { |
c | 1216 | drivers/isdn/icn/icn.c | a = c->arg + 1; |
c | 1222 | drivers/isdn/icn/icn.c | if (c->arg < ICN_BCH) { |
c | 1223 | drivers/isdn/icn/icn.c | a = c->arg + 1; |
c | 1231 | drivers/isdn/icn/icn.c | if (c->arg < ICN_BCH) { |
c | 1232 | drivers/isdn/icn/icn.c | a = c->arg + 1; |
c | 1234 | drivers/isdn/icn/icn.c | sprintf(cbuf, "%02d;MS%s%s\n", (int) a, c->num[0] ? "N" : "ALL", c->num); |
c | 1236 | drivers/isdn/icn/icn.c | sprintf(cbuf, "%02d;EAZ%s\n", (int) a, c->num[0] ? c->num : "0123456789"); |
c | 1243 | drivers/isdn/icn/icn.c | if (c->arg < ICN_BCH) { |
c | 1244 | drivers/isdn/icn/icn.c | a = c->arg + 1; |
c | 1253 | drivers/isdn/icn/icn.c | if ((c->arg & 255) < ICN_BCH) { |
c | 1254 | drivers/isdn/icn/icn.c | a = c->arg; |
c | 1270 | drivers/isdn/icn/icn.c | if ((c->arg & 255) < ICN_BCH) |
c | 1271 | drivers/isdn/icn/icn.c | return ldev->l2_proto[c->arg & 255]; |
c | 1277 | drivers/isdn/icn/icn.c | if ((c->arg & 255) < ICN_BCH) |
c | 1302 | drivers/isdn/icn/icn.c | static int if_command1(isdn_ctrl * c) |
c | 1304 | drivers/isdn/icn/icn.c | return (icn_command(c, dev)); |
c | 1307 | drivers/isdn/icn/icn.c | static int if_command2(isdn_ctrl * c) |
c | 1309 | drivers/isdn/icn/icn.c | return (icn_command(c, dev2)); |
c | 296 | drivers/isdn/isdn_common.c | static int isdn_status_callback(isdn_ctrl * c) |
c | 305 | drivers/isdn/isdn_common.c | di = c->driver; |
c | 306 | drivers/isdn/isdn_common.c | i = isdn_dc2minor(di, c->arg); |
c | 307 | drivers/isdn/isdn_common.c | switch (c->command) { |
c | 313 | drivers/isdn/isdn_common.c | if (isdn_net_stat_callback(i, c->command)) |
c | 316 | drivers/isdn/isdn_common.c | isdn_tty_bsent(di, c->arg); |
c | 318 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->snd_waitq[c->arg]); |
c | 323 | drivers/isdn/isdn_common.c | dev->drv[di]->stavail += c->arg; |
c | 340 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "ICALL (net): %d %ld %s\n", di, c->arg, c->num); |
c | 344 | drivers/isdn/isdn_common.c | cmd.arg = c->arg; |
c | 351 | drivers/isdn/isdn_common.c | r = isdn_net_find_icall(di, c->arg, i, c->num); |
c | 357 | drivers/isdn/isdn_common.c | if ((mi = isdn_tty_find_icall(di, c->arg, c->num)) >= 0) { |
c | 363 | drivers/isdn/isdn_common.c | cmd.arg = c->arg; |
c | 372 | drivers/isdn/isdn_common.c | cmd.arg = c->arg; |
c | 379 | drivers/isdn/isdn_common.c | cmd.arg = c->arg; |
c | 393 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "CINF: %ld %s\n", c->arg, c->num); |
c | 397 | drivers/isdn/isdn_common.c | if (strcmp(c->num, "0")) |
c | 398 | drivers/isdn/isdn_common.c | isdn_net_stat_callback(i, c->command); |
c | 402 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "CAUSE: %ld %s\n", c->arg, c->num); |
c | 404 | drivers/isdn/isdn_common.c | printk(KERN_INFO "isdn: cause: %s\n", c->num); |
c | 410 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "DCONN: %ld\n", c->arg); |
c | 415 | drivers/isdn/isdn_common.c | if (isdn_net_stat_callback(i, c->command)) |
c | 424 | drivers/isdn/isdn_common.c | cmd.arg = c->arg; |
c | 435 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "DHUP: %ld\n", c->arg); |
c | 439 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
c | 442 | drivers/isdn/isdn_common.c | if (isdn_net_stat_callback(i, c->command)) |
c | 467 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "BCONN: %ld\n", c->arg); |
c | 472 | drivers/isdn/isdn_common.c | dev->drv[di]->flags |= (1 << (c->arg)); |
c | 474 | drivers/isdn/isdn_common.c | if (isdn_net_stat_callback(i, c->command)) |
c | 494 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "BHUP: %ld\n", c->arg); |
c | 498 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
c | 518 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "NODCH: %ld\n", c->arg); |
c | 522 | drivers/isdn/isdn_common.c | if (isdn_net_stat_callback(i, c->command)) |
c | 873 | drivers/isdn/isdn_common.c | char *c; |
c | 896 | drivers/isdn/isdn_common.c | c = buf; |
c | 897 | drivers/isdn/isdn_common.c | while (*c) { |
c | 898 | drivers/isdn/isdn_common.c | if ((c2 = strchr(c, ' '))) |
c | 900 | drivers/isdn/isdn_common.c | strcpy(phone.phone, c); |
c | 908 | drivers/isdn/isdn_common.c | c = c2; |
c | 910 | drivers/isdn/isdn_common.c | c += strlen(c); |
c | 918 | drivers/isdn/isdn_common.c | c = buf; |
c | 919 | drivers/isdn/isdn_common.c | while (*c) { |
c | 920 | drivers/isdn/isdn_common.c | if ((c2 = strchr(c, ' '))) |
c | 922 | drivers/isdn/isdn_common.c | strcpy(phone.phone, c); |
c | 930 | drivers/isdn/isdn_common.c | c = c2; |
c | 932 | drivers/isdn/isdn_common.c | c += strlen(c); |
c | 1000 | drivers/isdn/isdn_common.c | isdn_ctrl c; |
c | 1337 | drivers/isdn/isdn_common.c | c.driver = drvidx; |
c | 1338 | drivers/isdn/isdn_common.c | c.command = ISDN_CMD_IOCTL; |
c | 1339 | drivers/isdn/isdn_common.c | c.arg = cmd; |
c | 1340 | drivers/isdn/isdn_common.c | memcpy(c.num, (char *) &iocts.arg, sizeof(ulong)); |
c | 1341 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface->command(&c); |
c | 1342 | drivers/isdn/isdn_common.c | memcpy((char *) &iocts.arg, c.num, sizeof(ulong)); |
c | 1366 | drivers/isdn/isdn_common.c | isdn_ctrl c; |
c | 1393 | drivers/isdn/isdn_common.c | c.command = ISDN_CMD_LOCK; |
c | 1394 | drivers/isdn/isdn_common.c | c.driver = drvidx; |
c | 1395 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
c | 1403 | drivers/isdn/isdn_common.c | c.command = ISDN_CMD_LOCK; |
c | 1404 | drivers/isdn/isdn_common.c | c.driver = drvidx; |
c | 1406 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
c | 1424 | drivers/isdn/isdn_common.c | isdn_ctrl c; |
c | 1449 | drivers/isdn/isdn_common.c | c.command = ISDN_CMD_UNLOCK; |
c | 1450 | drivers/isdn/isdn_common.c | c.driver = drvidx; |
c | 1451 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
c | 1460 | drivers/isdn/isdn_common.c | c.command = ISDN_CMD_UNLOCK; |
c | 1461 | drivers/isdn/isdn_common.c | c.driver = drvidx; |
c | 1462 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
c | 1881 | drivers/isdn/isdn_net.c | char *c,*e; |
c | 1886 | drivers/isdn/isdn_net.c | if ((c = strchr(drvid, ','))) { |
c | 1888 | drivers/isdn/isdn_net.c | chidx = (int)simple_strtoul(c + 1,&e,10); |
c | 1889 | drivers/isdn/isdn_net.c | if (e == c) |
c | 1891 | drivers/isdn/isdn_net.c | *c = '\0'; |
c | 453 | drivers/isdn/isdn_ppp.c | struct ippp_struct *c = &ippp_table[minor]; |
c | 467 | drivers/isdn/isdn_ppp.c | b = c->first->next; |
c | 477 | drivers/isdn/isdn_ppp.c | c->first = b; |
c | 56 | drivers/isdn/isdn_tty.c | int c; |
c | 64 | drivers/isdn/isdn_tty.c | c = TTY_FLIPBUF_SIZE - tty->flip.count - 1; |
c | 65 | drivers/isdn/isdn_tty.c | if (c >= len) { |
c | 90 | drivers/isdn/isdn_tty.c | int c; |
c | 105 | drivers/isdn/isdn_tty.c | c = TTY_FLIPBUF_SIZE - tty->flip.count - 1; |
c | 106 | drivers/isdn/isdn_tty.c | if (c > 0) { |
c | 109 | drivers/isdn/isdn_tty.c | tty->flip.flag_buf_ptr, c, 0); |
c | 357 | drivers/isdn/isdn_tty.c | int c, total = 0; |
c | 369 | drivers/isdn/isdn_tty.c | c = MIN(count, info->xmit_size - info->xmit_count - 1); |
c | 382 | drivers/isdn/isdn_tty.c | c = MIN(c, i); |
c | 384 | drivers/isdn/isdn_tty.c | if (c <= 0) |
c | 388 | drivers/isdn/isdn_tty.c | isdn_tty_check_esc(buf, dev->mdm.atmodem[i].mdmreg[2], c, |
c | 392 | drivers/isdn/isdn_tty.c | memcpy_fromfs(&(info->xmit_buf[info->xmit_count]), buf, c); |
c | 394 | drivers/isdn/isdn_tty.c | memcpy(&(info->xmit_buf[info->xmit_count]), buf, c); |
c | 395 | drivers/isdn/isdn_tty.c | info->xmit_count += c; |
c | 440 | drivers/isdn/isdn_tty.c | c = isdn_tty_edit_at(buf, c, info, from_user); |
c | 442 | drivers/isdn/isdn_tty.c | buf += c; |
c | 443 | drivers/isdn/isdn_tty.c | count -= c; |
c | 444 | drivers/isdn/isdn_tty.c | total += c; |
c | 1306 | drivers/isdn/isdn_tty.c | #define cmdchar(c) ((c>' ')&&(c<=0x7f)) |
c | 1317 | drivers/isdn/isdn_tty.c | char c; |
c | 1330 | drivers/isdn/isdn_tty.c | c = m->mdmreg[3]; |
c | 1333 | drivers/isdn/isdn_tty.c | c = m->mdmreg[4]; |
c | 1336 | drivers/isdn/isdn_tty.c | c = m->mdmreg[5]; |
c | 1339 | drivers/isdn/isdn_tty.c | c = *p; |
c | 1347 | drivers/isdn/isdn_tty.c | tty_insert_flip_char(tty, c, 0); |
c | 1863 | drivers/isdn/isdn_tty.c | #define my_toupper(c) (((c>='a')&&(c<='z'))?(c&0xdf):c) |
c | 1878 | drivers/isdn/isdn_tty.c | u_char c; |
c | 1884 | drivers/isdn/isdn_tty.c | c = get_fs_byte(p); |
c | 1886 | drivers/isdn/isdn_tty.c | c = *p; |
c | 1888 | drivers/isdn/isdn_tty.c | if (c == m->mdmreg[3] || c == m->mdmreg[4]) { |
c | 1892 | drivers/isdn/isdn_tty.c | eb[0] = c; |
c | 1901 | drivers/isdn/isdn_tty.c | if (c == m->mdmreg[5] && m->mdmreg[5] < 128) { |
c | 1911 | drivers/isdn/isdn_tty.c | if (cmdchar(c)) { |
c | 1913 | drivers/isdn/isdn_tty.c | eb[0] = c; |
c | 1918 | drivers/isdn/isdn_tty.c | c = my_toupper(c); |
c | 1921 | drivers/isdn/isdn_tty.c | if (c == 'A') |
c | 1922 | drivers/isdn/isdn_tty.c | m->mdmcmd[m->mdmcmdl++] = c; |
c | 1925 | drivers/isdn/isdn_tty.c | if (c == 'T') |
c | 1926 | drivers/isdn/isdn_tty.c | m->mdmcmd[m->mdmcmdl++] = c; |
c | 1929 | drivers/isdn/isdn_tty.c | m->mdmcmd[m->mdmcmdl++] = c; |
c | 977 | drivers/isdn/teles/callc.c | int i, ces, c; |
c | 987 | drivers/isdn/teles/callc.c | c = 0; |
c | 991 | drivers/isdn/teles/callc.c | init_chan(c++, i, 1, ces++); |
c | 993 | drivers/isdn/teles/callc.c | init_chan(c++, i, 0, ces++); |
c | 610 | drivers/net/bsd_comp.c | unsigned char c; |
c | 691 | drivers/net/bsd_comp.c | c = *rptr++; |
c | 692 | drivers/net/bsd_comp.c | fcode = BSD_KEY (ent, c); |
c | 693 | drivers/net/bsd_comp.c | hval = BSD_HASH (ent, c, hshift); |
c | 771 | drivers/net/bsd_comp.c | ent = c; |
c | 401 | drivers/net/ewrk3.c | char c[2]; |
c | 405 | drivers/net/ewrk3.c | eeprom_image[i] = tmp.c[0]; |
c | 406 | drivers/net/ewrk3.c | eeprom_image[i+1] = tmp.c[1]; |
c | 678 | drivers/net/pi2.c | unsigned char c; |
c | 733 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 735 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 779 | drivers/net/pi2.c | char c; |
c | 820 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 830 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
c | 837 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 841 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 885 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 895 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
c | 902 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 906 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 160 | drivers/net/ppp.c | #define ins_char(pbuf,c) (buf_base(pbuf) [(pbuf)->count++] = (u_char)(c)) |
c | 249 | drivers/net/ppp.c | #define in_xmap(ppp,c) (ppp->xmit_async_map[(c) >> 5] & (1 << ((c) & 0x1f))) |
c | 250 | drivers/net/ppp.c | #define in_rmap(ppp,c) ((((unsigned int) (u_char) (c)) < 0x20) && \ |
c | 251 | drivers/net/ppp.c | ppp->recv_async_map & (1 << (c))) |
c | 325 | drivers/net/ppp.c | #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ ppp_crc16_table[((fcs) ^ (c)) & 0xff]) |
c | 1365 | drivers/net/ppp.c | #define PUTC(c) \ |
c | 1367 | drivers/net/ppp.c | buf_base (ppp->ubuf) [current_idx++] = (u_char) (c); \ |
c | 1777 | drivers/net/ppp.c | u_char c; |
c | 1780 | drivers/net/ppp.c | #define GETC(c) \ |
c | 1782 | drivers/net/ppp.c | c = buf_base (ppp->ubuf) [ppp->ubuf->tail++]; \ |
c | 1835 | drivers/net/ppp.c | GETC (c); |
c | 1836 | drivers/net/ppp.c | len = c << 8; |
c | 1837 | drivers/net/ppp.c | GETC (c); |
c | 1838 | drivers/net/ppp.c | len += c; |
c | 1909 | drivers/net/ppp.c | GETC (c); |
c | 1910 | drivers/net/ppp.c | put_byte_user (c, buf); |
c | 2836 | drivers/net/ppp.c | &temp.c); |
c | 1149 | drivers/net/pt.c | unsigned char c; |
c | 1223 | drivers/net/pt.c | c = *lp->txptr++; |
c | 1225 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 1566 | drivers/net/pt.c | char c; |
c | 1662 | drivers/net/pt.c | c = *lp->txptr++; |
c | 1674 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 105 | drivers/net/slip.c | static void slip_unesc(struct slip *sl, unsigned char c); |
c | 108 | drivers/net/slip.c | static void slip_unesc6(struct slip *sl, unsigned char c); |
c | 352 | drivers/net/slip.c | unsigned char c; |
c | 353 | drivers/net/slip.c | if ((c = sl->rbuff[0]) & SL_TYPE_COMPRESSED_TCP) { |
c | 368 | drivers/net/slip.c | } else if (c >= SL_TYPE_UNCOMPRESSED_TCP) { |
c | 860 | drivers/net/slip.c | unsigned char c; |
c | 876 | drivers/net/slip.c | switch(c = *s++) { |
c | 886 | drivers/net/slip.c | *ptr++ = c; |
c | 945 | drivers/net/slip.c | unsigned char c; |
c | 967 | drivers/net/slip.c | c = 0x30 + ((v >> bits) & 0x3F); |
c | 968 | drivers/net/slip.c | *ptr++ = c; |
c | 972 | drivers/net/slip.c | c = 0x30 + ((v << (6 - bits)) & 0x3F); |
c | 973 | drivers/net/slip.c | *ptr++ = c; |
c | 982 | drivers/net/slip.c | unsigned char c; |
c | 1000 | drivers/net/slip.c | c = (unsigned char)(sl->xdata >> sl->xbits); |
c | 1003 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = c; |
c | 1663 | drivers/net/wavelan.c | unsigned char c; |
c | 1665 | drivers/net/wavelan.c | c = skb->data[i]; |
c | 1666 | drivers/net/wavelan.c | if (c >= ' ' && c <= '~') |
c | 1985 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1986 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 2011 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
c | 2018 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, virt_to_bus((void *)hostdata->sync[c->target].script)); |
c | 2020 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
c | 2081 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 2082 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 2140 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
c | 2163 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
c | 2166 | drivers/scsi/53c7,8xx.c | --hostdata->busy[c->target][c->lun]; |
c | 2172 | drivers/scsi/53c7,8xx.c | c->host_scribble = NULL; |
c | 2175 | drivers/scsi/53c7,8xx.c | c->result = result; |
c | 2176 | drivers/scsi/53c7,8xx.c | c->scsi_done(c); |
c | 2200 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 2469 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 2494 | drivers/scsi/53c7,8xx.c | c->target); |
c | 2496 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 2517 | drivers/scsi/53c7,8xx.c | if (c) |
c | 2518 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d ", c->target, c->lun); |
c | 2538 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : target %d %s ", host->host_no, c->target, |
c | 2553 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 2556 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 2564 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 2568 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 2619 | drivers/scsi/53c7,8xx.c | if (!c) { |
c | 2644 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
c | 2645 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
c | 2646 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
c | 2647 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
c | 2648 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
c | 2649 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
c | 2662 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
c | 2663 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = (u32) virt_to_bus(c->sense_buffer); |
c | 2724 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 2726 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
c | 2728 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
c | 2832 | drivers/scsi/53c7,8xx.c | if (c) |
c | 2834 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
c | 2853 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 2855 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
c | 2857 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
c | 2875 | drivers/scsi/53c7,8xx.c | print_progress (c); |
c | 2892 | drivers/scsi/53c7,8xx.c | print_progress (c); |
c | 2907 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 2908 | drivers/scsi/53c7,8xx.c | if (sxfer != hostdata->sync[c->target].sxfer_sanity || |
c | 2909 | drivers/scsi/53c7,8xx.c | scntl3 != hostdata->sync[c->target].scntl3_sanity) { |
c | 2950 | drivers/scsi/53c7,8xx.c | if (c && sdid != c->target) { |
c | 2952 | drivers/scsi/53c7,8xx.c | host->host_no, sdid, c->target, where); |
c | 2983 | drivers/scsi/53c7,8xx.c | else if (c) |
c | 2984 | drivers/scsi/53c7,8xx.c | event->lun = c->lun; |
c | 2988 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 2989 | drivers/scsi/53c7,8xx.c | event->pid = c->pid; |
c | 2990 | drivers/scsi/53c7,8xx.c | memcpy ((void *) event->cmnd, (void *) c->cmnd, |
c | 5587 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_cmd * c; |
c | 5627 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) cmd->host_scribble; |
c | 5628 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 5630 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 5631 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 6091 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_cmd *c; |
c | 6095 | drivers/scsi/53c7,8xx.c | for (c = (struct NCR53c7x0_cmd *) hostdata->running_list; c; |
c | 6096 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) c->next) { |
c | 6097 | drivers/scsi/53c7,8xx.c | if (c->cmd->SCp.buffer) { |
c | 6105 | drivers/scsi/53c7,8xx.c | c->cmd->SCp.buffer = (struct scatterlist *) list; |
c | 6106 | drivers/scsi/53c7,8xx.c | list = c->cmd; |
c | 6108 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 6109 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 1593 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1599 | drivers/scsi/NCR5380.c | printk("scsi%d : pio write %d bytes\n", instance->host_no, c); |
c | 1601 | drivers/scsi/NCR5380.c | printk("scsi%d : pio read %d bytes\n", instance->host_no, c); |
c | 1648 | drivers/scsi/NCR5380.c | if (!((p & SR_MSG) && c > 1)) { |
c | 1689 | drivers/scsi/NCR5380.c | if (!(p == PHASE_MSGIN && c == 1)) { |
c | 1690 | drivers/scsi/NCR5380.c | if (p == PHASE_MSGOUT && c > 1) |
c | 1695 | drivers/scsi/NCR5380.c | } while (--c); |
c | 1698 | drivers/scsi/NCR5380.c | printk("scsi%d : residual %d\n", instance->host_no, c); |
c | 1701 | drivers/scsi/NCR5380.c | *count = c; |
c | 1709 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
c | 1806 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1828 | drivers/scsi/NCR5380.c | c -= 2; |
c | 1834 | drivers/scsi/NCR5380.c | "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d); |
c | 1837 | drivers/scsi/NCR5380.c | NCR5380_dma_read_setup(instance, d, c) : |
c | 1838 | drivers/scsi/NCR5380.c | NCR5380_dma_write_setup(instance, d, c); |
c | 1968 | drivers/scsi/NCR5380.c | c -= residue; |
c | 1969 | drivers/scsi/NCR5380.c | *count -= c; |
c | 1970 | drivers/scsi/NCR5380.c | *data += c; |
c | 2010 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pread(instance, d, c - diff))) { |
c | 2037 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
c | 2043 | drivers/scsi/NCR5380.c | printk("About to pwrite %d bytes\n", c); |
c | 2045 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pwrite(instance, d, c))) { |
c | 2117 | drivers/scsi/NCR5380.c | *data = d + c; |
c | 2273 | drivers/scsi/advansys.c | #define ASC_DBG_PRT_DVC_CFG(lvl, c) |
c | 2340 | drivers/scsi/advansys.c | #define ASC_DBG_PRT_DVC_CFG(lvl, c) \ |
c | 2343 | drivers/scsi/advansys.c | asc_prt_dvc_cfg(c); \ |
c | 582 | drivers/scsi/aic7xxx_asm.c | int c; |
c | 592 | drivers/scsi/aic7xxx_asm.c | while ((c = getopt(argc, argv, "dho:vD")) != EOF) { |
c | 593 | drivers/scsi/aic7xxx_asm.c | switch (c) { |
c | 192 | drivers/sound/audio.c | int c, p, l, buf_no, buf_ptr, buf_size; |
c | 199 | drivers/sound/audio.c | c = count; |
c | 216 | drivers/sound/audio.c | while (c) |
c | 232 | drivers/sound/audio.c | l = c; |
c | 255 | drivers/sound/audio.c | c -= l; |
c | 278 | drivers/sound/audio.c | int c, p, l; |
c | 284 | drivers/sound/audio.c | c = count; |
c | 296 | drivers/sound/audio.c | while (c) |
c | 309 | drivers/sound/audio.c | if (l > c) |
c | 310 | drivers/sound/audio.c | l = c; |
c | 331 | drivers/sound/audio.c | c -= l; |
c | 334 | drivers/sound/audio.c | return count - c; |
c | 1432 | drivers/sound/configure.c | char c; |
c | 1443 | drivers/sound/configure.c | count = read (fd, &c, 1); |
c | 1448 | drivers/sound/configure.c | fprintf (sf, "0x%02x,", c & 0xFFL); |
c | 52 | drivers/sound/cs4232.c | #define CS_OUT3(a, b, c) {CS_OUT(a);CS_OUT(b);CS_OUT(c);} |
c | 594 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 598 | drivers/sound/dmabuf.c | int p = dmap->counts[dmap->qhead] + c; |
c | 1712 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 17 | drivers/sound/hex2hex.h | int l=0, c, i; |
c | 19 | drivers/sound/hex2hex.h | while ((c=getc(inf))!=EOF) |
c | 21 | drivers/sound/hex2hex.h | if (c == ':') /* Sync with beginning of line */ |
c | 46 | drivers/sound/hex2hex.h | if (fscanf(inf, "%02x", &c) != 1) |
c | 50 | drivers/sound/hex2hex.h | buf[addr++] = c; |
c | 53 | drivers/sound/hex2hex.h | sum += c; |
c | 345 | drivers/sound/midibuf.c | int c, n, i; |
c | 356 | drivers/sound/midibuf.c | c = 0; |
c | 358 | drivers/sound/midibuf.c | while (c < count) |
c | 392 | drivers/sound/midibuf.c | if (n > (count - c)) |
c | 393 | drivers/sound/midibuf.c | n = count - c; |
c | 397 | drivers/sound/midibuf.c | memcpy_fromfs ((char *) &tmp_data, &((buf)[c]), 1); |
c | 399 | drivers/sound/midibuf.c | c++; |
c | 405 | drivers/sound/midibuf.c | return c; |
c | 412 | drivers/sound/midibuf.c | int n, c = 0; |
c | 443 | drivers/sound/midibuf.c | c = -EINTR; /* |
c | 448 | drivers/sound/midibuf.c | if (c == 0 && DATA_AVAIL (midi_in_buf[dev])) /* |
c | 455 | drivers/sound/midibuf.c | c = 0; |
c | 457 | drivers/sound/midibuf.c | while (c < n) |
c | 460 | drivers/sound/midibuf.c | memcpy_tofs (&((buf)[c]), (char *) &tmp_data, 1); |
c | 461 | drivers/sound/midibuf.c | c++; |
c | 467 | drivers/sound/midibuf.c | return c; |
c | 439 | drivers/sound/mpu401.c | unsigned char c = read_data (devc); |
c | 443 | drivers/sound/mpu401.c | mpu_input_scanner (devc, c); |
c | 446 | drivers/sound/mpu401.c | devc->inputintr (devc->devno, c); |
c | 91 | drivers/sound/sb16_midi.c | unsigned char c = sb16midi_read (); |
c | 93 | drivers/sound/sb16_midi.c | if (c == MPU_ACK) |
c | 94 | drivers/sound/sb16_midi.c | input_byte = c; |
c | 96 | drivers/sound/sb16_midi.c | midi_input_intr (my_dev, c); |
c | 491 | drivers/sound/sb_dsp.c | short c = -nr_bytes; |
c | 493 | drivers/sound/sb_dsp.c | ess_write (0xa4, (unsigned char) ((unsigned short) c & 0xff)); |
c | 494 | drivers/sound/sb_dsp.c | ess_write (0xa5, (unsigned char) (((unsigned short) c >> 8) & 0xff)); |
c | 581 | drivers/sound/sb_dsp.c | short c = -nr_bytes; |
c | 583 | drivers/sound/sb_dsp.c | ess_write (0xa4, (unsigned char) ((unsigned short) c & 0xff)); |
c | 584 | drivers/sound/sb_dsp.c | ess_write (0xa5, (unsigned char) (((unsigned short) c >> 8) & 0xff)); |
c | 106 | drivers/sound/sequencer.c | int c = count, p = 0; |
c | 155 | drivers/sound/sequencer.c | while (iqlen && c >= ev_len) |
c | 160 | drivers/sound/sequencer.c | c -= ev_len; |
c | 167 | drivers/sound/sequencer.c | return count - c; |
c | 268 | drivers/sound/sequencer.c | int p = 0, c, ev_size; |
c | 282 | drivers/sound/sequencer.c | c = count; |
c | 284 | drivers/sound/sequencer.c | while (c >= 4) |
c | 300 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event_rec[0], buf, p + 4, c, 0); |
c | 317 | drivers/sound/sequencer.c | if (c < ev_size) |
c | 321 | drivers/sound/sequencer.c | return count - c; |
c | 369 | drivers/sound/sequencer.c | int processed = count - c; |
c | 382 | drivers/sound/sequencer.c | c -= ev_size; |
c | 10 | drivers/sound/sound_calls.h | int DMAbuf_rmchars(int dev, int buff_no, int c); |
c | 307 | drivers/sound/sound_switch.c | int l, c; |
c | 310 | drivers/sound/sound_switch.c | c = status_len - status_ptr; |
c | 312 | drivers/sound/sound_switch.c | if (l > c) |
c | 313 | drivers/sound/sound_switch.c | l = c; |
c | 99 | drivers/sound/uart6850.c | unsigned char c = uart6850_read (); |
c | 104 | drivers/sound/uart6850.c | midi_input_intr (my_dev, c); |
c | 682 | fs/exec.c | #define printable(c) (((c)=='\t') || ((c)=='\n') || (0x20<=(c) && (c)<=0x7e)) |
c | 203 | fs/ext/file.c | int written,c; |
c | 231 | fs/ext/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 232 | fs/ext/file.c | if (c > count-written) |
c | 233 | fs/ext/file.c | c = count-written; |
c | 234 | fs/ext/file.c | if (c != BLOCK_SIZE && !buffer_uptodate(bh)) { |
c | 245 | fs/ext/file.c | memcpy_fromfs(p,buf,c); |
c | 246 | fs/ext/file.c | update_vm_cache(inode, pos, p, c); |
c | 247 | fs/ext/file.c | pos += c; |
c | 252 | fs/ext/file.c | written += c; |
c | 253 | fs/ext/file.c | buf += c; |
c | 636 | fs/ext/namei.c | char c; |
c | 653 | fs/ext/namei.c | while (i < 1023 && (c = *(symname++))) |
c | 654 | fs/ext/namei.c | name_block->b_data[i++] = c; |
c | 91 | fs/ext/symlink.c | char c; |
c | 104 | fs/ext/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 106 | fs/ext/symlink.c | put_user(c,buffer++); |
c | 91 | fs/ext2/file.c | int written, c; |
c | 129 | fs/ext2/file.c | c = sb->s_blocksize - offset; |
c | 143 | fs/ext2/file.c | count -= c; |
c | 145 | fs/ext2/file.c | c += count; |
c | 146 | fs/ext2/file.c | if (c != sb->s_blocksize && !buffer_uptodate(bh)) { |
c | 156 | fs/ext2/file.c | memcpy_fromfs (bh->b_data + offset, buf, c); |
c | 157 | fs/ext2/file.c | update_vm_cache(inode, pos, bh->b_data + offset, c); |
c | 158 | fs/ext2/file.c | pos2 += c; |
c | 159 | fs/ext2/file.c | pos += c; |
c | 160 | fs/ext2/file.c | written += c; |
c | 161 | fs/ext2/file.c | buf += c; |
c | 182 | fs/ext2/file.c | c = sb->s_blocksize; |
c | 39 | fs/ext2/namei.c | #define NAMEI_RA_INDEX(c,b) (((c) * NAMEI_RA_BLOCKS) + (b)) |
c | 762 | fs/ext2/namei.c | char c; |
c | 793 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) |
c | 794 | fs/ext2/namei.c | link[i++] = c; |
c | 103 | fs/ext2/symlink.c | char c; |
c | 122 | fs/ext2/symlink.c | while (i < buflen && (c = link[i])) { |
c | 124 | fs/ext2/symlink.c | put_user (c, buffer++); |
c | 57 | fs/fat/dir.c | char c; |
c | 218 | fs/fat/dir.c | if (!(c = de->name[i])) break; |
c | 219 | fs/fat/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 221 | fs/fat/dir.c | if (c == 0x05) c = 0xE5; |
c | 222 | fs/fat/dir.c | if (c != ' ') |
c | 224 | fs/fat/dir.c | ptname[i] = c; |
c | 230 | fs/fat/dir.c | if (!(c = de->ext[i2])) break; |
c | 231 | fs/fat/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 232 | fs/fat/dir.c | if (c != ' ') |
c | 234 | fs/fat/dir.c | ptname[i] = c; |
c | 115 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_upcase (unsigned c) |
c | 117 | fs/hpfs/hpfs_caps.c | if (c - 'a' <= 'z' - 'a' |
c | 118 | fs/hpfs/hpfs_caps.c | || (c - a_grave <= thorn - a_grave |
c | 119 | fs/hpfs/hpfs_caps.c | && c != divide)) |
c | 120 | fs/hpfs/hpfs_caps.c | return c - 'a' + 'A'; |
c | 122 | fs/hpfs/hpfs_caps.c | return c; |
c | 125 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_downcase (unsigned c) |
c | 127 | fs/hpfs/hpfs_caps.c | if (c - 'A' <= 'Z' - 'A' |
c | 128 | fs/hpfs/hpfs_caps.c | || (c - A_GRAVE <= THORN - A_GRAVE |
c | 129 | fs/hpfs/hpfs_caps.c | && c != MULTIPLY)) |
c | 130 | fs/hpfs/hpfs_caps.c | return c + 'a' - 'A'; |
c | 132 | fs/hpfs/hpfs_caps.c | return c; |
c | 136 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_to_cp850 (unsigned c) |
c | 138 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 139 | fs/hpfs/hpfs_caps.c | return tb_latin1_to_cp850[c - 128]; |
c | 141 | fs/hpfs/hpfs_caps.c | return c; |
c | 145 | fs/hpfs/hpfs_caps.c | static inline unsigned cp850_to_latin1 (unsigned c) |
c | 147 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 148 | fs/hpfs/hpfs_caps.c | return tb_cp850_to_latin1[c - 128]; |
c | 150 | fs/hpfs/hpfs_caps.c | return c; |
c | 153 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_upper_linux (unsigned c) |
c | 155 | fs/hpfs/hpfs_caps.c | return latin1_upcase (cp850_to_latin1 (c)); |
c | 158 | fs/hpfs/hpfs_caps.c | unsigned linux_char_to_upper_linux (unsigned c) |
c | 160 | fs/hpfs/hpfs_caps.c | return latin1_upcase (c); |
c | 163 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_lower_linux (unsigned c) |
c | 165 | fs/hpfs/hpfs_caps.c | return latin1_downcase (cp850_to_latin1 (c)); |
c | 168 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_linux (unsigned c) |
c | 170 | fs/hpfs/hpfs_caps.c | return cp850_to_latin1 (c); |
c | 1 | fs/hpfs/hpfs_caps.h | unsigned hpfs_char_to_linux (unsigned c); |
c | 2 | fs/hpfs/hpfs_caps.h | unsigned hpfs_char_to_lower_linux (unsigned c); |
c | 3 | fs/hpfs/hpfs_caps.h | unsigned hpfs_char_to_upper_linux (unsigned c); |
c | 4 | fs/hpfs/hpfs_caps.h | unsigned linux_char_to_upper_linux (unsigned c); |
c | 965 | fs/hpfs/hpfs_fs.c | unsigned c; |
c | 970 | fs/hpfs/hpfs_fs.c | c = *p++; |
c | 971 | fs/hpfs/hpfs_fs.c | if (c < ' ') |
c | 972 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
c | 974 | fs/hpfs/hpfs_fs.c | else if (c == '\t' || c == '\n'); |
c | 977 | fs/hpfs/hpfs_fs.c | else if (c < '\177') |
c | 999 | fs/hpfs/hpfs_fs.c | unsigned c = *in++; |
c | 1000 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
c | 1002 | fs/hpfs/hpfs_fs.c | put_user(c, out++); |
c | 79 | fs/isofs/dir.c | int i, c; |
c | 82 | fs/isofs/dir.c | c = old[i]; |
c | 83 | fs/isofs/dir.c | if (!c) |
c | 85 | fs/isofs/dir.c | if (c >= 'A' && c <= 'Z') |
c | 86 | fs/isofs/dir.c | c |= 0x20; /* lower case */ |
c | 89 | fs/isofs/dir.c | if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') |
c | 93 | fs/isofs/dir.c | if (c == ';' && i == len - 2 && old[i + 1] == '1') |
c | 97 | fs/isofs/dir.c | if (c == ';') |
c | 98 | fs/isofs/dir.c | c = '.'; |
c | 100 | fs/isofs/dir.c | new[i] = c; |
c | 74 | fs/isofs/namei.c | char c; |
c | 162 | fs/isofs/namei.c | c = dpnt[i]; |
c | 163 | fs/isofs/namei.c | if (c >= 'A' && c <= 'Z') c |= 0x20; /* lower case */ |
c | 164 | fs/isofs/namei.c | if (c == ';' && i == dlen-2 && dpnt[i+1] == '1') { |
c | 168 | fs/isofs/namei.c | if (c == ';') c = '.'; |
c | 169 | fs/isofs/namei.c | de->name[i] = c; |
c | 248 | fs/isofs/namei.c | char c; |
c | 251 | fs/isofs/namei.c | c = name[i]; |
c | 252 | fs/isofs/namei.c | if (c >= 'A' && c <= 'Z') c |= 0x20; |
c | 253 | fs/isofs/namei.c | lcname[i] = c; |
c | 86 | fs/isofs/symlink.c | char c; |
c | 102 | fs/isofs/symlink.c | while (i<buflen && (c = pnt[i])) { |
c | 104 | fs/isofs/symlink.c | put_user(c,buffer++); |
c | 72 | fs/minix/file.c | int written,c; |
c | 96 | fs/minix/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 97 | fs/minix/file.c | if (c > count-written) |
c | 98 | fs/minix/file.c | c = count-written; |
c | 99 | fs/minix/file.c | if (c != BLOCK_SIZE && !buffer_uptodate(bh)) { |
c | 110 | fs/minix/file.c | memcpy_fromfs(p,buf,c); |
c | 111 | fs/minix/file.c | update_vm_cache(inode, pos, p, c); |
c | 115 | fs/minix/file.c | pos += c; |
c | 116 | fs/minix/file.c | written += c; |
c | 117 | fs/minix/file.c | buf += c; |
c | 548 | fs/minix/namei.c | char c; |
c | 565 | fs/minix/namei.c | while (i < 1023 && (c=*(symname++))) |
c | 566 | fs/minix/namei.c | name_block->b_data[i++] = c; |
c | 85 | fs/minix/symlink.c | char c; |
c | 98 | fs/minix/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 100 | fs/minix/symlink.c | put_user(c,buffer++); |
c | 85 | fs/msdos/namei.c | unsigned char c; |
c | 100 | fs/msdos/namei.c | c = 0; |
c | 102 | fs/msdos/namei.c | c = *name++; |
c | 104 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 105 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 106 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 107 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 112 | fs/msdos/namei.c | if((res==walk) && (c==0xE5)) c=0x05; |
c | 113 | fs/msdos/namei.c | if (c == '.') break; |
c | 114 | fs/msdos/namei.c | space = (c == ' '); |
c | 115 | fs/msdos/namei.c | *walk = (c >= 'a' && c <= 'z') ? c-32 : c; |
c | 118 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
c | 119 | fs/msdos/namei.c | c = *name++; |
c | 121 | fs/msdos/namei.c | if (c != '.') return -EINVAL; |
c | 123 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
c | 124 | fs/msdos/namei.c | if (c == '.') { |
c | 127 | fs/msdos/namei.c | c = *name++; |
c | 129 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 130 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 132 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 134 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 135 | fs/msdos/namei.c | space = c == ' '; |
c | 136 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 58 | fs/namei.c | char * tmp, c; |
c | 68 | fs/namei.c | c = get_user(filename++); |
c | 69 | fs/namei.c | if (!c) |
c | 75 | fs/namei.c | *(tmp++) = c; |
c | 76 | fs/namei.c | c = get_user(filename++); |
c | 77 | fs/namei.c | if (!c) { |
c | 217 | fs/namei.c | char c; |
c | 227 | fs/namei.c | if ((c = *pathname) == '/') { |
c | 235 | fs/namei.c | for(len=0;(c = *(pathname++))&&(c != '/');len++) |
c | 237 | fs/namei.c | if (!c) |
c | 181 | fs/proc/array.c | int a, b, c; |
c | 185 | fs/proc/array.c | c = avenrun[2] + (FIXED_1/200); |
c | 189 | fs/proc/array.c | LOAD_INT(c), LOAD_FRAC(c), |
c | 366 | fs/proc/array.c | char c; |
c | 375 | fs/proc/array.c | c = *(char *) addr; |
c | 376 | fs/proc/array.c | if (!c) |
c | 379 | fs/proc/array.c | buffer[size++] = c; |
c | 384 | fs/proc/array.c | if (!c && start >= end) |
c | 489 | fs/proc/array.c | unsigned char c = *name; |
c | 492 | fs/proc/array.c | *buf = c; |
c | 493 | fs/proc/array.c | if (!c) |
c | 495 | fs/proc/array.c | if (c == '\\') { |
c | 496 | fs/proc/array.c | buf[1] = c; |
c | 500 | fs/proc/array.c | if (c == '\n') { |
c | 58 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
c | 90 | fs/proc/fd.c | c = *name - '0'; |
c | 92 | fs/proc/fd.c | if (c > 9) { |
c | 97 | fs/proc/fd.c | fd += c; |
c | 448 | fs/proc/root.c | unsigned int pid, c; |
c | 460 | fs/proc/root.c | c = *name - '0'; |
c | 462 | fs/proc/root.c | if (c > 9) { |
c | 467 | fs/proc/root.c | pid += c; |
c | 342 | fs/smbfs/proc.c | print_char(char c) |
c | 344 | fs/smbfs/proc.c | if ((c < ' ') || (c > '~')) |
c | 346 | fs/smbfs/proc.c | return c; |
c | 206 | fs/sysv/file.c | int written,c; |
c | 237 | fs/sysv/file.c | c = sb->sv_block_size - (pos & sb->sv_block_size_1); |
c | 238 | fs/sysv/file.c | if (c > count-written) |
c | 239 | fs/sysv/file.c | c = count-written; |
c | 240 | fs/sysv/file.c | if (c != sb->sv_block_size && !buffer_uptodate(bh)) { |
c | 252 | fs/sysv/file.c | memcpy_fromfs(p, buf, c); |
c | 253 | fs/sysv/file.c | update_vm_cache(inode, pos, p, c); |
c | 254 | fs/sysv/file.c | pos += c; |
c | 259 | fs/sysv/file.c | written += c; |
c | 260 | fs/sysv/file.c | buf += c; |
c | 540 | fs/sysv/namei.c | char c; |
c | 560 | fs/sysv/namei.c | while (i < sb->sv_block_size_1 && (c = *(symname++))) |
c | 561 | fs/sysv/namei.c | name_block_data[i++] = c; |
c | 92 | fs/sysv/symlink.c | char c; |
c | 106 | fs/sysv/symlink.c | while (i<buflen && (c = bh_data[i])) { |
c | 108 | fs/sysv/symlink.c | put_user(c,buffer++); |
c | 135 | fs/vfat/namei.c | unsigned char c; |
c | 147 | fs/vfat/namei.c | c = name[i]; |
c | 148 | fs/vfat/namei.c | if (strchr(bad_chars,c)) return -EINVAL; |
c | 161 | fs/vfat/namei.c | unsigned char c; |
c | 171 | fs/vfat/namei.c | c = 0; |
c | 173 | fs/vfat/namei.c | c = *walk++; |
c | 175 | fs/vfat/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 176 | fs/vfat/namei.c | if (conv == 'x' && strchr(replace_chars,c)) return -EINVAL; |
c | 177 | fs/vfat/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 178 | fs/vfat/namei.c | if (c >= 'A' && c <= 'Z' && (conv == 's' || conv == 'x')) return -EINVAL; |
c | 179 | fs/vfat/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 180 | fs/vfat/namei.c | if ((walk == name) && (c == 0xE5)) c = 0x05; |
c | 181 | fs/vfat/namei.c | if (c == '.') break; |
c | 182 | fs/vfat/namei.c | space = c == ' '; |
c | 185 | fs/vfat/namei.c | if ((conv == 's' || conv == 'x') && len && c != '.') { |
c | 186 | fs/vfat/namei.c | c = *walk++; |
c | 188 | fs/vfat/namei.c | if (c != '.') return -EINVAL; |
c | 190 | fs/vfat/namei.c | while (c != '.' && len--) c = *walk++; |
c | 191 | fs/vfat/namei.c | if (c == '.') { |
c | 194 | fs/vfat/namei.c | c = *walk++; |
c | 196 | fs/vfat/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 197 | fs/vfat/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 199 | fs/vfat/namei.c | if (conv == 'x' && strchr(replace_chars,c)) |
c | 201 | fs/vfat/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 203 | fs/vfat/namei.c | if (c >= 'A' && c <= 'Z' && (conv == 's' || conv == 'x')) return -EINVAL; |
c | 204 | fs/vfat/namei.c | space = c == ' '; |
c | 225 | fs/vfat/namei.c | unsigned char c; |
c | 237 | fs/vfat/namei.c | c = 0; |
c | 239 | fs/vfat/namei.c | c = *name++; |
c | 241 | fs/vfat/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 242 | fs/vfat/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 243 | fs/vfat/namei.c | if (conv == 'x' && strchr(replace_chars,c)) return -EINVAL; |
c | 244 | fs/vfat/namei.c | if (c >= 'A' && c <= 'Z' && (conv == 's' || conv == 'x')) return -EINVAL; |
c | 245 | fs/vfat/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 246 | fs/vfat/namei.c | if (c == '.') break; |
c | 247 | fs/vfat/namei.c | space = c == ' '; |
c | 248 | fs/vfat/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 251 | fs/vfat/namei.c | if ((conv == 's' || conv == 'x') && len && c != '.') { |
c | 252 | fs/vfat/namei.c | c = *name++; |
c | 254 | fs/vfat/namei.c | if (c != '.') return -EINVAL; |
c | 256 | fs/vfat/namei.c | while (c != '.' && len--) c = *name++; |
c | 257 | fs/vfat/namei.c | if (c == '.') { |
c | 260 | fs/vfat/namei.c | c = *name++; |
c | 262 | fs/vfat/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 263 | fs/vfat/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 265 | fs/vfat/namei.c | if (conv == 'x' && strchr(replace_chars,c)) |
c | 267 | fs/vfat/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 269 | fs/vfat/namei.c | if (c >= 'A' && c <= 'Z' && (conv == 's' || conv == 'x')) return -EINVAL; |
c | 270 | fs/vfat/namei.c | space = c == ' '; |
c | 271 | fs/vfat/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 196 | fs/xiafs/file.c | int written, c; |
c | 224 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
c | 225 | fs/xiafs/file.c | if (c > count-written) |
c | 226 | fs/xiafs/file.c | c = count-written; |
c | 227 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !buffer_uptodate(bh)) { |
c | 238 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
c | 239 | fs/xiafs/file.c | update_vm_cache(inode,pos,cp,c); |
c | 240 | fs/xiafs/file.c | pos += c; |
c | 245 | fs/xiafs/file.c | written += c; |
c | 246 | fs/xiafs/file.c | buf += c; |
c | 592 | fs/xiafs/namei.c | char c; |
c | 614 | fs/xiafs/namei.c | for (i = 0; i < BLOCK_SIZE-1 && (c=*symname++); i++) |
c | 615 | fs/xiafs/namei.c | name_block->b_data[i] = c; |
c | 53 | fs/xiafs/symlink.c | char c; |
c | 69 | fs/xiafs/symlink.c | for (i=0; i < buflen && (c=bh->b_data[i]); i++) |
c | 70 | fs/xiafs/symlink.c | put_user(c, buffer++); |
c | 42 | include/asm-alpha/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 44 | include/asm-alpha/delay.h | return (a*b)/c; |
c | 193 | include/asm-alpha/io.h | #define memset_io(addr,c,len) _memset_io((unsigned long)(addr),(c),(len)) |
c | 349 | include/asm-alpha/lca.h | struct el_common * c; |
c | 25 | include/asm-alpha/string.h | #define memset(s, c, count) \ |
c | 26 | include/asm-alpha/string.h | (__builtin_constant_p(c) ? \ |
c | 27 | include/asm-alpha/string.h | __constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \ |
c | 28 | include/asm-alpha/string.h | __memset((s),(c),(count))) |
c | 48 | include/asm-i386/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 53 | include/asm-i386/delay.h | "r" (c), |
c | 76 | include/asm-i386/io.h | #define memset_io(a,b,c) memset((void *)(a),(b),(c)) |
c | 77 | include/asm-i386/io.h | #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) |
c | 78 | include/asm-i386/io.h | #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) |
c | 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)) |
c | 98 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ |
c | 110 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ |
c | 162 | include/asm-i386/string-486.h | extern inline char * strchr(const char * s, int c) |
c | 176 | include/asm-i386/string-486.h | :"0" (c), "1" (s)); |
c | 181 | include/asm-i386/string-486.h | extern inline char * strrchr(const char * s, int c) |
c | 193 | include/asm-i386/string-486.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 523 | include/asm-i386/string-486.h | extern inline void * memchr(const void * cs,int c,size_t count) |
c | 535 | include/asm-i386/string-486.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 540 | include/asm-i386/string-486.h | #define __memset_cc(s,c,count) \ |
c | 542 | include/asm-i386/string-486.h | __memset_cc_by4((s),(c),(count)) : \ |
c | 544 | include/asm-i386/string-486.h | __memset_cc_by2((s),(c),(count)) : \ |
c | 545 | include/asm-i386/string-486.h | __memset_cg((s),(c),(count)))) |
c | 547 | include/asm-i386/string-486.h | #define __memset_gc(s,c,count) \ |
c | 549 | include/asm-i386/string-486.h | __memset_gc_by4((s),(c),(count)) : \ |
c | 551 | include/asm-i386/string-486.h | __memset_gc_by2((s),(c),(count)) : \ |
c | 552 | include/asm-i386/string-486.h | __memset_gg((s),(c),(count)))) |
c | 555 | include/asm-i386/string-486.h | #define memset(s,c,count) \ |
c | 556 | include/asm-i386/string-486.h | (__builtin_constant_p(c) ? \ |
c | 558 | include/asm-i386/string-486.h | __memset_cc((s),(c),(count)) : \ |
c | 559 | include/asm-i386/string-486.h | __memset_cg((s),(c),(count))) : \ |
c | 561 | include/asm-i386/string-486.h | __memset_gc((s),(c),(count)) : \ |
c | 562 | include/asm-i386/string-486.h | __memset_gg((s),(c),(count)))) |
c | 564 | include/asm-i386/string-486.h | extern inline void * __memset_cc_by4(void * s, char c, size_t count) |
c | 577 | include/asm-i386/string-486.h | :"q" (0x01010101UL * (unsigned char) c), "0" (tmp), "1" (count/4) |
c | 582 | include/asm-i386/string-486.h | extern inline void * __memset_cc_by2(void * s, char c, size_t count) |
c | 595 | include/asm-i386/string-486.h | :"q" (0x01010101UL * (unsigned char) c), "0" (tmp), "1" (count/2) |
c | 600 | include/asm-i386/string-486.h | extern inline void * __memset_gc_by4(void * s, char c, size_t count) |
c | 613 | include/asm-i386/string-486.h | :"=q" (c), "=r" (tmp), "=r" (dummy) |
c | 614 | include/asm-i386/string-486.h | :"0" ((unsigned) c), "1" (tmp), "2" (count/4) |
c | 619 | include/asm-i386/string-486.h | extern inline void * __memset_gc_by2(void * s, char c, size_t count) |
c | 636 | include/asm-i386/string-486.h | :"0" ((unsigned) c), "1" (tmp), "2" (count/2) |
c | 641 | include/asm-i386/string-486.h | extern inline void * __memset_cg(void * s, char c, size_t count) |
c | 652 | include/asm-i386/string-486.h | :"c" (count),"D" (tmp), "a" (0x0101U * (unsigned char) c) |
c | 657 | include/asm-i386/string-486.h | extern inline void * __memset_gg(void * s,char c,size_t count) |
c | 669 | include/asm-i386/string-486.h | :"c" (count),"D" (tmp), "a" (c) |
c | 679 | include/asm-i386/string-486.h | extern inline void * memscan(void * addr, int c, size_t size) |
c | 689 | include/asm-i386/string-486.h | : "0" (addr), "1" (size), "a" (c)); |
c | 142 | include/asm-i386/string.h | extern inline char * strchr(const char * s, int c) |
c | 156 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 161 | include/asm-i386/string.h | extern inline char * strrchr(const char * s, int c) |
c | 173 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 454 | include/asm-i386/string.h | extern inline void * memchr(const void * cs,int c,size_t count) |
c | 466 | include/asm-i386/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 471 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
c | 478 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
c | 484 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
c | 491 | include/asm-i386/string.h | extern inline void * __constant_c_memset(void * s, unsigned long c, size_t count) |
c | 504 | include/asm-i386/string.h | :"a" (c), "q" (count), "c" (count/4), "D" ((long) s) |
c | 569 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
c | 571 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
c | 572 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
c | 574 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
c | 576 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
c | 577 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
c | 580 | include/asm-i386/string.h | #define memset(s, c, count) \ |
c | 581 | include/asm-i386/string.h | (__builtin_constant_p(c) ? \ |
c | 582 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
c | 583 | include/asm-i386/string.h | __memset((s),(c),(count))) |
c | 589 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
c | 599 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
c | 92 | include/asm-m68k/string.h | extern inline void * memset(void * s,char c,size_t count) |
c | 103 | include/asm-m68k/string.h | : "0" (s), "d" (c), "1" (count) |
c | 51 | include/asm-m68k/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 52 | include/asm-m68k/unistd.h | type name(atype a,btype b,ctype c) \ |
c | 62 | include/asm-m68k/unistd.h | "g" ((long)(c)) \ |
c | 70 | include/asm-m68k/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
c | 71 | include/asm-m68k/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
c | 82 | include/asm-m68k/unistd.h | "g" ((long)(c)), \ |
c | 91 | include/asm-m68k/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
c | 92 | include/asm-m68k/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
c | 104 | include/asm-m68k/unistd.h | "g" ((long)(c)), \ |
c | 41 | include/asm-mips/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 43 | include/asm-mips/delay.h | return (a*b)/c; |
c | 84 | include/asm-mips/io.h | #define memset_io(a,b,c) memset((void *)(a),(b),(c)) |
c | 85 | include/asm-mips/io.h | #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) |
c | 86 | include/asm-mips/io.h | #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) |
c | 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)) |
c | 106 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); } \ |
c | 123 | include/asm-mips/io.h | __IN1(t,s##c) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); return _v; } \ |
c | 147 | include/asm-mips/io.h | __INS1(s##c) __INS2(m) \ |
c | 172 | include/asm-mips/io.h | __OUTS1(s##c) __OUTS2(m) \ |
c | 121 | include/asm-mips/string.h | extern __inline__ void * memset(void * s, int c, size_t count) |
c | 134 | include/asm-mips/string.h | : "0" (s), "r" (c), "1" (s + count - 1) |
c | 206 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
c | 221 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
c | 1211 | include/asm-mips/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 1212 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c) \ |
c | 1224 | include/asm-mips/unistd.h | "r" ((long)(c)) \ |
c | 1232 | include/asm-mips/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
c | 1233 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
c | 1246 | include/asm-mips/unistd.h | "r" ((long)(c)), \ |
c | 1255 | include/asm-mips/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
c | 1256 | include/asm-mips/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
c | 1270 | include/asm-mips/unistd.h | "r" ((long)(c)), \ |
c | 9 | include/asm-ppc/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 11 | include/asm-ppc/delay.h | return (a*b)/c; |
c | 19 | include/asm-ppc/mmu.h | unsigned long c:1; /* Changed */ |
c | 13 | include/asm-ppc/string.h | extern inline void * memset(void * s,int c,size_t count) |
c | 18 | include/asm-ppc/string.h | *xs++ = c; |
c | 38 | include/asm-sparc/delay.h | #define muldiv(a, b, c) (((a)*(b))/(c)) |
c | 147 | include/linux/cdu31a.h | #define SONY_HWC_GET_LOAD_MECH(c) (c.hw_config[0] & 0x03) |
c | 148 | include/linux/cdu31a.h | #define SONY_HWC_EJECT(c) (c.hw_config[0] & 0x04) |
c | 149 | include/linux/cdu31a.h | #define SONY_HWC_LED_SUPPORT(c) (c.hw_config[0] & 0x08) |
c | 150 | include/linux/cdu31a.h | #define SONY_HWC_DOUBLE_SPEED(c) (c.hw_config[0] & 0x10) |
c | 151 | include/linux/cdu31a.h | #define SONY_HWC_GET_BUF_MEM_SIZE(c) ((c.hw_config[0] & 0xc0) >> 6) |
c | 152 | include/linux/cdu31a.h | #define SONY_HWC_AUDIO_PLAYBACK(c) (c.hw_config[1] & 0x01) |
c | 153 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME(c) (c.hw_config[1] & 0x02) |
c | 154 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME_CTL(c) (c.hw_config[1] & 0x04) |
c | 16 | include/linux/ctype.h | #define isalnum(c) ((_ctype+1)[c]&(_U|_L|_D)) |
c | 17 | include/linux/ctype.h | #define isalpha(c) ((_ctype+1)[c]&(_U|_L)) |
c | 18 | include/linux/ctype.h | #define iscntrl(c) ((_ctype+1)[c]&(_C)) |
c | 19 | include/linux/ctype.h | #define isdigit(c) ((_ctype+1)[c]&(_D)) |
c | 20 | include/linux/ctype.h | #define isgraph(c) ((_ctype+1)[c]&(_P|_U|_L|_D)) |
c | 21 | include/linux/ctype.h | #define islower(c) ((_ctype+1)[c]&(_L)) |
c | 22 | include/linux/ctype.h | #define isprint(c) ((_ctype+1)[c]&(_P|_U|_L|_D|_SP)) |
c | 23 | include/linux/ctype.h | #define ispunct(c) ((_ctype+1)[c]&(_P)) |
c | 24 | include/linux/ctype.h | #define isspace(c) ((_ctype+1)[c]&(_S)) |
c | 25 | include/linux/ctype.h | #define isupper(c) ((_ctype+1)[c]&(_U)) |
c | 26 | include/linux/ctype.h | #define isxdigit(c) ((_ctype+1)[c]&(_D|_X)) |
c | 28 | include/linux/ctype.h | #define isascii(c) (((unsigned) c)<=0x7f) |
c | 29 | include/linux/ctype.h | #define toascii(c) (((unsigned) c)&0x7f) |
c | 31 | include/linux/ctype.h | #define tolower(c) (_ctmp=c,isupper(_ctmp)?_ctmp-('A'-'a'):_ctmp) |
c | 32 | include/linux/ctype.h | #define toupper(c) (_ctmp=c,islower(_ctmp)?_ctmp-('a'-'A'):_ctmp) |
c | 156 | include/linux/ppp_defs.h | struct compstat c; /* packet compression statistics */ |
c | 450 | include/linux/sbpcd.h | u_char c[4]; |
c | 456 | include/linux/sbpcd.h | u_char c[4]; |
c | 24 | include/net/netlink.h | #define ip_netlink_msg(a,b,c,d,e,f,g) |
c | 65 | kernel/printk.c | char c; |
c | 93 | kernel/printk.c | c = *((char *) log_buf+log_start); |
c | 98 | kernel/printk.c | put_user(c,buf); |
c | 123 | kernel/printk.c | c = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1))); |
c | 124 | kernel/printk.c | put_user(c, buf++); |
c | 252 | kernel/sched.c | int c; |
c | 310 | kernel/sched.c | c = -1000; |
c | 314 | kernel/sched.c | if (weight > c) |
c | 315 | kernel/sched.c | c = weight, next = p; |
c | 320 | kernel/sched.c | if (!c) { |
c | 477 | kernel/sysctl.c | char *p, c; |
c | 489 | kernel/sysctl.c | (c = get_user(p++)) != 0 && c != '\n') |
c | 283 | lib/inflate.c | unsigned c[BMAX+1]; /* bit length count table */ |
c | 305 | lib/inflate.c | memzero(c, sizeof(c)); |
c | 310 | lib/inflate.c | c[*p]++; /* assume all entries <= BMAX */ |
c | 313 | lib/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
c | 325 | lib/inflate.c | if (c[j]) |
c | 331 | lib/inflate.c | if (c[i]) |
c | 342 | lib/inflate.c | if ((y -= c[j]) < 0) |
c | 344 | lib/inflate.c | if ((y -= c[i]) < 0) |
c | 346 | lib/inflate.c | c[i] += y; |
c | 352 | lib/inflate.c | p = c + 1; xp = x + 2; |
c | 382 | lib/inflate.c | a = c[k]; |
c | 400 | lib/inflate.c | xp = c + k; |
c | 1018 | lib/inflate.c | unsigned long c; /* crc shift register */ |
c | 1035 | lib/inflate.c | c = 0; |
c | 1038 | lib/inflate.c | c = c & 1 ? (c >> 1) ^ e : c >> 1; |
c | 1040 | lib/inflate.c | c ^= e; |
c | 1042 | lib/inflate.c | crc_32_tab[i] = c; |
c | 106 | lib/string.c | char * strchr(const char * s, int c) |
c | 108 | lib/string.c | for(; *s != (char) c; ++s) |
c | 196 | lib/string.c | void * memset(void * s,char c,size_t count) |
c | 201 | lib/string.c | *xs++ = c; |
c | 270 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
c | 275 | lib/string.c | if (*p == c) |
c | 43 | lib/vsprintf.c | #define is_digit(c) ((c) >= '0' && (c) <= '9') |
c | 71 | lib/vsprintf.c | char c,sign,tmp[66]; |
c | 81 | lib/vsprintf.c | c = (type & ZEROPAD) ? '0' : ' '; |
c | 124 | lib/vsprintf.c | *str++ = c; |
c | 129 | mm/mlock.c | char c = get_user((char *) start); |
c | 130 | mm/mlock.c | __asm__ __volatile__("": :"r" (c)); |
c | 187 | mm/mmap.c | char c = get_user((char *) start); |
c | 190 | mm/mmap.c | __asm__ __volatile__("": :"r" (c)); |
c | 128 | net/ax25/af_ax25.c | char c, *s; |
c | 133 | net/ax25/af_ax25.c | c = (a->ax25_call[n] >> 1) & 0x7F; |
c | 135 | net/ax25/af_ax25.c | if (c != ' ') *s++ = c; |
c | 334 | net/core/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
c | 335 | net/core/sock.c | if (c) |
c | 340 | net/core/sock.c | sk->wmem_alloc+= c->truesize; |
c | 343 | net/core/sock.c | return c; |
c | 357 | net/core/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
c | 358 | net/core/sock.c | if (c) |
c | 363 | net/core/sock.c | sk->rmem_alloc += c->truesize; |
c | 366 | net/core/sock.c | return(c); |
c | 160 | net/ipv4/ipmr.c | static void ipmr_cache_insert(struct mfc_cache *c) |
c | 162 | net/ipv4/ipmr.c | int line=MFC_HASH(c->mfc_mcastgrp,c->mfc_origin); |
c | 163 | net/ipv4/ipmr.c | c->next=mfc_cache_array[line]; |
c | 164 | net/ipv4/ipmr.c | mfc_cache_array[line]=c; |
c | 198 | net/ipv4/ipmr.c | struct mfc_cache *c=(struct mfc_cache *)kmalloc(sizeof(struct mfc_cache), priority); |
c | 199 | net/ipv4/ipmr.c | if(c==NULL) |
c | 201 | net/ipv4/ipmr.c | c->mfc_queuelen=0; |
c | 202 | net/ipv4/ipmr.c | skb_queue_head_init(&c->mfc_unresolved); |
c | 203 | net/ipv4/ipmr.c | init_timer(&c->mfc_timer); |
c | 204 | net/ipv4/ipmr.c | c->mfc_timer.data=(long)c; |
c | 205 | net/ipv4/ipmr.c | c->mfc_timer.function=ipmr_cache_timer; |
c | 206 | net/ipv4/ipmr.c | return c; |
c | 1314 | net/ipv4/tcp.c | char c = sk->urg_data; |
c | 1317 | net/ipv4/tcp.c | memcpy_toiovec(msg->msg_iov, &c, 1); |
c | 257 | scripts/ksymoops.cc | char c; |
c | 284 | scripts/ksymoops.cc | cin >> c >> c >> c; |
c | 286 | scripts/ksymoops.cc | cin >> c >> c >> buffer; |
c | 315 | scripts/ksymoops.cc | int c; |
c | 316 | scripts/ksymoops.cc | cin >> ::hex >> c; |
c | 317 | scripts/ksymoops.cc | *cp++ = c; |