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

1234

/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/tools/power/cpupower/lib/
H A Dcpuidle.c140 char *endp; local
151 value = strtoull(linebuf, &endp, 0);
153 if (endp == linebuf || errno == ERANGE)
/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)
/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/arch/arm/kernel/
H A Dsetup.c831 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 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/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/hexagon/mm/
H A Dinit.c127 char *endp; local
129 size = memparse(p, &endp);
/linux-master/arch/powerpc/kernel/
H A Dprom_init.c727 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 Dinit_64.c524 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 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/arch/powerpc/xmon/
H A Dxmon.c1699 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 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/arch/s390/boot/
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;
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);
/linux-master/arch/s390/mm/
H A Dcmm.c236 static int cmm_skip_blanks(char *cp, char **endp) argument
242 *endp = str;
/linux-master/arch/x86/boot/
H A Dboot.h309 unsigned long long simple_strtoull(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);
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);
/linux-master/arch/x86/lib/
H A Datomic64_386_32.S22 .macro endp; \
24 .purgem endp; \
29 #define ENDP endp
/linux-master/block/
H A Dbfq-cgroup.c1142 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 Dlibata-core.c6426 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 Damiflop.c781 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 Dipmi_watchdog.c179 char *endp; local
185 l = simple_strtoul(val, &endp, 0);
186 if (endp == val)

Completed in 360 milliseconds

1234