Searched refs:endp (Results 1 - 25 of 76) sorted by last modified time

1234

/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/net/
H A Dxen-netfront.c2590 char *endp; local
2595 simple_strtoul(buf, &endp, 0);
2596 if (endp == buf)
/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/scripts/kconfig/
H A Dconf.c95 char *endp; local
97 seed = strtol(env, &endp, 0);
98 if (*endp == '\0')
191 char *endp; local
192 int tmp = strtol(env, &endp, 10);
201 env = (*endp == ':') ? endp + 1 : endp;
/linux-master/kernel/printk/
H A Dprintk.c772 char *endp = NULL; local
775 u = simple_strtoul(line + 1, &endp, 10);
776 if (endp && endp[0] == '>') {
780 endp++;
781 line = endp;
/linux-master/drivers/usb/serial/
H A Dkeyspan.c2882 int endp; local
2921 endp = d_details->indat_endpoints[port_num];
2922 for (i = 0; i <= d_details->indat_endp_flip; ++i, ++endp) {
2923 p_priv->in_urbs[i] = keyspan_setup_urb(serial, endp,
2930 endp = d_details->outdat_endpoints[port_num];
2931 for (i = 0; i <= d_details->outdat_endp_flip; ++i, ++endp) {
2932 p_priv->out_urbs[i] = keyspan_setup_urb(serial, endp,
/linux-master/drivers/usb/core/
H A Dmessage.c1210 int endp = usb_pipeendpoint(pipe); local
1213 endp |= USB_DIR_IN;
1221 USB_ENDPOINT_HALT, endp, NULL, 0,
1236 usb_reset_endpoint(dev, endp);
/linux-master/drivers/mtd/ubi/
H A Dbuild.c1214 char *endp; local
1216 mtd_num = simple_strtoul(mtd_dev, &endp, 0);
1217 if (*endp != '\0' || mtd_dev == endp) {
1431 char *endp; local
1434 result = simple_strtoul(str, &endp, 0);
1435 if (str == endp || result >= INT_MAX) {
1440 switch (*endp) {
/linux-master/kernel/
H A Dsysctl.c294 * @endp: pointer to store the trailing characters
299 * @endp will hold any trailing characters.
304 static int strtoul_lenient(const char *cp, char **endp, unsigned int base, argument
317 if (endp)
318 *endp = (char *)cp;
/linux-master/drivers/scsi/
H A Dscsi_transport_spi.c448 char *endp; local
450 picosec = simple_strtoul(buf, &endp, 10) * 1000;
451 if (*endp == '.') {
454 endp++;
455 if (!isdigit(*endp))
457 picosec += (*endp - '0') * mult;
/linux-master/drivers/of/
H A Dfdt.c869 const __be32 *prop, *endp; local
882 endp = prop + (len / sizeof(__be32));
883 for (i = 0; i < MAX_USABLE_RANGES && prop < endp; i++) {
992 const __be32 *reg, *endp; local
1009 endp = reg + (l / sizeof(__be32));
1015 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) {
/linux-master/drivers/media/tuners/
H A Dxc4000.c707 const unsigned char *p, *endp; local
744 endp = p + fw->size;
775 while (p < endp) {
787 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size))
799 if (endp - p < sizeof(size))
806 if (!size || size > endp - p) {
809 endp - p, size);
/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/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/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/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/tools/perf/util/
H A Dmachine.c1242 char *endp; local
1259 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10);
1260 if ((*endp != '\0') ||
1261 (endp == namelist[i]->d_name) ||
H A Devsel.c2238 static inline bool overflow(const void *endp, u16 max_size, const void *offset, argument
2241 return size > max_size || offset + size > endp;
2246 if (overflow(endp, (max_size), (offset), (size))) \
2351 const void *endp = (void *)event + max_size; local
/linux-master/mm/
H A Dmemcontrol.c5069 char *endp; local
5077 efd = simple_strtoul(buf, &endp, 10);
5078 if (*endp != ' ')
5080 buf = endp + 1;
5082 cfd = simple_strtoul(buf, &endp, 10);
5083 if ((*endp != ' ') && (*endp != '\0'))
5085 buf = endp + 1;
/linux-master/fs/xfs/libxfs/
H A Dxfs_symlink_remote.c211 char *endp = sfp + size; local
229 if (*endp != 0)
H A Dxfs_dir2_sf.c705 char *endp; local
720 endp = (char *)sfp + size;
738 if (((char *)sfep + sizeof(*sfep)) >= endp)
751 if (endp < (char *)next_sfep)
777 if ((void *)sfep != (void *)endp)
H A Dxfs_attr_leaf.c981 char *endp; local
990 endp = (char *)sfp + size;
1001 if (((char *)sfep + sizeof(*sfep)) >= endp)
1014 if ((char *)next_sfep > endp)
1035 if ((void *)sfep != (void *)endp)
/linux-master/drivers/platform/x86/
H A Dthinkpad_acpi.c1000 char *endp; local
1002 *value = simple_strtoul(skip_spaces(buf), &endp, 0);
1003 endp = skip_spaces(endp);
1004 if (*endp || *value > max)
/linux-master/drivers/gpu/drm/
H A Ddrm_modes.c2092 char *endp; local
2103 *int_ret = simple_strtol(value, &endp, 10);
2106 if (endp == value)
/linux-master/drivers/gpio/
H A Dgpiolib-acpi.c334 char *endp; local
346 pin = simple_strtoul(pin_str + 1, &endp, 10);
347 if (*endp != 0 && *endp != ',')

Completed in 603 milliseconds

1234