tag | line | file | source code |
c | 13 | arch/alpha/lib/memset.c | 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 | 41 | arch/alpha/lib/memset.c | *xs++ = c; |
c | 188 | arch/i386/boot/compressed/gzip.h | #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ |
c | 190 | arch/i386/boot/compressed/gzip.h | #define put_char(c) {window[outcnt++]=(uch)(c); if (outcnt==WSIZE)\ |
c | 213 | arch/i386/boot/compressed/gzip.h | #define tolow(c) (isupper(c) ? (c)-'A'+'a' : (c)) /* force to lower case */ |
c | 225 | arch/i386/boot/compressed/gzip.h | # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} |
c | 226 | arch/i386/boot/compressed/gzip.h | # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} |
c | 232 | arch/i386/boot/compressed/gzip.h | # define Tracec(c,x) |
c | 233 | arch/i386/boot/compressed/gzip.h | # define Tracecv(c,x) |
c | 114 | arch/i386/boot/compressed/inflate.c | unsigned c[BMAX+1]; /* bit length count table */ |
c | 136 | arch/i386/boot/compressed/inflate.c | memzero(c, sizeof(c)); |
c | 139 | arch/i386/boot/compressed/inflate.c | c[*p++]++; /* assume all entries <= BMAX */ |
c | 141 | arch/i386/boot/compressed/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
c | 153 | arch/i386/boot/compressed/inflate.c | if (c[j]) |
c | 159 | arch/i386/boot/compressed/inflate.c | if (c[i]) |
c | 170 | arch/i386/boot/compressed/inflate.c | if ((y -= c[j]) < 0) |
c | 172 | arch/i386/boot/compressed/inflate.c | if ((y -= c[i]) < 0) |
c | 174 | arch/i386/boot/compressed/inflate.c | c[i] += y; |
c | 180 | arch/i386/boot/compressed/inflate.c | p = c + 1; xp = x + 2; |
c | 210 | arch/i386/boot/compressed/inflate.c | a = c[k]; |
c | 228 | arch/i386/boot/compressed/inflate.c | xp = c + k; |
c | 131 | arch/i386/boot/compressed/misc.c | char c; |
c | 136 | arch/i386/boot/compressed/misc.c | while ( ( c = *s++ ) != '\0' ) { |
c | 137 | arch/i386/boot/compressed/misc.c | if ( c == '\n' ) { |
c | 144 | arch/i386/boot/compressed/misc.c | vidmem [ ( x + cols * y ) * 2 ] = c; |
c | 159 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
c | 164 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
c | 187 | arch/i386/boot/compressed/misc.c | register ulg c; /* temporary variable */ |
c | 192 | arch/i386/boot/compressed/misc.c | c = 0xffffffffL; |
c | 194 | arch/i386/boot/compressed/misc.c | c = crc; |
c | 196 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |
c | 199 | arch/i386/boot/compressed/misc.c | crc = c; |
c | 200 | arch/i386/boot/compressed/misc.c | return c ^ 0xffffffffL; /* (instead of ~c for 64-bit machines) */ |
c | 269 | arch/i386/boot/compressed/misc.c | unsigned long c; /* crc shift register */ |
c | 286 | arch/i386/boot/compressed/misc.c | c = 0; |
c | 289 | arch/i386/boot/compressed/misc.c | c = c & 1 ? (c >> 1) ^ e : c >> 1; |
c | 291 | arch/i386/boot/compressed/misc.c | c ^= e; |
c | 293 | arch/i386/boot/compressed/misc.c | crc_32_tab[i] = c; |
c | 18 | arch/i386/boot/compressed/piggyback.c | int c, n=0, len=0; |
c | 133 | arch/i386/boot/compressed/unzip.c | uch c = (uch)get_byte(); |
c | 135 | arch/i386/boot/compressed/unzip.c | if (decrypt) zdecode(c); |
c | 137 | arch/i386/boot/compressed/unzip.c | if (!test) put_char(c); |
c | 39 | arch/i386/boot/compressed/xtract.c | int i,c,id, sz; |
c | 89 | arch/i386/boot/tools/build.c | int i,c,id, sz; |
c | 169 | arch/i386/boot/tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
c | 170 | arch/i386/boot/tools/build.c | if (write(1,buf,c)!=c) |
c | 172 | arch/i386/boot/tools/build.c | if (c != 0) |
c | 180 | arch/i386/boot/tools/build.c | for (c=0 ; c<sizeof(buf) ; c++) |
c | 181 | arch/i386/boot/tools/build.c | buf[c] = '\0'; |
c | 183 | arch/i386/boot/tools/build.c | c = setup_sectors * 512 - i; |
c | 184 | arch/i386/boot/tools/build.c | if (c > sizeof(buf)) |
c | 185 | arch/i386/boot/tools/build.c | c = sizeof(buf); |
c | 186 | arch/i386/boot/tools/build.c | if (write(1,buf,c) != c) |
c | 188 | arch/i386/boot/tools/build.c | i += c; |
c | 82 | arch/i386/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
c | 105 | arch/i386/kernel/setup.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
c | 115 | arch/i386/kernel/setup.c | c = *(from++); |
c | 116 | arch/i386/kernel/setup.c | if (!c) |
c | 120 | arch/i386/kernel/setup.c | *(to++) = c; |
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 | 74 | arch/mips/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
c | 93 | arch/mips/kernel/setup.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
c | 103 | arch/mips/kernel/setup.c | c = *(from++); |
c | 104 | arch/mips/kernel/setup.c | if (!c) |
c | 108 | arch/mips/kernel/setup.c | *(to++) = c; |
c | 61 | arch/sparc/kernel/setup.c | unsigned char c; |
c | 63 | arch/sparc/kernel/setup.c | while ((c = *(p++)) != 0) |
c | 65 | arch/sparc/kernel/setup.c | if (c == '\n') romvec->pv_putchar('\r'); |
c | 66 | arch/sparc/kernel/setup.c | (*(romvec->pv_putchar))(c); |
c | 77 | arch/sparc/kernel/setup.c | unsigned char c; |
c | 79 | arch/sparc/kernel/setup.c | while ((c = *(p++)) != 0) |
c | 81 | arch/sparc/kernel/setup.c | if (c == '\n') romvec->pv_v2devops.v2_dev_write |
c | 84 | arch/sparc/kernel/setup.c | ((*romvec->pv_v2bootargs.fd_stdout), &c, 1); |
c | 113 | arch/sparc/mm/init.c | register char * c; |
c | 212 | arch/sparc/mm/init.c | c= (char *)0x0; |
c | 221 | arch/sparc/mm/init.c | (*(romvec->pv_setctxt))(i, (char *) c, a); |
c | 223 | arch/sparc/mm/init.c | c += 0x40000; |
c | 362 | drivers/block/hd.c | unsigned char c; |
c | 365 | drivers/block/hd.c | c = inb_p(HD_STATUS); |
c | 366 | drivers/block/hd.c | if ((c & (BUSY_STAT | READY_STAT | SEEK_STAT)) == STAT_OK) |
c | 369 | drivers/block/hd.c | dump_status("reset timed out", c); |
c | 66 | drivers/block/ide-cd.c | unsigned char c[12]; |
c | 227 | drivers/block/ide-cd.c | if (pc->c[0] != SCMD_READ_SUBCHANNEL) |
c | 651 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
c | 652 | drivers/block/ide-cd.c | pc.c[0] = READ_10; |
c | 653 | drivers/block/ide-cd.c | pc.c[7] = (nframes >> 8); |
c | 654 | drivers/block/ide-cd.c | pc.c[8] = (nframes & 0xff); |
c | 663 | drivers/block/ide-cd.c | pc.c[2] = conv.b.b3; |
c | 664 | drivers/block/ide-cd.c | pc.c[3] = conv.b.b2; |
c | 665 | drivers/block/ide-cd.c | pc.c[4] = conv.b.b1; |
c | 666 | drivers/block/ide-cd.c | pc.c[5] = conv.b.b0; |
c | 669 | drivers/block/ide-cd.c | if (cdrom_transfer_packet_command (dev, pc.c, sizeof (pc.c))) |
c | 838 | drivers/block/ide-cd.c | if (cdrom_transfer_packet_command (dev, pc->c, sizeof (pc->c))) |
c | 949 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 950 | drivers/block/ide-cd.c | char d = c[0]; |
c | 951 | drivers/block/ide-cd.c | c[0] = c[1]; |
c | 952 | drivers/block/ide-cd.c | c[1] = d; |
c | 959 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 960 | drivers/block/ide-cd.c | char d = c[0]; |
c | 961 | drivers/block/ide-cd.c | c[0] = c[3]; |
c | 962 | drivers/block/ide-cd.c | c[3] = d; |
c | 963 | drivers/block/ide-cd.c | d = c[1]; |
c | 964 | drivers/block/ide-cd.c | c[1] = c[2]; |
c | 965 | drivers/block/ide-cd.c | c[2] = d; |
c | 1002 | drivers/block/ide-cd.c | pc.c[0] = TEST_UNIT_READY; |
c | 1015 | drivers/block/ide-cd.c | pc.c[0] = REQUEST_SENSE; |
c | 1016 | drivers/block/ide-cd.c | pc.c[4] = sizeof (*reqbuf); |
c | 1033 | drivers/block/ide-cd.c | pc.c[0] = ALLOW_MEDIUM_REMOVAL; |
c | 1034 | drivers/block/ide-cd.c | pc.c[4] = (lockflag != 0); |
c | 1049 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1050 | drivers/block/ide-cd.c | pc.c[4] = 2 + (ejectflag != 0); |
c | 1062 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PAUSE_RESUME; |
c | 1063 | drivers/block/ide-cd.c | pc.c[8] = !pauseflag; |
c | 1075 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1076 | drivers/block/ide-cd.c | pc.c[1] = 1; |
c | 1077 | drivers/block/ide-cd.c | pc.c[4] = startflag; |
c | 1092 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_TOC; |
c | 1093 | drivers/block/ide-cd.c | pc.c[6] = trackno; |
c | 1094 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1095 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1096 | drivers/block/ide-cd.c | if (msf_flag) pc.c[1] = 2; |
c | 1177 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_SUBCHANNEL; |
c | 1178 | drivers/block/ide-cd.c | pc.c[2] = 0x40; /* request subQ data */ |
c | 1179 | drivers/block/ide-cd.c | pc.c[3] = 0x01; /* Format 1: current position */ |
c | 1180 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1181 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1197 | drivers/block/ide-cd.c | pc.c[0] = MODE_SENSE_10; |
c | 1198 | drivers/block/ide-cd.c | pc.c[2] = pageno | (modeflag << 6); |
c | 1199 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1200 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1214 | drivers/block/ide-cd.c | pc.c[0] = MODE_SELECT_10; |
c | 1215 | drivers/block/ide-cd.c | pc.c[1] = 0x10; |
c | 1216 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1217 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1229 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO12; |
c | 1230 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba_start; |
c | 1231 | drivers/block/ide-cd.c | *(int *)(&pc.c[6]) = lba_end - lba_start; |
c | 1232 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
c | 1233 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[6])); |
c | 1246 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO_MSF; |
c | 1247 | drivers/block/ide-cd.c | lba_to_msf (lba_start, &pc.c[3], &pc.c[4], &pc.c[5]); |
c | 1248 | drivers/block/ide-cd.c | lba_to_msf (lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]); |
c | 1250 | drivers/block/ide-cd.c | pc.c[3] = bin2bcd (pc.c[3]); |
c | 1251 | drivers/block/ide-cd.c | pc.c[4] = bin2bcd (pc.c[4]); |
c | 1252 | drivers/block/ide-cd.c | pc.c[5] = bin2bcd (pc.c[5]); |
c | 1253 | drivers/block/ide-cd.c | pc.c[6] = bin2bcd (pc.c[6]); |
c | 1254 | drivers/block/ide-cd.c | pc.c[7] = bin2bcd (pc.c[7]); |
c | 1255 | drivers/block/ide-cd.c | pc.c[8] = bin2bcd (pc.c[8]); |
c | 1539 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
c | 1541 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
c | 509 | drivers/block/mcd.c | char a, b, c, d; |
c | 513 | drivers/block/mcd.c | getValue(&c); |
c | 748 | drivers/block/sbpcd.c | msf.c[3] = 0; |
c | 749 | drivers/block/sbpcd.c | msf.c[2] = (blk + CD_BLOCK_OFFSET) / (CD_SECS * CD_FRAMES); |
c | 751 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
c | 752 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
c | 787 | drivers/block/sbpcd.c | i=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET; |
c | 176 | drivers/char/atixlmouse.c | unsigned char a,b,c; |
c | 180 | drivers/char/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
c | 181 | drivers/char/atixlmouse.c | if (( a != b ) && ( a == c )) |
c | 293 | drivers/char/console.c | static void memsetw(void * s, unsigned short c, unsigned int count) |
c | 300 | drivers/char/console.c | scr_writew(c, addr++); |
c | 1342 | drivers/char/console.c | int c, tc, ok, n = 0; |
c | 1362 | drivers/char/console.c | c = from_user ? get_fs_byte(buf) : *buf; |
c | 1368 | drivers/char/console.c | if(c > 0x7f) { |
c | 1369 | drivers/char/console.c | if (utf_count > 0 && (c & 0xc0) == 0x80) { |
c | 1370 | drivers/char/console.c | utf_char = (utf_char << 6) | (c & 0x3f); |
c | 1373 | drivers/char/console.c | c = utf_char; |
c | 1376 | drivers/char/console.c | if ((c & 0xe0) == 0xc0) { |
c | 1378 | drivers/char/console.c | utf_char = (c & 0x1f); |
c | 1379 | drivers/char/console.c | } else if ((c & 0xf0) == 0xe0) { |
c | 1381 | drivers/char/console.c | utf_char = (c & 0x0f); |
c | 1390 | drivers/char/console.c | tc = conv_uni_to_pc(c); |
c | 1395 | drivers/char/console.c | tc = (c <= 0xff) ? translate[c] : 040; |
c | 1400 | drivers/char/console.c | tc = translate[toggle_meta ? (c|0x80) : c]; |
c | 1411 | drivers/char/console.c | if (!ok && tc && (c >= 32 || (disp_ctrl && c != 0x1b) |
c | 1412 | drivers/char/console.c | || !((CTRL_ACTION >> c) & 1))) |
c | 1436 | drivers/char/console.c | switch (c) { |
c | 1485 | drivers/char/console.c | switch (c) { |
c | 1539 | drivers/char/console.c | if (c == '[') { /* Function key */ |
c | 1543 | drivers/char/console.c | ques = (c=='?'); |
c | 1547 | drivers/char/console.c | if (c==';' && npar<NPAR-1) { |
c | 1550 | drivers/char/console.c | } else if (c>='0' && c<='9') { |
c | 1552 | drivers/char/console.c | par[npar] += c-'0'; |
c | 1557 | drivers/char/console.c | switch(c) { |
c | 1576 | drivers/char/console.c | switch(c) { |
c | 1685 | drivers/char/console.c | switch (c) { |
c | 1700 | drivers/char/console.c | if (c == '8') { |
c | 1710 | drivers/char/console.c | if (c == '0') |
c | 1712 | drivers/char/console.c | else if (c == 'B') |
c | 1714 | drivers/char/console.c | else if (c == 'U') |
c | 1716 | drivers/char/console.c | else if (c == 'K') |
c | 1723 | drivers/char/console.c | if (c == '0') |
c | 1725 | drivers/char/console.c | else if (c == 'B') |
c | 1727 | drivers/char/console.c | else if (c == 'U') |
c | 1729 | drivers/char/console.c | else if (c == 'K') |
c | 1774 | drivers/char/console.c | unsigned char c; |
c | 1787 | drivers/char/console.c | while ((c = *(b++)) != 0) { |
c | 1788 | drivers/char/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1789 | drivers/char/console.c | if (c != 13) |
c | 1792 | drivers/char/console.c | if (c == 10 || c == 13) |
c | 1795 | drivers/char/console.c | scr_writew((attr << 8) + c, (unsigned short *) pos); |
c | 128 | drivers/char/consolemap.c | unsigned char inverse_translate(unsigned char c) { |
c | 129 | drivers/char/consolemap.c | return ((inv_translate && inv_translate[c]) ? inv_translate[c] : c); |
c | 12 | drivers/char/consolemap.h | extern unsigned char inverse_translate(unsigned char c); |
c | 1565 | drivers/char/cyclades.c | int c, total = 0; |
c | 1581 | drivers/char/cyclades.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1583 | drivers/char/cyclades.c | if (c <= 0){ |
c | 1590 | drivers/char/cyclades.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1591 | drivers/char/cyclades.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1593 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1596 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1597 | drivers/char/cyclades.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1598 | drivers/char/cyclades.c | info->xmit_cnt += c; |
c | 1600 | drivers/char/cyclades.c | buf += c; |
c | 1601 | drivers/char/cyclades.c | count -= c; |
c | 1602 | drivers/char/cyclades.c | total += c; |
c | 175 | drivers/char/keyboard.c | static inline void send_cmd(unsigned char c) |
c | 178 | drivers/char/keyboard.c | outb(c,0x64); |
c | 187 | drivers/char/keyboard.c | void to_utf8(ushort c) { |
c | 188 | drivers/char/keyboard.c | if (c < 0x80) |
c | 189 | drivers/char/keyboard.c | put_queue(c); /* 0******* */ |
c | 190 | drivers/char/keyboard.c | else if (c < 0x800) { |
c | 191 | drivers/char/keyboard.c | put_queue(0xc0 | (c >> 6)); /* 110***** 10****** */ |
c | 192 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 194 | drivers/char/keyboard.c | put_queue(0xe0 | (c >> 12)); /* 1110**** 10****** 10****** */ |
c | 195 | drivers/char/keyboard.c | put_queue(0x80 | ((c >> 6) & 0x3f)); |
c | 196 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 239 | drivers/char/lp.c | char c, *temp = buf; |
c | 251 | drivers/char/lp.c | c = get_fs_byte(temp); |
c | 252 | drivers/char/lp.c | retval = lp_char_polled(c, minor); |
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 | 265 | drivers/char/n_tty.c | if (iscntrl(c) && L_ECHOCTL(tty)) { |
c | 271 | drivers/char/n_tty.c | if (!iscntrl(c) || L_ECHOCTL(tty)) { |
c | 327 | drivers/char/n_tty.c | unsigned char c) |
c | 335 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 341 | drivers/char/n_tty.c | static inline void n_tty_receive_char(struct tty_struct *tty, unsigned char c) |
c | 344 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 354 | drivers/char/n_tty.c | c &= 0x7f; |
c | 356 | drivers/char/n_tty.c | c=tolower(c); |
c | 360 | drivers/char/n_tty.c | if (c == START_CHAR(tty)) |
c | 362 | drivers/char/n_tty.c | else if (c == STOP_CHAR(tty)) |
c | 374 | drivers/char/n_tty.c | if (!test_bit(c, &tty->process_char_map) || tty->lnext) { |
c | 385 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 387 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 388 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 389 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 393 | drivers/char/n_tty.c | if (c == '\r') { |
c | 397 | drivers/char/n_tty.c | c = '\n'; |
c | 398 | drivers/char/n_tty.c | } else if (c == '\n' && I_INLCR(tty)) |
c | 399 | drivers/char/n_tty.c | c = '\r'; |
c | 401 | drivers/char/n_tty.c | if (c == START_CHAR(tty)) { |
c | 405 | drivers/char/n_tty.c | if (c == STOP_CHAR(tty)) { |
c | 411 | drivers/char/n_tty.c | if (c == INTR_CHAR(tty)) { |
c | 415 | drivers/char/n_tty.c | if (c == QUIT_CHAR(tty)) { |
c | 419 | drivers/char/n_tty.c | if (c == SUSP_CHAR(tty)) { |
c | 426 | drivers/char/n_tty.c | if (c == ERASE_CHAR(tty) || c == KILL_CHAR(tty) || |
c | 427 | drivers/char/n_tty.c | (c == WERASE_CHAR(tty) && L_IEXTEN(tty))) { |
c | 428 | drivers/char/n_tty.c | eraser(c, tty); |
c | 431 | drivers/char/n_tty.c | if (c == LNEXT_CHAR(tty) && L_IEXTEN(tty)) { |
c | 442 | drivers/char/n_tty.c | if (c == REPRINT_CHAR(tty) && L_ECHO(tty) && |
c | 447 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 455 | drivers/char/n_tty.c | if (c == '\n') { |
c | 465 | drivers/char/n_tty.c | if (c == EOF_CHAR(tty)) { |
c | 468 | drivers/char/n_tty.c | c = __DISABLED_CHAR; |
c | 471 | drivers/char/n_tty.c | if ((c == EOL_CHAR(tty)) || |
c | 472 | drivers/char/n_tty.c | (c == EOL2_CHAR(tty) && L_IEXTEN(tty))) { |
c | 484 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 490 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 491 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 495 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 512 | drivers/char/n_tty.c | if (c == '\n') |
c | 518 | drivers/char/n_tty.c | echo_char(c, tty); |
c | 522 | drivers/char/n_tty.c | if (I_PARMRK(tty) && c == (unsigned char) '\377') |
c | 523 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 525 | drivers/char/n_tty.c | put_tty_queue(c, tty); |
c | 747 | drivers/char/n_tty.c | int c; |
c | 859 | drivers/char/n_tty.c | c = tty->read_buf[tty->read_tail]; |
c | 865 | drivers/char/n_tty.c | put_fs_byte(c, b++); |
c | 873 | drivers/char/n_tty.c | if (c != __DISABLED_CHAR) { |
c | 874 | drivers/char/n_tty.c | put_fs_byte(c, b++); |
c | 919 | drivers/char/n_tty.c | int c; |
c | 943 | drivers/char/n_tty.c | c = get_fs_byte(b); |
c | 944 | drivers/char/n_tty.c | if (opost(c, tty) < 0) |
c | 951 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
c | 952 | drivers/char/n_tty.c | b += c; |
c | 953 | drivers/char/n_tty.c | nr -= c; |
c | 380 | drivers/char/psaux.c | unsigned char c; |
c | 396 | drivers/char/psaux.c | c = get_from_queue(); |
c | 397 | drivers/char/psaux.c | put_fs_byte(c, buffer++); |
c | 116 | drivers/char/pty.c | int c=0, n, r; |
c | 134 | drivers/char/pty.c | buf += n; c+= n; |
c | 139 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
c | 140 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
c | 143 | drivers/char/pty.c | return c; |
c | 30 | drivers/char/selection.c | #define isspace(c) ((c) == ' ') |
c | 83 | drivers/char/selection.c | static inline int inword(const unsigned char c) { |
c | 84 | drivers/char/selection.c | return ( inwordLut[c>>5] >> (c & 0x1F) ) & 1; |
c | 273 | drivers/char/selection.c | int c = sel_buffer_lth; |
c | 277 | drivers/char/selection.c | if (!bp || !c) |
c | 282 | drivers/char/selection.c | while (c) { |
c | 287 | drivers/char/selection.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
c | 289 | drivers/char/selection.c | c -= l; |
c | 1290 | drivers/char/serial.c | int c, total = 0; |
c | 1303 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1305 | drivers/char/serial.c | if (c <= 0) |
c | 1310 | drivers/char/serial.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1311 | drivers/char/serial.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1313 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1316 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1317 | drivers/char/serial.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1318 | drivers/char/serial.c | info->xmit_cnt += c; |
c | 1320 | drivers/char/serial.c | buf += c; |
c | 1321 | drivers/char/serial.c | count -= c; |
c | 1322 | drivers/char/serial.c | total += c; |
c | 2565 | drivers/char/tpqic02.c | int c; |
c | 2586 | drivers/char/tpqic02.c | c = iocmd & IOCCMD_MASK; |
c | 2590 | drivers/char/tpqic02.c | if (c == DDIOCSDBG) { |
c | 2594 | drivers/char/tpqic02.c | c = get_user_long((int *) ioarg); |
c | 2595 | drivers/char/tpqic02.c | if (c==0) { |
c | 2599 | drivers/char/tpqic02.c | if ((c>=1) && (c<=32)) { |
c | 2600 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG |= (1 << (c-1)); |
c | 2603 | drivers/char/tpqic02.c | if (c >= 128) { |
c | 2604 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG &= ~(1 << (c - 128)); |
c | 2612 | drivers/char/tpqic02.c | if (c == (MTIOCGETCONFIG & IOCCMD_MASK)) { |
c | 2629 | drivers/char/tpqic02.c | } else if (c == (MTIOCSETCONFIG & IOCCMD_MASK)) { |
c | 2668 | drivers/char/tpqic02.c | if (c == (MTIOCTOP & IOCCMD_MASK)) { |
c | 2723 | drivers/char/tpqic02.c | } else if (c == (MTIOCGET & IOCCMD_MASK)) { |
c | 2751 | drivers/char/tpqic02.c | } else if (TP_HAVE_TELL && (c == (MTIOCPOS & IOCCMD_MASK))) { |
c | 2770 | drivers/char/tpqic02.c | c = rdstatus((char *) blk_addr, sizeof(blk_addr), AR_QCMDV_TELL_BLK); |
c | 2771 | drivers/char/tpqic02.c | if (c!=TE_OK) |
c | 1259 | drivers/char/tty_io.c | char *c, *d; |
c | 1268 | drivers/char/tty_io.c | c = (char *)(*p); |
c | 1271 | drivers/char/tty_io.c | put_fs_byte(*c++, d++); |
c | 428 | drivers/net/ewrk3.c | char c[2]; |
c | 432 | drivers/net/ewrk3.c | eeprom_image[i] = tmp.c[0]; |
c | 433 | drivers/net/ewrk3.c | eeprom_image[i+1] = tmp.c[1]; |
c | 87 | drivers/net/ppp.c | #define in_xmap(ppp,c) (ppp->xmit_async_map[(c) >> 5] & (1 << ((c) & 0x1f))) |
c | 88 | drivers/net/ppp.c | #define in_rmap(ppp,c) ((((unsigned int) (unsigned char) (c)) < 0x20) && \ |
c | 89 | drivers/net/ppp.c | ppp->recv_async_map & (1 << (c))) |
c | 110 | drivers/net/ppp.c | static void ppp_unesc(struct ppp *ppp, unsigned char *c, int n); |
c | 771 | drivers/net/ppp.c | ppp_enqueue(struct ppp *ppp, unsigned char c) |
c | 778 | drivers/net/ppp.c | *ppp->rhead = c; |
c | 868 | drivers/net/ppp.c | ppp_unesc(struct ppp *ppp, unsigned char *c, int n) |
c | 872 | drivers/net/ppp.c | for (i = 0; i < n; i++, c++) { |
c | 873 | drivers/net/ppp.c | PRINTKN (6,(KERN_DEBUG "(%x)", (unsigned int) *c)); |
c | 876 | drivers/net/ppp.c | if (*c & 0x80) |
c | 881 | drivers/net/ppp.c | if (paritytab[*c >> 5] & (1 << (*c & 0x1F))) |
c | 887 | drivers/net/ppp.c | switch (*c) { |
c | 906 | drivers/net/ppp.c | if (!in_rmap (ppp, *c)) { |
c | 908 | drivers/net/ppp.c | ppp_enqueue (ppp, *c ^ ppp->escape); |
c | 927 | drivers/net/ppp.c | unsigned char c; |
c | 946 | drivers/net/ppp.c | c = *cp++; |
c | 955 | drivers/net/ppp.c | if (c & 0x80) |
c | 960 | drivers/net/ppp.c | if (paritytab[c >> 5] & (1 << (c & 0x1F))) |
c | 966 | drivers/net/ppp.c | switch (c) { |
c | 985 | drivers/net/ppp.c | if (!in_rmap (ppp, c)) { |
c | 987 | drivers/net/ppp.c | ppp_enqueue (ppp, c ^ ppp->escape); |
c | 1000 | drivers/net/ppp.c | u_char *c = ppp->rbuff; |
c | 1017 | drivers/net/ppp.c | ppp_print_buffer ("receive frame", c, count, KERNEL_DS); |
c | 1036 | drivers/net/ppp.c | if ((c[0] == PPP_ADDRESS) && (c[1] == PPP_CONTROL)) { |
c | 1037 | drivers/net/ppp.c | c = c + 2; /* ADDR/CTRL not compressed, so skip */ |
c | 1041 | drivers/net/ppp.c | proto = (u_short) *c++; /* PROTO compressed */ |
c | 1045 | drivers/net/ppp.c | proto = (proto << 8) | (u_short) *c++; /* PROTO uncompressed */ |
c | 1050 | drivers/net/ppp.c | if ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) { |
c | 1061 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, c, count+2)) { |
c | 1078 | drivers/net/ppp.c | ppp_do_ip (struct ppp *ppp, unsigned short proto, unsigned char *c, |
c | 1084 | drivers/net/ppp.c | (int) proto, count, c[0])); |
c | 1115 | drivers/net/ppp.c | count = slhc_uncompress(ppp->slcomp, c, count); |
c | 1126 | drivers/net/ppp.c | if (slhc_remember(ppp->slcomp, c, count) <= 0) { |
c | 1140 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) c; |
c | 1146 | drivers/net/ppp.c | (void) dev_rint (c, count, 0, ppp->dev); |
c | 1153 | drivers/net/ppp.c | #define PUTC(c,label) *ppp->us_rbuff_head++ = c; \ |
c | 1158 | drivers/net/ppp.c | #define GETC(c) c = *ppp->us_rbuff_tail++; \ |
c | 1229 | drivers/net/ppp.c | unsigned char c; |
c | 1260 | drivers/net/ppp.c | GETC (c); len = c << 8; GETC (c); len += c; |
c | 1282 | drivers/net/ppp.c | GETC (c); |
c | 1283 | drivers/net/ppp.c | put_fs_byte (c, buf++); |
c | 1307 | drivers/net/ppp.c | ppp_stuff_char(struct ppp *ppp, unsigned char c) |
c | 1314 | drivers/net/ppp.c | if (in_xmap (ppp, c)) { |
c | 1316 | drivers/net/ppp.c | *ppp->xhead++ = c ^ PPP_TRANS; |
c | 1318 | drivers/net/ppp.c | *ppp->xhead++ = c; |
c | 1319 | drivers/net/ppp.c | ppp->fcs = (ppp->fcs >> 8) ^ fcstab[(ppp->fcs ^ c) & 0xff]; |
c | 1972 | drivers/net/ppp.c | unsigned char *c = ppp->rbuff; |
c | 1975 | drivers/net/ppp.c | for (i = 0; i < ppp->rcount - 2; i++, c++) |
c | 1976 | drivers/net/ppp.c | fcs = (fcs >> 8) ^ fcstab[(fcs ^ *c) & 0xff]; |
c | 1979 | drivers/net/ppp.c | msgfcs = (c[1] << 8) + c[0]; |
c | 92 | drivers/net/slip.c | static void slip_unesc(struct slip *sl, unsigned char c); |
c | 95 | drivers/net/slip.c | static void slip_unesc6(struct slip *sl, unsigned char c); |
c | 284 | drivers/net/slip.c | unsigned char c; |
c | 285 | drivers/net/slip.c | if ((c = sl->rbuff[0]) & SL_TYPE_COMPRESSED_TCP) { |
c | 300 | drivers/net/slip.c | } else if (c >= SL_TYPE_UNCOMPRESSED_TCP) { |
c | 787 | drivers/net/slip.c | unsigned char c; |
c | 803 | drivers/net/slip.c | switch(c = *s++) { |
c | 813 | drivers/net/slip.c | *ptr++ = c; |
c | 868 | drivers/net/slip.c | unsigned char c; |
c | 890 | drivers/net/slip.c | c = 0x30 + ((v >> bits) & 0x3F); |
c | 891 | drivers/net/slip.c | *ptr++ = c; |
c | 895 | drivers/net/slip.c | c = 0x30 + ((v << (6 - bits)) & 0x3F); |
c | 896 | drivers/net/slip.c | *ptr++ = c; |
c | 905 | drivers/net/slip.c | unsigned char c; |
c | 919 | drivers/net/slip.c | c = (unsigned char)(sl->xdata >> sl->xbits); |
c | 922 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = c; |
c | 1588 | drivers/net/wavelan.c | unsigned char c; |
c | 1590 | drivers/net/wavelan.c | c = skb->data[i]; |
c | 1591 | drivers/net/wavelan.c | if (c >= ' ' && c <= '~') |
c | 1382 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1383 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1395 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
c | 1399 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
c | 1401 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
c | 1420 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1421 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1454 | drivers/scsi/53c7,8xx.c | c->host_scribble = NULL; |
c | 1455 | drivers/scsi/53c7,8xx.c | c->result = result; |
c | 1456 | drivers/scsi/53c7,8xx.c | c->scsi_done(c); |
c | 1478 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1668 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1683 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
c | 1707 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
c | 1719 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1728 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1746 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
c | 1754 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
c | 1796 | drivers/scsi/53c7,8xx.c | if (!c) { |
c | 1807 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 1828 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
c | 1829 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
c | 1830 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
c | 1831 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
c | 1832 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
c | 1833 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
c | 1844 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
c | 1845 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = (unsigned long) c->sense_buffer; |
c | 3809 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_cmd * c; |
c | 3820 | drivers/scsi/53c7,8xx.c | for (c = (struct NCR53c7x0_cmd *) hostdata->running_list, found = 0; c; |
c | 3821 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) c->next) { |
c | 3822 | drivers/scsi/53c7,8xx.c | tmp = c->cmd; |
c | 3823 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3824 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 3832 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) cmd->host_scribble; |
c | 3833 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 3834 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3835 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 1468 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1516 | drivers/scsi/NCR5380.c | if (!((p & SR_MSG) && c > 1)) { |
c | 1557 | drivers/scsi/NCR5380.c | if (!(p == PHASE_MSGIN && c == 1)) { |
c | 1558 | drivers/scsi/NCR5380.c | if (p == PHASE_MSGOUT && c > 1) |
c | 1563 | drivers/scsi/NCR5380.c | } while (--c); |
c | 1566 | drivers/scsi/NCR5380.c | printk("scsi%d : residual %d\n", instance->host_no, c); |
c | 1569 | drivers/scsi/NCR5380.c | *count = c; |
c | 1577 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
c | 1607 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1629 | drivers/scsi/NCR5380.c | c -= 2; |
c | 1635 | drivers/scsi/NCR5380.c | "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d); |
c | 1638 | drivers/scsi/NCR5380.c | NCR5380_dma_read_setup(instance, d, c) : |
c | 1639 | drivers/scsi/NCR5380.c | NCR5380_dma_write_setup(instance, d, c); |
c | 1763 | drivers/scsi/NCR5380.c | c -= residue; |
c | 1764 | drivers/scsi/NCR5380.c | *count -= c; |
c | 1765 | drivers/scsi/NCR5380.c | *data += c; |
c | 1800 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pread(instance, d, c - 1))) { |
c | 1826 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
c | 1830 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pwrite(instance, d, c))) { |
c | 1881 | drivers/scsi/NCR5380.c | *data = d + c; |
c | 534 | drivers/scsi/aic7770.c | int c; |
c | 536 | drivers/scsi/aic7770.c | while ((c = getopt(argc, argv, "dho:")) != EOF) { |
c | 537 | drivers/scsi/aic7770.c | switch (c) { |
c | 168 | drivers/sound/audio.c | int c, p, l; |
c | 174 | drivers/sound/audio.c | c = count; |
c | 198 | drivers/sound/audio.c | while (c) |
c | 213 | drivers/sound/audio.c | l = c; |
c | 243 | drivers/sound/audio.c | c -= l; |
c | 265 | drivers/sound/audio.c | int c, p, l; |
c | 271 | drivers/sound/audio.c | c = count; |
c | 285 | drivers/sound/audio.c | while (c) |
c | 290 | drivers/sound/audio.c | if (l > c) |
c | 291 | drivers/sound/audio.c | l = c; |
c | 314 | drivers/sound/audio.c | c -= l; |
c | 317 | drivers/sound/audio.c | return count - c; |
c | 357 | drivers/sound/configure.c | char c; |
c | 368 | drivers/sound/configure.c | count = read (fd, &c, 1); |
c | 373 | drivers/sound/configure.c | fprintf (sf, "0x%02x,", c & 0xFFL); |
c | 369 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 373 | drivers/sound/dmabuf.c | int p = dmap->counts[dmap->qhead] + c; |
c | 903 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 282 | drivers/sound/midibuf.c | int c, n, i; |
c | 292 | drivers/sound/midibuf.c | c = 0; |
c | 294 | drivers/sound/midibuf.c | while (c < count) |
c | 312 | drivers/sound/midibuf.c | if (n > (count - c)) |
c | 313 | drivers/sound/midibuf.c | n = count - c; |
c | 317 | drivers/sound/midibuf.c | COPY_FROM_USER (&tmp_data, buf, c, 1); |
c | 319 | drivers/sound/midibuf.c | c++; |
c | 325 | drivers/sound/midibuf.c | return c; |
c | 332 | drivers/sound/midibuf.c | int n, c = 0; |
c | 347 | drivers/sound/midibuf.c | c = RET_ERROR (EINTR); /* |
c | 352 | drivers/sound/midibuf.c | if (c == 0 && DATA_AVAIL (midi_in_buf[dev])) /* |
c | 359 | drivers/sound/midibuf.c | c = 0; |
c | 361 | drivers/sound/midibuf.c | while (c < n) |
c | 364 | drivers/sound/midibuf.c | COPY_TO_USER (buf, c, &tmp_data, 1); |
c | 365 | drivers/sound/midibuf.c | c++; |
c | 371 | drivers/sound/midibuf.c | return c; |
c | 468 | drivers/sound/mpu401.c | unsigned char c = read_data (devc->base); |
c | 472 | drivers/sound/mpu401.c | mpu_input_scanner (devc, c); |
c | 475 | drivers/sound/mpu401.c | devc->inputintr (devc->devno, c); |
c | 55 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
c | 56 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
c | 57 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
c | 58 | drivers/sound/os.h | #define IOCTL_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
c | 812 | drivers/sound/pss.c | int c, p; |
c | 820 | drivers/sound/pss.c | c = count; |
c | 822 | drivers/sound/pss.c | return count - c; |
c | 69 | drivers/sound/sb16_midi.c | unsigned char c = sb16midi_read (); |
c | 72 | drivers/sound/sb16_midi.c | midi_input_intr (my_dev, c); |
c | 100 | drivers/sound/sequencer.c | int c = count, p = 0; |
c | 125 | drivers/sound/sequencer.c | while (iqlen && c >= ev_len) |
c | 130 | drivers/sound/sequencer.c | c -= ev_len; |
c | 137 | drivers/sound/sequencer.c | return count - c; |
c | 234 | drivers/sound/sequencer.c | int p = 0, c, ev_size; |
c | 250 | drivers/sound/sequencer.c | c = count; |
c | 252 | drivers/sound/sequencer.c | while (c >= 4) |
c | 268 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0); |
c | 285 | drivers/sound/sequencer.c | if (c < ev_size) |
c | 289 | drivers/sound/sequencer.c | return count - c; |
c | 339 | drivers/sound/sequencer.c | return count - c; |
c | 343 | drivers/sound/sequencer.c | c -= ev_size; |
c | 9 | drivers/sound/sound_calls.h | int DMAbuf_rmchars(int dev, int buff_no, int c); |
c | 261 | drivers/sound/sound_switch.c | int l, c; |
c | 264 | drivers/sound/sound_switch.c | c = status_len - status_ptr; |
c | 266 | drivers/sound/sound_switch.c | if (l > c) |
c | 267 | drivers/sound/sound_switch.c | l = c; |
c | 83 | drivers/sound/uart6850.c | unsigned char c = uart6850_read (); |
c | 88 | drivers/sound/uart6850.c | midi_input_intr (my_dev, c); |
c | 73 | fs/ext/dir.c | char c; |
c | 113 | fs/ext/dir.c | if ((c = de->name[i]) != 0) |
c | 114 | fs/ext/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 200 | fs/ext/file.c | int written,c; |
c | 228 | fs/ext/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 229 | fs/ext/file.c | if (c > count-written) |
c | 230 | fs/ext/file.c | c = count-written; |
c | 231 | fs/ext/file.c | if (c != BLOCK_SIZE && !bh->b_uptodate) { |
c | 242 | fs/ext/file.c | pos += c; |
c | 247 | fs/ext/file.c | written += c; |
c | 248 | fs/ext/file.c | memcpy_fromfs(p,buf,c); |
c | 249 | fs/ext/file.c | buf += c; |
c | 627 | fs/ext/namei.c | char c; |
c | 644 | fs/ext/namei.c | while (i < 1023 && (c = *(symname++))) |
c | 645 | fs/ext/namei.c | name_block->b_data[i++] = c; |
c | 89 | fs/ext/symlink.c | char c; |
c | 102 | fs/ext/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 104 | fs/ext/symlink.c | put_fs_byte(c,buffer++); |
c | 237 | fs/ext2/file.c | int written, c; |
c | 288 | fs/ext2/file.c | c = sb->s_blocksize - (pos2 % sb->s_blocksize); |
c | 289 | fs/ext2/file.c | if (c > count-written) |
c | 290 | fs/ext2/file.c | c = count - written; |
c | 291 | fs/ext2/file.c | if (c != sb->s_blocksize && !bh->b_uptodate) { |
c | 302 | fs/ext2/file.c | pos2 += c; |
c | 303 | fs/ext2/file.c | pos += c; |
c | 304 | fs/ext2/file.c | written += c; |
c | 305 | fs/ext2/file.c | memcpy_fromfs (p, buf, c); |
c | 306 | fs/ext2/file.c | buf += c; |
c | 39 | fs/ext2/namei.c | #define NAMEI_RA_INDEX(c,b) (((c) * NAMEI_RA_BLOCKS) + (b)) |
c | 751 | fs/ext2/namei.c | char c; |
c | 782 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) |
c | 783 | fs/ext2/namei.c | link[i++] = c; |
c | 101 | fs/ext2/symlink.c | char c; |
c | 120 | fs/ext2/symlink.c | while (i < buflen && (c = link[i])) { |
c | 122 | fs/ext2/symlink.c | put_fs_byte (c, buffer++); |
c | 114 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_upcase (unsigned c) |
c | 116 | fs/hpfs/hpfs_caps.c | if (c - 'a' <= 'z' - 'a' |
c | 117 | fs/hpfs/hpfs_caps.c | || (c - a_grave <= thorn - a_grave |
c | 118 | fs/hpfs/hpfs_caps.c | && c != divide)) |
c | 119 | fs/hpfs/hpfs_caps.c | return c - 'a' + 'A'; |
c | 121 | fs/hpfs/hpfs_caps.c | return c; |
c | 124 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_downcase (unsigned c) |
c | 126 | fs/hpfs/hpfs_caps.c | if (c - 'A' <= 'Z' - 'A' |
c | 127 | fs/hpfs/hpfs_caps.c | || (c - A_GRAVE <= THORN - A_GRAVE |
c | 128 | fs/hpfs/hpfs_caps.c | && c != MULTIPLY)) |
c | 129 | fs/hpfs/hpfs_caps.c | return c + 'a' - 'A'; |
c | 131 | fs/hpfs/hpfs_caps.c | return c; |
c | 135 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_to_cp850 (unsigned c) |
c | 137 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 138 | fs/hpfs/hpfs_caps.c | return tb_latin1_to_cp850[c - 128]; |
c | 140 | fs/hpfs/hpfs_caps.c | return c; |
c | 144 | fs/hpfs/hpfs_caps.c | static inline unsigned cp850_to_latin1 (unsigned c) |
c | 146 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 147 | fs/hpfs/hpfs_caps.c | return tb_cp850_to_latin1[c - 128]; |
c | 149 | fs/hpfs/hpfs_caps.c | return c; |
c | 152 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_upper_linux (unsigned c) |
c | 154 | fs/hpfs/hpfs_caps.c | return latin1_upcase (cp850_to_latin1 (c)); |
c | 157 | fs/hpfs/hpfs_caps.c | unsigned linux_char_to_upper_linux (unsigned c) |
c | 159 | fs/hpfs/hpfs_caps.c | return latin1_upcase (c); |
c | 162 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_lower_linux (unsigned c) |
c | 164 | fs/hpfs/hpfs_caps.c | return latin1_downcase (cp850_to_latin1 (c)); |
c | 167 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_linux (unsigned c) |
c | 169 | 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 | 951 | fs/hpfs/hpfs_fs.c | unsigned c; |
c | 956 | fs/hpfs/hpfs_fs.c | c = *p++; |
c | 957 | fs/hpfs/hpfs_fs.c | if (c < ' ') |
c | 958 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
c | 960 | fs/hpfs/hpfs_fs.c | else if (c == '\t' || c == '\n'); |
c | 963 | fs/hpfs/hpfs_fs.c | else if (c < '\177') |
c | 985 | fs/hpfs/hpfs_fs.c | unsigned c = *in++; |
c | 986 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
c | 988 | fs/hpfs/hpfs_fs.c | put_fs_byte(c, out++); |
c | 73 | fs/isofs/dir.c | char c = 0; |
c | 218 | fs/isofs/dir.c | if (!(c = dpnt1[i])) break; |
c | 219 | fs/isofs/dir.c | if (c >= 'A' && c <= 'Z') c |= 0x20; /* lower case */ |
c | 220 | fs/isofs/dir.c | if (c == '.' && i == dlen-3 && de->name[i+1] == ';' && de->name[i+2] == '1') |
c | 222 | fs/isofs/dir.c | if (c == ';' && i == dlen-2 && de->name[i+1] == '1') |
c | 224 | fs/isofs/dir.c | if (c == ';') c = '.'; /* Convert remaining ';' to '.' */ |
c | 225 | fs/isofs/dir.c | dpnt[i] = c; |
c | 78 | fs/isofs/namei.c | char c; |
c | 166 | fs/isofs/namei.c | c = dpnt[i]; |
c | 167 | fs/isofs/namei.c | if (c >= 'A' && c <= 'Z') c |= 0x20; /* lower case */ |
c | 168 | fs/isofs/namei.c | if (c == ';' && i == dlen-2 && dpnt[i+1] == '1') { |
c | 172 | fs/isofs/namei.c | if (c == ';') c = '.'; |
c | 173 | fs/isofs/namei.c | de->name[i] = c; |
c | 88 | fs/isofs/symlink.c | char c; |
c | 104 | fs/isofs/symlink.c | while (i<buflen && (c = pnt[i])) { |
c | 106 | fs/isofs/symlink.c | put_fs_byte(c,buffer++); |
c | 69 | fs/minix/dir.c | char c; |
c | 95 | fs/minix/dir.c | if ((c = de->name[i]) != 0) |
c | 96 | fs/minix/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 196 | fs/minix/file.c | int written,c; |
c | 221 | fs/minix/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 222 | fs/minix/file.c | if (c > count-written) |
c | 223 | fs/minix/file.c | c = count-written; |
c | 224 | fs/minix/file.c | if (c != BLOCK_SIZE && !bh->b_uptodate) { |
c | 235 | fs/minix/file.c | pos += c; |
c | 236 | fs/minix/file.c | written += c; |
c | 237 | fs/minix/file.c | memcpy_fromfs(p,buf,c); |
c | 238 | fs/minix/file.c | buf += c; |
c | 550 | fs/minix/namei.c | char c; |
c | 567 | fs/minix/namei.c | while (i < 1023 && (c=*(symname++))) |
c | 568 | fs/minix/namei.c | name_block->b_data[i++] = c; |
c | 87 | fs/minix/symlink.c | char c; |
c | 100 | fs/minix/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 102 | fs/minix/symlink.c | put_fs_byte(c,buffer++); |
c | 73 | fs/msdos/dir.c | char c,*walk; |
c | 98 | fs/msdos/dir.c | if (!(c = de->name[i])) break; |
c | 99 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 100 | fs/msdos/dir.c | if (c != ' ') |
c | 102 | fs/msdos/dir.c | ptname[i] = c; |
c | 108 | fs/msdos/dir.c | if (!(c = de->ext[i2])) break; |
c | 109 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 110 | fs/msdos/dir.c | if (c != ' ') |
c | 112 | fs/msdos/dir.c | ptname[i] = c; |
c | 45 | fs/msdos/namei.c | unsigned char c; |
c | 56 | fs/msdos/namei.c | c = 0; |
c | 58 | fs/msdos/namei.c | c = *name++; |
c | 60 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 61 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 62 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 63 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 64 | fs/msdos/namei.c | if (c == '.') break; |
c | 65 | fs/msdos/namei.c | space = c == ' '; |
c | 66 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 69 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
c | 70 | fs/msdos/namei.c | c = *name++; |
c | 72 | fs/msdos/namei.c | if (c != '.') return -EINVAL; |
c | 74 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
c | 75 | fs/msdos/namei.c | if (c == '.') { |
c | 78 | fs/msdos/namei.c | c = *name++; |
c | 80 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 81 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 83 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 85 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 86 | fs/msdos/namei.c | space = c == ' '; |
c | 87 | 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_fs_byte(filename++); |
c | 69 | fs/namei.c | if (!c) |
c | 75 | fs/namei.c | *(tmp++) = c; |
c | 76 | fs/namei.c | c = get_fs_byte(filename++); |
c | 77 | fs/namei.c | if (!c) { |
c | 218 | fs/namei.c | char c; |
c | 228 | fs/namei.c | if ((c = *pathname) == '/') { |
c | 236 | fs/namei.c | for(len=0;(c = *(pathname++))&&(c != '/');len++) |
c | 238 | fs/namei.c | if (!c) |
c | 175 | fs/proc/array.c | int a, b, c; |
c | 179 | fs/proc/array.c | c = avenrun[2] + (FIXED_1/200); |
c | 183 | fs/proc/array.c | LOAD_INT(c), LOAD_FRAC(c), |
c | 373 | fs/proc/array.c | char c; |
c | 382 | fs/proc/array.c | c = *(char *) addr; |
c | 383 | fs/proc/array.c | if (!c) |
c | 386 | fs/proc/array.c | buffer[size++] = c; |
c | 391 | fs/proc/array.c | if (!c && start >= end) |
c | 56 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
c | 88 | fs/proc/fd.c | c = *name - '0'; |
c | 90 | fs/proc/fd.c | if (c > 9) { |
c | 95 | fs/proc/fd.c | fd += c; |
c | 90 | fs/proc/root.c | unsigned int pid, c; |
c | 114 | fs/proc/root.c | c = *name - '0'; |
c | 116 | fs/proc/root.c | if (c > 9) { |
c | 121 | fs/proc/root.c | pid += c; |
c | 76 | fs/sysv/dir.c | char c; |
c | 106 | fs/sysv/dir.c | if ((c = sde.name[i]) != 0) |
c | 107 | fs/sysv/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 207 | fs/sysv/file.c | int written,c; |
c | 238 | fs/sysv/file.c | c = sb->sv_block_size - (pos & sb->sv_block_size_1); |
c | 239 | fs/sysv/file.c | if (c > count-written) |
c | 240 | fs/sysv/file.c | c = count-written; |
c | 241 | fs/sysv/file.c | if (c != sb->sv_block_size && !bh->b_uptodate) { |
c | 253 | fs/sysv/file.c | pos += c; |
c | 258 | fs/sysv/file.c | written += c; |
c | 259 | fs/sysv/file.c | memcpy_fromfs(p,buf,c); |
c | 260 | fs/sysv/file.c | buf += c; |
c | 542 | fs/sysv/namei.c | char c; |
c | 562 | fs/sysv/namei.c | while (i < sb->sv_block_size_1 && (c = *(symname++))) |
c | 563 | fs/sysv/namei.c | name_block_data[i++] = c; |
c | 94 | fs/sysv/symlink.c | char c; |
c | 108 | fs/sysv/symlink.c | while (i<buflen && (c = bh_data[i])) { |
c | 110 | fs/sysv/symlink.c | put_fs_byte(c,buffer++); |
c | 197 | fs/xiafs/file.c | int written, c; |
c | 225 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
c | 226 | fs/xiafs/file.c | if (c > count-written) |
c | 227 | fs/xiafs/file.c | c = count-written; |
c | 228 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) { |
c | 239 | fs/xiafs/file.c | pos += c; |
c | 244 | fs/xiafs/file.c | written += c; |
c | 245 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
c | 246 | fs/xiafs/file.c | buf += c; |
c | 595 | fs/xiafs/namei.c | char c; |
c | 617 | fs/xiafs/namei.c | for (i = 0; i < BLOCK_SIZE-1 && (c=*symname++); i++) |
c | 618 | fs/xiafs/namei.c | name_block->b_data[i] = c; |
c | 55 | fs/xiafs/symlink.c | char c; |
c | 71 | fs/xiafs/symlink.c | for (i=0; i < buflen && (c=bh->b_data[i]); i++) |
c | 72 | fs/xiafs/symlink.c | put_fs_byte(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 | 7 | include/asm-alpha/string.h | #define memset(s, c, count) \ |
c | 8 | include/asm-alpha/string.h | (__builtin_constant_p(c) ? \ |
c | 9 | include/asm-alpha/string.h | __constant_c_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
c | 10 | include/asm-alpha/string.h | __memset((s),(c),(count))) |
c | 35 | include/asm-i386/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 40 | include/asm-i386/delay.h | "r" (c), |
c | 52 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \ |
c | 64 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \ |
c | 125 | include/asm-i386/string.h | extern inline char * strchr(const char * s, int c) |
c | 139 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 143 | include/asm-i386/string.h | extern inline char * strrchr(const char * s, int c) |
c | 155 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 445 | include/asm-i386/string.h | extern inline void * memchr(const void * cs,int c,size_t count) |
c | 457 | include/asm-i386/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 462 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
c | 469 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
c | 475 | include/asm-i386/string.h | #define __constant_c_memset(s,c,count) __memset_generic((s),(unsigned char)(c),(count)) |
c | 476 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
c | 518 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
c | 520 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
c | 521 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
c | 523 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
c | 525 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
c | 526 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
c | 528 | include/asm-i386/string.h | #define memset(s, c, count) \ |
c | 529 | include/asm-i386/string.h | (__builtin_constant_p(c) ? \ |
c | 530 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
c | 531 | include/asm-i386/string.h | __memset((s),(c),(count))) |
c | 536 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
c | 546 | 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 | 40 | include/asm-mips/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 42 | include/asm-mips/delay.h | return (a*b)/c; |
c | 61 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); } \ |
c | 75 | include/asm-mips/io.h | __IN1(s##c) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); return _v; } \ |
c | 99 | include/asm-mips/io.h | __INS1(s##c) __INS2(m) \ |
c | 124 | include/asm-mips/io.h | __OUTS1(s##c) __OUTS2(m) \ |
c | 117 | include/asm-mips/string.h | extern __inline__ void * memset(void * s, int c, size_t count) |
c | 130 | include/asm-mips/string.h | : "0" (s), "r" (c), "1" (s + count - 1) |
c | 199 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
c | 214 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
c | 61 | include/asm-mips/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 62 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c) \ |
c | 72 | include/asm-mips/unistd.h | "r" ((long)(c)) \ |
c | 80 | include/asm-mips/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
c | 81 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
c | 93 | include/asm-mips/unistd.h | "r" ((long)(c)), \ |
c | 102 | include/asm-mips/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
c | 103 | include/asm-mips/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
c | 116 | include/asm-mips/unistd.h | "r" ((long)(c)), \ |
c | 34 | include/asm-sparc/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 36 | include/asm-sparc/delay.h | return ((a*b)/c); |
c | 171 | include/asm-sparc/string.h | extern __inline__ char *strchr(const char *src, int c) |
c | 181 | include/asm-sparc/string.h | "=r" (src), "=r" (c), "=r" (temp), "=r" (trick), "=r" (src) : |
c | 182 | include/asm-sparc/string.h | "0" (src), "1" (c), "2" (temp), "3" (trick), "4" (src)); |
c | 276 | include/asm-sparc/string.h | extern __inline__ void *memset(void *src, int c, size_t count) |
c | 286 | include/asm-sparc/string.h | "=r" (retval), "=r" (src), "=r" (c), "=r" (count) : |
c | 287 | include/asm-sparc/string.h | "0" (retval), "1" (src), "2" (c), "3" (count)); |
c | 140 | include/linux/cdu31a.h | #define SONY_HWC_GET_LOAD_MECH(c) (c.hw_config[0] & 0x03) |
c | 141 | include/linux/cdu31a.h | #define SONY_HWC_EJECT(c) (c.hw_config[0] & 0x04) |
c | 142 | include/linux/cdu31a.h | #define SONY_HWC_LED_SUPPORT(c) (c.hw_config[0] & 0x08) |
c | 143 | include/linux/cdu31a.h | #define SONY_HWC_DOUBLE_SPEED(c) (c.hw_config[0] & 0x10) |
c | 144 | include/linux/cdu31a.h | #define SONY_HWC_GET_BUF_MEM_SIZE(c) ((c.hw_config[0] & 0xc0) >> 6) |
c | 145 | include/linux/cdu31a.h | #define SONY_HWC_AUDIO_PLAYBACK(c) (c.hw_config[1] & 0x01) |
c | 146 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME(c) (c.hw_config[1] & 0x02) |
c | 147 | 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 | 39 | include/linux/ioctl.h | #define _IO(c,d) (IOC_VOID | ((c)<<8) | (d)) /* param encoded */ |
c | 44 | include/linux/ioctl.h | #define _IOW(c,d,t) (IOC_IN | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 45 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 46 | include/linux/ioctl.h | #define _IOR(c,d,t) (IOC_OUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 47 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 49 | include/linux/ioctl.h | #define _IOWR(c,d,t) (IOC_INOUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 50 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 351 | include/linux/sbpcd.h | u_char c[4]; |
c | 358 | include/linux/sbpcd.h | u_char c[4]; |
c | 59 | kernel/printk.c | char c; |
c | 87 | kernel/printk.c | c = *((char *) log_buf+log_start); |
c | 92 | kernel/printk.c | put_fs_byte(c,buf); |
c | 117 | kernel/printk.c | c = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1))); |
c | 118 | kernel/printk.c | put_fs_byte(c, buf++); |
c | 112 | kernel/sched.c | int c; |
c | 175 | kernel/sched.c | c = -1000; |
c | 182 | kernel/sched.c | if (p->counter > c) |
c | 183 | kernel/sched.c | c = p->counter, next = p; |
c | 187 | kernel/sched.c | if (!c) { |
c | 90 | lib/string.c | char * strchr(const char * s,char c) |
c | 92 | lib/string.c | for(; *s != c; ++s) |
c | 168 | lib/string.c | void * memset(void * s,char c,size_t count) |
c | 173 | lib/string.c | *xs++ = c; |
c | 232 | lib/string.c | void * memscan(void * addr, unsigned char c, size_t size) |
c | 237 | 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 | 322 | net/inet/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
c | 323 | net/inet/sock.c | if (c) |
c | 328 | net/inet/sock.c | sk->wmem_alloc+= c->mem_len; |
c | 331 | net/inet/sock.c | return c; |
c | 345 | net/inet/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
c | 346 | net/inet/sock.c | if (c) |
c | 351 | net/inet/sock.c | sk->rmem_alloc += c->mem_len; |
c | 354 | net/inet/sock.c | return(c); |
c | 1991 | net/inet/tcp.c | char c = sk->urg_data; |
c | 1994 | net/inet/tcp.c | put_fs_byte(c, to); |