Searched refs:strnlen (Results 1 – 23 of 23) sorted by relevance
/u-boot/arch/riscv/lib/ |
A D | fdt_fixup.c | 72 bname_len = strnlen(basename, max_len) - strnlen(temp, in riscv_fdt_copy_resv_mem_node()
|
/u-boot/fs/yaffs2/ |
A D | ydirectenv.h | 40 #define yaffs_strnlen(s, m) strnlen(s, m)
|
A D | yaffs_nandif.c | 214 (strnlen(name, YAFFS_MAX_NAME_LENGTH)+1)); in yaffs_add_dev_from_geometry()
|
/u-boot/include/linux/ |
A D | string.h | 77 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
|
/u-boot/scripts/dtc/libfdt/ |
A D | libfdt_env.h | 76 #define strnlen fdt_strnlen macro
|
A D | fdt_ro.c | 734 length = strnlen(list, end - list) + 1; in fdt_stringlist_count() 761 length = strnlen(list, end - list) + 1; in fdt_stringlist_search() 795 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
|
/u-boot/drivers/ata/ |
A D | libata.c | 70 p = s + strnlen((char *)s, len - 1); in ata_id_c_string()
|
/u-boot/board/corscience/tricorder/ |
A D | tricorder.c | 106 len = strnlen(eeprom->interface_version, in print_hwversion()
|
/u-boot/cmd/ |
A D | gpt.c | 432 if (strnlen(s, max_str_part) == 0) in set_gpt_info() 435 i = strnlen(s, max_str_part) - 1; in set_gpt_info() 472 if (strnlen(p, max_str_part) >= sizeof(parts[i].uuid)) { in set_gpt_info() 487 if (strnlen(p, max_str_part) >= sizeof(parts[i].type_guid)) { in set_gpt_info() 505 if (strnlen(p, max_str_part) >= sizeof(parts[i].name)) { in set_gpt_info()
|
A D | setexpr.c | 66 len = strnlen((char *)p, SZ_64K) + 1; in get_arg()
|
/u-boot/lib/ |
A D | smbios.c | 174 old_len = strnlen(ptr, SMBIOS_STR_MAX); in smbios_update_version() 175 len = strnlen(version, SMBIOS_STR_MAX); in smbios_update_version()
|
A D | string.c | 280 size_t strnlen(const char * s, size_t count) in strnlen() function
|
A D | vsprintf.c | 266 len = strnlen(s, precision); in string()
|
/u-boot/drivers/mtd/ubi/ |
A D | debug.c | 117 strnlen(vol->name, vol->name_len + 1) == vol->name_len) { in ubi_dump_vol_info() 149 strnlen(&r->name[0], name_len + 1) == name_len) { in ubi_dump_vtbl_record()
|
A D | kapi.c | 252 len = strnlen(name, UBI_VOL_NAME_MAX + 1); in ubi_open_volume_nm()
|
A D | vtbl.c | 254 if (name_len != strnlen(name, name_len + 1)) {
|
A D | vmt.c | 726 n = strnlen(vol->name, vol->name_len + 1); in self_check_volume()
|
A D | build.c | 1467 len = strnlen(val, MTD_PARAM_LEN_MAX); in ubi_mtd_param_parse()
|
/u-boot/drivers/core/ |
A D | of_access.c | 568 l = strnlen(p, end - p) + 1; in of_property_match_string() 605 l = strnlen(p, end - p) + 1; in of_property_read_string_helper()
|
A D | ofnode.c | 169 if (strnlen(str, len) >= len) { in ofnode_read_string()
|
/u-boot/drivers/mtd/ubispl/ |
A D | ubispl.c | 77 strnlen(&r->name[0], name_len + 1) == name_len) { in ubi_dump_vtbl_record() 176 if (name_len != strnlen(name, name_len + 1)) { in vtbl_check()
|
/u-boot/fs/ubifs/ |
A D | replay.c | 454 strnlen(dent->name, nlen) != nlen || in ubifs_validate_entry()
|
/u-boot/scripts/dtc/ |
A D | checks.c | 212 l = strnlen(str, rem); in check_is_string_list() 913 str += strnlen(str, end - str) + 1) { in node_is_compatible()
|
Completed in 45 milliseconds