Lines Matching refs:source
129 if (!fc->source) in get_tree_mtd()
132 pr_debug("MTDSB: dev_name \"%s\"\n", fc->source); in get_tree_mtd()
139 if (fc->source[0] == 'm' && in get_tree_mtd()
140 fc->source[1] == 't' && in get_tree_mtd()
141 fc->source[2] == 'd') { in get_tree_mtd()
142 if (fc->source[3] == ':') { in get_tree_mtd()
147 fc->source + 4); in get_tree_mtd()
149 mtd = get_mtd_device_nm(fc->source + 4); in get_tree_mtd()
154 fc->source + 4); in get_tree_mtd()
156 } else if (isdigit(fc->source[3])) { in get_tree_mtd()
160 mtdnr = simple_strtoul(fc->source + 3, &endptr, 0); in get_tree_mtd()
173 ret = lookup_bdev(fc->source, &dev); in get_tree_mtd()
175 errorf(fc, "MTD: Couldn't look up '%s': %d", fc->source, ret); in get_tree_mtd()
187 fc->source); in get_tree_mtd()