Lines Matching refs:ifname
55 static struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() argument
60 dev_desc = blk_get_devnum_by_typename(ifname, dev); in get_dev_hwpart()
63 ifname, dev); in get_dev_hwpart()
76 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() argument
78 return get_dev_hwpart(ifname, dev, 0); in blk_get_dev()
81 struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() argument
86 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() argument
364 int blk_get_device_by_str(const char *ifname, const char *dev_hwpart_str, in blk_get_device_by_str() argument
386 ifname, dev_str); in blk_get_device_by_str()
395 ifname, hwpart_str); in blk_get_device_by_str()
401 *dev_desc = get_dev_hwpart(ifname, dev, hwpart); in blk_get_device_by_str()
403 printf("** Bad device %s %s **\n", ifname, dev_hwpart_str); in blk_get_device_by_str()
425 int blk_get_device_part_str(const char *ifname, const char *dev_part_str, in blk_get_device_part_str() argument
444 if (0 == strcmp(ifname, "hostfs")) { in blk_get_device_part_str()
468 if (0 == strcmp(ifname, "ubi")) { in blk_get_device_part_str()
508 dev = blk_get_device_by_str(ifname, dev_str, dev_desc); in blk_get_device_part_str()
526 ifname, dev_part_str); in blk_get_device_part_str()
538 printf("** Bad device size - %s %s **\n", ifname, in blk_get_device_part_str()
549 printf("** No partition table - %s %s **\n", ifname, in blk_get_device_part_str()