Searched refs:endp (Results 1 - 25 of 76) sorted by relevance

1234

/linux-master/arch/s390/boot/
H A Dstring.c67 * @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 Dipl_parm.c227 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 Dpgm_check_info.c40 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 Dgpio-line-name.c26 char *endp; local
40 info.offset = strtoul(argv[2], &endp, 10);
41 if (*endp != '\0') {
/linux-master/tools/power/cpupower/lib/
H A Dacpi_cppc.c43 char *endp; local
53 value = strtoull(linebuf, &endp, 0);
55 if (endp == linebuf || errno == ERANGE)
H A Dcpupower.c81 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 Dset_memory.h19 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 Dstring.c129 * @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 Dccs-data.c54 #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 Ddo_mounts_initrd.c55 char *endp; local
57 start = memparse(p, &endp);
58 if (*endp == ',') {
59 size = memparse(endp + 1, NULL);
/linux-master/arch/x86/boot/
H A Dstring.h28 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 Dstring.c117 * @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 Dfdt_check_mem_start.c68 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 Dhid_surface_dial.c156 char *endp = NULL; local
160 l = strtol(optarg, &endp, 10);
161 if (endp && *endp)
/linux-master/drivers/mtd/devices/
H A Dblock2mtd.c351 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 Dwindfarm_core.c194 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 Dsysfs.c54 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 Dmisc.c56 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 Dx86_energy_perf_policy.c378 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 Dboard-v7.c70 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 Dparser.c140 char *endp; local
148 val = simple_strtol(buf, &endp, base);
149 if (endp == buf)
/linux-master/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c134 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 Dlparcfg.c694 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 Dsclp_cpi_sys.c333 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 Dinit.c127 char *endp; local
129 size = memparse(p, &endp);

Completed in 968 milliseconds

1234