/DragonStub/lib/runtime/ |
H A D | rtlock.c | 49 if (BS->RaiseTPL != NULL) { in RtAcquireLock() 54 if (LibRuntimeRaiseTPL != NULL) { in RtAcquireLock() 93 if (BS->RestoreTPL != NULL) { in RtReleaseLock() 98 if (LibRuntimeRestoreTPL != NULL) { in RtReleaseLock()
|
H A D | rtdata.c | 63 EFI_RAISE_TPL LibRuntimeRaiseTPL = NULL; 64 EFI_RESTORE_TPL LibRuntimeRestoreTPL = NULL;
|
H A D | efirtlib.c | 74 if (d == NULL || s == NULL || s == d) in RtCopyMem()
|
/DragonStub/lib/ |
H A D | cmdline.c | 34 void *LoadedImage = NULL; in GetShellArgcArgvFromLoadedImage() 44 NULL, in GetShellArgcArgvFromLoadedImage() 82 EFI_SHELL_PARAMETERS_PROTOCOL *EfiShellParametersProtocol = NULL; in GetShellArgcArgv() 83 EFI_SHELL_INTERFACE *EfiShellInterfaceProtocol = NULL; in GetShellArgcArgv() 90 NULL, in GetShellArgcArgv() 107 NULL, in GetShellArgcArgv()
|
H A D | hand.c | 36 *Interface = NULL; in LibLocateProtocol() 37 Status = LibLocateHandle (ByProtocol, ProtocolGuid, NULL, &NumberHandles, &Handles); in LibLocateProtocol() 75 *Buffer = NULL; in LibLocateHandle() 130 BlockIoBuffer = NULL; in LibLocateHandleByDiskSignature() 148 NULL, in LibLocateHandleByDiskSignature() 168 *Buffer = NULL; in LibLocateHandleByDiskSignature() 198 if (DevicePath != NULL) { in LibLocateHandleByDiskSignature() 251 BlockIoBuffer[Index] = NULL; in LibLocateHandleByDiskSignature() 264 *Buffer = NULL; in LibLocateHandleByDiskSignature() 274 if (*Buffer == NULL) { in LibLocateHandleByDiskSignature() [all …]
|
H A D | entry.c | 28 if (func != NULL) in ctors() 36 if (func != NULL) in ctors() 46 if (func != NULL) in dtors() 54 if (func != NULL) in dtors()
|
H A D | event.c | 46 if ( EFI_ERROR( Status ) ) return NULL ; in LibCreateProtocolNotifyEvent() 60 if ( EFI_ERROR( Status ) ) return NULL ; in LibCreateProtocolNotifyEvent() 89 Status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL, &TimerEvent); in WaitForSingleEvent()
|
H A D | sread.c | 66 FHand = NULL; in OpenSimpleReadFile() 89 *DeviceHandle = NULL; in OpenSimpleReadFile() 98 FileHandle = NULL; in OpenSimpleReadFile() 137 FileHandle = NULL; in OpenSimpleReadFile() 178 FileHandle = NULL; in OpenSimpleReadFile() 217 NULL in OpenSimpleReadFile()
|
H A D | misc.c | 36 p = NULL; in AllocatePool() 65 NewPool = NULL; in ReallocatePool() 196 *Buffer = NULL; in GrowBuffer() 220 Buffer = NULL; in LibMemoryMap() 257 Buffer = NULL; in LibGetVariableAndSize() 270 NULL, in LibGetVariableAndSize() 316 0, NULL in LibDeleteVariable() 542 … return (ReturnDevicePathStrOnMismatch) ? DevicePathToStr(DevicePathFromHandle(Handle)) : NULL; in LibGetUiString() 562 return (ReturnDevicePathStrOnMismatch) ? DevicePathToStr(DevicePathFromHandle(Handle)) : NULL; in LibGetUiString()
|
H A D | smbios.c | 131 return NULL; in LibGetSmbiosString() 134 return NULL; in LibGetSmbiosString()
|
H A D | data.c | 60 NULL, // FatToStr 61 NULL, // StrToFat 62 NULL // SupportedLanguages
|
/DragonStub/apps/lib/libfdt/ |
H A D | fdt_ro.c | 97 return NULL; in fdt_get_string() 102 return fdt_get_string(fdt, stroffset, NULL); in fdt_string() 122 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle() 167 return NULL; in fdt_mem_rsv() 170 return NULL; in fdt_mem_rsv() 194 for (i = 0; (re = fdt_mem_rsv(fdt, i)) != NULL; i++) { in fdt_num_mem_rsv() 320 if (leaf == NULL) { in fdt_get_name() 335 return NULL; in fdt_get_name() 367 return NULL; in fdt_get_property_by_offset_() 388 return NULL; in fdt_get_property_by_offset() [all …]
|
H A D | fdt.c | 147 return NULL; in fdt_offset_ptr() 153 return NULL; in fdt_offset_ptr() 158 return NULL; in fdt_offset_ptr() 325 return NULL; in fdt_find_string_()
|
H A D | fdt_overlay.c | 47 const char *path = NULL; in fdt_overlay_target_offset() 82 *pathp = path ? path : NULL; in fdt_overlay_target_offset() 272 NULL); in overlay_update_local_node_references() 567 const char *name = fdt_get_name(fdto, subnode, NULL); in overlay_apply_node() 624 target = fdt_overlay_target_offset(fdt, fdto, fragment, NULL); in overlay_merge()
|
/DragonStub/apps/ |
H A D | random.c | 36 efi_rng_protocol_t *rng = NULL; in efi_get_random_bytes() 38 status = efi_bs_call(LocateProtocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes() 42 return efi_call_proto(rng, get_rng, NULL, size, out); in efi_get_random_bytes()
|
H A D | dragon_stub-main.c | 13 EFI_LOADED_IMAGE *loaded_image = NULL; in efi_main() 15 char *cmdline_ptr = NULL; in efi_main() 42 if (cmdline_ptr == NULL) in efi_main()
|
H A D | mem.c | 28 status = efi_bs_call(GetMemoryMap, &tmp.map_size, NULL, &tmp.map_key, in efi_get_memory_map() 62 efi_bs_call(InstallConfigurationTable, &tbl_guid, NULL); in efi_get_memory_map()
|
H A D | helper.c | 44 efi_tcg2_protocol_t *tcg2 = NULL; in efi_measure_tagged_event() 47 efi_bs_call(LocateProtocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event() 206 return NULL; in efi_convert_cmdline() 339 return NULL; in get_efi_config_table()
|
H A D | elf.c | 223 status = efi_bs_call(LocateProtocol, &guid, NULL, (void **)&memattr); in efi_remap_image_all_rwx() 410 Elf64_Ehdr *ehdr = NULL; in load_elf() 417 ASSERT(ehdr != NULL); in load_elf() 422 Elf64_Phdr *phdr_start = NULL; in load_elf() 461 struct dragonstub_payload_efi *tbl = NULL; in load_elf()
|
H A D | fdt.c | 129 if (cmdline_ptr != NULL && strlen(cmdline_ptr) > 0) { in update_fdt() 389 return NULL; in get_fdt() 393 return NULL; in get_fdt()
|
/DragonStub/inc/ |
H A D | efidef.h | 47 #ifndef NULL 49 #define NULL nullptr macro 52 #define NULL ((VOID *) 0) macro 54 #define NULL 0 macro
|
/DragonStub/inc/dragonstub/linux/ |
H A D | stddef.h | 65 #undef NULL 66 #define NULL ((void *)0) macro
|
/DragonStub/lib/ia64/ |
H A D | salpal.c | 73 GlobalSalProc = NULL; in LibInitSalAndPalProc() 74 GlobalPalProc = NULL; in LibInitSalAndPalProc() 225 return NULL; in LibSearchSalSystemTable() 230 return NULL; in LibSearchSalSystemTable() 265 return NULL; in LibSearchSalSystemTable()
|
/DragonStub/apps/lib/ |
H A D | cmdline.c | 27 upper_range = simple_strtol((*str), NULL, 0); in get_range() 219 *val = NULL; in next_arg()
|
/DragonStub/gnuefi/ |
H A D | reloc_riscv64.c | 50 Elf_Rela *rel = NULL; in _relocate()
|