Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 46) sorted by relevance

12

/arch/arm/mach-snapdragon/
A Dcapsule_update.c71 int len = strlen(partname); in get_part_slot()
139 if (!strncmp(info.name, "uefi", strlen("uefi"))) { in find_target_partition()
185 } else if ((!strncmp(info.name, "xbl", strlen("xbl")) && in find_target_partition()
186 strlen(info.name) == 5) || in find_target_partition()
187 !strncmp(info.name, "aboot", strlen("aboot"))) { in find_target_partition()
218 } else if (!strncmp(info.name, "boot", strlen("boot"))) { in find_target_partition()
A Dof_fixup.c79 if (!strncmp("usb3-phy", second_phy_name, strlen("usb3-phy"))) in fixup_qcom_dwc3()
90 ret = of_write_prop(dwc3, "phy-names", strlen("usb2-phy") + 1, "usb2-phy"); in fixup_qcom_dwc3()
96 ret = of_write_prop(dwc3, "maximum-speed", strlen("high-speed") + 1, "high-speed"); in fixup_qcom_dwc3()
A Dboard.c333 p += strlen(key); in get_cmdline_option()
424 if (!strncmp("qcom", buf, strlen("qcom"))) { in configure_env()
454 if (!strncmp("thundercomm", buf, strlen("thundercomm"))) { in configure_env()
/arch/mips/lib/
A Dbootm.c88 next = bootargs + strlen(bootargs); in linux_cmdline_legacy()
107 linux_cmdline_set(buf, strlen(buf)); in linux_cmdline_append()
115 linux_cmdline_set(buf, strlen(buf)); in linux_cmdline_append()
117 linux_cmdline_set(buf, strlen(buf)); in linux_cmdline_append()
135 linux_env_p += strlen(env_name); in linux_env_set()
145 linux_env_p += strlen(env_val); in linux_env_set()
/arch/arm/mach-uniphier/
A Dbase-address.c41 str + len - strlen(compat_tail), in uniphier_base_address_get()
42 strlen(compat_tail))) in uniphier_base_address_get()
A Dboard_late_init.c40 buf_len -= strlen(compat); in uniphier_set_env_fdt_file()
/arch/arm/cpu/armv8/fsl-layerscape/
A Dls1028_ids.c89 strlen(name), in fdt_setprop_inplace_idx_u32()
98 if (fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), &len)) in fdt_getprop_len()
/arch/sandbox/cpu/
A Dos.c290 len = strlen(fname) + (dirname ? strlen(dirname) + 1 : 0) + 1; in os_persistent_file()
297 ptr += strlen(dirname); in os_persistent_file()
648 dirlen = strlen(dirname) + 2; in os_dirent_ls()
663 next = os_malloc(sizeof(*node) + strlen(entry->d_name) + 1); in os_dirent_ls()
669 if (dirlen + strlen(entry->d_name) > len) { in os_dirent_ls()
670 len = dirlen + strlen(entry->d_name); in os_dirent_ls()
846 if (*arg == '-' && strlen(arg) == 2) { in add_args()
951 int len = strlen(progname); in os_find_u_boot()
986 memcpy(p + 1, next_prefix, strlen(next_prefix)); in os_find_u_boot()
989 strcpy(p, p + 1 + strlen(cur_prefix)); in os_find_u_boot()
A Dstart.c89 max_arg_len = max((int)strlen(sb_opt[i]->flag), max_arg_len); in sandbox_early_getopt_check()
189 len = strlen(state->argv[0]) + strlen(fmt) + 1; in sandbox_cmdline_cb_default_fdt()
A Deth-raw-os.c99 priv->host_ifname, strlen(priv->host_ifname) + 1); in _raw_packet_start()
126 if (strlen(priv->host_ifname) >= IFNAMSIZ) { in _raw_packet_start()
/arch/m68k/include/asm/
A Dstring.h22 extern __kernel_size_t strlen(const char *);
/arch/powerpc/include/asm/
A Dstring.h20 extern __kernel_size_t strlen(const char *);
/arch/riscv/include/asm/
A Dstring.h47 extern __kernel_size_t strlen(const char *);
/arch/riscv/lib/
A Dstrlen_zbb.S18 WEAK(strlen)
/arch/sh/include/asm/
A Dstring.h100 extern size_t strlen(const char *);
/arch/sh/lib/
A Dbootm.c37 p += strlen(key); in sh_check_cmd_arg()
/arch/x86/cpu/
A Dcpu_x86.c34 if (size < (strlen(vendor) + 1)) in cpu_x86_get_vendor()
/arch/mips/mach-octeon/
A Dcvmx-coremask.c234 if (!strlen(hexstr)) { in cvmx_coremask_str2bmp()
244 l = strlen(hexstr); in cvmx_coremask_str2bmp()
A Dcvmx-helper-board.c1019 if (!memcmp("marvell", compat, strlen("marvell"))) { in __cvmx_helper_78xx_parse_phy()
1022 } else if (!memcmp("broadcom", compat, strlen("broadcom"))) { in __cvmx_helper_78xx_parse_phy()
1025 } else if (!memcmp("cortina", compat, strlen("cortina"))) { in __cvmx_helper_78xx_parse_phy()
1193 if (!memcmp("marvell", phy_compatible_str, strlen("marvell"))) { in __get_phy_info_from_dt()
1198 strlen("broadcom"))) { in __get_phy_info_from_dt()
1202 } else if (!memcmp("vitesse", phy_compatible_str, strlen("vitesse"))) { in __get_phy_info_from_dt()
1224 strlen("aquantia"))) { in __get_phy_info_from_dt()
1228 } else if (!memcmp("cortina", phy_compatible_str, strlen("cortina"))) { in __get_phy_info_from_dt()
1234 } else if (!memcmp("ti", phy_compatible_str, strlen("ti"))) { in __get_phy_info_from_dt()
/arch/arm/mach-imx/
A Dcmd_bmode.c39 int len = strlen(p->name); in create_usage()
/arch/powerpc/lib/
A Dppcstring.S59 .globl strlen
60 strlen: label
/arch/nios2/cpu/
A Dcpu.c96 if (size < strlen(cpu_name)) in altera_nios2_get_desc()
/arch/arm/cpu/armv7/ls102xa/
A Dfdt.c72 strlen(phy_string_for_interface( in ft_fixup_enet_phy_connect_type()
/arch/arm/mach-rockchip/
A Dboard.c125 len = strlen(buf); in set_dfu_alt_info()
343 ret = hash_block("sha256", (void *)cpuid, strlen(cpuid), hash, &size); in rockchip_setup_macaddr()
/arch/x86/lib/
A Dtables.c89 len = strlen(src); in table_fill_string()

Completed in 42 milliseconds

12