tag | line | file | source code |
fmt | 16 | include/linux/kernel.h | int sprintf(char * buf, const char * fmt, ...); |
fmt | 17 | include/linux/kernel.h | int printk(const char * fmt, ...); |
fmt | 335 | init/main.c | static int printf(const char *fmt, ...) |
fmt | 340 | init/main.c | va_start(args, fmt); |
fmt | 341 | init/main.c | write(1,printbuf,i=vsprintf(printbuf, fmt, args)); |
fmt | 551 | kernel/blk_drv/scsi/wd7000.c | static void wd7000_append_info( char *info, const char *fmt, ... ) |
fmt | 557 | kernel/blk_drv/scsi/wd7000.c | extern int vsprintf(char *buf, const char *fmt, va_list args); |
fmt | 559 | kernel/blk_drv/scsi/wd7000.c | va_start(args, fmt); |
fmt | 560 | kernel/blk_drv/scsi/wd7000.c | vsprintf(info, fmt, args); |
fmt | 25 | kernel/printk.c | extern int vsprintf(char * buf, const char * fmt, va_list args); |
fmt | 121 | kernel/printk.c | int printk(const char *fmt, ...) |
fmt | 126 | kernel/printk.c | va_start(args, fmt); |
fmt | 127 | kernel/printk.c | i=vsprintf(buf,fmt,args); |
fmt | 119 | kernel/vsprintf.c | int vsprintf(char *buf, const char *fmt, va_list args) |
fmt | 134 | kernel/vsprintf.c | for (str=buf ; *fmt ; ++fmt) { |
fmt | 135 | kernel/vsprintf.c | if (*fmt != '%') { |
fmt | 136 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 143 | kernel/vsprintf.c | ++fmt; /* this also skips first '%' */ |
fmt | 144 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 154 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 155 | kernel/vsprintf.c | field_width = skip_atoi(&fmt); |
fmt | 156 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 167 | kernel/vsprintf.c | if (*fmt == '.') { |
fmt | 168 | kernel/vsprintf.c | ++fmt; |
fmt | 169 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 170 | kernel/vsprintf.c | precision = skip_atoi(&fmt); |
fmt | 171 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 181 | kernel/vsprintf.c | if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L') { |
fmt | 182 | kernel/vsprintf.c | qualifier = *fmt; |
fmt | 183 | kernel/vsprintf.c | ++fmt; |
fmt | 186 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 249 | kernel/vsprintf.c | if (*fmt != '%') |
fmt | 251 | kernel/vsprintf.c | if (*fmt) |
fmt | 252 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 254 | kernel/vsprintf.c | --fmt; |
fmt | 262 | kernel/vsprintf.c | int sprintf(char * buf, const char *fmt, ...) |
fmt | 267 | kernel/vsprintf.c | va_start(args, fmt); |
fmt | 268 | kernel/vsprintf.c | i=vsprintf(buf,fmt,args); |