/linux-master/drivers/s390/char/ |
H A D | sclp_cpi_sys.c | 333 char *endp; local 335 level = simple_strtoull(buf, &endp, 16); 337 if (endp == buf) 339 if (*endp == '\n') 340 endp++; 341 if (*endp)
|
/linux-master/tools/power/cpupower/lib/ |
H A D | cpuidle.c | 140 char *endp; local 151 value = strtoull(linebuf, &endp, 0); 153 if (endp == linebuf || errno == ERANGE)
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | sysfs.c | 54 char *endp; local 82 value = strtoull(linebuf, &endp, 0); 210 char *endp; local 221 value = strtoull(linebuf, &endp, 0); 223 if (endp == linebuf || errno == ERANGE)
|
/linux-master/arch/arm/boot/compressed/ |
H A D | fdt_check_mem_start.c | 68 const fdt32_t *usable, *reg, *endp; local 119 for (endp = reg + (len / sizeof(fdt32_t)); 120 endp - reg >= addr_cells + size_cells;
|
/linux-master/arch/arm/kernel/ |
H A D | setup.c | 831 char *endp; local 845 size = memparse(p, &endp); 846 if (*endp == '@') 847 start = memparse(endp + 1, NULL);
|
/linux-master/arch/arm/mach-mvebu/ |
H A D | board-v7.c | 70 const __be32 *reg, *endp; local 82 endp = reg + (l / sizeof(__be32)); 83 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) {
|
/linux-master/arch/arm/mach-shmobile/ |
H A D | setup-rcar-gen2.c | 134 const __be32 *reg, *endp; local 149 endp = reg + (l / sizeof(__be32)); 150 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) {
|
/linux-master/arch/hexagon/mm/ |
H A D | init.c | 127 char *endp; local 129 size = memparse(p, &endp);
|
/linux-master/arch/powerpc/kernel/ |
H A D | prom_init.c | 727 static unsigned long __init prom_strtoul(const char *cp, const char **endp) argument 746 if (endp) 747 *endp = cp; 1658 cell_t *p, *endp; local 1698 endp = p + (plen / sizeof(cell_t)); 1707 while ((endp - p) >= (rac + rsc)) {
|
/linux-master/arch/powerpc/mm/ |
H A D | init_64.c | 524 const __be32 *reg, *endp; local 573 endp = reg + (l / sizeof(__be32)); 574 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) {
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | lparcfg.c | 694 char *endp; local 695 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); 696 if (endp == tmp) 711 char *endp; local 712 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); 713 if (endp == tmp) 718 char *endp; local 719 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); 720 if (endp == tmp) 725 char *endp; local [all...] |
/linux-master/arch/powerpc/xmon/ |
H A D | xmon.c | 1699 unsigned long *endp) 1704 *startp = *endp = 0; 1713 *endp = pc - offset + size; 1698 get_function_bounds(unsigned long pc, unsigned long *startp, unsigned long *endp) argument
|
/linux-master/arch/riscv/include/asm/ |
H A D | set_memory.h | 19 static __always_inline int set_kernel_memory(char *startp, char *endp, argument 24 unsigned long end = (unsigned long)endp; 35 static inline int set_kernel_memory(char *startp, char *endp, argument
|
/linux-master/arch/s390/boot/ |
H A D | ipl_parm.c | 227 char *endp; local 236 val = simple_strtoull(str, &endp, 0); 237 if (str == endp) 239 str = endp; 242 endval = simple_strtoull(str, &endp, 0); 243 if (str == endp) 245 str = endp;
|
H A D | pgm_check_info.c | 40 char *endp; local 44 start = simple_strtoull(pivot, &endp, 16); 45 size = simple_strtoull(endp + 1, &endp, 16); 56 return endp + 1;
|
H A D | string.c | 67 * @endp: A pointer to the end of the parsed string will be placed here 71 unsigned long long simple_strtoull(const char *cp, char **endp, argument 91 if (endp) 92 *endp = (char *)cp; 97 long simple_strtol(const char *cp, char **endp, unsigned int base) argument 100 return -simple_strtoull(cp + 1, endp, base); 102 return simple_strtoull(cp, endp, base);
|
/linux-master/arch/s390/mm/ |
H A D | cmm.c | 236 static int cmm_skip_blanks(char *cp, char **endp) argument 242 *endp = str;
|
/linux-master/arch/x86/boot/ |
H A D | boot.h | 309 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base);
|
H A D | string.c | 117 * @endp: A pointer to the end of the parsed string will be placed here 120 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) argument 139 if (endp) 140 *endp = (char *)cp; 145 long simple_strtol(const char *cp, char **endp, unsigned int base) argument 148 return -simple_strtoull(cp + 1, endp, base); 150 return simple_strtoull(cp, endp, base);
|
H A D | string.h | 28 extern unsigned long long simple_strtoull(const char *cp, char **endp, 30 long simple_strtol(const char *cp, char **endp, unsigned int base);
|
/linux-master/arch/x86/lib/ |
H A D | atomic64_386_32.S | 22 .macro endp; \ 24 .purgem endp; \ 29 #define ENDP endp
|
/linux-master/block/ |
H A D | bfq-cgroup.c | 1142 char *endp; local 1149 v = simple_strtoull(buf, &endp, 0); 1150 if (*endp == '\0' || sscanf(buf, "default %llu", &v) == 1) {
|
/linux-master/drivers/ata/ |
H A D | libata-core.c | 6426 char *id, *val, *endp; local 6456 force_ent->device = simple_strtoul(p, &endp, 10); 6457 if (p == endp || *endp != '\0') { 6463 force_ent->port = simple_strtoul(id, &endp, 10); 6464 if (id == endp || *endp != '\0') {
|
/linux-master/drivers/block/ |
H A D | amiflop.c | 781 ushort *ptr = (ushort *)raw, *endp = (ushort *)end; local 783 while (ptr < endp && *ptr++ != 0x4489) 785 if (ptr < endp) { 786 while (*ptr == 0x4489 && ptr < endp)
|
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_watchdog.c | 179 char *endp; local 185 l = simple_strtoul(val, &endp, 0); 186 if (endp == val)
|