Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 40) sorted by relevance

12

/DragonStub/lib/runtime/
H A Drtlock.c49 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 Drtdata.c63 EFI_RAISE_TPL LibRuntimeRaiseTPL = NULL;
64 EFI_RESTORE_TPL LibRuntimeRestoreTPL = NULL;
H A Defirtlib.c74 if (d == NULL || s == NULL || s == d) in RtCopyMem()
/DragonStub/lib/
H A Dcmdline.c34 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 Dhand.c36 *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 Dentry.c28 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 Devent.c46 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 Dsread.c66 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 Dmisc.c36 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 Dsmbios.c131 return NULL; in LibGetSmbiosString()
134 return NULL; in LibGetSmbiosString()
H A Ddata.c60 NULL, // FatToStr
61 NULL, // StrToFat
62 NULL // SupportedLanguages
/DragonStub/apps/lib/libfdt/
H A Dfdt_ro.c97 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 Dfdt.c147 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 Dfdt_overlay.c47 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 Drandom.c36 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 Ddragon_stub-main.c13 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 Dmem.c28 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 Dhelper.c44 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 Delf.c223 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 Dfdt.c129 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 Defidef.h47 #ifndef NULL
49 #define NULL nullptr macro
52 #define NULL ((VOID *) 0) macro
54 #define NULL 0 macro
/DragonStub/inc/dragonstub/linux/
H A Dstddef.h65 #undef NULL
66 #define NULL ((void *)0) macro
/DragonStub/lib/ia64/
H A Dsalpal.c73 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 Dcmdline.c27 upper_range = simple_strtol((*str), NULL, 0); in get_range()
219 *val = NULL; in next_arg()
/DragonStub/gnuefi/
H A Dreloc_riscv64.c50 Elf_Rela *rel = NULL; in _relocate()

12