MCPcopy Create free account
hub / github.com/coreboot/coreboot / find_image

Function find_image

src/lib/fit.c:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static struct fit_image_node *find_image(const char *name)
74{
75 struct fit_image_node *image;
76 list_for_each(image, image_nodes, list_node) {
77 if (!strcmp(image->name, name))
78 return image;
79 }
80 printk(BIOS_ERR, "Cannot find image node %s!\n", name);
81 return NULL;
82}
83
84static struct fit_image_node *find_image_with_overlays(const char *name,
85 int bytes, struct list_node *prev)

Callers 2

find_image_with_overlaysFunction · 0.85
config_nodeFunction · 0.85

Calls 2

strcmpFunction · 0.70
printkFunction · 0.50

Tested by

no test coverage detected