Home
last modified time | relevance | path

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

12345678910>>...13

/linux-2.4.37.9/lib/ !
Dvsprintf.c234 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) in vsnprintf() argument
271 for (; *fmt ; ++fmt) { in vsnprintf()
272 if (*fmt != '%') { in vsnprintf()
274 *str = *fmt; in vsnprintf()
282 ++fmt; /* this also skips first '%' */ in vsnprintf()
283 switch (*fmt) { in vsnprintf()
293 if (isdigit(*fmt)) in vsnprintf()
294 field_width = skip_atoi(&fmt); in vsnprintf()
295 else if (*fmt == '*') { in vsnprintf()
296 ++fmt; in vsnprintf()
[all …]
/linux-2.4.37.9/drivers/ieee1394/ !
Dieee1394_types.h66 #define HPSB_PRINT(level, fmt, args...) printk(level "ieee1394: " fmt "\n" , ## args) argument
68 #define HPSB_DEBUG(fmt, args...) HPSB_PRINT(KERN_DEBUG, fmt , ## args) argument
69 #define HPSB_INFO(fmt, args...) HPSB_PRINT(KERN_INFO, fmt , ## args) argument
70 #define HPSB_NOTICE(fmt, args...) HPSB_PRINT(KERN_NOTICE, fmt , ## args) argument
71 #define HPSB_WARN(fmt, args...) HPSB_PRINT(KERN_WARNING, fmt , ## args) argument
72 #define HPSB_ERR(fmt, args...) HPSB_PRINT(KERN_ERR, fmt , ## args) argument
75 #define HPSB_VERBOSE(fmt, args...) HPSB_PRINT(KERN_DEBUG, fmt , ## args) argument
77 #define HPSB_VERBOSE(fmt, args...) argument
80 #define HPSB_PANIC(fmt, args...) panic("ieee1394: " fmt "\n" , ## args) argument
/linux-2.4.37.9/fs/jfs/ !
Djfs_debug.h72 #define jfs_info(fmt, arg...) do { \ argument
74 printk(KERN_INFO fmt "\n", ## arg); \
78 #define jfs_debug(fmt, arg...) do { \ argument
80 printk(KERN_DEBUG fmt "\n", ## arg); \
84 #define jfs_warn(fmt, arg...) do { \ argument
86 printk(KERN_WARNING fmt "\n", ## arg); \
90 #define jfs_err(fmt, arg...) do { \ argument
92 printk(KERN_ERR fmt "\n", ## arg); \
102 #define jfs_info(fmt, arg...) do {} while (0) argument
103 #define jfs_debug(fmt, arg...) do {} while (0) argument
[all …]
/linux-2.4.37.9/drivers/md/ !
Dlvm-internal.h64 #define P_IOCTL(fmt, args...) printk(KERN_DEBUG "lvm ioctl: " fmt, ## args) argument
66 #define P_IOCTL(fmt, args...) argument
70 #define P_MAP(fmt, args...) printk(KERN_DEBUG "lvm map: " fmt, ## args) argument
72 #define P_MAP(fmt, args...) argument
76 #define P_KFREE(fmt, args...) printk(KERN_DEBUG "lvm kfree: " fmt, ## args) argument
78 #define P_KFREE(fmt, args...) argument
82 #define P_DEV(fmt, args...) printk(KERN_DEBUG "lvm device: " fmt, ## args) argument
84 #define P_DEV(fmt, args...) argument
/linux-2.4.37.9/arch/ppc64/boot/ !
Dprom.c28 void printk(char *fmt, ...);
421 int sprintf(char * buf, const char *fmt, ...);
423 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
441 for (str=buf ; *fmt ; ++fmt) { in vsprintf()
442 if (*fmt != '%') { in vsprintf()
443 *str++ = *fmt; in vsprintf()
450 ++fmt; /* this also skips first '%' */ in vsprintf()
451 switch (*fmt) { in vsprintf()
461 if (isdigit(*fmt)) in vsprintf()
462 field_width = skip_atoi(&fmt); in vsprintf()
[all …]
/linux-2.4.37.9/arch/parisc/math-emu/ !
Dfpudispatch.c290 u_int fmt; /* also sf for class 1 conversions */ in decode_0c() local
308 fmt = extru(ir,fpfmtpos,2); /* get fmt completer */ in decode_0c()
317 switch (fmt) { in decode_0c()
332 switch (fmt) { in decode_0c()
348 switch (fmt) { in decode_0c()
364 switch (fmt) { in decode_0c()
380 switch (fmt) { in decode_0c()
392 switch (fmt) { in decode_0c()
407 if ((df & 2) || (fmt & 2)) { in decode_0c()
419 fmt = (fmt << 1) | df; in decode_0c()
[all …]
/linux-2.4.37.9/arch/ppc64/xmon/ !
Dsubr_prf.c27 xmon_vfprintf(void *f, const char *fmt, va_list ap) in xmon_vfprintf() argument
32 n = vsprintf(xmon_buf, fmt, ap); in xmon_vfprintf()
37 xmon_printf(const char *fmt, ...) in xmon_printf() argument
41 va_start(ap, fmt); in xmon_printf()
42 xmon_vfprintf(stdout, fmt, ap); in xmon_printf()
47 xmon_fprintf(void *f, const char *fmt, ...) in xmon_fprintf() argument
51 va_start(ap, fmt); in xmon_fprintf()
52 xmon_vfprintf(f, fmt, ap); in xmon_fprintf()
/linux-2.4.37.9/arch/ppc/xmon/ !
Dsubr_prf.c22 xmon_vfprintf(void *f, const char *fmt, va_list ap) in xmon_vfprintf() argument
27 n = vsprintf(xmon_buf, fmt, ap); in xmon_vfprintf()
32 xmon_printf(const char *fmt, ...) in xmon_printf() argument
36 va_start(ap, fmt); in xmon_printf()
37 xmon_vfprintf(stdout, fmt, ap); in xmon_printf()
42 xmon_fprintf(void *f, const char *fmt, ...) in xmon_fprintf() argument
46 va_start(ap, fmt); in xmon_fprintf()
47 xmon_vfprintf(f, fmt, ap); in xmon_fprintf()
/linux-2.4.37.9/drivers/char/ip2/ !
Dip2trace.c51 eFormat fmt = kHex; in main() local
139 fmt = kHex; in main()
157 fmt = kInt; in main()
182 fmt = kInt; in main()
187 fmt = kInt; in main()
192 fmt = kInt; in main()
205 fmt = kInt; in main()
210 fmt = kChar; in main()
215 fmt = kInt; in main()
220 fmt = kInt; in main()
[all …]
/linux-2.4.37.9/arch/ppc/boot/chrp/ !
Dstart.c18 void printk(char *fmt, ...);
130 extern int vsprintf(char *buf, const char *fmt, va_list args);
134 printk(char *fmt, ...) in printk() argument
139 va_start(args, fmt); in printk()
140 n = vsprintf(sprint_buf, fmt, args); in printk()
146 printf(char *fmt, ...) in printf() argument
151 va_start(args, fmt); in printf()
152 n = vsprintf(sprint_buf, fmt, args); in printf()
/linux-2.4.37.9/drivers/usb/gadget/ !
Dgoku_udc.h265 #define xprintk(dev,level,fmt,args...) \ argument
266 printk(level "%s %s: " fmt , driver_name , \
270 #define DBG(dev,fmt,args...) \ argument
271 xprintk(dev , KERN_DEBUG , fmt , ## args)
273 #define DBG(dev,fmt,args...) \ argument
280 #define VDBG(dev,fmt,args...) \ argument
284 #define ERROR(dev,fmt,args...) \ argument
285 xprintk(dev , KERN_ERR , fmt , ## args)
286 #define WARN(dev,fmt,args...) \ argument
287 xprintk(dev , KERN_WARNING , fmt , ## args)
[all …]
/linux-2.4.37.9/include/linux/ !
Dkernel.h63 NORET_TYPE void panic(const char * fmt, ...)
74 extern int sprintf(char * buf, const char * fmt, ...)
78 extern int snprintf(char * buf, size_t size, const char * fmt, ...)
80 extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
96 asmlinkage int printk(const char * fmt, ...)
119 #define pr_debug(fmt,arg...) \ argument
120 printk(KERN_DEBUG fmt,##arg)
122 #define pr_debug(fmt,arg...) \ argument
126 #define pr_info(fmt,arg...) \ argument
127 printk(KERN_INFO fmt,##arg)
/linux-2.4.37.9/arch/ppc/boot/pmac/ !
Dstart.c19 void printk(char *fmt, ...);
146 extern int vsprintf(char *buf, const char *fmt, va_list args);
150 printk(char *fmt, ...) in printk() argument
155 va_start(args, fmt); in printk()
156 n = vsprintf(sprint_buf, fmt, args); in printk()
162 printf(char *fmt, ...) in printf() argument
167 va_start(args, fmt); in printf()
168 n = vsprintf(sprint_buf, fmt, args); in printf()
/linux-2.4.37.9/drivers/usb/ !
Dw9968cf.h295 # define DBG(level, fmt, args...) \ argument
300 err(fmt, ## args); \
302 info(fmt, ## args); \
304 warn(fmt, ## args); \
306 info("[%s:%d] " fmt, \
312 # define DBG(level, fmt, args...) do {;} while(0); argument
317 #define PDBG(fmt, args...) info("[%s:%d] "fmt, \ argument
319 #define PDBGG(fmt, args...) do {;} while(0); /* nothing: it's a placeholder */ argument
/linux-2.4.37.9/Documentation/networking/ !
Dethertap.txt192 } fmt;
202 /* u.fmt.ip.ihl in host order! Film at 11. */
206 = (void *)((u_int32_t *)&u.fmt.ip + u.fmt.ip.ihl );
211 (ntohl(u.fmt.ip.saddr) >> 24) & 0xFF,
212 (ntohl(u.fmt.ip.saddr) >> 16) & 0xFF,
213 (ntohl(u.fmt.ip.saddr) >> 8) & 0xFF,
214 (ntohl(u.fmt.ip.saddr) >> 0) & 0xFF,
215 (ntohl(u.fmt.ip.daddr) >> 24) & 0xFF,
216 (ntohl(u.fmt.ip.daddr) >> 16) & 0xFF,
217 (ntohl(u.fmt.ip.daddr) >> 8) & 0xFF,
[all …]
/linux-2.4.37.9/fs/xfs/support/ !
Ddebug.c85 cmn_err(register int level, char *fmt, ...) in cmn_err() argument
87 char *fp = fmt; in cmn_err()
96 va_start(ap, fmt); in cmn_err()
97 if (*fmt == '!') fp++; in cmn_err()
111 icmn_err(register int level, char *fmt, va_list ap) in icmn_err() argument
120 len = vsprintf(message, fmt, ap); in icmn_err()
/linux-2.4.37.9/drivers/scsi/ !
Ddpti.h143 # define PDEBUG(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) argument
144 # define PDEBUGV(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) argument
146 # define PDEBUG(fmt, args...) /* not debugging: nothing */ argument
147 # define PDEBUGV(fmt, args...) /* not debugging: nothing */ argument
150 #define PERROR(fmt, args...) printk(KERN_ERR fmt, ##args) argument
151 #define PWARN(fmt, args...) printk(KERN_WARNING fmt, ##args) argument
152 #define PINFO(fmt, args...) printk(KERN_INFO fmt, ##args) argument
153 #define PCRIT(fmt, args...) printk(KERN_CRIT fmt, ##args) argument
/linux-2.4.37.9/fs/xfs/ !
Dxfs_error.c219 xfs_fs_vcmn_err(int level, xfs_mount_t *mp, char *fmt, va_list ap) in xfs_fs_vcmn_err() argument
223 int len = 16 + mp->m_fsname_len + strlen(fmt); in xfs_fs_vcmn_err()
226 sprintf(newfmt, "Filesystem \"%s\": %s", mp->m_fsname, fmt); in xfs_fs_vcmn_err()
230 icmn_err(level, fmt, ap); in xfs_fs_vcmn_err()
235 xfs_fs_cmn_err(int level, xfs_mount_t *mp, char *fmt, ...) in xfs_fs_cmn_err() argument
239 va_start(ap, fmt); in xfs_fs_cmn_err()
240 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_fs_cmn_err()
245 xfs_cmn_err(int panic_tag, int level, xfs_mount_t *mp, char *fmt, ...) in xfs_cmn_err() argument
259 va_start(ap, fmt); in xfs_cmn_err()
260 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_cmn_err()
/linux-2.4.37.9/fs/ !
Dexec.c59 int register_binfmt(struct linux_binfmt * fmt) in register_binfmt() argument
63 if (!fmt) in register_binfmt()
65 if (fmt->next) in register_binfmt()
69 if (fmt == *tmp) { in register_binfmt()
75 fmt->next = formats; in register_binfmt()
76 formats = fmt; in register_binfmt()
81 int unregister_binfmt(struct linux_binfmt * fmt) in unregister_binfmt() argument
87 if (fmt == *tmp) { in unregister_binfmt()
88 *tmp = fmt->next; in unregister_binfmt()
98 static inline void put_binfmt(struct linux_binfmt * fmt) in put_binfmt() argument
[all …]
/linux-2.4.37.9/arch/sparc64/prom/ !
Dp1275.c256 long p1275_cmd (char *service, long fmt, ...) in p1275_cmd() argument
277 p1275buf.prom_args[1] = nargs = (fmt & 0x0f); /* nargs */ in p1275_cmd()
278 p1275buf.prom_args[2] = nrets = ((fmt & 0xf0) >> 4); /* nrets */ in p1275_cmd()
279 attrs = fmt >> 8; in p1275_cmd()
280 va_start(list, fmt); in p1275_cmd()
331 attrs = fmt >> 8; in p1275_cmd()
332 va_start(list, fmt); in p1275_cmd()
/linux-2.4.37.9/arch/mips/kernel/ !
Dproc.c89 char fmt [64]; in show_cpuinfo() local
103 sprintf(fmt, "cpu model\t\t: %%s V%%d.%%d%s\n", in show_cpuinfo()
105 seq_printf(m, fmt, cpu_name[current_cpu_data.cputype <= CPU_LAST ? in show_cpuinfo()
121 sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", in show_cpuinfo()
123 seq_printf(m, fmt, 'D', vced_count); in show_cpuinfo()
124 seq_printf(m, fmt, 'I', vcei_count); in show_cpuinfo()
/linux-2.4.37.9/arch/mips64/kernel/ !
Dproc.c89 char fmt [64]; in show_cpuinfo() local
103 sprintf(fmt, "cpu model\t\t: %%s V%%d.%%d%s\n", in show_cpuinfo()
105 seq_printf(m, fmt, cpu_name[current_cpu_data.cputype <= CPU_LAST ? in show_cpuinfo()
121 sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", in show_cpuinfo()
123 seq_printf(m, fmt, 'D', vced_count); in show_cpuinfo()
124 seq_printf(m, fmt, 'I', vcei_count); in show_cpuinfo()
/linux-2.4.37.9/arch/mips/dec/prom/ !
Dconsole.c23 char fmt[13]; in prom_console_write() local
25 snprintf(fmt, sizeof(fmt), sfmt, c); in prom_console_write()
26 prom_printf(fmt, s); in prom_console_write()
/linux-2.4.37.9/arch/m68k/sun3/prom/ !
Dprintf.c24 prom_printf(char *fmt, ...) in prom_printf() argument
30 va_start(args, fmt); in prom_printf()
34 i = vsprintf(ppbuf + 1, fmt, args) + 1; in prom_printf()
36 i = vsprintf(ppbuf, fmt, args); in prom_printf()
/linux-2.4.37.9/drivers/video/intel/ !
Dintelfb.h95 #define ERR_MSG(fmt, args...) printk(KERN_ERR PFX fmt, ## args) argument
96 #define WRN_MSG(fmt, args...) printk(KERN_WARNING PFX fmt, ## args) argument
97 #define NOT_MSG(fmt, args...) printk(KERN_NOTICE PFX fmt, ## args) argument
98 #define INF_MSG(fmt, args...) printk(KERN_INFO PFX fmt, ## args) argument
100 #define DBG_MSG(fmt, args...) printk(KERN_DEBUG PFX fmt, ## args) argument
102 #define DBG_MSG(fmt, args...) while (0) printk(fmt, ## args) argument

12345678910>>...13