/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/net/ |
H A D | xen-netfront.c | 2590 char *endp; local 2595 simple_strtoul(buf, &endp, 0); 2596 if (endp == buf)
|
/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/scripts/kconfig/ |
H A D | conf.c | 95 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 D | printk.c | 772 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 D | keyspan.c | 2882 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 D | message.c | 1210 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 D | build.c | 1214 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 D | sysctl.c | 294 * @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 D | scsi_transport_spi.c | 448 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 D | fdt.c | 869 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 D | xc4000.c | 707 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 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/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/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/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/tools/perf/util/ |
H A D | machine.c | 1242 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 D | evsel.c | 2238 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 D | memcontrol.c | 5069 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 D | xfs_symlink_remote.c | 211 char *endp = sfp + size; local 229 if (*endp != 0)
|
H A D | xfs_dir2_sf.c | 705 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 D | xfs_attr_leaf.c | 981 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 D | thinkpad_acpi.c | 1000 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 D | drm_modes.c | 2092 char *endp; local 2103 *int_ret = simple_strtol(value, &endp, 10); 2106 if (endp == value)
|
/linux-master/drivers/gpio/ |
H A D | gpiolib-acpi.c | 334 char *endp; local 346 pin = simple_strtoul(pin_str + 1, &endp, 10); 347 if (*endp != 0 && *endp != ',')
|