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 | 111 | arch/i386/kernel/setup.c | if (c == ' ' && *(const unsigned long *)from == *(const unsigned long *)"mem=") { |
c | 126 | arch/i386/kernel/setup.c | c = *(from++); |
c | 127 | arch/i386/kernel/setup.c | if (!c) |
c | 131 | 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 c; |
c | 3783 | drivers/block/floppy.c | c= get_fs_byte(i); |
c | 3786 | drivers/block/floppy.c | c='\0'; |
c | 3787 | drivers/block/floppy.c | buffer[j] = c; |
c | 3788 | drivers/block/floppy.c | if(!c || c == ' ' || c == '\t'){ |
c | 3796 | drivers/block/floppy.c | if(!c) |
c | 3800 | drivers/block/floppy.c | if( (!j && !c) || |
c | 3801 | drivers/block/floppy.c | ( j && c == pattern[j-1])) |
c | 360 | drivers/block/hd.c | unsigned char c; |
c | 363 | drivers/block/hd.c | c = inb_p(HD_STATUS); |
c | 364 | drivers/block/hd.c | if ((c & (BUSY_STAT | READY_STAT | SEEK_STAT)) == STAT_OK) |
c | 367 | drivers/block/hd.c | dump_status("reset timed out", c); |
c | 371 | drivers/block/ide-cd.c | failed_command->c[0] == SCMD_READ_SUBCHANNEL && |
c | 433 | drivers/block/ide-cd.c | for (i=0; i<sizeof (failed_command->c); i++) |
c | 434 | drivers/block/ide-cd.c | printk ("%02x ", failed_command->c[i]); |
c | 515 | drivers/block/ide-cd.c | pc->c[0] = REQUEST_SENSE; |
c | 516 | drivers/block/ide-cd.c | pc->c[4] = len; |
c | 634 | drivers/block/ide-cd.c | if (pc->c[0] != SCMD_READ_SUBCHANNEL) |
c | 1125 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
c | 1126 | drivers/block/ide-cd.c | pc.c[0] = READ_10; |
c | 1127 | drivers/block/ide-cd.c | pc.c[7] = (nframes >> 8); |
c | 1128 | drivers/block/ide-cd.c | pc.c[8] = (nframes & 0xff); |
c | 1137 | drivers/block/ide-cd.c | pc.c[2] = conv.b.b3; |
c | 1138 | drivers/block/ide-cd.c | pc.c[3] = conv.b.b2; |
c | 1139 | drivers/block/ide-cd.c | pc.c[4] = conv.b.b1; |
c | 1140 | drivers/block/ide-cd.c | pc.c[5] = conv.b.b0; |
c | 1147 | drivers/block/ide-cd.c | (void) cdrom_transfer_packet_command (drive, pc.c, sizeof (pc.c)); |
c | 1207 | drivers/block/ide-cd.c | if (pc->c[0] == REQUEST_SENSE && pc->buflen > 0 && pc->buflen <= 5) { |
c | 1311 | drivers/block/ide-cd.c | cdrom_transfer_packet_command (drive, pc->c, sizeof (pc->c)); |
c | 1438 | drivers/block/ide-cd.c | (pc->c[0] != REQUEST_SENSE && |
c | 1439 | drivers/block/ide-cd.c | pc->c[0] != ALLOW_MEDIUM_REMOVAL && |
c | 1440 | drivers/block/ide-cd.c | pc->c[0] != START_STOP)) |
c | 1492 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 1493 | drivers/block/ide-cd.c | char d = c[0]; |
c | 1494 | drivers/block/ide-cd.c | c[0] = c[1]; |
c | 1495 | drivers/block/ide-cd.c | c[1] = d; |
c | 1502 | drivers/block/ide-cd.c | char *c = (char *)x; |
c | 1503 | drivers/block/ide-cd.c | char d = c[0]; |
c | 1504 | drivers/block/ide-cd.c | c[0] = c[3]; |
c | 1505 | drivers/block/ide-cd.c | c[3] = d; |
c | 1506 | drivers/block/ide-cd.c | d = c[1]; |
c | 1507 | drivers/block/ide-cd.c | c[1] = c[2]; |
c | 1508 | drivers/block/ide-cd.c | c[2] = d; |
c | 1547 | drivers/block/ide-cd.c | pc.c[0] = TEST_UNIT_READY; |
c | 1573 | drivers/block/ide-cd.c | pc.c[0] = ALLOW_MEDIUM_REMOVAL; |
c | 1574 | drivers/block/ide-cd.c | pc.c[4] = (lockflag != 0); |
c | 1607 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1608 | drivers/block/ide-cd.c | pc.c[4] = 2 + (ejectflag != 0); |
c | 1622 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PAUSE_RESUME; |
c | 1623 | drivers/block/ide-cd.c | pc.c[8] = !pauseflag; |
c | 1637 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
c | 1638 | drivers/block/ide-cd.c | pc.c[1] = 1; |
c | 1639 | drivers/block/ide-cd.c | pc.c[4] = startflag; |
c | 1659 | drivers/block/ide-cd.c | pc.c[0] = READ_CAPACITY; |
c | 1686 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_TOC; |
c | 1687 | drivers/block/ide-cd.c | pc.c[6] = trackno; |
c | 1688 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1689 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1690 | drivers/block/ide-cd.c | pc.c[9] = (format << 6); |
c | 1691 | drivers/block/ide-cd.c | if (msf_flag) pc.c[1] = 2; |
c | 1805 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_SUBCHANNEL; |
c | 1806 | drivers/block/ide-cd.c | pc.c[2] = 0x40; /* request subQ data */ |
c | 1807 | drivers/block/ide-cd.c | pc.c[3] = 0x01; /* Format 1: current position */ |
c | 1808 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1809 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1827 | drivers/block/ide-cd.c | pc.c[0] = MODE_SENSE_10; |
c | 1828 | drivers/block/ide-cd.c | pc.c[2] = pageno | (modeflag << 6); |
c | 1829 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1830 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1846 | drivers/block/ide-cd.c | pc.c[0] = MODE_SELECT_10; |
c | 1847 | drivers/block/ide-cd.c | pc.c[1] = 0x10; |
c | 1848 | drivers/block/ide-cd.c | pc.c[2] = pageno; |
c | 1849 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
c | 1850 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
c | 1864 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO12; |
c | 1865 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba_start; |
c | 1866 | drivers/block/ide-cd.c | *(int *)(&pc.c[6]) = lba_end - lba_start; |
c | 1867 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
c | 1868 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[6])); |
c | 1883 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO_MSF; |
c | 1884 | drivers/block/ide-cd.c | lba_to_msf (lba_start, &pc.c[3], &pc.c[4], &pc.c[5]); |
c | 1885 | drivers/block/ide-cd.c | lba_to_msf (lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]); |
c | 1889 | drivers/block/ide-cd.c | pc.c[3] = bin2bcd (pc.c[3]); |
c | 1890 | drivers/block/ide-cd.c | pc.c[4] = bin2bcd (pc.c[4]); |
c | 1891 | drivers/block/ide-cd.c | pc.c[5] = bin2bcd (pc.c[5]); |
c | 1892 | drivers/block/ide-cd.c | pc.c[6] = bin2bcd (pc.c[6]); |
c | 1893 | drivers/block/ide-cd.c | pc.c[7] = bin2bcd (pc.c[7]); |
c | 1894 | drivers/block/ide-cd.c | pc.c[8] = bin2bcd (pc.c[8]); |
c | 1996 | drivers/block/ide-cd.c | pc.c[0] = 0xd4; |
c | 1998 | drivers/block/ide-cd.c | pc.c[0] = READ_CD; |
c | 2000 | drivers/block/ide-cd.c | pc.c[1] = (format << 2); |
c | 2001 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba; |
c | 2002 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
c | 2003 | drivers/block/ide-cd.c | pc.c[8] = 1; /* one block */ |
c | 2004 | drivers/block/ide-cd.c | pc.c[9] = 0x10; |
c | 2423 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
c | 2425 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
c | 2426 | drivers/block/ide-cd.c | arg += sizeof (pc.c); |
c | 2326 | drivers/block/ide.c | static void sub22 (char b, char c) |
c | 2334 | drivers/block/ide.c | outb_p(c,0xb4); |
c | 2336 | drivers/block/ide.c | if(inb(0xb4) == c) { |
c | 2423 | drivers/block/ide.c | static int stridx (const char *s, char c) |
c | 2425 | drivers/block/ide.c | char *i = strchr(s, c); |
c | 2426 | drivers/block/ide.c | return (i && c) ? i - s : -1; |
c | 168 | drivers/block/ide.h | unsigned char c[12]; |
c | 562 | drivers/block/mcd.c | char a, b, c, d; |
c | 566 | drivers/block/mcd.c | getValue(&c); |
c | 861 | drivers/block/mcdx.c | char c; |
c | 864 | drivers/block/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
c | 1361 | drivers/block/mcdx.c | static unsigned int bcd2uint(unsigned char c) |
c | 1362 | drivers/block/mcdx.c | { return (c >> 4) * 10 + (c & 0x0f); } |
c | 1725 | drivers/block/mcdx.c | char c; |
c | 1727 | drivers/block/mcdx.c | if (!buf) buf = &c; |
c | 799 | drivers/block/sbpcd.c | msf.c[3] = 0; |
c | 800 | drivers/block/sbpcd.c | msf.c[2] = (blk + CD_BLOCK_OFFSET) / (CD_SECS * CD_FRAMES); |
c | 802 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
c | 803 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
c | 838 | 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 | 316 | drivers/char/console.c | static void memsetw(void * s, unsigned short c, unsigned int count) |
c | 323 | drivers/char/console.c | scr_writew(c, addr++); |
c | 1413 | drivers/char/console.c | int c, tc, ok, n = 0; |
c | 1433 | drivers/char/console.c | c = from_user ? get_user(buf) : *buf; |
c | 1439 | drivers/char/console.c | if(c > 0x7f) { |
c | 1440 | drivers/char/console.c | if (utf_count > 0 && (c & 0xc0) == 0x80) { |
c | 1441 | drivers/char/console.c | utf_char = (utf_char << 6) | (c & 0x3f); |
c | 1444 | drivers/char/console.c | tc = c = utf_char; |
c | 1447 | drivers/char/console.c | if ((c & 0xe0) == 0xc0) { |
c | 1449 | drivers/char/console.c | utf_char = (c & 0x1f); |
c | 1450 | drivers/char/console.c | } else if ((c & 0xf0) == 0xe0) { |
c | 1452 | drivers/char/console.c | utf_char = (c & 0x0f); |
c | 1453 | drivers/char/console.c | } else if ((c & 0xf8) == 0xf0) { |
c | 1455 | drivers/char/console.c | utf_char = (c & 0x07); |
c | 1456 | drivers/char/console.c | } else if ((c & 0xfc) == 0xf8) { |
c | 1458 | drivers/char/console.c | utf_char = (c & 0x03); |
c | 1459 | drivers/char/console.c | } else if ((c & 0xfe) == 0xfc) { |
c | 1461 | drivers/char/console.c | utf_char = (c & 0x01); |
c | 1467 | drivers/char/console.c | tc = c; |
c | 1471 | drivers/char/console.c | tc = translate[toggle_meta ? (c|0x80) : c]; |
c | 1483 | drivers/char/console.c | ok = (tc && (c >= 32 || (!utf && !(((disp_ctrl ? CTRL_ALWAYS |
c | 1484 | drivers/char/console.c | : CTRL_ACTION) >> c) & 1)))); |
c | 1498 | drivers/char/console.c | tc = c; |
c | 1526 | drivers/char/console.c | switch (c) { |
c | 1575 | drivers/char/console.c | switch (c) { |
c | 1628 | drivers/char/console.c | if (c=='P') { /* palette escape sequence */ |
c | 1634 | drivers/char/console.c | } else if (c=='R') { /* reset palette */ |
c | 1641 | drivers/char/console.c | if ( (c>='0'&&c<='9') || (c>='A'&&c<='F') || (c>='a'&&c<='f') ) { |
c | 1642 | drivers/char/console.c | par[npar++] = (c>'9' ? (c&0xDF)-'A'+10 : c-'0') ; |
c | 1662 | drivers/char/console.c | if (c == '[') { /* Function key */ |
c | 1666 | drivers/char/console.c | ques = (c=='?'); |
c | 1670 | drivers/char/console.c | if (c==';' && npar<NPAR-1) { |
c | 1673 | drivers/char/console.c | } else if (c>='0' && c<='9') { |
c | 1675 | drivers/char/console.c | par[npar] += c-'0'; |
c | 1680 | drivers/char/console.c | switch(c) { |
c | 1699 | drivers/char/console.c | switch(c) { |
c | 1808 | drivers/char/console.c | switch (c) { |
c | 1823 | drivers/char/console.c | if (c == '8') { |
c | 1833 | drivers/char/console.c | if (c == '0') |
c | 1835 | drivers/char/console.c | else if (c == 'B') |
c | 1837 | drivers/char/console.c | else if (c == 'U') |
c | 1839 | drivers/char/console.c | else if (c == 'K') |
c | 1846 | drivers/char/console.c | if (c == '0') |
c | 1848 | drivers/char/console.c | else if (c == 'B') |
c | 1850 | drivers/char/console.c | else if (c == 'U') |
c | 1852 | drivers/char/console.c | else if (c == 'K') |
c | 1897 | drivers/char/console.c | unsigned char c; |
c | 1910 | drivers/char/console.c | while ((c = *(b++)) != 0) { |
c | 1911 | drivers/char/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1912 | drivers/char/console.c | if (c != 13) |
c | 1915 | drivers/char/console.c | if (c == 10 || c == 13) |
c | 1918 | 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 | 174 | drivers/char/keyboard.c | static inline void send_cmd(unsigned char c) |
c | 177 | drivers/char/keyboard.c | outb(c,0x64); |
c | 186 | drivers/char/keyboard.c | void to_utf8(ushort c) { |
c | 187 | drivers/char/keyboard.c | if (c < 0x80) |
c | 188 | drivers/char/keyboard.c | put_queue(c); /* 0******* */ |
c | 189 | drivers/char/keyboard.c | else if (c < 0x800) { |
c | 190 | drivers/char/keyboard.c | put_queue(0xc0 | (c >> 6)); /* 110***** 10****** */ |
c | 191 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 193 | drivers/char/keyboard.c | put_queue(0xe0 | (c >> 12)); /* 1110**** 10****** 10****** */ |
c | 194 | drivers/char/keyboard.c | put_queue(0x80 | ((c >> 6) & 0x3f)); |
c | 195 | drivers/char/keyboard.c | put_queue(0x80 | (c & 0x3f)); |
c | 240 | drivers/char/lp.c | char c; |
c | 245 | drivers/char/lp.c | c = get_user(temp); |
c | 246 | 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 | 427 | drivers/char/psaux.c | unsigned char c; |
c | 443 | drivers/char/psaux.c | c = get_from_queue(); |
c | 444 | 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 | 1297 | drivers/char/serial.c | int c, total = 0; |
c | 1310 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1312 | drivers/char/serial.c | if (c <= 0) |
c | 1317 | drivers/char/serial.c | memcpy_fromfs(tmp_buf, buf, c); |
c | 1318 | drivers/char/serial.c | c = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
c | 1320 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c); |
c | 1323 | drivers/char/serial.c | memcpy(info->xmit_buf + info->xmit_head, buf, c); |
c | 1324 | drivers/char/serial.c | info->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1); |
c | 1325 | drivers/char/serial.c | info->xmit_cnt += c; |
c | 1327 | drivers/char/serial.c | buf += c; |
c | 1328 | drivers/char/serial.c | count -= c; |
c | 1329 | drivers/char/serial.c | total += c; |
c | 2557 | drivers/char/tpqic02.c | int c; |
c | 2578 | drivers/char/tpqic02.c | c = iocmd & IOCCMD_MASK; |
c | 2582 | drivers/char/tpqic02.c | if (c == DDIOCSDBG) { |
c | 2586 | drivers/char/tpqic02.c | c = get_user_long((int *) ioarg); |
c | 2587 | drivers/char/tpqic02.c | if (c==0) { |
c | 2591 | drivers/char/tpqic02.c | if ((c>=1) && (c<=32)) { |
c | 2592 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG |= (1 << (c-1)); |
c | 2595 | drivers/char/tpqic02.c | if (c >= 128) { |
c | 2596 | drivers/char/tpqic02.c | QIC02_TAPE_DEBUG &= ~(1 << (c - 128)); |
c | 2604 | drivers/char/tpqic02.c | if (c == (MTIOCGETCONFIG & IOCCMD_MASK)) { |
c | 2621 | drivers/char/tpqic02.c | } else if (c == (MTIOCSETCONFIG & IOCCMD_MASK)) { |
c | 2660 | drivers/char/tpqic02.c | if (c == (MTIOCTOP & IOCCMD_MASK)) { |
c | 2715 | drivers/char/tpqic02.c | } else if (c == (MTIOCGET & IOCCMD_MASK)) { |
c | 2743 | drivers/char/tpqic02.c | } else if (TP_HAVE_TELL && (c == (MTIOCPOS & IOCCMD_MASK))) { |
c | 2762 | drivers/char/tpqic02.c | c = rdstatus((char *) blk_addr, sizeof(blk_addr), AR_QCMDV_TELL_BLK); |
c | 2763 | drivers/char/tpqic02.c | if (c!=TE_OK) |
c | 1279 | drivers/char/tty_io.c | char *c, *d; |
c | 1288 | drivers/char/tty_io.c | c = (char *)(*p); |
c | 1291 | 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 | 679 | drivers/net/pi2.c | unsigned char c; |
c | 734 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 736 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 780 | drivers/net/pi2.c | char c; |
c | 821 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 831 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
c | 838 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 842 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
c | 886 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 896 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
c | 903 | drivers/net/pi2.c | c = *lp->txptr++; |
c | 907 | 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 | 1280 | drivers/net/ppp.c | GETC (c); len = c << 8; GETC (c); len += c; |
c | 1302 | drivers/net/ppp.c | GETC (c); |
c | 1303 | drivers/net/ppp.c | put_user (c, buf++); |
c | 1333 | drivers/net/ppp.c | ppp_stuff_char(struct ppp *ppp, unsigned char c) |
c | 1340 | drivers/net/ppp.c | if (in_xmap (ppp, c)) { |
c | 1342 | drivers/net/ppp.c | *ppp->xhead++ = c ^ PPP_TRANS; |
c | 1344 | drivers/net/ppp.c | *ppp->xhead++ = c; |
c | 1345 | drivers/net/ppp.c | ppp->fcs = (ppp->fcs >> 8) ^ fcstab[(ppp->fcs ^ c) & 0xff]; |
c | 2009 | drivers/net/ppp.c | unsigned char *c = ppp->rbuff; |
c | 2012 | drivers/net/ppp.c | for (i = 0; i < ppp->rcount - 2; i++, c++) |
c | 2013 | drivers/net/ppp.c | fcs = (fcs >> 8) ^ fcstab[(fcs ^ *c) & 0xff]; |
c | 2016 | drivers/net/ppp.c | msgfcs = (c[1] << 8) + c[0]; |
c | 104 | drivers/net/slip.c | static void slip_unesc(struct slip *sl, unsigned char c); |
c | 107 | drivers/net/slip.c | static void slip_unesc6(struct slip *sl, unsigned char c); |
c | 348 | drivers/net/slip.c | unsigned char c; |
c | 349 | drivers/net/slip.c | if ((c = sl->rbuff[0]) & SL_TYPE_COMPRESSED_TCP) { |
c | 364 | drivers/net/slip.c | } else if (c >= SL_TYPE_UNCOMPRESSED_TCP) { |
c | 843 | drivers/net/slip.c | unsigned char c; |
c | 859 | drivers/net/slip.c | switch(c = *s++) { |
c | 869 | drivers/net/slip.c | *ptr++ = c; |
c | 924 | drivers/net/slip.c | unsigned char c; |
c | 946 | drivers/net/slip.c | c = 0x30 + ((v >> bits) & 0x3F); |
c | 947 | drivers/net/slip.c | *ptr++ = c; |
c | 951 | drivers/net/slip.c | c = 0x30 + ((v << (6 - bits)) & 0x3F); |
c | 952 | drivers/net/slip.c | *ptr++ = c; |
c | 961 | drivers/net/slip.c | unsigned char c; |
c | 975 | drivers/net/slip.c | c = (unsigned char)(sl->xdata >> sl->xbits); |
c | 978 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = c; |
c | 1666 | drivers/net/wavelan.c | unsigned char c; |
c | 1668 | drivers/net/wavelan.c | c = skb->data[i]; |
c | 1669 | drivers/net/wavelan.c | if (c >= ' ' && c <= '~') |
c | 1398 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1399 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1411 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
c | 1415 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
c | 1417 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
c | 1436 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd->cmd; |
c | 1437 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
c | 1470 | drivers/scsi/53c7,8xx.c | c->host_scribble = NULL; |
c | 1471 | drivers/scsi/53c7,8xx.c | c->result = result; |
c | 1472 | drivers/scsi/53c7,8xx.c | c->scsi_done(c); |
c | 1494 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1687 | drivers/scsi/53c7,8xx.c | Scsi_Cmnd *c = cmd ? cmd->cmd : NULL; |
c | 1702 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
c | 1726 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
c | 1738 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1747 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
c | 1765 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
c | 1773 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
c | 1815 | drivers/scsi/53c7,8xx.c | if (!c) { |
c | 1826 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
c | 1847 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
c | 1848 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
c | 1849 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
c | 1850 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
c | 1851 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
c | 1852 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
c | 1863 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
c | 1864 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = virt_to_bus(c->sense_buffer); |
c | 3851 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_cmd * c; |
c | 3865 | drivers/scsi/53c7,8xx.c | for (c = (struct NCR53c7x0_cmd *) hostdata->running_list, found = 0; c; |
c | 3866 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) c->next) { |
c | 3867 | drivers/scsi/53c7,8xx.c | tmp = c->cmd; |
c | 3868 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3869 | drivers/scsi/53c7,8xx.c | hostdata->free = c; |
c | 3877 | drivers/scsi/53c7,8xx.c | c = (struct NCR53c7x0_cmd *) cmd->host_scribble; |
c | 3878 | drivers/scsi/53c7,8xx.c | if (c) { |
c | 3879 | drivers/scsi/53c7,8xx.c | c->next = hostdata->free; |
c | 3880 | 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 | 565 | drivers/scsi/aic7xxx_asm.c | int c; |
c | 567 | drivers/scsi/aic7xxx_asm.c | while ((c = getopt(argc, argv, "dho:vD")) != EOF) { |
c | 568 | 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 | 1040 | 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 | 291 | drivers/sound/sound_switch.c | int l, c; |
c | 294 | drivers/sound/sound_switch.c | c = status_len - status_ptr; |
c | 296 | drivers/sound/sound_switch.c | if (l > c) |
c | 297 | 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 | 123 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_upcase (unsigned c) |
c | 125 | fs/hpfs/hpfs_caps.c | if (c - 'a' <= 'z' - 'a' |
c | 126 | fs/hpfs/hpfs_caps.c | || (c - a_grave <= thorn - a_grave |
c | 127 | fs/hpfs/hpfs_caps.c | && c != divide)) |
c | 128 | fs/hpfs/hpfs_caps.c | return c - 'a' + 'A'; |
c | 130 | fs/hpfs/hpfs_caps.c | return c; |
c | 133 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_downcase (unsigned c) |
c | 135 | fs/hpfs/hpfs_caps.c | if (c - 'A' <= 'Z' - 'A' |
c | 136 | fs/hpfs/hpfs_caps.c | || (c - A_GRAVE <= THORN - A_GRAVE |
c | 137 | fs/hpfs/hpfs_caps.c | && c != MULTIPLY)) |
c | 138 | fs/hpfs/hpfs_caps.c | return c + 'a' - 'A'; |
c | 140 | fs/hpfs/hpfs_caps.c | return c; |
c | 144 | fs/hpfs/hpfs_caps.c | static inline unsigned latin1_to_cp850 (unsigned c) |
c | 146 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 147 | fs/hpfs/hpfs_caps.c | return tb_latin1_to_cp850[c - 128]; |
c | 149 | fs/hpfs/hpfs_caps.c | return c; |
c | 153 | fs/hpfs/hpfs_caps.c | static inline unsigned cp850_to_latin1 (unsigned c) |
c | 155 | fs/hpfs/hpfs_caps.c | if ((signed) c - 128 >= 0) |
c | 156 | fs/hpfs/hpfs_caps.c | return tb_cp850_to_latin1[c - 128]; |
c | 158 | fs/hpfs/hpfs_caps.c | return c; |
c | 161 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_upper_linux (unsigned c) |
c | 163 | fs/hpfs/hpfs_caps.c | return latin1_upcase (cp850_to_latin1 (c)); |
c | 166 | fs/hpfs/hpfs_caps.c | unsigned linux_char_to_upper_linux (unsigned c) |
c | 168 | fs/hpfs/hpfs_caps.c | return latin1_upcase (c); |
c | 171 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_lower_linux (unsigned c) |
c | 173 | fs/hpfs/hpfs_caps.c | return latin1_downcase (cp850_to_latin1 (c)); |
c | 176 | fs/hpfs/hpfs_caps.c | unsigned hpfs_char_to_linux (unsigned c) |
c | 178 | 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 | 962 | fs/hpfs/hpfs_fs.c | unsigned c; |
c | 967 | fs/hpfs/hpfs_fs.c | c = *p++; |
c | 968 | fs/hpfs/hpfs_fs.c | if (c < ' ') |
c | 969 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
c | 971 | fs/hpfs/hpfs_fs.c | else if (c == '\t' || c == '\n'); |
c | 974 | fs/hpfs/hpfs_fs.c | else if (c < '\177') |
c | 996 | fs/hpfs/hpfs_fs.c | unsigned c = *in++; |
c | 997 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
c | 999 | 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 | 46 | fs/msdos/namei.c | unsigned char c; |
c | 57 | fs/msdos/namei.c | c = 0; |
c | 59 | fs/msdos/namei.c | c = *name++; |
c | 61 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 62 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 63 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 64 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 65 | fs/msdos/namei.c | if (c == '.') break; |
c | 66 | fs/msdos/namei.c | space = c == ' '; |
c | 67 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 70 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
c | 71 | fs/msdos/namei.c | c = *name++; |
c | 73 | fs/msdos/namei.c | if (c != '.') return -EINVAL; |
c | 75 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
c | 76 | fs/msdos/namei.c | if (c == '.') { |
c | 79 | fs/msdos/namei.c | c = *name++; |
c | 81 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 82 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 84 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 86 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 87 | fs/msdos/namei.c | space = c == ' '; |
c | 88 | 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 | 174 | fs/proc/array.c | int a, b, c; |
c | 178 | fs/proc/array.c | c = avenrun[2] + (FIXED_1/200); |
c | 182 | fs/proc/array.c | LOAD_INT(c), LOAD_FRAC(c), |
c | 322 | fs/proc/array.c | char c; |
c | 331 | fs/proc/array.c | c = *(char *) addr; |
c | 332 | fs/proc/array.c | if (!c) |
c | 335 | fs/proc/array.c | buffer[size++] = c; |
c | 340 | 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 | 371 | fs/proc/root.c | unsigned int pid, c; |
c | 380 | fs/proc/root.c | c = *name - '0'; |
c | 382 | fs/proc/root.c | if (c > 9) { |
c | 387 | fs/proc/root.c | pid += c; |
c | 344 | fs/smbfs/proc.c | print_char(char c) |
c | 346 | fs/smbfs/proc.c | if ((c < ' ') || (c > '~')) |
c | 348 | 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 | 126 | 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), "id" (port)); } \ |
c | 104 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ |
c | 40 | include/asm-i386/ioctl.h | #define _IO(c,d) (IOC_VOID | ((c)<<8) | (d)) /* param encoded */ |
c | 45 | include/asm-i386/ioctl.h | #define _IOW(c,d,t) (IOC_IN | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 46 | include/asm-i386/ioctl.h | ((c)<<8) | (d)) |
c | 47 | include/asm-i386/ioctl.h | #define _IOR(c,d,t) (IOC_OUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 48 | include/asm-i386/ioctl.h | ((c)<<8) | (d)) |
c | 50 | include/asm-i386/ioctl.h | #define _IOWR(c,d,t) (IOC_INOUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 51 | include/asm-i386/ioctl.h | ((c)<<8) | (d)) |
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 | 444 | include/asm-i386/string.h | extern inline void * memchr(const void * cs,int c,size_t count) |
c | 456 | include/asm-i386/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 461 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
c | 468 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
c | 474 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
c | 481 | include/asm-i386/string.h | extern inline void * __constant_c_memset(void * s, unsigned long c, size_t count) |
c | 494 | include/asm-i386/string.h | :"a" (c), "q" (count), "c" (count/4), "D" ((long) s) |
c | 559 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
c | 561 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
c | 562 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
c | 564 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
c | 566 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
c | 567 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
c | 570 | include/asm-i386/string.h | #define memset(s, c, count) \ |
c | 571 | include/asm-i386/string.h | (__builtin_constant_p(c) ? \ |
c | 572 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
c | 573 | include/asm-i386/string.h | __memset((s),(c),(count))) |
c | 579 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
c | 589 | 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 | 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 | 181 | kernel/sched.c | int c; |
c | 221 | kernel/sched.c | c = -1000; |
c | 224 | kernel/sched.c | if (p->counter > c) |
c | 225 | kernel/sched.c | c = p->counter, next = p; |
c | 230 | kernel/sched.c | if (!c) { |
c | 106 | lib/string.c | char * strchr(const char * s, int c) |
c | 108 | lib/string.c | for(; *s != (char) c; ++s) |
c | 196 | lib/string.c | void * memset(void * s,char c,size_t count) |
c | 201 | lib/string.c | *xs++ = c; |
c | 270 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
c | 275 | lib/string.c | if (*p == c) |
c | 43 | lib/vsprintf.c | #define is_digit(c) ((c) >= '0' && (c) <= '9') |
c | 71 | lib/vsprintf.c | char c,sign,tmp[66]; |
c | 81 | lib/vsprintf.c | c = (type & ZEROPAD) ? '0' : ' '; |
c | 124 | lib/vsprintf.c | *str++ = c; |
c | 122 | net/ax25/af_ax25.c | char c, *s; |
c | 127 | net/ax25/af_ax25.c | c = (a->ax25_call[n] >> 1) & 0x7F; |
c | 129 | 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 | 2007 | net/ipv4/tcp.c | char c = sk->urg_data; |
c | 2010 | net/ipv4/tcp.c | put_fs_byte(c, to); |