tag | line | file | source code |
c | 58 | fs/minix/file_dev.c | int written,block,c; |
c | 82 | fs/minix/file_dev.c | c = pos % BLOCK_SIZE; |
c | 83 | fs/minix/file_dev.c | p = c + bh->b_data; |
c | 85 | fs/minix/file_dev.c | c = BLOCK_SIZE-c; |
c | 86 | fs/minix/file_dev.c | if (c > count-written) |
c | 87 | fs/minix/file_dev.c | c = count-written; |
c | 88 | fs/minix/file_dev.c | pos += c; |
c | 93 | fs/minix/file_dev.c | written += c; |
c | 94 | fs/minix/file_dev.c | while (c-->0) |
c | 517 | fs/minix/namei.c | char c; |
c | 539 | fs/minix/namei.c | while (i < 1023 && (c=get_fs_byte(symname++))) |
c | 540 | fs/minix/namei.c | name_block->b_data[i++] = c; |
c | 773 | fs/minix/namei.c | char c; |
c | 789 | fs/minix/namei.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 791 | fs/minix/namei.c | put_fs_byte(c,buffer++); |
c | 117 | fs/namei.c | char c; |
c | 126 | fs/namei.c | if ((c=get_fs_byte(pathname))=='/') { |
c | 134 | fs/namei.c | for(len=0;(c=get_fs_byte(pathname++))&&(c!='/');len++) |
c | 136 | fs/namei.c | if (!c) |
c | 16 | include/ctype.h | #define isalnum(c) ((_ctype+1)[c]&(_U|_L|_D)) |
c | 17 | include/ctype.h | #define isalpha(c) ((_ctype+1)[c]&(_U|_L)) |
c | 18 | include/ctype.h | #define iscntrl(c) ((_ctype+1)[c]&(_C)) |
c | 19 | include/ctype.h | #define isdigit(c) ((_ctype+1)[c]&(_D)) |
c | 20 | include/ctype.h | #define isgraph(c) ((_ctype+1)[c]&(_P|_U|_L|_D)) |
c | 21 | include/ctype.h | #define islower(c) ((_ctype+1)[c]&(_L)) |
c | 22 | include/ctype.h | #define isprint(c) ((_ctype+1)[c]&(_P|_U|_L|_D|_SP)) |
c | 23 | include/ctype.h | #define ispunct(c) ((_ctype+1)[c]&(_P)) |
c | 24 | include/ctype.h | #define isspace(c) ((_ctype+1)[c]&(_S)) |
c | 25 | include/ctype.h | #define isupper(c) ((_ctype+1)[c]&(_U)) |
c | 26 | include/ctype.h | #define isxdigit(c) ((_ctype+1)[c]&(_D|_X)) |
c | 28 | include/ctype.h | #define isascii(c) (((unsigned) c)<=0x7f) |
c | 29 | include/ctype.h | #define toascii(c) (((unsigned) c)&0x7f) |
c | 31 | include/ctype.h | #define tolower(c) (_ctmp=c,isupper(_ctmp)?_ctmp-('A'-'a'):_ctmp) |
c | 32 | include/ctype.h | #define toupper(c) (_ctmp=c,islower(_ctmp)?_ctmp-('a'-'A'):_ctmp) |
c | 44 | include/linux/tty.h | #define GETCH(queue,c) \ |
c | 45 | include/linux/tty.h | (void)({c=(queue)->buf[(queue)->tail];INC((queue)->tail);}) |
c | 46 | include/linux/tty.h | #define PUTCH(c,queue) \ |
c | 47 | include/linux/tty.h | (void)({(queue)->buf[(queue)->head]=(c);INC((queue)->head);}) |
c | 91 | include/linux/tty.h | int tty_read(unsigned c, char * buf, int n, unsigned short flags); |
c | 92 | include/linux/tty.h | int tty_write(unsigned c, char * buf, int n); |
c | 128 | include/string.h | extern inline char * strchr(const char * s,char c) |
c | 141 | include/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 145 | include/string.h | extern inline char * strrchr(const char * s,char c) |
c | 157 | include/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 385 | include/string.h | extern inline void * memchr(const void * cs,char c,size_t count) |
c | 396 | include/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 401 | include/string.h | extern inline void * memset(void * s,char c,size_t count) |
c | 406 | include/string.h | ::"a" (c),"D" (s),"c" (count) |
c | 193 | include/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 194 | include/unistd.h | type name(atype a,btype b,ctype c) \ |
c | 200 | include/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
c | 230 | kernel/blk_drv/hd.c | unsigned char c; |
c | 233 | kernel/blk_drv/hd.c | c = inb_p(HD_STATUS); |
c | 234 | kernel/blk_drv/hd.c | c &= (BUSY_STAT | READY_STAT | SEEK_STAT); |
c | 235 | kernel/blk_drv/hd.c | if (c == (READY_STAT | SEEK_STAT)) |
c | 238 | kernel/blk_drv/hd.c | printk("HD controller times out, c=%02x\n\r",c); |
c | 625 | kernel/chr_drv/console.c | char c; |
c | 638 | kernel/chr_drv/console.c | GETCH(tty->write_q,c); |
c | 639 | kernel/chr_drv/console.c | if (c == 24 || c == 26) |
c | 643 | kernel/chr_drv/console.c | if (c>31 && c<127) { |
c | 649 | kernel/chr_drv/console.c | *(char *) pos = translate[c-32]; |
c | 654 | kernel/chr_drv/console.c | } else if (c==27) |
c | 656 | kernel/chr_drv/console.c | else if (c==10 || c==11 || c==12) |
c | 658 | kernel/chr_drv/console.c | else if (c==13) |
c | 660 | kernel/chr_drv/console.c | else if (c==127) |
c | 662 | kernel/chr_drv/console.c | else if (c==8) { |
c | 667 | kernel/chr_drv/console.c | } else if (c==9) { |
c | 668 | kernel/chr_drv/console.c | c = 8-(x&7); |
c | 669 | kernel/chr_drv/console.c | x += c; |
c | 670 | kernel/chr_drv/console.c | pos += c<<1; |
c | 676 | kernel/chr_drv/console.c | c=9; |
c | 677 | kernel/chr_drv/console.c | } else if (c==7) |
c | 679 | kernel/chr_drv/console.c | else if (c == 14) { |
c | 682 | kernel/chr_drv/console.c | } else if (c == 15) { |
c | 689 | kernel/chr_drv/console.c | switch (c) { |
c | 746 | kernel/chr_drv/console.c | if (c == '[') { /* Function key */ |
c | 750 | kernel/chr_drv/console.c | if (ques=(c=='?')) |
c | 753 | kernel/chr_drv/console.c | if (c==';' && npar<NPAR-1) { |
c | 756 | kernel/chr_drv/console.c | } else if (c>='0' && c<='9') { |
c | 757 | kernel/chr_drv/console.c | par[npar]=10*par[npar]+c-'0'; |
c | 766 | kernel/chr_drv/console.c | switch(c) { |
c | 846 | kernel/chr_drv/console.c | if ((c=='l') && (par[0]<=60)) { |
c | 849 | kernel/chr_drv/console.c | if (c=='b') |
c | 859 | kernel/chr_drv/console.c | if (c == 'S') { |
c | 862 | kernel/chr_drv/console.c | } else if (c == 'L') |
c | 864 | kernel/chr_drv/console.c | else if (c == 'l') |
c | 868 | kernel/chr_drv/console.c | if (c == '0') { |
c | 872 | kernel/chr_drv/console.c | } else if (c == 'B') |
c | 904 | kernel/chr_drv/console.c | void * memsetw(void * s,unsigned short c,int count) |
c | 909 | kernel/chr_drv/console.c | ::"a" (c),"D" (s),"c" (count) |
c | 1174 | kernel/chr_drv/console.c | char c; |
c | 1178 | kernel/chr_drv/console.c | while (c = *(b++)) { |
c | 1179 | kernel/chr_drv/console.c | if (c == 10) { |
c | 1184 | kernel/chr_drv/console.c | if (c == 13) { |
c | 1193 | kernel/chr_drv/console.c | *(char *) pos = c; |
c | 22 | kernel/chr_drv/pty.c | char c; |
c | 31 | kernel/chr_drv/pty.c | GETCH(from->write_q,c); |
c | 32 | kernel/chr_drv/pty.c | PUTCH(c,to->read_q); |
c | 39 | kernel/chr_drv/serial.c | char c; |
c | 47 | kernel/chr_drv/serial.c | GETCH(TTY,c); |
c | 48 | kernel/chr_drv/serial.c | outb(c,TTY->data); |
c | 123 | kernel/chr_drv/tty_io.c | unsigned char c; |
c | 134 | kernel/chr_drv/tty_io.c | GETCH(tty->read_q,c); |
c | 135 | kernel/chr_drv/tty_io.c | if (c==13) { |
c | 137 | kernel/chr_drv/tty_io.c | c=10; |
c | 140 | kernel/chr_drv/tty_io.c | } else if (c==10 && I_NLCR(tty)) |
c | 141 | kernel/chr_drv/tty_io.c | c=13; |
c | 143 | kernel/chr_drv/tty_io.c | c=tolower(c); |
c | 146 | kernel/chr_drv/tty_io.c | (c==KILL_CHAR(tty))) { |
c | 149 | kernel/chr_drv/tty_io.c | (c=LAST(tty->secondary))==10 || |
c | 151 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty))))) { |
c | 153 | kernel/chr_drv/tty_io.c | if (c<32) |
c | 163 | kernel/chr_drv/tty_io.c | (c==ERASE_CHAR(tty))) { |
c | 165 | kernel/chr_drv/tty_io.c | (c=LAST(tty->secondary))==10 || |
c | 167 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty)))) |
c | 170 | kernel/chr_drv/tty_io.c | if (c<32) |
c | 181 | kernel/chr_drv/tty_io.c | (c==STOP_CHAR(tty))) { |
c | 187 | kernel/chr_drv/tty_io.c | (c==START_CHAR(tty))) { |
c | 195 | kernel/chr_drv/tty_io.c | (c==INTR_CHAR(tty))) { |
c | 200 | kernel/chr_drv/tty_io.c | (c==QUIT_CHAR(tty))) { |
c | 205 | kernel/chr_drv/tty_io.c | (c==SUSPEND_CHAR(tty))) { |
c | 211 | kernel/chr_drv/tty_io.c | if (c==10 || (EOF_CHAR(tty) != _POSIX_VDISABLE && |
c | 212 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty))) |
c | 214 | kernel/chr_drv/tty_io.c | if ((L_ECHO(tty) || L_ECHONL(tty)) && (c==10)) { |
c | 218 | kernel/chr_drv/tty_io.c | if (c<32 && L_ECHOCTL(tty)) { |
c | 220 | kernel/chr_drv/tty_io.c | PUTCH(c+64,tty->write_q); |
c | 222 | kernel/chr_drv/tty_io.c | PUTCH(c,tty->write_q); |
c | 225 | kernel/chr_drv/tty_io.c | PUTCH(c,tty->secondary); |
c | 264 | kernel/chr_drv/tty_io.c | unsigned char c; |
c | 316 | kernel/chr_drv/tty_io.c | GETCH(tty->secondary,c); |
c | 318 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) || c==10) |
c | 321 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) && L_CANON(tty)) |
c | 324 | kernel/chr_drv/tty_io.c | put_fs_byte(c,b++); |
c | 328 | kernel/chr_drv/tty_io.c | if (c==10 && L_CANON(tty)) |
c | 351 | kernel/chr_drv/tty_io.c | char c, *b=buf; |
c | 366 | kernel/chr_drv/tty_io.c | c=get_fs_byte(b); |
c | 368 | kernel/chr_drv/tty_io.c | if (c=='\r' && O_CRNL(tty)) |
c | 369 | kernel/chr_drv/tty_io.c | c='\n'; |
c | 370 | kernel/chr_drv/tty_io.c | else if (c=='\n' && O_NLRET(tty)) |
c | 371 | kernel/chr_drv/tty_io.c | c='\r'; |
c | 372 | kernel/chr_drv/tty_io.c | if (c=='\n' && !cr_flag && O_NLCR(tty)) { |
c | 378 | kernel/chr_drv/tty_io.c | c=toupper(c); |
c | 382 | kernel/chr_drv/tty_io.c | PUTCH(c,tty->write_q); |
c | 73 | kernel/chr_drv/tty_ioctl.c | char *c, *d; |
c | 81 | kernel/chr_drv/tty_ioctl.c | c = (char *)(*p); |
c | 84 | kernel/chr_drv/tty_ioctl.c | put_fs_byte(*c++, d++); |
c | 169 | kernel/chr_drv/tty_ioctl.c | char c, * tmp; |
c | 176 | kernel/chr_drv/tty_ioctl.c | c = get_fs_byte(i + (char *) ws); |
c | 177 | kernel/chr_drv/tty_ioctl.c | if (c == *tmp) |
c | 180 | kernel/chr_drv/tty_ioctl.c | *tmp = c; |
c | 13 | kernel/math/div.c | static void shift_left(int * c) |
c | 19 | kernel/math/div.c | ::"r" ((long) c):"ax"); |
c | 22 | kernel/math/div.c | static void shift_right(int * c) |
c | 25 | kernel/math/div.c | ::"r" ((long) c)); |
c | 40 | kernel/math/div.c | static void div64(int * a, int * b, int * c) |
c | 46 | kernel/math/div.c | c += 4; |
c | 49 | kernel/math/div.c | c--; |
c | 55 | kernel/math/div.c | *c |= mask; |
c | 115 | kernel/math/get_put.c | unsigned char c; |
c | 122 | kernel/math/get_put.c | c = get_fs_byte(addr--); |
c | 124 | kernel/math/get_put.c | ADD64((c>>4), i.a, i.b); |
c | 126 | kernel/math/get_put.c | ADD64((c&0xf), i.a, i.b); |
c | 224 | kernel/math/get_put.c | unsigned char c; |
c | 235 | kernel/math/get_put.c | c = rem; |
c | 237 | kernel/math/get_put.c | c += rem<<4; |
c | 238 | kernel/math/get_put.c | put_fs_byte(c,addr++); |
c | 524 | kernel/math/math_emulate.c | temp_real_unaligned c; |
c | 526 | kernel/math/math_emulate.c | c = *a; |
c | 528 | kernel/math/math_emulate.c | *b = c; |
c | 13 | kernel/math/mul.c | static void shift(int * c) |
c | 19 | kernel/math/mul.c | ::"r" ((long) c):"ax"); |
c | 22 | kernel/math/mul.c | static void mul64(const temp_real * a, const temp_real * b, int * c) |
c | 42 | kernel/math/mul.c | ::"S" ((long) a),"c" ((long) b),"D" ((long) c) |
c | 122 | kernel/sched.c | int i,next,c; |
c | 146 | kernel/sched.c | c = -1; |
c | 153 | kernel/sched.c | if ((*p)->state == TASK_RUNNING && (*p)->counter > c) |
c | 154 | kernel/sched.c | c = (*p)->counter, next = i; |
c | 156 | kernel/sched.c | if (c) break; |
c | 16 | kernel/vsprintf.c | #define is_digit(c) ((c) >= '0' && (c) <= '9') |
c | 43 | kernel/vsprintf.c | char c,sign,tmp[36]; |
c | 51 | kernel/vsprintf.c | c = (type & ZEROPAD) ? '0' : ' ' ; |
c | 82 | kernel/vsprintf.c | *str++ = c; |
c | 59 | tools/build.c | int i,c,id; |
c | 135 | tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
c | 136 | tools/build.c | if (write(1,buf,c)!=c) |
c | 143 | tools/build.c | for (c=0 ; c<sizeof(buf) ; c++) |
c | 144 | tools/build.c | buf[c] = '\0'; |
c | 146 | tools/build.c | c = SETUP_SECTS*512-i; |
c | 147 | tools/build.c | if (c > sizeof(buf)) |
c | 148 | tools/build.c | c = sizeof(buf); |
c | 149 | tools/build.c | if (write(1,buf,c) != c) |
c | 151 | tools/build.c | i += c; |
c | 160 | tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
c | 161 | tools/build.c | if (write(1,buf,c)!=c) |