tag | line | file | source code |
c | 298 | arch/alpha/lib/io.c | void memset_io(unsigned long dst, int c, unsigned long count) |
c | 302 | 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 | 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 | 132 | arch/i386/boot/compressed/misc.c | char c; |
c | 137 | arch/i386/boot/compressed/misc.c | while ( ( c = *s++ ) != '\0' ) { |
c | 138 | arch/i386/boot/compressed/misc.c | if ( c == '\n' ) { |
c | 145 | arch/i386/boot/compressed/misc.c | vidmem [ ( x + cols * y ) * 2 ] = c; |
c | 160 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
c | 165 | arch/i386/boot/compressed/misc.c | for (i=0;i<n;i++) ss[i] = c; |
c | 188 | arch/i386/boot/compressed/misc.c | register ulg c; /* temporary variable */ |
c | 193 | arch/i386/boot/compressed/misc.c | c = 0xffffffffL; |
c | 195 | arch/i386/boot/compressed/misc.c | c = crc; |
c | 197 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |
c | 200 | arch/i386/boot/compressed/misc.c | crc = c; |
c | 201 | arch/i386/boot/compressed/misc.c | return c ^ 0xffffffffL; /* (instead of ~c for 64-bit machines) */ |
c | 270 | arch/i386/boot/compressed/misc.c | unsigned long c; /* crc shift register */ |
c | 287 | arch/i386/boot/compressed/misc.c | c = 0; |
c | 290 | arch/i386/boot/compressed/misc.c | c = c & 1 ? (c >> 1) ^ e : c >> 1; |
c | 292 | arch/i386/boot/compressed/misc.c | c ^= e; |
c | 294 | 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 | 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 | 83 | arch/i386/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
c | 106 | arch/i386/kernel/setup.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
c | 116 | arch/i386/kernel/setup.c | c = *(from++); |
c | 117 | arch/i386/kernel/setup.c | if (!c) |
c | 121 | 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 | 64 | arch/sparc/kernel/setup.c | unsigned char c; |
c | 66 | arch/sparc/kernel/setup.c | while ((c = *(p++)) != 0) |
c | 68 | arch/sparc/kernel/setup.c | if (c == '\n') |
c | 70 | arch/sparc/kernel/setup.c | prom_putchar(c); |
c | 37 | arch/sparc/prom/console.c | prom_nbputchar(char c) |
c | 43 | arch/sparc/prom/console.c | return (*(romvec->pv_nbputchar))(c); |
c | 48 | arch/sparc/prom/console.c | outc = c; |
c | 68 | arch/sparc/prom/console.c | prom_putchar(char c) |
c | 70 | arch/sparc/prom/console.c | while(prom_nbputchar(c) == -1) ; |
c | 3770 | drivers/block/floppy.c | char **environ,*env,*ptr,c,i; |
c | 3783 | drivers/block/floppy.c | c = (char)get_fs_byte(env++); |
c | 3784 | drivers/block/floppy.c | if ( c== ' ' || !c ){ |
c | 3790 | drivers/block/floppy.c | if (!c) |
c | 3793 | drivers/block/floppy.c | *ptr++ = c; |
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 | 113 | drivers/block/ide-cd.c | unsigned char c[12]; |
c | 370 | drivers/block/ide-cd.c | failed_command->c[0] == SCMD_READ_SUBCHANNEL && |
c | 432 | drivers/block/ide-cd.c | for (i=0; i<sizeof (failed_command->c); i++) |
c | 433 | drivers/block/ide-cd.c | printk ("%02x ", failed_command->c[i]); |
c | 492 | drivers/block/ide-cd.c | pc->c[0] = REQUEST_SENSE; |
c | 493 | drivers/block/ide-cd.c | pc->c[4] = sizeof (*reqbuf); |
c | 601 | drivers/block/ide-cd.c | if (pc->c[0] != SCMD_READ_SUBCHANNEL) |
c | 1056 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
c | 1057 | drivers/block/ide-cd.c | pc.c[0] = READ_10; |
c | 1058 | drivers/block/ide-cd.c | pc.c[7] = (nframes >> 8); |
c | 1059 | drivers/block/ide-cd.c | pc.c[8] = (nframes & 0xff); |
c | 1068 | drivers/block/ide-cd.c | pc.c[2] = conv.b.b3; |
c | 1069 | drivers/block/ide-cd.c | pc.c[3] = conv.b.b2; |
c | 1070 | drivers/block/ide-cd.c | pc.c[4] = conv.b.b1; |
c | 1071 | drivers/block/ide-cd.c | pc.c[5] = conv.b.b0; |
c | 1074 | drivers/block/ide-cd.c | if (cdrom_transfer_packet_command (dev, pc.c, sizeof (pc.c))) |
c | 1151 | drivers/block/ide-cd.c | if (pc->c[0] == REQUEST_SENSE && pc->buflen > 0 && pc->buflen <= 5) { |
c | 1251 | drivers/block/ide-cd.c | if (cdrom_transfer_packet_command (dev, pc->c, sizeof (pc->c))) |
c | 1336 | drivers/block/ide-cd.c | if (pc->c[0] == REQUEST_SENSE || cdrom_request_sense (dev, reqbuf)) |
c | 1389 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 1390 | drivers/block/ide-cd.c | char d = c[0]; |
c | 1391 | drivers/block/ide-cd.c | c[0] = c[1]; |
c | 1392 | drivers/block/ide-cd.c | c[1] = d; |
c | 1399 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 1400 | drivers/block/ide-cd.c | char d = c[0]; |
c | 1401 | drivers/block/ide-cd.c | c[0] = c[3]; |
c | 1402 | drivers/block/ide-cd.c | c[3] = d; |
c | 1403 | drivers/block/ide-cd.c | d = c[1]; |
c | 1404 | drivers/block/ide-cd.c | c[1] = c[2]; |
c | 1405 | drivers/block/ide-cd.c | c[2] = d; |
c | 1442 | drivers/block/ide-cd.c | pc.c[0] = TEST_UNIT_READY; |
c | 1455 | drivers/block/ide-cd.c | pc.c[0] = REQUEST_SENSE; |
c | 1456 | drivers/block/ide-cd.c | pc.c[4] = sizeof (*reqbuf); |
c | 1473 | drivers/block/ide-cd.c | pc.c[0] = ALLOW_MEDIUM_REMOVAL; |
c | 1474 | drivers/block/ide-cd.c | pc.c[4] = (lockflag != 0); |
c | 1489 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1490 | drivers/block/ide-cd.c | pc.c[4] = 2 + (ejectflag != 0); |
c | 1502 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PAUSE_RESUME; |
c | 1503 | drivers/block/ide-cd.c | pc.c[8] = !pauseflag; |
c | 1515 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1516 | drivers/block/ide-cd.c | pc.c[1] = 1; |
c | 1517 | drivers/block/ide-cd.c | pc.c[4] = startflag; |
c | 1532 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_TOC; |
c | 1533 | drivers/block/ide-cd.c | pc.c[6] = trackno; |
c | 1534 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1535 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1536 | drivers/block/ide-cd.c | if (msf_flag) pc.c[1] = 2; |
c | 1617 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_SUBCHANNEL; |
c | 1618 | drivers/block/ide-cd.c | pc.c[2] = 0x40; /* request subQ data */ |
c | 1619 | drivers/block/ide-cd.c | pc.c[3] = 0x01; /* Format 1: current position */ |
c | 1620 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1621 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1637 | drivers/block/ide-cd.c | pc.c[0] = MODE_SENSE_10; |
c | 1638 | drivers/block/ide-cd.c | pc.c[2] = pageno | (modeflag << 6); |
c | 1639 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1640 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1654 | drivers/block/ide-cd.c | pc.c[0] = MODE_SELECT_10; |
c | 1655 | drivers/block/ide-cd.c | pc.c[1] = 0x10; |
c | 1656 | drivers/block/ide-cd.c | pc.c[2] = pageno; |
c | 1657 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1658 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1670 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO12; |
c | 1671 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba_start; |
c | 1672 | drivers/block/ide-cd.c | *(int *)(&pc.c[6]) = lba_end - lba_start; |
c | 1673 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
c | 1674 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[6])); |
c | 1687 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO_MSF; |
c | 1688 | drivers/block/ide-cd.c | lba_to_msf (lba_start, &pc.c[3], &pc.c[4], &pc.c[5]); |
c | 1689 | drivers/block/ide-cd.c | lba_to_msf (lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]); |
c | 1693 | drivers/block/ide-cd.c | pc.c[3] = bin2bcd (pc.c[3]); |
c | 1694 | drivers/block/ide-cd.c | pc.c[4] = bin2bcd (pc.c[4]); |
c | 1695 | drivers/block/ide-cd.c | pc.c[5] = bin2bcd (pc.c[5]); |
c | 1696 | drivers/block/ide-cd.c | pc.c[6] = bin2bcd (pc.c[6]); |
c | 1697 | drivers/block/ide-cd.c | pc.c[7] = bin2bcd (pc.c[7]); |
c | 1698 | drivers/block/ide-cd.c | pc.c[8] = bin2bcd (pc.c[8]); |
c | 1982 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
c | 1984 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
c | 2349 | drivers/block/ide.c | static void sub22 (char b, char c) |
c | 2357 | drivers/block/ide.c | outb_p(c,0xb4); |
c | 2359 | drivers/block/ide.c | if(__inb(0xb4) == c) { |
c | 563 | drivers/block/mcd.c | char a, b, c, d; |
c | 567 | drivers/block/mcd.c | getValue(&c); |
c | 765 | drivers/block/mcdx.c | char c; |
c | 768 | drivers/block/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
c | 1246 | drivers/block/mcdx.c | static unsigned int bcd2uint(unsigned char c) |
c | 1247 | drivers/block/mcdx.c | { return (c >> 4) * 10 + (c & 0x0f); } |
c | 800 | drivers/block/sbpcd.c | msf.c[3] = 0; |
c | 801 | drivers/block/sbpcd.c | msf.c[2] = (blk + CD_BLOCK_OFFSET) / (CD_SECS * CD_FRAMES); |
c | 803 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
c | 804 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
c | 839 | drivers/block/sbpcd.c | i=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET; |
c | 273 | drivers/block/sjcd.c | unsigned char b, unsigned char c, unsigned char d ){ |
c | 280 | drivers/block/sjcd.c | outb( c, SJCDPORT( 0 ) ); |
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 | 317 | drivers/char/console.c | static void memsetw(void * s, unsigned short c, unsigned int count) |
c | 324 | drivers/char/console.c | scr_writew(c, addr++); |
c | 1414 | drivers/char/console.c | int c, tc, ok, n = 0; |
c | 1434 | drivers/char/console.c | c = from_user ? get_user(buf) : *buf; |
c | 1440 | drivers/char/console.c | if(c > 0x7f) { |
c | 1441 | drivers/char/console.c | if (utf_count > 0 && (c & 0xc0) == 0x80) { |
c | 1442 | drivers/char/console.c | utf_char = (utf_char << 6) | (c & 0x3f); |
c | 1445 | drivers/char/console.c | tc = c = utf_char; |
c | 1448 | drivers/char/console.c | if ((c & 0xe0) == 0xc0) { |
c | 1450 | drivers/char/console.c | utf_char = (c & 0x1f); |
c | 1451 | drivers/char/console.c | } else if ((c & 0xf0) == 0xe0) { |
c | 1453 | drivers/char/console.c | utf_char = (c & 0x0f); |
c | 1454 | drivers/char/console.c | } else if ((c & 0xf8) == 0xf0) { |
c | 1456 | drivers/char/console.c | utf_char = (c & 0x07); |
c | 1457 | drivers/char/console.c | } else if ((c & 0xfc) == 0xf8) { |
c | 1459 | drivers/char/console.c | utf_char = (c & 0x03); |
c | 1460 | drivers/char/console.c | } else if ((c & 0xfe) == 0xfc) { |
c | 1462 | drivers/char/console.c | utf_char = (c & 0x01); |
c | 1468 | drivers/char/console.c | tc = c; |
c | 1472 | drivers/char/console.c | tc = translate[toggle_meta ? (c|0x80) : c]; |
c | 1484 | drivers/char/console.c | ok = (tc && (c >= 32 || (!utf && !(((disp_ctrl ? CTRL_ALWAYS |
c | 1485 | drivers/char/console.c | : CTRL_ACTION) >> c) & 1)))); |
c | 1499 | drivers/char/console.c | tc = c; |
c | 1527 | drivers/char/console.c | switch (c) { |
c | 1576 | drivers/char/console.c | switch (c) { |
c | 1629 | drivers/char/console.c | if (c=='P') { /* palette escape sequence */ |
c | 1635 | drivers/char/console.c | } else if (c=='R') { /* reset palette */ |
c | 1642 | drivers/char/console.c | if ( (c>='0'&&c<='9') || (c>='A'&&c<='F') || (c>='a'&&c<='f') ) { |
c | 1643 | drivers/char/console.c | par[npar++] = (c>'9' ? (c&0xDF)-'A'+10 : c-'0') ; |
c | 1663 | drivers/char/console.c | if (c == '[') { /* Function key */ |
c | 1667 | drivers/char/console.c | ques = (c=='?'); |
c | 1671 | drivers/char/console.c | if (c==';' && npar<NPAR-1) { |
c | 1674 | drivers/char/console.c | } else if (c>='0' && c<='9') { |
c | 1676 | drivers/char/console.c | par[npar] += c-'0'; |
c | 1681 | drivers/char/console.c | switch(c) { |
c | 1700 | drivers/char/console.c | switch(c) { |
c | 1809 | drivers/char/console.c | switch (c) { |
c | 1824 | drivers/char/console.c | if (c == '8') { |
c | 1834 | drivers/char/console.c | if (c == '0') |
c | 1836 | drivers/char/console.c | else if (c == 'B') |
c | 1838 | drivers/char/console.c | else if (c == 'U') |
c | 1840 | drivers/char/console.c | else if (c == 'K') |
c | 1847 | drivers/char/console.c | if (c == '0') |
c | 1849 | drivers/char/console.c | else if (c == 'B') |
c | 1851 | drivers/char/console.c | else if (c == 'U') |
c | 1853 | drivers/char/console.c | else if (c == 'K') |
c | 1898 | drivers/char/console.c | unsigned char c; |
c | 1911 | drivers/char/console.c | while ((c = *(b++)) != 0) { |
c | 1912 | drivers/char/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1913 | drivers/char/console.c | if (c != 13) |
c | 1916 | drivers/char/console.c | if (c == 10 || c == 13) |
c | 1919 | drivers/char/console.c | scr_writew((attr << 8) + c, (unsigned short *) pos); |
c | 202 | drivers/char/consolemap.c | unsigned char inverse_translate(unsigned char c) { |
c | 203 | 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 | 1568 | drivers/char/cyclades.c | int c, total = 0; |
c | 1584 | drivers/char/cyclades.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1586 | drivers/char/cyclades.c | if (c <= 0){ |
c | 1593 | drivers/char/cyclades.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1594 | drivers/char/cyclades.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1596 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1599 | drivers/char/cyclades.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1600 | drivers/char/cyclades.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1601 | drivers/char/cyclades.c | info->xmit_cnt += c; |
c | 1603 | drivers/char/cyclades.c | buf += c; |
c | 1604 | drivers/char/cyclades.c | count -= c; |
c | 1605 | 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_user(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 | 746 | drivers/char/n_tty.c | int c; |
c | 858 | drivers/char/n_tty.c | c = tty->read_buf[tty->read_tail]; |
c | 864 | drivers/char/n_tty.c | put_user(c, b++); |
c | 872 | drivers/char/n_tty.c | if (c != __DISABLED_CHAR) { |
c | 873 | drivers/char/n_tty.c | put_user(c, b++); |
c | 918 | drivers/char/n_tty.c | int c; |
c | 942 | drivers/char/n_tty.c | c = get_user(b); |
c | 943 | drivers/char/n_tty.c | if (opost(c, tty) < 0) |
c | 950 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
c | 951 | drivers/char/n_tty.c | b += c; |
c | 952 | drivers/char/n_tty.c | nr -= c; |
c | 382 | drivers/char/psaux.c | unsigned char c; |
c | 398 | drivers/char/psaux.c | c = get_from_queue(); |
c | 399 | drivers/char/psaux.c | put_user(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 | 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 | 1298 | drivers/char/serial.c | int c, total = 0; |
c | 1311 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1313 | drivers/char/serial.c | if (c <= 0) |
c | 1318 | drivers/char/serial.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1319 | drivers/char/serial.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1321 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1324 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1325 | drivers/char/serial.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1326 | drivers/char/serial.c | info->xmit_cnt += c; |
c | 1328 | drivers/char/serial.c | buf += c; |
c | 1329 | drivers/char/serial.c | count -= c; |
c | 1330 | 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 | 1280 | drivers/char/tty_io.c | char *c, *d; |
c | 1289 | drivers/char/tty_io.c | c = (char *)(*p); |
c | 1292 | drivers/char/tty_io.c | put_user(*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 | 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 | 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 | 769 | drivers/net/ppp.c | ppp_enqueue(struct ppp *ppp, unsigned char c) |
c | 776 | drivers/net/ppp.c | *ppp->rhead = c; |
c | 866 | drivers/net/ppp.c | ppp_unesc(struct ppp *ppp, unsigned char *c, int n) |
c | 870 | drivers/net/ppp.c | for (i = 0; i < n; i++, c++) { |
c | 871 | drivers/net/ppp.c | PRINTKN (6,(KERN_DEBUG "(%x)", (unsigned int) *c)); |
c | 874 | drivers/net/ppp.c | if (*c & 0x80) |
c | 879 | drivers/net/ppp.c | if (paritytab[*c >> 5] & (1 << (*c & 0x1F))) |
c | 885 | drivers/net/ppp.c | switch (*c) { |
c | 904 | drivers/net/ppp.c | if (!in_rmap (ppp, *c)) { |
c | 906 | drivers/net/ppp.c | ppp_enqueue (ppp, *c ^ ppp->escape); |
c | 925 | drivers/net/ppp.c | unsigned char c; |
c | 944 | drivers/net/ppp.c | c = *cp++; |
c | 953 | drivers/net/ppp.c | if (c & 0x80) |
c | 958 | drivers/net/ppp.c | if (paritytab[c >> 5] & (1 << (c & 0x1F))) |
c | 964 | drivers/net/ppp.c | switch (c) { |
c | 983 | drivers/net/ppp.c | if (!in_rmap (ppp, c)) { |
c | 985 | drivers/net/ppp.c | ppp_enqueue (ppp, c ^ ppp->escape); |
c | 998 | drivers/net/ppp.c | u_char *c = ppp->rbuff; |
c | 1016 | drivers/net/ppp.c | ppp_print_buffer ("receive frame", c, count, KERNEL_DS); |
c | 1037 | drivers/net/ppp.c | if ((c[0] == PPP_ADDRESS) && (c[1] == PPP_CONTROL)) { |
c | 1038 | drivers/net/ppp.c | c = c + 2; /* ADDR/CTRL not compressed, so skip */ |
c | 1042 | drivers/net/ppp.c | proto = (u_short) *c++; /* PROTO compressed */ |
c | 1046 | drivers/net/ppp.c | proto = (proto << 8) | (u_short) *c++; /* PROTO uncompressed */ |
c | 1051 | drivers/net/ppp.c | if ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) { |
c | 1062 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, c, count+2)) { |
c | 1080 | drivers/net/ppp.c | ppp_do_ip (struct ppp *ppp, unsigned short proto, unsigned char *c, |
c | 1087 | drivers/net/ppp.c | (int) proto, count, c[0])); |
c | 1119 | drivers/net/ppp.c | count = slhc_uncompress(ppp->slcomp, c, count); |
c | 1131 | drivers/net/ppp.c | if (slhc_remember(ppp->slcomp, c, count) <= 0) { |
c | 1146 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) c; |
c | 1157 | drivers/net/ppp.c | memcpy(skb_put(skb,count), c,count); |
c | 1168 | drivers/net/ppp.c | #define PUTC(c,label) *ppp->us_rbuff_head++ = c; \ |
c | 1173 | drivers/net/ppp.c | #define GETC(c) c = *ppp->us_rbuff_tail++; \ |
c | 1244 | drivers/net/ppp.c | unsigned char c; |
c | 1274 | drivers/net/ppp.c | GETC (c); len = c << 8; GETC (c); len += c; |
c | 1296 | drivers/net/ppp.c | GETC (c); |
c | 1297 | drivers/net/ppp.c | put_user (c, buf++); |
c | 1321 | drivers/net/ppp.c | ppp_stuff_char(struct ppp *ppp, unsigned char c) |
c | 1328 | drivers/net/ppp.c | if (in_xmap (ppp, c)) { |
c | 1330 | drivers/net/ppp.c | *ppp->xhead++ = c ^ PPP_TRANS; |
c | 1332 | drivers/net/ppp.c | *ppp->xhead++ = c; |
c | 1333 | drivers/net/ppp.c | ppp->fcs = (ppp->fcs >> 8) ^ fcstab[(ppp->fcs ^ c) & 0xff]; |
c | 1987 | drivers/net/ppp.c | unsigned char *c = ppp->rbuff; |
c | 1990 | drivers/net/ppp.c | for (i = 0; i < ppp->rcount - 2; i++, c++) |
c | 1991 | drivers/net/ppp.c | fcs = (fcs >> 8) ^ fcstab[(fcs ^ *c) & 0xff]; |
c | 1994 | drivers/net/ppp.c | msgfcs = (c[1] << 8) + c[0]; |
c | 94 | drivers/net/slip.c | static void slip_unesc(struct slip *sl, unsigned char c); |
c | 97 | drivers/net/slip.c | static void slip_unesc6(struct slip *sl, unsigned char c); |
c | 286 | drivers/net/slip.c | unsigned char c; |
c | 287 | drivers/net/slip.c | if ((c = sl->rbuff[0]) & SL_TYPE_COMPRESSED_TCP) { |
c | 302 | drivers/net/slip.c | } else if (c >= SL_TYPE_UNCOMPRESSED_TCP) { |
c | 780 | drivers/net/slip.c | unsigned char c; |
c | 796 | drivers/net/slip.c | switch(c = *s++) { |
c | 806 | drivers/net/slip.c | *ptr++ = c; |
c | 861 | drivers/net/slip.c | unsigned char c; |
c | 883 | drivers/net/slip.c | c = 0x30 + ((v >> bits) & 0x3F); |
c | 884 | drivers/net/slip.c | *ptr++ = c; |
c | 888 | drivers/net/slip.c | c = 0x30 + ((v << (6 - bits)) & 0x3F); |
c | 889 | drivers/net/slip.c | *ptr++ = c; |
c | 898 | drivers/net/slip.c | unsigned char c; |
c | 912 | drivers/net/slip.c | c = (unsigned char)(sl->xdata >> sl->xbits); |
c | 915 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = c; |
c | 1656 | drivers/net/wavelan.c | unsigned char c; |
c | 1658 | drivers/net/wavelan.c | c = skb->data[i]; |
c | 1659 | drivers/net/wavelan.c | if (c >= ' ' && c <= '~') |
c | 1397 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1398 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1410 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
c | 1414 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
c | 1416 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
c | 1435 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1436 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1469 | drivers/scsi/53c7,8xx.c | c->host_scribble = NULL; |
c | 1470 | drivers/scsi/53c7,8xx.c | c->result = result; |
c | 1471 | drivers/scsi/53c7,8xx.c | c->scsi_done(c); |
c | 1493 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1686 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1701 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
c | 1725 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
c | 1737 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1746 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1764 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
c | 1772 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
c | 1814 | drivers/scsi/53c7,8xx.c | if (!c) { |
c | 1825 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 1846 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
c | 1847 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
c | 1848 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
c | 1849 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
c | 1850 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
c | 1851 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
c | 1862 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
c | 1863 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = virt_to_bus(c->sense_buffer); |
c | 3850 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_cmd * c; |
c | 3862 | drivers/scsi/53c7,8xx.c | for (c = (struct NCR53c7x0_cmd *) hostdata->running_list, found = 0; c; |
c | 3863 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) c->next) { |
c | 3864 | drivers/scsi/53c7,8xx.c | tmp = c->cmd; |
c | 3865 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3866 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 3874 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) cmd->host_scribble; |
c | 3875 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 3876 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3877 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 1469 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1517 | drivers/scsi/NCR5380.c | if (!((p & SR_MSG) && c > 1)) { |
c | 1558 | drivers/scsi/NCR5380.c | if (!(p == PHASE_MSGIN && c == 1)) { |
c | 1559 | drivers/scsi/NCR5380.c | if (p == PHASE_MSGOUT && c > 1) |
c | 1564 | drivers/scsi/NCR5380.c | } while (--c); |
c | 1567 | drivers/scsi/NCR5380.c | printk("scsi%d : residual %d\n", instance->host_no, c); |
c | 1570 | drivers/scsi/NCR5380.c | *count = c; |
c | 1578 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
c | 1608 | drivers/scsi/NCR5380.c | register int c = *count; |
c | 1630 | drivers/scsi/NCR5380.c | c -= 2; |
c | 1636 | drivers/scsi/NCR5380.c | "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d); |
c | 1639 | drivers/scsi/NCR5380.c | NCR5380_dma_read_setup(instance, d, c) : |
c | 1640 | drivers/scsi/NCR5380.c | NCR5380_dma_write_setup(instance, d, c); |
c | 1764 | drivers/scsi/NCR5380.c | c -= residue; |
c | 1765 | drivers/scsi/NCR5380.c | *count -= c; |
c | 1766 | drivers/scsi/NCR5380.c | *data += c; |
c | 1801 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pread(instance, d, c - 1))) { |
c | 1827 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
c | 1831 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pwrite(instance, d, c))) { |
c | 1882 | drivers/scsi/NCR5380.c | *data = d + c; |
c | 566 | drivers/scsi/aic7xxx_asm.c | int c; |
c | 568 | drivers/scsi/aic7xxx_asm.c | while ((c = getopt(argc, argv, "dho:vD")) != EOF) { |
c | 569 | drivers/scsi/aic7xxx_asm.c | switch (c) { |
c | 185 | drivers/sound/audio.c | int c, p, l; |
c | 191 | drivers/sound/audio.c | c = count; |
c | 215 | drivers/sound/audio.c | while (c) |
c | 235 | drivers/sound/audio.c | l = c; |
c | 265 | drivers/sound/audio.c | c -= l; |
c | 287 | drivers/sound/audio.c | int c, p, l; |
c | 293 | drivers/sound/audio.c | c = count; |
c | 307 | drivers/sound/audio.c | while (c) |
c | 320 | drivers/sound/audio.c | if (l > c) |
c | 321 | drivers/sound/audio.c | l = c; |
c | 344 | drivers/sound/audio.c | c -= l; |
c | 347 | drivers/sound/audio.c | return count - c; |
c | 1327 | drivers/sound/configure.c | char c; |
c | 1338 | drivers/sound/configure.c | count = read (fd, &c, 1); |
c | 1343 | drivers/sound/configure.c | fprintf (sf, "0x%02x,", c & 0xFFL); |
c | 376 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 380 | drivers/sound/dmabuf.c | int p = dmap->counts[dmap->qhead] + c; |
c | 1003 | drivers/sound/dmabuf.c | DMAbuf_rmchars (int dev, int buff_no, int c) |
c | 19 | drivers/sound/hex2hex.h | int i,l, c; |
c | 37 | drivers/sound/hex2hex.h | while ((c=getc(inf))!=EOF) |
c | 39 | drivers/sound/hex2hex.h | if (c == ':') /* Sync with beginning of line */ |
c | 64 | drivers/sound/hex2hex.h | if (fscanf(inf, "%02x", &c) != 1) |
c | 68 | drivers/sound/hex2hex.h | buf[addr++] = c; |
c | 71 | drivers/sound/hex2hex.h | sum += 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 | 414 | drivers/sound/mpu401.c | unsigned char c = read_data (devc->base); |
c | 418 | drivers/sound/mpu401.c | mpu_input_scanner (devc, c); |
c | 421 | drivers/sound/mpu401.c | devc->inputintr (devc->devno, c); |
c | 62 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
c | 63 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
c | 64 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
c | 65 | drivers/sound/os.h | #define IOCTL_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (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 | 101 | drivers/sound/sequencer.c | int c = count, p = 0; |
c | 132 | drivers/sound/sequencer.c | while (iqlen && c >= ev_len) |
c | 137 | drivers/sound/sequencer.c | c -= ev_len; |
c | 144 | drivers/sound/sequencer.c | return count - c; |
c | 241 | drivers/sound/sequencer.c | int p = 0, c, ev_size; |
c | 257 | drivers/sound/sequencer.c | c = count; |
c | 259 | drivers/sound/sequencer.c | while (c >= 4) |
c | 275 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0); |
c | 292 | drivers/sound/sequencer.c | if (c < ev_size) |
c | 296 | drivers/sound/sequencer.c | return count - c; |
c | 343 | drivers/sound/sequencer.c | int processed = count - c; |
c | 355 | 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 | 284 | drivers/sound/sound_switch.c | int l, c; |
c | 287 | drivers/sound/sound_switch.c | c = status_len - status_ptr; |
c | 289 | drivers/sound/sound_switch.c | if (l > c) |
c | 290 | 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 | 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_user(c,buffer++); |
c | 239 | fs/ext2/file.c | int written, c; |
c | 278 | fs/ext2/file.c | c = sb->s_blocksize - offset; |
c | 292 | fs/ext2/file.c | count -= c; |
c | 294 | fs/ext2/file.c | c += count; |
c | 295 | fs/ext2/file.c | if (c != sb->s_blocksize && !bh->b_uptodate) { |
c | 305 | fs/ext2/file.c | pos2 += c; |
c | 306 | fs/ext2/file.c | pos += c; |
c | 307 | fs/ext2/file.c | written += c; |
c | 308 | fs/ext2/file.c | memcpy_fromfs (bh->b_data + offset, buf, c); |
c | 309 | fs/ext2/file.c | buf += c; |
c | 330 | 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 | 758 | fs/ext2/namei.c | char c; |
c | 789 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) |
c | 790 | 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_user (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 | 947 | fs/hpfs/hpfs_fs.c | unsigned c; |
c | 952 | fs/hpfs/hpfs_fs.c | c = *p++; |
c | 953 | fs/hpfs/hpfs_fs.c | if (c < ' ') |
c | 954 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
c | 956 | fs/hpfs/hpfs_fs.c | else if (c == '\t' || c == '\n'); |
c | 959 | fs/hpfs/hpfs_fs.c | else if (c < '\177') |
c | 981 | fs/hpfs/hpfs_fs.c | unsigned c = *in++; |
c | 982 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
c | 984 | fs/hpfs/hpfs_fs.c | put_user(c, out++); |
c | 82 | fs/isofs/dir.c | int i, c; |
c | 85 | fs/isofs/dir.c | c = old[i]; |
c | 86 | fs/isofs/dir.c | if (!c) |
c | 88 | fs/isofs/dir.c | if (c >= 'A' && c <= 'Z') |
c | 89 | fs/isofs/dir.c | c |= 0x20; /* lower case */ |
c | 92 | fs/isofs/dir.c | if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') |
c | 96 | fs/isofs/dir.c | if (c == ';' && i == len - 2 && old[i + 1] == '1') |
c | 100 | fs/isofs/dir.c | if (c == ';') |
c | 101 | fs/isofs/dir.c | c = '.'; |
c | 103 | fs/isofs/dir.c | new[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_user(c,buffer++); |
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_user(c,buffer++); |
c | 70 | fs/msdos/dir.c | char c; |
c | 97 | fs/msdos/dir.c | if (!(c = de->name[i])) break; |
c | 98 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 99 | fs/msdos/dir.c | if (c != ' ') |
c | 101 | fs/msdos/dir.c | ptname[i] = c; |
c | 107 | fs/msdos/dir.c | if (!(c = de->ext[i2])) break; |
c | 108 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 109 | fs/msdos/dir.c | if (c != ' ') |
c | 111 | 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_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 | 173 | fs/proc/array.c | int a, b, c; |
c | 177 | fs/proc/array.c | c = avenrun[2] + (FIXED_1/200); |
c | 181 | fs/proc/array.c | LOAD_INT(c), LOAD_FRAC(c), |
c | 321 | fs/proc/array.c | char c; |
c | 330 | fs/proc/array.c | c = *(char *) addr; |
c | 331 | fs/proc/array.c | if (!c) |
c | 334 | fs/proc/array.c | buffer[size++] = c; |
c | 339 | 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 | 91 | fs/proc/root.c | unsigned int pid, c; |
c | 115 | fs/proc/root.c | c = *name - '0'; |
c | 117 | fs/proc/root.c | if (c > 9) { |
c | 122 | fs/proc/root.c | pid += c; |
c | 353 | fs/smbfs/proc.c | print_char(char c) |
c | 355 | fs/smbfs/proc.c | if ((c < ' ') || (c > '~')) |
c | 357 | fs/smbfs/proc.c | return c; |
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_user(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_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 | 124 | include/asm-alpha/io.h | #define memset_io(addr,c,len) (memset_io)((unsigned long)(addr),(c),(len)) |
c | 9 | include/asm-alpha/string.h | #define memset(s, c, count) \ |
c | 10 | include/asm-alpha/string.h | (__builtin_constant_p(c) ? \ |
c | 11 | include/asm-alpha/string.h | __constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \ |
c | 12 | 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 | 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 | 92 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \ |
c | 104 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \ |
c | 132 | include/asm-i386/string.h | extern inline char * strchr(const char * s, int c) |
c | 146 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 151 | include/asm-i386/string.h | extern inline char * strrchr(const char * s, int c) |
c | 163 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 446 | include/asm-i386/string.h | extern inline void * memchr(const void * cs,int c,size_t count) |
c | 458 | include/asm-i386/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 463 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
c | 470 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
c | 476 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
c | 483 | include/asm-i386/string.h | extern inline void * __constant_c_memset(void * s, unsigned long c, size_t count) |
c | 496 | include/asm-i386/string.h | :"a" (c), "q" (count), "c" (count/4), "D" ((long) s) |
c | 542 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
c | 544 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
c | 545 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
c | 547 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
c | 549 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
c | 550 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
c | 553 | include/asm-i386/string.h | #define memset(s, c, count) \ |
c | 554 | include/asm-i386/string.h | (__builtin_constant_p(c) ? \ |
c | 555 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
c | 556 | include/asm-i386/string.h | __memset((s),(c),(count))) |
c | 562 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
c | 572 | 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 | 32 | include/asm-sparc/delay.h | extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c) |
c | 34 | include/asm-sparc/delay.h | return ((a*b)/c); |
c | 92 | include/asm-sparc/string.h | extern __inline__ char *strchr(const char *src, int c) |
c | 94 | include/asm-sparc/string.h | for(; *src != c; ++src) |
c | 154 | include/asm-sparc/string.h | extern __inline__ void *memset(void *src, int c, size_t count) |
c | 159 | include/asm-sparc/string.h | *xs++ = c; |
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 | 40 | include/linux/ioctl.h | #define _IO(c,d) (IOC_VOID | ((c)<<8) | (d)) /* param encoded */ |
c | 47 | include/linux/ioctl.h | #define _IOW(c,d,t) (IOC_IN | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 48 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 49 | include/linux/ioctl.h | #define _IOR(c,d,t) (IOC_OUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 50 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 52 | include/linux/ioctl.h | #define _IOWR(c,d,t) (IOC_INOUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 53 | include/linux/ioctl.h | ((c)<<8) | (d)) |
c | 420 | include/linux/sbpcd.h | u_char c[4]; |
c | 426 | 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_user(c,buf); |
c | 117 | kernel/printk.c | c = *((char *) log_buf+(j++ & (LOG_BUF_LEN-1))); |
c | 118 | kernel/printk.c | put_user(c, buf++); |
c | 173 | kernel/sched.c | int c; |
c | 213 | kernel/sched.c | c = -1000; |
c | 216 | kernel/sched.c | if (p->counter > c) |
c | 217 | kernel/sched.c | c = p->counter, next = p; |
c | 222 | kernel/sched.c | if (!c) { |
c | 104 | lib/string.c | char * strchr(const char * s,char c) |
c | 106 | lib/string.c | for(; *s != c; ++s) |
c | 194 | lib/string.c | void * memset(void * s,char c,size_t count) |
c | 199 | lib/string.c | *xs++ = c; |
c | 268 | lib/string.c | void * memscan(void * addr, unsigned char c, size_t size) |
c | 273 | 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 | 117 | net/ax25/af_ax25.c | char c, *s; |
c | 122 | net/ax25/af_ax25.c | c = (a->ax25_call[n] >> 1) & 0x7F; |
c | 124 | net/ax25/af_ax25.c | if (c != ' ') *s++ = c; |
c | 311 | net/core/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
c | 312 | net/core/sock.c | if (c) |
c | 317 | net/core/sock.c | sk->wmem_alloc+= c->truesize; |
c | 320 | net/core/sock.c | return 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->rmem_alloc += c->truesize; |
c | 343 | net/core/sock.c | return(c); |
c | 2008 | net/ipv4/tcp.c | char c = sk->urg_data; |
c | 2011 | net/ipv4/tcp.c | put_fs_byte(c, to); |