Home | History | Annotate | Download | only in libefi

Lines Matching refs:img

90 	EFI_LOADED_IMAGE *img;
110 status = BS->HandleProtocol(IH, &image_protocol, (VOID**)&img);
126 if (img->LoadOptionsSize > 0 && img->LoadOptions != NULL) {
127 if (img->LoadOptionsSize == strlen(img->LoadOptions) + 1) {
128 args = alloc(img->LoadOptionsSize << 1);
129 for (argc = 0; argc < img->LoadOptionsSize; argc++)
130 args[argc] = ((char*)img->LoadOptions)[argc];
132 args = alloc(img->LoadOptionsSize);
133 memcpy(args, img->LoadOptions, img->LoadOptionsSize);
151 addprog = (args == NULL || img->ParentHandle == NULL ||
152 img->FilePath == NULL) ? 1 : 0;
155 (DevicePathType(img->FilePath) != MEDIA_DEVICE_PATH ||
156 DevicePathSubType(img->FilePath) != MEDIA_FILEPATH_DP ||
157 DevicePathNodeLength(img->FilePath) <=