Home
last modified time | relevance | path

Searched refs:BS (Results 1 – 25 of 169) sorted by relevance

1234567

/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/
H A Devent.c44 BS->CreateEvent, in LibCreateProtocolNotifyEvent()
60 BS->RegisterProtocolNotify, in LibCreateProtocolNotifyEvent()
74 uefi_call_wrapper(BS->SignalEvent, 1, Event); in LibCreateProtocolNotifyEvent()
95 Status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL, &TimerEvent); in WaitForSingleEvent()
102 uefi_call_wrapper(BS->SetTimer, 3, TimerEvent, TimerRelative, Timeout); in WaitForSingleEvent()
110 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 2, WaitList, &Index); in WaitForSingleEvent()
111 uefi_call_wrapper(BS->CloseEvent, 1, TimerEvent); in WaitForSingleEvent()
128 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 1, &Event, &Index); in WaitForSingleEvent()
H A Dhand.c46 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], ProtocolGuid, Interface); in LibLocateProtocol()
87 BS->LocateHandle, in LibLocateHandle()
146 BS->LocateHandle, in LibLocateHandleByDiskSignature()
183 BS->HandleProtocol, in LibLocateHandleByDiskSignature()
314 …Status = uefi_call_wrapper(BS->HandleProtocol, 3, DeviceHandle, &FileSystemProtocol, (VOID*)&Volum… in LibOpenRoot()
457 OldTpl = uefi_call_wrapper(BS->RaiseTPL, 1, TPL_NOTIFY); in LibInstallProtocolInterfaces()
486 …Status = uefi_call_wrapper(BS->InstallProtocolInterface, 4, Handle, Protocol, EFI_NATIVE_INTERFACE… in LibInstallProtocolInterfaces()
508 uefi_call_wrapper(BS->UninstallProtocolInterface, 3, *Handle, Protocol, Interface); in LibInstallProtocolInterfaces()
522 uefi_call_wrapper(BS->RestoreTPL, 1, OldTpl); in LibInstallProtocolInterfaces()
557 Status = uefi_call_wrapper(BS->UninstallProtocolInterface, 3, Handle, Protocol, Interface); in LibUninstallProtocolInterfaces()
[all …]
H A Dcmdline.c41 Status = uefi_call_wrapper(BS->OpenProtocol, 6, in GetShellArgcArgvFromLoadedImage()
87 Status = uefi_call_wrapper(BS->OpenProtocol, 6, in GetShellArgcArgv()
104 Status = uefi_call_wrapper(BS->OpenProtocol, 6, in GetShellArgcArgv()
H A Dinit.c63 BS = SystemTable->BootServices; in InitializeLib()
76 BS->HandleProtocol, in InitializeLib()
137 …Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], &UnicodeCollationProtocol, (VOID… in InitializeUnicodeSupport()
H A Dhw.c58 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, Protocol, &DevicePath, &Handle); in InitializeGlobalIoDevice()
64 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, &DeviceIoProtocol, &DevicePath, &Handle); in InitializeGlobalIoDevice()
66 … Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handle, &DeviceIoProtocol, (VOID*)GlobalIoFncs); in InitializeGlobalIoDevice()
/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/runtime/
H A Drtlock.c50 if (BS) { in RtAcquireLock()
51 if (BS->RaiseTPL != NULL) { in RtAcquireLock()
52 Lock->OwnerTpl = uefi_call_wrapper(BS->RaiseTPL, 1, Lock->Tpl); in RtAcquireLock()
94 if (BS) { in RtReleaseLock()
95 if (BS->RestoreTPL != NULL) { in RtReleaseLock()
96 uefi_call_wrapper(BS->RestoreTPL, 1, Tpl); in RtReleaseLock()
/netbsd-src/sys/stand/efiboot/
H A Defiboot.c78 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, sz, &heap_start); in efi_main()
83 status = uefi_call_wrapper(BS->HandleProtocol, 3, imageHandle, &LoadedImageProtocol, (void **)&efi_li); in efi_main()
86 status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, &DevicePathProtocol, (void **)&efi_bootdp); in efi_main()
128 status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, mapkey); in efi_cleanup()
144 status = uefi_call_wrapper(BS->Exit, 4, IH, EFI_ABORTED, 0, NULL); in efi_exit()
164 status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, TPL_APPLICATION, 0, 0, &delay_ev); in efi_delay()
169 uefi_call_wrapper(BS->SetTimer, 3, delay_ev, TimerRelative, us * 10); in efi_delay()
170 uefi_call_wrapper(BS->WaitForEvent, 3, 1, &delay_ev, &val); in efi_delay()
H A Dexec.c89 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData, in load_file()
93 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, in load_file()
142 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, in generate_efirng()
146 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, in generate_efirng()
157 uefi_call_wrapper(BS->FreePages, 2, addr, in generate_efirng()
194 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData, in exec_netbsd()
198 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, in exec_netbsd()
227 uefi_call_wrapper(BS->FreePages, 2, addr, EFI_SIZE_TO_PAGES(alloc_size)); in exec_netbsd()
H A Defipxe.c62 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
72 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
81 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
H A Defigetsecs.c70 status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK, in getsecs()
74 …status = uefi_call_wrapper(BS->SetTimer, 3, getsecs_ev, TimerPeriodic, 10000000); /* 1s in "100ns"… in getsecs()
/netbsd-src/sys/arch/ia64/stand/efi/libefi/
H A Defi.c41 EFI_BOOT_SERVICES *BS; variable
82 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize)); in efi_exit()
83 BS->Exit(IH, exit_code, 0, NULL); in efi_exit()
97 BS = ST->BootServices; in efi_main()
101 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, in efi_main()
104 BS->Exit(IH, status, 0, NULL); in efi_main()
110 status = BS->HandleProtocol(IH, &image_protocol, (VOID**)&img); in efi_main()
H A Ddelay.c42 if (BS->CreateEvent(EVT_TIMER, TPL_APPLICATION, 0, 0, &ev) in delay()
47 BS->SetTimer(ev, TimerRelative, usecs * 10); in delay()
48 BS->WaitForEvent(1, &ev, &junk); in delay()
H A Dexec.c157 BS->GetMemoryMap(&size, NULL, &mapkey, &descsz, &descver); in elf64_exec()
160 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages, in elf64_exec()
173 status = BS->ExitBootServices(IH, mapkey); in elf64_exec()
H A Defifpswa.c55 status = BS->LocateHandle(ByProtocol, &fpswaid, 0, &sz, &fpswa_handle); in fpswa_init()
59 status = BS->HandleProtocol(fpswa_handle, &fpswaid, (VOID **)&fpswa); in fpswa_init()
H A Defi_console.c81 BS->WaitForEvent(1, &conin->WaitForKey, &junk); in efi_cons_getchar()
91 return (BS->CheckEvent(conin->WaitForKey) == EFI_SUCCESS); in efi_cons_poll()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Ddact8 >5 byte >-1 $BS%i.
9 >6 byte >-1 $BS%i)
10 >7 long >0 $BS, original size: %i bytes
11 >15 long >30 $BS, block size: %i bytes
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Defiboot.c70 status = uefi_call_wrapper(BS->HandleProtocol, 3, IH, in efi_main()
75 status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, in efi_main()
99 status = uefi_call_wrapper(BS->SetWatchdogTimer, 4, 0, 0, 0, NULL); in efi_main()
127 status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey); in efi_cleanup()
132 status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey); in efi_cleanup()
155 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, in efi_heap_init()
H A Deficons.c811 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_com_probe()
833 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_com_probe()
988 uefi_call_wrapper(BS->SetTimer, 3, event, TimerCancel, 0); in efi_com_periodic_event()
989 uefi_call_wrapper(BS->SignalEvent, 1, timer); in efi_com_periodic_event()
999 status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL, in efi_com_waitforinputevent()
1004 status = uefi_call_wrapper(BS->CreateEvent, 5, in efi_com_waitforinputevent()
1008 uefi_call_wrapper(BS->CloseEvent, 1, timer); in efi_com_waitforinputevent()
1012 status = uefi_call_wrapper(BS->SetTimer, 3, periodic, TimerPeriodic, in efi_com_waitforinputevent()
1015 uefi_call_wrapper(BS->CloseEvent, 1, periodic); in efi_com_waitforinputevent()
1016 uefi_call_wrapper(BS->CloseEvent, 1, timer); in efi_com_waitforinputevent()
[all …]
H A Defipxe.c62 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
72 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
81 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp36 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr)); in alias() local
39 if (AS == BS) in alias()
45 SE.getEffectiveSCEVType(BS->getType())) { in alias()
55 const SCEV *BA = SE.getMinusSCEV(BS, AS); in alias()
69 const SCEV *AB = SE.getMinusSCEV(AS, BS); in alias()
83 Value *BO = GetBaseValue(BS); in alias()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp132 auto &BS = BlockSizes[MBB->getNumber()-1]; in ComputeBlockSizes() local
133 BS.first += AlignExtra; in ComputeBlockSizes()
134 BS.second = AlignExtra; in ComputeBlockSizes()
189 auto &BS = BlockSizes[MBB->getNumber()-1]; in modifyAdjustment() local
190 BS.first -= BS.second; in modifyAdjustment()
191 Offset -= BS.second; in modifyAdjustment()
195 BS.first += AlignExtra; in modifyAdjustment()
196 BS.second = AlignExtra; in modifyAdjustment()
/netbsd-src/sys/arch/x68k/dev/
H A Dkbdmap.c.ascii39 0, DEL, /* really BS, DEL & BS swapped */
79 0, '\b', /* really DEL, BS & DEL swapped */
152 0, DEL, /* really BS, DEL & BS swapped */
192 0, '\b', /* really DEL, BS & DEL swapped */
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h372 BufferByteStreamer BS; member
374 TempBuffer(bool GenerateComments) : BS(Bytes, Comments, GenerateComments) {} in TempBuffer()
382 ByteStreamer &getActiveStreamer() { return IsBuffering ? TmpBuf->BS : OutBS; } in getActiveStreamer()
399 DebugLocDwarfExpression(unsigned DwarfVersion, BufferByteStreamer &BS, in DebugLocDwarfExpression() argument
401 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {} in DebugLocDwarfExpression()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp223 std::vector<R600InstrInfo::BankSwizzle> &BS, in isBundlableWithCurrentPMI() argument
263 PV, BS, isTransSlot)) { in isBundlableWithCurrentPMI()
291 std::vector<R600InstrInfo::BankSwizzle> BS; in addToPacket() local
294 if (isBundlableWithCurrentPMI(MI, PV, BS, isTransSlot)) { in addToPacket()
299 MI->getOperand(Op).setImm(BS[i]); in addToPacket()
303 MI.getOperand(Op).setImm(BS.back()); in addToPacket()
/netbsd-src/sys/arch/i386/stand/efiboot/bootia32/
H A Defibootia32.c52 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, in efi_md_init()
62 status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, in efi_md_init()

1234567