Searched refs:status (Results 1 - 25 of 2609) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libc/uuid/
H A Duuid_create_nil.c39 uuid_create_nil(uuid_t *u, uint32_t *status) argument
42 if (status)
43 *status = uuid_s_ok;
H A Duuid_equal.c39 uuid_equal(const uuid_t *a, const uuid_t *b, uint32_t *status) argument
42 if (status != NULL)
43 *status = uuid_s_ok;
H A Duuid_is_nil.c38 uuid_is_nil(const uuid_t *u, uint32_t *status) argument
42 if (status)
43 *status = uuid_s_ok;
/illumos-gate/usr/src/boot/lib/libstand/
H A Duuid_from_string.c88 uuid_from_string(const char *s, uuid_t *u, uint32_t *status) argument
94 uuid_create_nil(u, status);
98 if (status != NULL)
99 *status = uuid_s_invalid_string_uuid;
126 if (status != NULL)
127 *status = uuid_s_bad_version;
129 if (status != NULL)
130 *status = uuid_s_ok;
H A Duuid_to_string.c61 * NOTE: The references given above do not have a status code for when
62 * the string could not be allocated. The status code has been
74 uuid_to_string(const uuid_t *u, char **s, uint32_t *status) argument
79 if (status != NULL)
80 *status = uuid_s_ok;
85 if (status != NULL)
86 *status = uuid_s_no_memory;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgfx_fb.c404 EFI_STATUS status; local
409 status = gop->Blt(gop, BltBuffer, EfiBltVideoFill, 0, 0,
412 if (EFI_ERROR(status))
H A Dmultiboot2.c1192 EFI_STATUS status; local
1198 status = BS->GetMemoryMap(&map_size,
1201 if (status != EFI_BUFFER_TOO_SMALL) {
1209 status = BS->GetMemoryMap(&map_size,
1212 if (status == EFI_BUFFER_TOO_SMALL) {
1217 if (EFI_ERROR(status)) {
1225 status = BS->ExitBootServices(IH, key);
1226 if (status == EFI_SUCCESS)
1230 if (status != EFI_SUCCESS) {
/illumos-gate/usr/src/boot/sys/boot/efi/include/
H A Defifpswa.h15 UINT64 status; member in struct:_FPSWA_RET
H A Defilib.h100 void efi_exit(EFI_STATUS status) __dead2;
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Ddevpath.c42 EFI_STATUS status; local
44 status = OpenProtocolByHandle(handle, &ImageDevicePathGUID,
46 if (EFI_ERROR(status))
55 EFI_STATUS status; local
57 status = OpenProtocolByHandle(handle, &DevicePathGUID,
59 if (EFI_ERROR(status))
67 EFI_STATUS status; local
69 status = BS->CloseProtocol(handle, &DevicePathGUID, IH, NULL);
70 if (EFI_ERROR(status))
71 printf("CloseProtocol error: %lu\n", EFI_ERROR_CODE(status));
78 EFI_STATUS status; local
137 EFI_STATUS status; local
[all...]
H A Defi_console.c461 EFI_STATUS status; local
483 status = BS->LocateProtocol(&ccontrol_protocol_guid, NULL,
485 if (status == EFI_SUCCESS) {
487 status = console_control->GetMode(console_control,
495 status = conout->QueryMode(conout, i, &cols, &rows);
496 if (EFI_ERROR(status))
505 status = conout->QueryMode(conout, best_mode, &cols, &rows);
506 if (EFI_ERROR(status)) {
537 status = BS->OpenProtocol(ST->ConsoleInHandle, &simple_input_ex_guid,
539 if (status
640 EFI_STATUS status; local
654 EFI_STATUS status; local
719 EFI_STATUS status; local
756 EFI_STATUS status; local
792 EFI_STATUS status; local
[all...]
H A Defi_driver_utils.c39 EFI_STATUS status; local
45 status = BS->LocateHandle(ByProtocol, filter, NULL,
48 if(status != EFI_BUFFER_TOO_SMALL) {
49 return (status);
55 status = BS->LocateHandle(ByProtocol, filter, NULL,
58 if(EFI_ERROR(status)) {
59 return (status);
68 return (status);
74 EFI_STATUS status; local
78 status
[all...]
H A Definet.c112 EFI_STATUS status; local
121 status = BS->OpenProtocol(h, &sn_guid, (void **)&net,
123 if (status != EFI_SUCCESS) {
126 EFI_ERROR_CODE(status));
137 EFI_STATUS status; local
144 status = net->Transmit(net, 0, len, pkt, NULL, NULL, NULL);
145 if (status != EFI_SUCCESS)
151 status = net->GetStatus(net, NULL, &buf);
156 } while (status == EFI_SUCCESS && buf == NULL);
158 /* XXX How do we deal with status !
167 EFI_STATUS status; local
206 EFI_STATUS status; local
290 EFI_STATUS status; local
[all...]
H A Defipart.c341 EFI_STATUS status; local
349 status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, hin);
350 if (status == EFI_BUFFER_TOO_SMALL) {
352 status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz,
354 if (EFI_ERROR(status))
357 if (EFI_ERROR(status))
358 return (efi_status_to_errno(status));
373 status = OpenProtocolByHandle(hin[i], &blkio_guid,
375 if (EFI_ERROR(status)) {
376 printf("error %lu\n", EFI_ERROR_CODE(status));
775 EFI_STATUS status; local
873 EFI_STATUS status; local
991 EFI_STATUS status; local
[all...]
H A Denv.c261 { .efi_guid_name = "status code runtime",
287 uint32_t status; local
289 uuid_to_string((const uuid_t *)guid, sp, &status);
290 return (status == uuid_s_ok ? true : false);
296 uint32_t status; local
298 uuid_from_string(s, (uuid_t *)guid, &status);
299 return (status == uuid_s_ok ? true : false);
674 EFI_STATUS status; local
682 status = RS->GetVariable(varnamearg, matchguid, &attr, &datasz, NULL);
683 if (status !
756 EFI_STATUS status; local
1039 EFI_STATUS status; local
[all...]
H A Derrno.c35 EFI_STATUS status; local
39 status = EFI_ACCESS_DENIED;
43 status = EFI_BUFFER_TOO_SMALL;
47 status = EFI_DEVICE_ERROR;
51 status = EFI_INVALID_PARAMETER;
55 status = EFI_MEDIA_CHANGED;
59 status = EFI_NO_MEDIA;
63 status = EFI_NOT_FOUND;
67 status = EFI_OUT_OF_RESOURCES;
72 status
96 efi_status_to_errno(EFI_STATUS status) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/
H A Dtrap.c175 EFI_STATUS status; local
180 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
182 if (EFI_ERROR(status)) {
184 EFI_ERROR_CODE(status));
213 EFI_STATUS status; local
217 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
219 if (EFI_ERROR(status)) {
221 EFI_ERROR_CODE(status));
225 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, 1,
227 if (EFI_ERROR(status)) {
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Defimd.c65 EFI_STATUS status; local
74 status = BS->LocateHandle(ByProtocol, &fpswa_guid, 0, &sz, &handle);
75 if (status == 0)
76 status = OpenProtocolByHandle(handle, &fpswa_guid, &fpswa);
77 bi->bi_fpswa = (status == 0) ? (uint64_t)fpswa : 0;
95 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
97 if (EFI_ERROR(status)) {
99 (long)status);
111 status = BS->GetMemoryMap(&sz, mm, &mapkey, &mmsz, &mmver);
112 if (EFI_ERROR(status)) {
129 EFI_STATUS status; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c242 EFI_STATUS status; local
290 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
292 if (EFI_ERROR(status)) {
294 EFI_ERROR_CODE(status));
307 status = BS->GetMemoryMap(&sz, mm, &efi_mapkey, &mmsz, &mmver);
308 if (EFI_ERROR(status)) {
310 EFI_ERROR_CODE(status));
313 status = BS->ExitBootServices(IH, efi_mapkey);
314 if (EFI_ERROR(status) == 0) {
324 printf("ExitBootServices error %lu\n", EFI_ERROR_CODE(status));
[all...]
H A Dcopy.c162 EFI_STATUS status; local
185 status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
188 if (EFI_ERROR(status)) {
190 size, EFI_ERROR_CODE(status));
H A Defi_main.c45 exit(int status __unused)
75 EFI_STATUS status; local
86 status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
88 if (status != EFI_SUCCESS)
89 BS->Exit(IH, status, 0, NULL);
95 status = OpenProtocolByHandle(IH, &image_protocol, (void **)&img);
96 if (status != EFI_SUCCESS)
97 efi_exit(status);
176 status = main(argc, argv);
177 efi_exit(status);
[all...]
H A Defiserialio.c139 EFI_STATUS status; local
147 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
148 if (status != EFI_BUFFER_TOO_SMALL)
149 return (status);
158 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
159 if (EFI_ERROR(status)) {
164 return (status);
199 EFI_STATUS status; local
209 status = efi_serial_init(&handles, &nhandles);
210 if (EFI_ERROR(status))
236 EFI_STATUS status; local
341 EFI_STATUS status; local
359 EFI_STATUS status; local
377 EFI_STATUS status; local
668 EFI_STATUS status; local
[all...]
H A Dframebuffer.c135 EFI_STATUS status; local
138 status = uga->Blt(uga, &pix0, EfiUgaVideoToBltBuffer,
140 if (EFI_ERROR(status)) {
160 status = pciio->Mem.Read(pciio, EfiPciIoWidthUint32,
163 if (EFI_ERROR(status)) {
167 status = uga->Blt(uga, &pix1, EfiUgaBltBufferToVideo,
169 if (EFI_ERROR(status)) {
173 status = pciio->Mem.Read(pciio, EfiPciIoWidthUint32,
176 if (EFI_ERROR(status)) {
180 status
208 EFI_STATUS status; local
244 EFI_STATUS status; local
289 EFI_STATUS status; local
456 EFI_STATUS status; local
519 EFI_STATUS status; local
587 EFI_STATUS status; local
609 EFI_STATUS status; local
690 EFI_STATUS status; local
[all...]
H A Dmain.c145 EFI_STATUS status; local
157 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0);
158 if (status == EFI_BUFFER_TOO_SMALL) {
160 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz,
162 if (EFI_ERROR(status))
165 if (EFI_ERROR(status))
176 status = OpenProtocolByHandle(*walker, &devid, (void **)&path);
177 if (EFI_ERROR(status))
469 EFI_STATUS status; local
651 status
755 EFI_STATUS status; local
862 EFI_STATUS status; local
917 EFI_STATUS status; local
1025 EFI_STATUS status; local
[all...]
H A Dmemmap.c76 EFI_STATUS status; local
85 status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL);
87 status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL);
88 if (EFI_ERROR(status)) {
89 printf("GetMemoryMap: error %lu\n", EFI_ERROR_CODE(status));

Completed in 71 milliseconds

1234567891011>>