*/ #include <common.h> #include <blk.h> #include #include <dm.h> static int do_lsblk(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) { struct driver *d = ll_entry_start(struct driver, driver); const int n_ents = ll_entry_count(struct driver, driver); ...
(dev->sysfs, &dm_uuid, "dm/uuid") > 0 && dm_uuid) { char *tmp = dm_uuid; char *dm_uuid_prefix = strsep(&tmp, "-"); if (dm_uuid_prefix) { /* kpartx hack to remove partition number */ if (strncasecmp(dm_uuid_prefix, "part", 4) == 0) dm_uuid_prefix[4] ...