Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/lib/
Dcmdline.c130 char *endptr; /* local pointer to end of parsed string */ in memparse() local
132 unsigned long long ret = simple_strtoull(ptr, &endptr, 0); in memparse()
134 switch (*endptr) { in memparse()
153 endptr++; in memparse()
159 *retptr = endptr; in memparse()
/linux-4.19.296/drivers/pci/hotplug/
Drpaphp_core.c292 char *endptr; in is_php_type() local
295 value = simple_strtoul(drc_type, &endptr, 10); in is_php_type()
296 if (endptr == drc_type) in is_php_type()
/linux-4.19.296/fs/xfs/
Dxfs_dir2_readdir.c145 char *endptr; /* end of the data entries */ in xfs_dir2_block_getdents() local
176 endptr = xfs_dir3_data_endp(geo, hdr); in xfs_dir2_block_getdents()
182 while (ptr < endptr) { in xfs_dir2_block_getdents()
/linux-4.19.296/fs/ubifs/
Dsuper.c1956 char *endptr; in open_ubi() local
1977 dev = simple_strtoul(name + 3, &endptr, 0); in open_ubi()
1980 if (*endptr == '\0') in open_ubi()
1984 if (*endptr == '_' && isdigit(endptr[1])) { in open_ubi()
1985 vol = simple_strtoul(endptr + 1, &endptr, 0); in open_ubi()
1986 if (*endptr != '\0') in open_ubi()
1992 if ((*endptr == ':' || *endptr == '!') && endptr[1] != '\0') in open_ubi()
1993 return ubi_open_volume_nm(dev, ++endptr, mode); in open_ubi()
/linux-4.19.296/fs/xfs/scrub/
Ddir.c331 char *endptr; in xchk_directory_data_bestfree() local
394 endptr = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
397 while (ptr < endptr) { in xchk_directory_data_bestfree()
436 if (ptr <= endptr) in xchk_directory_data_bestfree()
441 if (ptr != endptr) in xchk_directory_data_bestfree()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_data.c794 char *endptr; /* end of data area */ in xfs_dir2_data_make_free() local
806 endptr = xfs_dir3_data_endp(args->geo, hdr); in xfs_dir2_data_make_free()
807 ASSERT(endptr != NULL); in xfs_dir2_data_make_free()
826 if ((char *)hdr + offset + len < endptr) { in xfs_dir2_data_make_free()
Dxfs_dir2_sf.c150 char *endptr; /* end of data entries */ in xfs_dir2_block_to_sf() local
183 endptr = xfs_dir3_data_endp(args->geo, hdr); in xfs_dir2_block_to_sf()
189 while (ptr < endptr) { in xfs_dir2_block_to_sf()
/linux-4.19.296/drivers/pci/
Dpci.c218 const char **endptr) in pci_dev_str_match_path() argument
225 *endptr = strchrnul(path, ';'); in pci_dev_str_match_path()
227 wpath = kmemdup_nul(path, *endptr - path, GFP_ATOMIC); in pci_dev_str_match_path()
312 const char **endptr) in pci_dev_str_match() argument
353 *endptr = p; in pci_dev_str_match()
357 *endptr = p; in pci_dev_str_match()
/linux-4.19.296/drivers/parport/
Dparport_pc.c3240 char *endptr; in parport_setup() local
3256 val = simple_strtoul(str, &endptr, 0); in parport_setup()
3257 if (endptr == str) { in parport_setup()