Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/arch/alpha/boot/
A Dstdio.c128 for (str = buf ; *fmt ; ++fmt) { in vsprintf()
148 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
151 ++fmt; in vsprintf()
163 ++fmt; in vsprintf()
164 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
167 ++fmt; in vsprintf()
177 if (*fmt == 'l' && *(fmt + 1) == 'l') { in vsprintf()
179 fmt += 2; in vsprintf()
180 } else if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' in vsprintf()
183 ++fmt; in vsprintf()
[all …]
/arch/x86/boot/
A Dprintf.c128 for (str = buf; *fmt; ++fmt) { in vsprintf()
130 *str++ = *fmt; in vsprintf()
138 switch (*fmt) { in vsprintf()
161 ++fmt; in vsprintf()
173 ++fmt; in vsprintf()
177 ++fmt; in vsprintf()
187 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L') { in vsprintf()
189 ++fmt; in vsprintf()
195 switch (*fmt) { in vsprintf()
264 if (*fmt) in vsprintf()
[all …]
/arch/powerpc/boot/
A Dstdio.c164 for (str=buf ; *fmt ; ++fmt) { in vsprintf()
184 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
187 ++fmt; in vsprintf()
199 ++fmt; in vsprintf()
200 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
203 ++fmt; in vsprintf()
213 if (*fmt == 'l' && *(fmt + 1) == 'l') { in vsprintf()
215 fmt += 2; in vsprintf()
216 } else if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' in vsprintf()
219 ++fmt; in vsprintf()
[all …]
A Dstdio.h11 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
13 #define fprintf(fmt, args...) printf(args) argument
15 extern int sprintf(char *buf, const char *fmt, ...)
18 extern int vsprintf(char *buf, const char *fmt, va_list args);
/arch/s390/boot/
A Dboot.h72 int __printf(1, 2) boot_printk(const char *fmt, ...);
80 #define boot_fmt(fmt) fmt argument
83 #define boot_emerg(fmt, ...) boot_printk(KERN_EMERG boot_fmt(fmt), ##__VA_ARGS__) argument
84 #define boot_alert(fmt, ...) boot_printk(KERN_ALERT boot_fmt(fmt), ##__VA_ARGS__) argument
85 #define boot_crit(fmt, ...) boot_printk(KERN_CRIT boot_fmt(fmt), ##__VA_ARGS__) argument
86 #define boot_err(fmt, ...) boot_printk(KERN_ERR boot_fmt(fmt), ##__VA_ARGS__) argument
87 #define boot_warn(fmt, ...) boot_printk(KERN_WARNING boot_fmt(fmt), ##__VA_ARGS__) argument
88 #define boot_notice(fmt, ...) boot_printk(KERN_NOTICE boot_fmt(fmt), ##__VA_ARGS__) argument
89 #define boot_info(fmt, ...) boot_printk(KERN_INFO boot_fmt(fmt), ##__VA_ARGS__) argument
90 #define boot_debug(fmt, ...) boot_printk(KERN_DEBUG boot_fmt(fmt), ##__VA_ARGS__) argument
A Dprintk.c239 fmt = printk_skip_level(fmt); in boot_printk()
241 va_start(args, fmt); in boot_printk()
242 for (; p < end && *fmt; fmt++) { in boot_printk()
243 if (*fmt != '%') { in boot_printk()
244 *p++ = *fmt; in boot_printk()
247 if (*++fmt == '%') { in boot_printk()
251 zero_pad = (*fmt == '0'); in boot_printk()
252 pad = simple_strtol(fmt, (char **)&fmt, 10); in boot_printk()
253 lenmod = (*fmt == 'h' || *fmt == 'l' || *fmt == 'z') ? *fmt++ : 0; in boot_printk()
256 fmt++; in boot_printk()
[all …]
/arch/parisc/math-emu/
A Dfpudispatch.c420 fmt = (fmt << 1) | df; in decode_0c()
423 switch(fmt) { in decode_0c()
437 switch(fmt) { in decode_0c()
453 switch(fmt) { in decode_0c()
469 switch(fmt) { in decode_0c()
485 switch(fmt) { in decode_0c()
501 switch(fmt) { in decode_0c()
851 fmt = (fmt << 1) | df;
1159 u_int fmt; local
1299 u_int fmt; local
[all …]
/arch/s390/include/uapi/asm/
A Dchsc.h53 int fmt; member
61 int fmt; member
67 int fmt; member
79 int fmt; member
102 int fmt; member
115 int fmt; member
123 int fmt; member
/arch/m68k/sun3/prom/
A Dprintf.c24 prom_printf(char *fmt, ...) in prom_printf() argument
29 va_start(args, fmt); in prom_printf()
33 vsprintf(ppbuf + 1, fmt, args) + 1; in prom_printf()
35 vsprintf(ppbuf, fmt, args); in prom_printf()
/arch/x86/kernel/
A Dumip.c17 #define pr_fmt(fmt) "umip: " fmt argument
93 #define umip_pr_err(regs, fmt, ...) \ argument
94 umip_printk(regs, KERN_ERR, fmt, ##__VA_ARGS__)
95 #define umip_pr_debug(regs, fmt, ...) \ argument
96 umip_printk(regs, KERN_DEBUG, fmt, ##__VA_ARGS__)
117 const char *fmt, ...) in umip_printk() argument
128 va_start(args, fmt); in umip_printk()
129 vaf.fmt = fmt; in umip_printk()
/arch/um/os-Linux/
A Dutil.c183 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args);
185 void os_info(const char *fmt, ...) in os_info() argument
194 va_start(list, fmt); in os_info()
195 len = vscnprintf(buf, sizeof(buf), fmt, list); in os_info()
200 void os_warn(const char *fmt, ...) in os_warn() argument
206 va_start(list, fmt); in os_warn()
207 len = vscnprintf(buf, sizeof(buf), fmt, list); in os_warn()
/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c164 #define fatal_error(fmt, ...) \ argument
166 fprintf(stderr, "error: %s: " fmt "\n", \
180 #define assert_op(lhs, rhs, fmt, op) \ argument
187 " failed (lhs=" fmt ", rhs=" fmt \
192 #define assert_eq(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, ==) argument
193 #define assert_ne(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, !=) argument
194 #define assert_lt(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, <) argument
195 #define assert_ge(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, >=) argument
/arch/mips/dec/
A Decc-berr.c55 const char *status = "", *xbit = "", *fmt = ""; in dec_ecc_be_backend() local
125 fmt = KERN_ALERT "%s" "invalid\n"; in dec_ecc_be_backend()
158 fmt = KERN_ALERT "%s" in dec_ecc_be_backend()
163 fmt = KERN_ALERT "%s" in dec_ecc_be_backend()
173 fmt = KERN_ALERT "%s" in dec_ecc_be_backend()
177 fmt = KERN_ALERT "%s" in dec_ecc_be_backend()
188 printk(fmt, " ECC syndrome ", syn, status, xbit, i); in dec_ecc_be_backend()
/arch/x86/boot/compressed/
A Derror.c28 void panic(const char *fmt, ...) in panic() argument
34 va_start(args, fmt); in panic()
35 len = vsnprintf(buf, sizeof(buf), fmt, args); in panic()
/arch/alpha/lib/
A Dsrm_printk.c10 srm_printk(const char *fmt, ...) in srm_printk() argument
17 va_start(args, fmt); in srm_printk()
18 len = vsprintf(buf, fmt, args); in srm_printk()
/arch/mips/kernel/
A Dsignal-common.h17 # define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args) argument
19 # define DEBUGP(fmt, args...) argument
/arch/sparc/prom/
A Dprintf.c60 void notrace prom_printf(const char *fmt, ...) in prom_printf() argument
65 va_start(args, fmt); in prom_printf()
66 i = vscnprintf(ppbuf, sizeof(ppbuf), fmt, args); in prom_printf()
/arch/m68k/emu/
A Dnatfeat.c55 void nfprint(const char *fmt, ...) in nfprint() argument
60 va_start(ap, fmt); in nfprint()
61 vsnprintf(buf, 256, fmt, ap); in nfprint()
/arch/parisc/boot/compressed/
A Dmisc.c175 static int printf(const char *fmt, ...) in printf() argument
180 va_start(args, fmt); in printf()
182 while (fmt[i]) { in printf()
183 if (fmt[i] != '%') { in printf()
185 putchar(fmt[i++]); in printf()
189 if (fmt[++i] == '%') in printf()
192 fmt[i] == 'x' ? 16:10); in printf()
/arch/powerpc/platforms/powernv/
A Dpci.h289 const char *fmt, ...);
290 #define pe_err(pe, fmt, ...) \ argument
291 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
292 #define pe_warn(pe, fmt, ...) \ argument
293 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
294 #define pe_info(pe, fmt, ...) \ argument
295 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
/arch/powerpc/include/asm/
A Deeh.h155 #define EEH_EDEV_PRINT(level, edev, fmt, ...) \ argument
156 pr_##level("PCI %04x:%02x:%02x.%x#%04x: EEH: " fmt, \
160 #define eeh_edev_dbg(edev, fmt, ...) EEH_EDEV_PRINT(debug, (edev), fmt, ##__VA_ARGS__) argument
161 #define eeh_edev_info(edev, fmt, ...) EEH_EDEV_PRINT(info, (edev), fmt, ##__VA_ARGS__) argument
162 #define eeh_edev_warn(edev, fmt, ...) EEH_EDEV_PRINT(warn, (edev), fmt, ##__VA_ARGS__) argument
163 #define eeh_edev_err(edev, fmt, ...) EEH_EDEV_PRINT(err, (edev), fmt, ##__VA_ARGS__) argument
/arch/um/include/shared/
A Duser.h27 extern void panic(const char *fmt, ...)
43 extern int _printk(const char *fmt, ...)
49 static inline int printk(const char *fmt, ...) in printk() argument
/arch/mips/boot/tools/
A Drelocs_main.c14 void die(char *fmt, ...) in die() argument
18 va_start(ap, fmt); in die()
19 vfprintf(stderr, fmt, ap); in die()
/arch/mips/bcm47xx/
A Dbcm47xx_private.h6 #define pr_fmt(fmt) "bcm47xx: " fmt argument
/arch/x86/tools/
A Drelocs_common.c4 void die(char *fmt, ...) in die() argument
7 va_start(ap, fmt); in die()
8 vfprintf(stderr, fmt, ap); in die()

Completed in 44 milliseconds

12345678910>>...19