Symbol: BS
stand/common/gfx_fb.c
874
tpl = BS->RaiseTPL(TPL_NOTIFY);
stand/common/gfx_fb.c
923
BS->RestoreTPL(tpl);
stand/efi/boot1/boot1.c
118
if ((status = BS->LoadImage(TRUE, IH, efi_devpath_last_node(dev->devpath),
stand/efi/boot1/boot1.c
152
if ((status = BS->StartImage(loaderhandle, NULL, NULL)) !=
stand/efi/boot1/boot1.c
186
BS = ST->BootServices;
stand/efi/boot1/boot1.c
190
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/boot1/boot1.c
196
BS->Exit(IH, status, 0, NULL);
stand/efi/boot1/boot1.c
202
status = BS->LocateProtocol(&ConsoleControlGUID, NULL,
stand/efi/boot1/boot1.c
230
BS->LocateHandle(ByProtocol, &BlockIoProtocolGUID, NULL,
stand/efi/boot1/boot1.c
236
status = BS->LocateHandle(ByProtocol, &BlockIoProtocolGUID,
stand/efi/boot1/boot1.c
297
BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize));
stand/efi/boot1/boot1.c
298
BS->Exit(IH, s, 0, NULL);
stand/efi/boot1/boot_module.h
38
#define DSTALL(d) BS->Stall(d)
stand/efi/boot1/proto.c
191
BS->Exit(IH, EFI_OUT_OF_RESOURCES, 0, NULL);
stand/efi/include/efilib.h
39
extern EFI_BOOT_SERVICES *BS;
stand/efi/include/efilib.h
81
status = BS->ExitBootServices(IH, key);
stand/efi/libefi/delay.c
34
BS->Stall(usecs);
stand/efi/libefi/devpath.c
487
status = BS->AllocatePool(EfiLoaderData, len, (void **)&out);
stand/efi/libefi/devpath.c
508
status = BS->LocateProtocol(&DevicePathToTextGUID, NULL,
stand/efi/libefi/devpath.c
523
BS->FreePool(text);
stand/efi/libefi/devpath.c
549
status = BS->LocateProtocol(&DevicePathFromTextGUID, NULL,
stand/efi/libefi/devpath.c
563
BS->FreePool(devpath);
stand/efi/libefi/devpath.c
627
status = BS->LocateDevicePath(&DevicePathGUID, &devpath, &h);
stand/efi/libefi/devpath.c
74
status = BS->CloseProtocol(handle, &DevicePathGUID, IH, NULL);
stand/efi/libefi/efi_console.c
1377
status = BS->CheckEvent(coninex->WaitForKeyEx);
stand/efi/libefi/efi_console.c
1384
status = BS->CheckEvent(conin->WaitForKey);
stand/efi/libefi/efi_console.c
424
status = BS->OpenProtocol(ST->ConsoleInHandle,
stand/efi/libefi/efi_driver_utils.c
42
status = BS->LocateHandle(ByProtocol, filter, NULL,
stand/efi/libefi/efi_driver_utils.c
54
status = BS->LocateHandle(ByProtocol, filter, NULL,
stand/efi/libefi/efi_driver_utils.c
62
BS->ConnectController(handles[i], NULL, NULL, true);
stand/efi/libefi/efi_driver_utils.c
77
status = BS->InstallMultipleProtocolInterfaces(
stand/efi/libefi/eficom.c
105
status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
stand/efi/libefi/eficom.c
116
status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
stand/efi/libefi/eficom.c
238
status = BS->LocateDevicePath(&serial, &node, &handle);
stand/efi/libefi/eficom.c
312
status = BS->OpenProtocol(handle, &serial,
stand/efi/libefi/eficom.c
510
status = BS->OpenProtocol(handle, &serial,
stand/efi/libefi/efihttp.c
121
status = BS->OpenProtocol(handle, &ip4config2_guid,
stand/efi/libefi/efihttp.c
205
status = BS->LocateDevicePath(&httpsb_guid, &imgpath, &handle);
stand/efi/libefi/efihttp.c
249
status = BS->LocateDevicePath(&httpsb_guid, &devpath, &handle);
stand/efi/libefi/efihttp.c
292
status = BS->OpenProtocol(handle, &httpsb_guid, (void **)&sb, IH, NULL,
stand/efi/libefi/efihttp.c
305
status = BS->OpenProtocol(oh->http_handle, &http_guid,
stand/efi/libefi/efihttp.c
371
status = BS->OpenProtocol(oh->dev_handle, &httpsb_guid, (void **)&sb,
stand/efi/libefi/efihttp.c
441
status = BS->CreateEvent(EVT_NOTIFY_SIGNAL, TPL_CALLBACK, notify,
stand/efi/libefi/efihttp.c
482
BS->CloseEvent(token.Event);
stand/efi/libefi/efihttp.c
497
BS->CloseEvent(token.Event);
stand/efi/libefi/efihttp.c
503
status = BS->CreateEvent(EVT_NOTIFY_SIGNAL, TPL_CALLBACK, notify,
stand/efi/libefi/efihttp.c
517
BS->CloseEvent(token.Event);
stand/efi/libefi/efihttp.c
532
BS->CloseEvent(token.Event);
stand/efi/libefi/efihttp.c
534
BS->FreePool(message.Headers);
stand/efi/libefi/efihttp.c
538
BS->FreePool(message.Headers);
stand/efi/libefi/efihttp.c
624
status = BS->CreateEvent(EVT_NOTIFY_SIGNAL, TPL_CALLBACK, notify,
stand/efi/libefi/efihttp.c
642
BS->CloseEvent(token.Event);
stand/efi/libefi/efihttp.c
656
BS->CloseEvent(token.Event);
stand/efi/libefi/efinet.c
121
status = BS->OpenProtocol(h, &sn_guid, (void **)&net,
stand/efi/libefi/efinet.c
370
status = BS->LocateHandle(ByProtocol, &sn_guid, NULL, &sz, NULL);
stand/efi/libefi/efinet.c
375
status = BS->LocateHandle(ByProtocol, &sn_guid, NULL, &sz,
stand/efi/libefi/efipart.c
158
status = BS->LocateDevicePath(&blkio_guid, &devp, &h);
stand/efi/libefi/efipart.c
363
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, hin);
stand/efi/libefi/efipart.c
368
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz,
stand/efi/libefi/libefi.c
34
EFI_BOOT_SERVICES *BS;
stand/efi/libefi/libefi.c
54
return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
stand/efi/libefi/time_event.c
48
BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
stand/efi/libefi/time_event.c
51
BS->SetTimer(time_event, TimerPeriodic, 10000000);
stand/efi/libefi/time_event.c
59
BS->SetTimer(time_event, TimerCancel, 0);
stand/efi/libefi/time_event.c
60
BS->CloseEvent(time_event);
stand/efi/loader/arch/amd64/elf64_freebsd.c
105
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 1,
stand/efi/loader/arch/amd64/elf64_freebsd.c
120
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 3,
stand/efi/loader/arch/amd64/elf64_freebsd.c
124
BS->FreePages(trampcode, 1);
stand/efi/loader/arch/amd64/elf64_freebsd.c
161
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 9,
stand/efi/loader/arch/amd64/elf64_freebsd.c
165
BS->FreePages(trampcode, 9);
stand/efi/loader/arch/amd64/multiboot2.c
342
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/arch/amd64/multiboot2.c
350
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/arch/amd64/multiboot2.c
487
BS->FreePages(addr, EFI_SIZE_TO_PAGES(PAGE_SIZE));
stand/efi/loader/arch/amd64/multiboot2.c
489
BS->FreePages(stack, EFI_SIZE_TO_PAGES(128 * 1024));
stand/efi/loader/arch/amd64/trap.c
215
BS->FreePages(lidt_pa, EFI_SIZE_TO_PAGES(fw_idt.rd_limit));
stand/efi/loader/arch/amd64/trap.c
219
BS->FreePages(exc_stack_pa, 1);
stand/efi/loader/arch/amd64/trap.c
223
BS->FreePages(tss_pa, EFI_SIZE_TO_PAGES(sizeof(struct
stand/efi/loader/arch/amd64/trap.c
228
BS->FreePages(loader_gdt_pa, loader_gdt_pa_size);
stand/efi/loader/arch/amd64/trap.c
244
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/arch/amd64/trap.c
281
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/arch/amd64/trap.c
289
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, 1,
stand/efi/loader/arch/amd64/trap.c
334
status = BS->AllocatePages(AllocateAnyPages,
stand/efi/loader/arch/i386/elf64_freebsd.c
121
err = BS->AllocatePages(type, EfiLoaderCode,
stand/efi/loader/arch/i386/elf64_freebsd.c
139
err = BS->AllocatePages(type, EfiLoaderData,
stand/efi/loader/arch/i386/elf64_freebsd.c
143
BS->FreePages((uintptr_t)trampoline, 1);
stand/efi/loader/arch/i386/elf64_freebsd.c
166
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
stand/efi/loader/arch/i386/elf64_freebsd.c
170
BS->FreePages((uintptr_t)trampoline, 1);
stand/efi/loader/arch/i386/elf64_freebsd.c
171
BS->FreePages((uintptr_t)gdt, 1);
stand/efi/loader/arch/i386/elf64_freebsd.c
206
err = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/arch/i386/elf64_freebsd.c
210
BS->FreePages((uintptr_t)trampoline, 1);
stand/efi/loader/arch/i386/elf64_freebsd.c
211
BS->FreePages((uintptr_t)gdt, 1);
stand/efi/loader/arch/riscv/exec.c
56
status = BS->LocateProtocol(&riscvboot, NULL, (void **)&proto);
stand/efi/loader/bootinfo.c
248
status = BS->GetMemoryMap(&sz, mm, &efi_mapkey, &dsz, &mmver);
stand/efi/loader/bootinfo.c
259
BS->FreePages(addr, pages);
stand/efi/loader/bootinfo.c
265
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/bootinfo.c
291
BS->FreePages(addr, pages);
stand/efi/loader/copy.c
104
status = BS->GetMemoryMap(&sz, map, &key, &dsz, &dver);
stand/efi/loader/copy.c
198
BS->FreePages(staging_base, (staging_end - staging_base) /
stand/efi/loader/copy.c
333
status = BS->AllocatePages(EFI_ALLOC_METHOD, EfiLoaderCode,
stand/efi/loader/copy.c
401
status = BS->AllocatePages(AllocateAddress, EfiLoaderCode, nr_pages,
stand/efi/loader/copy.c
420
status = BS->AllocatePages(AllocateAddress, EfiLoaderCode, nr_pages,
stand/efi/loader/copy.c
443
status = BS->AllocatePages(EFI_ALLOC_METHOD, EfiLoaderCode,
stand/efi/loader/copy.c
457
BS->FreePages(staging_base, (staging_end - staging_base) /
stand/efi/loader/efi_main.c
103
BS->Exit(IH, status, 0, NULL);
stand/efi/loader/efi_main.c
41
BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize));
stand/efi/loader/efi_main.c
42
BS->Exit(IH, exit_code, 0, NULL);
stand/efi/loader/efi_main.c
89
BS = ST->BootServices;
stand/efi/loader/efi_main.c
92
status = BS->LocateProtocol(&console_control_protocol, NULL,
stand/efi/loader/efi_main.c
99
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/framebuffer.c
262
status = BS->LocateHandle(ByProtocol, &uga_guid, NULL, &bufsz, NULL);
stand/efi/loader/framebuffer.c
266
status = BS->LocateHandle(ByProtocol, &uga_guid, NULL, &bufsz, buf);
stand/efi/loader/framebuffer.c
320
BS->FreePool(resattr);
stand/efi/loader/framebuffer.c
524
status = BS->OpenProtocol(h, guid, (void **)&edid, IH, NULL,
stand/efi/loader/framebuffer.c
529
status = BS->OpenProtocol(h, guid, (void **)&edid, IH, NULL,
stand/efi/loader/framebuffer.c
580
status = BS->LocateHandle(ByProtocol, &gop_guid, NULL, &hsize, hlist);
stand/efi/loader/framebuffer.c
600
status = BS->LocateHandle(ByProtocol, &gop_guid, NULL, &hsize, hlist);
stand/efi/loader/framebuffer.c
605
status = BS->LocateHandle(ByProtocol, &gop_guid, NULL, &hsize,
stand/efi/loader/framebuffer.c
612
status = BS->LocateProtocol(&uga_guid, NULL, (VOID **)&uga);
stand/efi/loader/framebuffer.c
691
BS->FreePages((uintptr_t)gfx_state->tg_shadow_fb,
stand/efi/loader/framebuffer.c
696
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
stand/efi/loader/main.c
1469
BS->SetWatchdogTimer(0, 0, 0, NULL);
stand/efi/loader/main.c
1532
status = BS->LocateProtocol(&rng_guid, NULL, (VOID **)&rng);
stand/efi/loader/main.c
1624
status = BS->GetMemoryMap(&sz, 0, &key, &dsz, &dver);
stand/efi/loader/main.c
1630
status = BS->GetMemoryMap(&sz, map, &key, &dsz, &dver);
stand/efi/loader/main.c
171
status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0);
stand/efi/loader/main.c
174
status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz,
stand/efi/loader/main.c
1799
status = BS->LocateHandle(AllHandles, NULL, NULL, &bufsz, buffer);
stand/efi/loader/main.c
1810
status = BS->LocateHandle(AllHandles, NULL, NULL, &bufsz, buffer);
stand/efi/loader/main.c
1829
status = BS->ProtocolsPerHandle(handle, &protocols, &nproto);
stand/efi/loader/main.c
1847
BS->FreePool(protocols);
stand/efi/loader/main.c
1919
status = BS->AllocatePool(EfiLoaderCode, (UINTN)st.st_size, &buf);
stand/efi/loader/main.c
1927
(void)BS->FreePool(buf);
stand/efi/loader/main.c
1932
status = BS->LoadImage(FALSE, IH, NULL, buf, st.st_size, &loaderhandle);
stand/efi/loader/main.c
1933
(void)BS->FreePool(buf);
stand/efi/loader/main.c
2002
status = BS->StartImage(loaderhandle, &ExitDataSize, &ExitData);
stand/efi/loader/main.c
2007
BS->FreePool(ExitData);
stand/efi/loader/main.c
2013
status = BS->UnloadImage(loaded_image);
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
220
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 1,
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
244
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 3,
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
248
BS->FreePages(trampcode, 1);
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
285
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 9,
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
289
BS->FreePages(trampcode, 9);
usr.bin/col/col.c
177
case BS: /* can't go back further */