/linux-4.19.296/drivers/s390/char/ |
D | sclp_cpi_sys.c | 333 char *endp; in system_level_store() local 335 level = simple_strtoull(buf, &endp, 16); in system_level_store() 337 if (endp == buf) in system_level_store() 339 if (*endp == '\n') in system_level_store() 340 endp++; in system_level_store() 341 if (*endp) in system_level_store()
|
/linux-4.19.296/drivers/media/tuners/ |
D | tuner-xc2028.c | 305 const unsigned char *p, *endp; in load_all_firmwares() local 313 endp = p + fw->size; in load_all_firmwares() 344 while (p < endp) { in load_all_firmwares() 356 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in load_all_firmwares() 368 if (endp - p < sizeof(size)) in load_all_firmwares() 375 if (!size || size > endp - p) { in load_all_firmwares() 380 type, (unsigned long long)id, (endp - p), size); in load_all_firmwares() 548 unsigned char *p, *endp, buf[MAX_XFER_SIZE]; in load_firmware() local 565 endp = p + priv->firm[pos].size; in load_firmware() 567 while (p < endp) { in load_firmware() [all …]
|
D | xc4000.c | 718 const unsigned char *p, *endp; in xc4000_fwupload() local 755 endp = p + fw->size; in xc4000_fwupload() 786 while (p < endp) { in xc4000_fwupload() 798 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload() 810 if (endp - p < sizeof(size)) in xc4000_fwupload() 817 if (!size || size > endp - p) { in xc4000_fwupload() 820 endp - p, size); in xc4000_fwupload()
|
/linux-4.19.296/lib/ |
D | parser.c | 130 char *endp; in match_number() local 143 val = simple_strtol(buf, &endp, base); in match_number() 144 if (endp == buf) in match_number()
|
D | digsig.c | 83 const uint8_t *endp; in digsig_verify_rsa() local 111 endp = ukp->data + ukp->datalen; in digsig_verify_rsa() 114 unsigned int remaining = endp - datap; in digsig_verify_rsa()
|
D | vsprintf.c | 51 char **endp, unsigned int base) in simple_strntoull() argument 69 if (endp) in simple_strntoull() 70 *endp = (char *)cp; in simple_strntoull() 83 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 85 return simple_strntoull(cp, INT_MAX, endp, base); in simple_strtoull() 97 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base) in simple_strtoul() argument 99 return simple_strtoull(cp, endp, base); in simple_strtoul() 111 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument 114 return -simple_strtoul(cp + 1, endp, base); in simple_strtol() 116 return simple_strtoul(cp, endp, base); in simple_strtol() [all …]
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_symlink_remote.c | 211 char *endp; in xfs_symlink_shortform_verify() local 219 endp = sfp + size; in xfs_symlink_shortform_verify() 237 if (*endp != 0) in xfs_symlink_shortform_verify()
|
D | xfs_dir2_data.c | 47 char *endp; /* end of useful data */ in __xfs_dir3_data_check() local 103 endp = xfs_dir3_data_endp(geo, hdr); in __xfs_dir3_data_check() 104 if (!endp) in __xfs_dir3_data_check() 135 while (p < endp) { in __xfs_dir3_data_check() 147 if (endp < p + be16_to_cpu(dup->length)) in __xfs_dir3_data_check() 180 if (endp < p + ops->data_entsize(dep->namelen)) in __xfs_dir3_data_check() 575 char *endp; /* end of block's data */ in xfs_dir2_data_freescan_int() local 593 endp = xfs_dir3_data_endp(geo, hdr); in xfs_dir2_data_freescan_int() 597 while (p < endp) { in xfs_dir2_data_freescan_int()
|
D | xfs_dir2_sf.c | 627 char *endp; in xfs_dir2_sf_verify() local 656 endp = (char *)sfp + size; in xfs_dir2_sf_verify() 674 if (((char *)sfep + sizeof(*sfep)) >= endp) in xfs_dir2_sf_verify() 687 if (endp < (char *)next_sfep) in xfs_dir2_sf_verify() 713 if ((void *)sfep != (void *)endp) in xfs_dir2_sf_verify()
|
D | xfs_attr_leaf.c | 913 char *endp; in xfs_attr_shortform_verify() local 929 endp = (char *)sfp + size; in xfs_attr_shortform_verify() 941 if (((char *)sfep + sizeof(*sfep) - 1) >= endp) in xfs_attr_shortform_verify() 954 if ((char *)next_sfep > endp) in xfs_attr_shortform_verify() 975 if ((void *)sfep != (void *)endp) in xfs_attr_shortform_verify()
|
/linux-4.19.296/fs/lockd/ |
D | svc.c | 620 char *endp; \ 621 __typeof__(type) num = which_strtol(val, &endp, 0); \ 622 if (endp == val || *endp || num < (min) || num > (max)) \
|
/linux-4.19.296/fs/xfs/scrub/ |
D | dir.c | 197 char *p, *endp; in xchk_dir_rec() local 244 endp = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_dir_rec() 245 if (!endp) { in xchk_dir_rec() 249 while (p < endp) { in xchk_dir_rec() 263 if (p >= endp) { in xchk_dir_rec()
|
/linux-4.19.296/drivers/clk/sunxi/ |
D | clk-sunxi.c | 983 char *endp; in sunxi_divs_clk_setup() local 987 endp = strchr(clk_name, '_'); in sunxi_divs_clk_setup() 988 if (endp) { in sunxi_divs_clk_setup() 989 derived_name = kstrndup(clk_name, endp - clk_name, in sunxi_divs_clk_setup()
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 178 char *endp; in set_param_timeout() local 184 l = simple_strtoul(val, &endp, 0); in set_param_timeout() 185 if (endp == val) in set_param_timeout()
|
/linux-4.19.296/drivers/gpio/ |
D | gpiolib-acpi.c | 215 char *endp; in acpi_gpio_in_ignore_list() local 226 pin = simple_strtoul(pin_str + 1, &endp, 10); in acpi_gpio_in_ignore_list() 227 if (*endp != 0 && *endp != ',') in acpi_gpio_in_ignore_list()
|
/linux-4.19.296/drivers/of/ |
D | fdt.c | 1033 const __be32 *reg, *endp; in early_init_dt_scan_memory() local 1047 endp = reg + (l / sizeof(__be32)); in early_init_dt_scan_memory() 1052 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
|
/linux-4.19.296/drivers/isdn/capi/ |
D | capidrv.c | 1721 char *endp; in decodeFVteln() local 1723 digit1 = simple_strtoul(s, &endp, 10); in decodeFVteln() 1724 if (s == endp) in decodeFVteln() 1726 s = endp; in decodeFVteln() 1738 digit2 = simple_strtoul(s, &endp, 10); in decodeFVteln() 1739 if (s == endp) in decodeFVteln() 1741 s = endp; in decodeFVteln()
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | cpqphp_core.c | 86 void __iomem *endp; in detect_SMBIOS_pointer() local 90 endp = (end - sizeof(u32) + 1); in detect_SMBIOS_pointer() 92 for (fp = begin; fp <= endp; fp += 16) { in detect_SMBIOS_pointer()
|
D | cpqphp_pci.c | 42 void __iomem *endp; in detect_HRT_floating_pointer() local 46 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer() 48 for (fp = begin; fp <= endp; fp += 16) { in detect_HRT_floating_pointer()
|
/linux-4.19.296/fs/fat/ |
D | dir.c | 1001 struct msdos_dir_entry *de, *endp; in __fat_remove_entries() local 1012 endp = (struct msdos_dir_entry *)(bh->b_data + sb->s_blocksize); in __fat_remove_entries() 1013 while (nr_slots && de < endp) { in __fat_remove_entries()
|
/linux-4.19.296/block/ |
D | cfq-iosched.c | 2156 char *endp; in cfq_set_weight_on_dfl() local 2163 v = simple_strtoull(buf, &endp, 0); in cfq_set_weight_on_dfl() 2164 if (*endp == '\0' || sscanf(buf, "default %llu", &v) == 1) { in cfq_set_weight_on_dfl()
|