Searched refs:mtd_name_len (Results 1 – 2 of 2) sorted by relevance
255 unsigned int mtd_name_len; in mtd_probe_devices() local273 mtd_name_len = (unsigned int)(colon - mtdparts); in mtd_probe_devices()274 if (mtd_name_len + 1 > sizeof(mtd_name)) { in mtd_probe_devices()279 strncpy(mtd_name, mtdparts, mtd_name_len); in mtd_probe_devices()280 mtd_name[mtd_name_len] = '\0'; in mtd_probe_devices()282 mtdparts += mtd_name_len + 1; in mtd_probe_devices()
583 int plen, mtd_name_len, offset, prefix_len; in mtd_check_of_node() local604 mtd_name_len = strlen(mtd->name); in mtd_check_of_node()621 if (plen == mtd_name_len && in mtd_check_of_node()