Searched refs:img_path (Results 1 – 2 of 2) sorted by relevance
| /misc/debug_tools/acrn_crashlog/acrnprobe/ |
| A D | loop.c | 136 static int loopdev_set_img(const char *loopdev, const char *img_path) in loopdev_set_img() argument 142 if (!loopdev || !img_path) in loopdev_set_img() 152 imgfd = open(img_path, O_RDONLY); in loopdev_set_img() 154 LOGE("failed to open %s, error (%s)\n", img_path, in loopdev_set_img() 162 LOGE("failed to set (%s) to (%s), error (%s)\n", img_path, in loopdev_set_img() 174 int loopdev_set_img_par(const char *loopdev, const char *img_path, in loopdev_set_img_par() argument 181 if (!loopdev || !img_path || !parname) in loopdev_set_img_par() 184 res = get_par_startaddr_from_img(img_path, parname, &par_start); in loopdev_set_img_par() 190 res = loopdev_set_img(loopdev, img_path); in loopdev_set_img_par() 193 img_path, loopdev, strerror(-res)); in loopdev_set_img_par()
|
| /misc/debug_tools/acrn_crashlog/acrnprobe/include/ |
| A D | loop.h | 9 int loopdev_set_img_par(const char *loopdev, const char *img_path,
|
Completed in 4 milliseconds