tag | line | file | source code |
c | 59 | fs/ext/dir.c | char c; |
c | 80 | fs/ext/dir.c | if (c = de->name[i]) |
c | 81 | fs/ext/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 163 | fs/ext/file.c | int written,block,c; |
c | 190 | fs/ext/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 191 | fs/ext/file.c | if (c > count-written) |
c | 192 | fs/ext/file.c | c = count-written; |
c | 193 | fs/ext/file.c | if (c == BLOCK_SIZE) |
c | 203 | fs/ext/file.c | pos += c; |
c | 208 | fs/ext/file.c | written += c; |
c | 209 | fs/ext/file.c | memcpy_fromfs(p,buf,c); |
c | 210 | fs/ext/file.c | buf += c; |
c | 631 | fs/ext/namei.c | char c; |
c | 655 | fs/ext/namei.c | while (i < 1023 && (c=get_fs_byte(symname++))) |
c | 656 | fs/ext/namei.c | name_block->b_data[i++] = c; |
c | 84 | fs/ext/symlink.c | char c; |
c | 100 | fs/ext/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 102 | fs/ext/symlink.c | put_fs_byte(c,buffer++); |
c | 53 | fs/minix/dir.c | char c; |
c | 74 | fs/minix/dir.c | if (c = de->name[i]) |
c | 75 | fs/minix/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 163 | fs/minix/file.c | int written,block,c; |
c | 190 | fs/minix/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 191 | fs/minix/file.c | if (c > count-written) |
c | 192 | fs/minix/file.c | c = count-written; |
c | 193 | fs/minix/file.c | if (c == BLOCK_SIZE) |
c | 203 | fs/minix/file.c | pos += c; |
c | 208 | fs/minix/file.c | written += c; |
c | 209 | fs/minix/file.c | memcpy_fromfs(p,buf,c); |
c | 210 | fs/minix/file.c | buf += c; |
c | 503 | fs/minix/namei.c | char c; |
c | 527 | fs/minix/namei.c | while (i < 1023 && (c=get_fs_byte(symname++))) |
c | 528 | fs/minix/namei.c | name_block->b_data[i++] = c; |
c | 78 | fs/minix/symlink.c | char c; |
c | 94 | fs/minix/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 96 | fs/minix/symlink.c | put_fs_byte(c,buffer++); |
c | 71 | fs/msdos/dir.c | char c,*walk; |
c | 95 | fs/msdos/dir.c | if (!(c = de->name[i])) break; |
c | 96 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 97 | fs/msdos/dir.c | if (c != ' ') last = i+1; |
c | 98 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 105 | fs/msdos/dir.c | if (!(c = de->ext[i2])) break; |
c | 106 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 107 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 109 | fs/msdos/dir.c | if (c != ' ') last = i; |
c | 30 | fs/msdos/namei.c | char c; |
c | 41 | fs/msdos/namei.c | c = 0; |
c | 43 | fs/msdos/namei.c | c = get_fs_byte(name++); |
c | 45 | fs/msdos/namei.c | if (c == ' ' && conv != 'r') return -EINVAL; |
c | 46 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z') { |
c | 48 | fs/msdos/namei.c | c += 32; |
c | 50 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 51 | fs/msdos/namei.c | if (c == '.') break; |
c | 52 | fs/msdos/namei.c | space = c == ' '; |
c | 53 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 56 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
c | 57 | fs/msdos/namei.c | c = get_fs_byte(name++); |
c | 59 | fs/msdos/namei.c | if (c != '.') return -EINVAL; |
c | 61 | fs/msdos/namei.c | while (c != '.' && len--) c = get_fs_byte(name++); |
c | 63 | fs/msdos/namei.c | if (c == '.') { |
c | 66 | fs/msdos/namei.c | c = get_fs_byte(name++); |
c | 68 | fs/msdos/namei.c | if (c == ' ' && conv != 'r') return -EINVAL; |
c | 69 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 71 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z') { |
c | 73 | fs/msdos/namei.c | c += 32; |
c | 75 | fs/msdos/namei.c | space = c == ' '; |
c | 76 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
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/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 | 121 | include/linux/string.h | extern inline char * strchr(const char * s,char c) |
c | 134 | include/linux/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 138 | include/linux/string.h | extern inline char * strrchr(const char * s,char c) |
c | 150 | include/linux/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 373 | include/linux/string.h | extern inline void * memchr(const void * cs,char c,size_t count) |
c | 384 | include/linux/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 389 | include/linux/string.h | extern inline void * memset(void * s,char c,size_t count) |
c | 394 | include/linux/string.h | ::"a" (c),"D" (s),"c" (count) |
c | 103 | include/linux/tty.h | extern void put_tty_queue(char c, struct tty_queue * queue); |
c | 165 | include/linux/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 166 | include/linux/unistd.h | type name(atype a,btype b,ctype c) \ |
c | 172 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
c | 179 | include/linux/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
c | 180 | include/linux/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
c | 187 | include/linux/unistd.h | "d" ((long)(c)),"S" ((long)(d))); \ |
c | 194 | include/linux/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
c | 195 | include/linux/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
c | 202 | include/linux/unistd.h | "d" ((long)(c)),"S" ((long)(d)),"D" ((long)(e))); \ |
c | 160 | kernel/blk_drv/hd.c | unsigned char c; |
c | 163 | kernel/blk_drv/hd.c | c = inb_p(HD_STATUS); |
c | 164 | kernel/blk_drv/hd.c | c &= (BUSY_STAT | READY_STAT | SEEK_STAT); |
c | 165 | kernel/blk_drv/hd.c | if (c == (READY_STAT | SEEK_STAT)) |
c | 168 | kernel/blk_drv/hd.c | printk("HD controller times out, status = 0x%02x\n\r",c); |
c | 899 | kernel/chr_drv/console.c | int c; |
c | 908 | kernel/chr_drv/console.c | while (!tty->stopped && (c = get_tty_queue(tty->write_q)) >= 0) { |
c | 909 | kernel/chr_drv/console.c | if (state == ESnormal && translate[c]) { |
c | 916 | kernel/chr_drv/console.c | c = translate[c]; |
c | 917 | kernel/chr_drv/console.c | *(char *) pos = c; |
c | 932 | kernel/chr_drv/console.c | if (c < 32 || c == 127) switch(c) { |
c | 975 | kernel/chr_drv/console.c | switch (c) { |
c | 1026 | kernel/chr_drv/console.c | if (c == '[') { /* Function key */ |
c | 1030 | kernel/chr_drv/console.c | if (ques=(c=='?')) |
c | 1033 | kernel/chr_drv/console.c | if (c==';' && npar<NPAR-1) { |
c | 1036 | kernel/chr_drv/console.c | } else if (c>='0' && c<='9') { |
c | 1038 | kernel/chr_drv/console.c | par[npar] += c-'0'; |
c | 1043 | kernel/chr_drv/console.c | switch(c) { |
c | 1062 | kernel/chr_drv/console.c | switch(c) { |
c | 1165 | kernel/chr_drv/console.c | if (c == '8') { |
c | 1175 | kernel/chr_drv/console.c | if (c == '0') |
c | 1177 | kernel/chr_drv/console.c | else if (c == 'B') |
c | 1179 | kernel/chr_drv/console.c | else if (c == 'U') |
c | 1186 | kernel/chr_drv/console.c | if (c == '0') |
c | 1188 | kernel/chr_drv/console.c | else if (c == 'B') |
c | 1190 | kernel/chr_drv/console.c | else if (c == 'U') |
c | 1220 | kernel/chr_drv/console.c | void * memsetw(void * s,unsigned short c,int count) |
c | 1225 | kernel/chr_drv/console.c | ::"a" (c),"D" (s),"c" (count) |
c | 1466 | kernel/chr_drv/console.c | char c; |
c | 1470 | kernel/chr_drv/console.c | while (c = *(b++)) { |
c | 1471 | kernel/chr_drv/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1472 | kernel/chr_drv/console.c | if (c != 13) |
c | 1475 | kernel/chr_drv/console.c | if (c == 10 || c == 13) |
c | 1478 | kernel/chr_drv/console.c | *(char *) pos = c; |
c | 53 | kernel/chr_drv/lp.c | char c, *temp = buf; |
c | 57 | kernel/chr_drv/lp.c | c = get_fs_byte(temp++); |
c | 58 | kernel/chr_drv/lp.c | retval = lp_char(c, minor); |
c | 55 | kernel/chr_drv/pty.c | int c; |
c | 64 | kernel/chr_drv/pty.c | c = get_tty_queue(from->write_q); |
c | 65 | kernel/chr_drv/pty.c | put_tty_queue(c,to->read_q); |
c | 67 | kernel/chr_drv/serial.c | int c, i = 0; |
c | 75 | kernel/chr_drv/serial.c | c = queue->buf[queue->tail]; |
c | 78 | kernel/chr_drv/serial.c | outb(c,port); |
c | 57 | kernel/chr_drv/tty_io.c | void inline put_tty_queue(char c, struct tty_queue * queue) |
c | 65 | kernel/chr_drv/tty_io.c | queue->buf[queue->head] = c; |
c | 134 | kernel/chr_drv/tty_io.c | int c; |
c | 144 | kernel/chr_drv/tty_io.c | c = get_tty_queue(tty->read_q); |
c | 145 | kernel/chr_drv/tty_io.c | if (c < 0) |
c | 148 | kernel/chr_drv/tty_io.c | c &= 0x7f; |
c | 149 | kernel/chr_drv/tty_io.c | if (c==13) { |
c | 151 | kernel/chr_drv/tty_io.c | c=10; |
c | 154 | kernel/chr_drv/tty_io.c | } else if (c==10 && I_NLCR(tty)) |
c | 155 | kernel/chr_drv/tty_io.c | c=13; |
c | 157 | kernel/chr_drv/tty_io.c | c=tolower(c); |
c | 160 | kernel/chr_drv/tty_io.c | (c==KILL_CHAR(tty))) { |
c | 163 | kernel/chr_drv/tty_io.c | (c=LAST(tty->secondary))==10 || |
c | 165 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty))))) { |
c | 167 | kernel/chr_drv/tty_io.c | if (c<32) { |
c | 181 | kernel/chr_drv/tty_io.c | (c==ERASE_CHAR(tty))) { |
c | 183 | kernel/chr_drv/tty_io.c | (c=LAST(tty->secondary))==10 || |
c | 185 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty)))) |
c | 188 | kernel/chr_drv/tty_io.c | if (c<32) { |
c | 203 | kernel/chr_drv/tty_io.c | (c==STOP_CHAR(tty))) { |
c | 208 | kernel/chr_drv/tty_io.c | (c==START_CHAR(tty))) { |
c | 215 | kernel/chr_drv/tty_io.c | (c==INTR_CHAR(tty))) { |
c | 221 | kernel/chr_drv/tty_io.c | (c==QUIT_CHAR(tty))) { |
c | 227 | kernel/chr_drv/tty_io.c | (c==SUSPEND_CHAR(tty))) { |
c | 233 | kernel/chr_drv/tty_io.c | if (c==10 || (EOF_CHAR(tty) != __DISABLED_CHAR && |
c | 234 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty))) |
c | 236 | kernel/chr_drv/tty_io.c | if ((c==10) && (L_ECHO(tty) || (L_CANON(tty) && L_ECHONL(tty)))) { |
c | 240 | kernel/chr_drv/tty_io.c | if (c<32 && L_ECHOCTL(tty)) { |
c | 242 | kernel/chr_drv/tty_io.c | put_tty_queue(c+64,tty->write_q); |
c | 244 | kernel/chr_drv/tty_io.c | put_tty_queue(c,tty->write_q); |
c | 246 | kernel/chr_drv/tty_io.c | put_tty_queue(c,tty->secondary); |
c | 307 | kernel/chr_drv/tty_io.c | int c; |
c | 349 | kernel/chr_drv/tty_io.c | while (nr > 0 && ((c = get_tty_queue(tty->secondary)) >= 0)) { |
c | 351 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) || c==10) |
c | 354 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) && L_CANON(tty)) |
c | 356 | kernel/chr_drv/tty_io.c | put_fs_byte(c,b++); |
c | 360 | kernel/chr_drv/tty_io.c | if (c==10 && L_CANON(tty)) |
c | 394 | kernel/chr_drv/tty_io.c | char c, *b=buf; |
c | 430 | kernel/chr_drv/tty_io.c | c=get_fs_byte(b); |
c | 432 | kernel/chr_drv/tty_io.c | if (c=='\r' && O_CRNL(tty)) |
c | 433 | kernel/chr_drv/tty_io.c | c='\n'; |
c | 434 | kernel/chr_drv/tty_io.c | else if (c=='\n' && O_NLRET(tty)) |
c | 435 | kernel/chr_drv/tty_io.c | c='\r'; |
c | 436 | kernel/chr_drv/tty_io.c | if (c=='\n' && O_NLCR(tty) && |
c | 442 | kernel/chr_drv/tty_io.c | c=toupper(c); |
c | 446 | kernel/chr_drv/tty_io.c | put_tty_queue(c,tty->write_q); |
c | 92 | kernel/chr_drv/tty_ioctl.c | char *c, *d; |
c | 100 | kernel/chr_drv/tty_ioctl.c | c = (char *)(*p); |
c | 103 | kernel/chr_drv/tty_ioctl.c | put_fs_byte(*c++, d++); |
c | 197 | kernel/chr_drv/tty_ioctl.c | char c, * tmp; |
c | 204 | kernel/chr_drv/tty_ioctl.c | c = get_fs_byte(i + (char *) ws); |
c | 205 | kernel/chr_drv/tty_ioctl.c | if (c == *tmp) |
c | 208 | 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 | 524 | kernel/math/emulate.c | temp_real_unaligned c; |
c | 526 | kernel/math/emulate.c | c = *a; |
c | 528 | kernel/math/emulate.c | *b = c; |
c | 114 | kernel/math/get_put.c | unsigned char c; |
c | 121 | kernel/math/get_put.c | c = get_fs_byte(addr--); |
c | 123 | kernel/math/get_put.c | ADD64((c>>4), i.a, i.b); |
c | 125 | kernel/math/get_put.c | ADD64((c&0xf), i.a, i.b); |
c | 223 | kernel/math/get_put.c | unsigned char c; |
c | 234 | kernel/math/get_put.c | c = rem; |
c | 236 | kernel/math/get_put.c | c += rem<<4; |
c | 237 | kernel/math/get_put.c | put_fs_byte(c,addr++); |
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 | 16 | kernel/math/sqrt.c | static void shift_right(int * c) |
c | 19 | kernel/math/sqrt.c | ::"r" ((long) c)); |
c | 49 | kernel/math/sqrt.c | unsigned long mask, *c; |
c | 72 | kernel/math/sqrt.c | c = res + 2; |
c | 76 | kernel/math/sqrt.c | c--; |
c | 80 | kernel/math/sqrt.c | *c |= mask; |
c | 29 | kernel/printk.c | char c; |
c | 68 | kernel/printk.c | c = *((char *) log_page+log_start); |
c | 72 | kernel/printk.c | put_fs_byte(c,buf); |
c | 129 | kernel/sched.c | int i,next,c; |
c | 150 | kernel/sched.c | c = -1; |
c | 157 | kernel/sched.c | if ((*p)->state == TASK_RUNNING && (*p)->counter > c) |
c | 158 | kernel/sched.c | c = (*p)->counter, next = i; |
c | 160 | kernel/sched.c | if (c) break; |
c | 17 | kernel/vsprintf.c | #define is_digit(c) ((c) >= '0' && (c) <= '9') |
c | 44 | kernel/vsprintf.c | char c,sign,tmp[36]; |
c | 52 | kernel/vsprintf.c | c = (type & ZEROPAD) ? '0' : ' ' ; |
c | 83 | 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) |