Lines Matching refs:p
18 char *p, *end = p = dst + max(pad, (int)__fls(val | 1) / 4 + 1); in as_hex() local
20 for (*p-- = 0; p >= dst; val >>= 4) in as_hex()
21 *p-- = hex_asc[val & 0x0f]; in as_hex()
25 static char *symstart(char *p) in symstart() argument
27 while (*p) in symstart()
28 p--; in symstart()
29 return p + 1; in symstart()
66 char *p; in strsym() local
68 p = findsym((unsigned long)ip, &off, &len); in strsym()
69 if (p) { in strsym()
70 strncpy(buf, p, sizeof(buf)); in strsym()
72 p = buf + strnlen(buf, sizeof(buf) - 15); in strsym()
73 strcpy(p, "+0x"); in strsym()
74 p = as_hex(p + 3, off, 0); in strsym()
75 strcpy(p, "/0x"); in strsym()
76 as_hex(p + 3, len, 0); in strsym()
88 char *p = buf; in decompressor_printk() local
92 for (; p < end && *fmt; fmt++) { in decompressor_printk()
94 *p++ = *fmt; in decompressor_printk()
100 p = buf + strlcat(buf, va_arg(args, char *), sizeof(buf)); in decompressor_printk()
105 p = buf + strlcat(buf, strsym(va_arg(args, void *)), sizeof(buf)); in decompressor_printk()
108 if (*++fmt != 'x' || end - p <= max(sizeof(long) * 2, pad)) in decompressor_printk()
110 p = as_hex(p, va_arg(args, unsigned long), pad); in decompressor_printk()
113 if (end - p <= max(sizeof(int) * 2, pad)) in decompressor_printk()
115 p = as_hex(p, va_arg(args, unsigned int), pad); in decompressor_printk()