Lines Matching refs:source
106 if (!fc->source) in get_tree_mtd()
109 pr_debug("MTDSB: dev_name \"%s\"\n", fc->source); in get_tree_mtd()
116 if (fc->source[0] == 'm' && in get_tree_mtd()
117 fc->source[1] == 't' && in get_tree_mtd()
118 fc->source[2] == 'd') { in get_tree_mtd()
119 if (fc->source[3] == ':') { in get_tree_mtd()
124 fc->source + 4); in get_tree_mtd()
126 mtd = get_mtd_device_nm(fc->source + 4); in get_tree_mtd()
131 fc->source + 4); in get_tree_mtd()
133 } else if (isdigit(fc->source[3])) { in get_tree_mtd()
137 mtdnr = simple_strtoul(fc->source + 3, &endptr, 0); in get_tree_mtd()
150 ret = lookup_bdev(fc->source, &dev); in get_tree_mtd()
152 errorf(fc, "MTD: Couldn't look up '%s': %d", fc->source, ret); in get_tree_mtd()
164 fc->source); in get_tree_mtd()