/linux-master/arch/s390/boot/ |
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);
|
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;
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-line-name.c | 26 char *endp; local 40 info.offset = strtoul(argv[2], &endp, 10); 41 if (*endp != '\0') {
|
/linux-master/tools/power/cpupower/lib/ |
H A D | acpi_cppc.c | 43 char *endp; local 53 value = strtoull(linebuf, &endp, 0); 55 if (endp == linebuf || errno == ERANGE)
|
H A D | cpupower.c | 81 char *endp; local 109 value = strtoull(linebuf, &endp, 0); 120 char *endp; local 127 *result = strtol(linebuf, &endp, 0); 128 if (endp == linebuf || errno == ERANGE)
|
/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/drivers/firmware/efi/libstub/ |
H A D | string.c | 129 * @endp: A pointer to the end of the parsed string will be placed here 133 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) argument 152 if (endp) 153 *endp = (char *)cp; 158 long simple_strtol(const char *cp, char **endp, unsigned int base) argument 161 return -simple_strtoull(cp + 1, endp, base); 163 return simple_strtoull(cp, endp, base);
|
/linux-master/drivers/media/i2c/ccs/ |
H A D | ccs-data.c | 54 #define is_contained(var, endp) \ 55 (sizeof(*var) <= (endp) - (void *)(var)) 56 #define has_headroom(ptr, headroom, endp) \ 57 ((headroom) <= (endp) - (void *)(ptr)) 58 #define is_contained_with_headroom(var, headroom, endp) \ 59 (sizeof(*var) + (headroom) <= (endp) - (void *)(var)) 64 const void *endp) 68 if (!is_contained(__len, endp)) 80 if (!is_contained(__len2, endp)) 93 if (!is_contained(__len3, endp)) 62 ccs_data_parse_length_specifier(const struct __ccs_data_length_specifier *__len, size_t *__hlen, size_t *__plen, const void *endp) argument 131 ccs_data_parse_version(struct bin_container *bin, struct ccs_data_container *ccsdata, const void *payload, const void *endp) argument 171 ccs_data_block_parse_header(const struct __ccs_data_block *block, bool is_first, unsigned int *__block_id, const void **payload, const struct __ccs_data_block **next_block, const void *endp, struct device *dev, bool verbose) argument 212 ccs_data_parse_regs(struct bin_container *bin, struct ccs_reg **__regs, size_t *__num_regs, const void *payload, const void *endp, struct device *dev) argument 321 ccs_data_parse_reg_rules(struct bin_container *bin, struct ccs_reg **__regs, size_t *__num_regs, const void *payload, const void *endp, struct device *dev) argument 347 ccs_data_parse_ffd(struct bin_container *bin, struct ccs_frame_format_descs **ffd, const void *payload, const void *endp, struct device *dev) argument 405 ccs_data_parse_pdaf_readout(struct bin_container *bin, struct ccs_pdaf_readout **pdaf_readout, const void *payload, const void *endp, struct device *dev) argument 430 ccs_data_parse_rules(struct bin_container *bin, struct ccs_rule **__rules, size_t *__num_rules, const void *payload, const void *endp, struct device *dev) argument 588 ccs_data_parse_pdaf(struct bin_container *bin, struct ccs_pdaf_pix_loc **pdaf, const void *payload, const void *endp, struct device *dev) argument 763 ccs_data_parse_license(struct bin_container *bin, char **__license, size_t *__license_length, const void *payload, const void *endp) argument 788 ccs_data_parse_end(bool *end, const void *payload, const void *endp, struct device *dev) argument 810 const struct __ccs_data_block *endp = data + len; local [all...] |
/linux-master/init/ |
H A D | do_mounts_initrd.c | 55 char *endp; local 57 start = memparse(p, &endp); 58 if (*endp == ',') { 59 size = memparse(endp + 1, NULL);
|
/linux-master/arch/x86/boot/ |
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);
|
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);
|
/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/samples/hid/ |
H A D | hid_surface_dial.c | 156 char *endp = NULL; local 160 l = strtol(optarg, &endp, 10); 161 if (endp && *endp)
|
/linux-master/drivers/mtd/devices/ |
H A D | block2mtd.c | 351 static int ustrtoul(const char *cp, char **endp, unsigned int base) argument 353 unsigned long result = simple_strtoul(cp, endp, base); 354 switch (**endp) { 365 if ((*endp)[1] == 'i') { 366 if ((*endp)[2] == 'B') 367 (*endp) += 3; 369 (*endp) += 2; 378 char *endp; local 381 n = (size_t) ustrtoul(token, &endp, 0); 382 if (*endp) [all...] |
/linux-master/drivers/macintosh/ |
H A D | windfarm_core.c | 194 char *endp; local 196 val = simple_strtoul(buf, &endp, 0); 197 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) 198 ++endp; 199 if (endp - buf < count)
|
/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)
|
H A D | misc.c | 56 char *endp; local 66 val = strtol(linebuf, &endp, 0); 67 if (endp == linebuf || errno == ERANGE)
|
/linux-master/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 378 char *startp, *endp; local 401 end_cpu = strtol(startp, &endp, 10); 402 if (startp == endp) 411 startp = endp; 446 cpu = strtol(startp, &endp, 10); 447 if (startp == endp) 452 startp = endp; 461 char *startp, *endp; local 481 end_pkg = strtol(startp, &endp, 10); 482 if (startp == endp) 850 char *endp; local 872 char *endp; local [all...] |
/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/lib/ |
H A D | parser.c | 140 char *endp; local 148 val = simple_strtol(buf, &endp, base); 149 if (endp == buf)
|
/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/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/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/arch/hexagon/mm/ |
H A D | init.c | 127 char *endp; local 129 size = memparse(p, &endp);
|