Lines Matching refs:num

130 static noinline char *put_dec(char *buf, uint64_t num)  in put_dec()  argument
134 if (num < 100000) in put_dec()
135 return put_dec_trunc(buf, num); in put_dec()
136 rem = do_div(num, 100000); in put_dec()
159 static char *number(char *buf, char *end, u64 num, in number() argument
178 if ((s64) num < 0) { in number()
180 num = -(s64) num; in number()
198 if (num == 0) in number()
213 tmp[i++] = (digits[((unsigned char)num) & mask] in number()
215 num >>= shift; in number()
216 } while (num); in number()
218 i = put_dec(tmp, num) - tmp; in number()
444 u64 num = (uintptr_t)ptr; in pointer() local
470 num = *(phys_addr_t *)ptr; in pointer()
505 return number(buf, end, num, 16, field_width, precision, flags); in pointer()
511 u64 num; in vsnprintf_internal() local
681 num = va_arg(args, unsigned long long); in vsnprintf_internal()
683 num = va_arg(args, unsigned long); in vsnprintf_internal()
685 num = (signed long) num; in vsnprintf_internal()
687 num = va_arg(args, size_t); in vsnprintf_internal()
689 num = va_arg(args, ptrdiff_t); in vsnprintf_internal()
691 num = (unsigned short) va_arg(args, int); in vsnprintf_internal()
693 num = (signed short) num; in vsnprintf_internal()
695 num = va_arg(args, unsigned int); in vsnprintf_internal()
697 num = (signed int) num; in vsnprintf_internal()
699 str = number(str, end, num, base, field_width, precision, in vsnprintf_internal()
859 bool str2off(const char *p, loff_t *num) in str2off() argument
863 *num = simple_strtoull(p, &endptr, 16); in str2off()
867 bool str2long(const char *p, ulong *num) in str2long() argument
871 *num = simple_strtoul(p, &endptr, 16); in str2long()