| 414 | } |
| 415 | |
| 416 | static 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 | |
| 428 | static enum cb_err get_preload_rdev(struct region_device *rdev, const char *name) |
| 429 | { |
no test coverage detected