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

Function find_cbfs_preload_context

src/lib/cbfs.c:416–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416static struct cbfs_preload_context *find_cbfs_preload_context(const char *name)
417{
418 struct cbfs_preload_context *context;
419
420 list_for_each(context, cbfs_preload_context_list, list_node) {
421 if (strcmp(context->name, name) == 0)
422 return context;
423 }
424
425 return NULL;
426}
427
428static enum cb_err get_preload_rdev(struct region_device *rdev, const char *name)
429{

Callers 1

get_preload_rdevFunction · 0.85

Calls 1

strcmpFunction · 0.70

Tested by

no test coverage detected