Searched refs:efi (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c429 display64(struct dk_gpt *efi, char *device) argument
439 (void) printf("* %d bytes/sector\n", efi->efi_lbasize);
451 for (i = 0; i < efi->efi_nparts; i++) {
452 if (efi->efi_parts[i].p_size > 0)
455 i, efi->efi_parts[i].p_tag,
456 efi->efi_parts[i].p_flag,
457 efi->efi_parts[i].p_start,
458 efi->efi_parts[i].p_size);
501 insert64(char *data, struct dk_gpt *efi) argument
514 if (part >= efi
600 load64(FILE *fp, int fd, struct dk_gpt **efi) argument
794 validate64(struct dk_gpt *efi) argument
927 vwrite64(int fd, struct dk_gpt *efi, char *devname) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/fdt/
H A Defi_fdt.c35 #include <efi.h>
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Ddelay.c30 #include <efi.h>
H A Derrno.c30 #include <efi.h>
H A DMakefile21 LIB= efi
H A Dtime.c44 #include <efi.h>
H A Dhandles.c30 #include <efi.h>
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c192 findfree64(struct dk_gpt *efi) argument
200 freemap = calloc(sizeof (freemap_t), efi->efi_nparts + 1);
201 sorted = calloc(sizeof (struct dk_part), efi->efi_nparts + 1);
202 fullsize = efi->efi_last_u_lba;
204 for (part = efi->efi_parts;
205 part < efi->efi_parts + efi->efi_nparts;
213 freeidx->fr_start = efi->efi_first_u_lba;
374 struct dk_gpt *efi; local
392 idx = (readefi(fd, name, &efi)
452 putfree64(struct dk_gpt *efi, freemap_t *freemap) argument
533 puttable64(struct dk_gpt *efi, freemap_t *freemap, char *name, char **mtab) argument
630 readefi(int fd, char *name, struct dk_gpt **efi) argument
[all...]
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c265 efi_gpt_t *efi; local
276 efi = dk_ioc->dki_data;
277 if (efi->efi_gpt_Signature != LE_64(EFI_SIGNATURE)) {
281 (long long)efi->efi_gpt_Signature,
290 crc = efi->efi_gpt_HeaderCRC32;
291 efi->efi_gpt_HeaderCRC32 = 0;
293 if (((len_t)LE_32(efi->efi_gpt_HeaderSize) > dk_ioc->dki_length) ||
294 crc != LE_32(efi_crc32((unsigned char *)efi,
295 LE_32(efi->efi_gpt_HeaderSize)))) {
300 LE_32(efi_crc32((unsigned char *)efi,
318 efi_gpt_t *efi; local
846 efi_gpt_t *efi; local
[all...]
/illumos-gate/usr/src/cmd/devinfo/
H A Ddevinfo.c136 struct dk_gpt *efi; local
153 (slice = efi_alloc_and_read(fd, &efi)) >= 0) {
156 efi->efi_parts[slice].p_start,
157 efi->efi_parts[slice].p_size,
158 efi->efi_parts[slice].p_flag,
159 efi->efi_parts[slice].p_tag);
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A DMakefile53 # Always add MI sources and REGULAR efi loader bits
58 FILES= boot1.efi
68 all: boot1.efi
86 boot1.efi: ${PROG}
94 --output-target=${EFI_TARGET} --subsystem efi-app ${PROG} $@
98 CLEANFILES= boot1.efi ${PROG}
H A Dboot_module.h34 #include <efi.h>
H A Dufs_module.c39 #include <efi.h>
H A Dzfs_module.c34 #include <efi.h>
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A DMakefile70 #LIBEFI_FDT= ${.OBJDIR}/../../efi/fdt/libefi_fdt.a
78 FILES= loader.efi
88 CLEANFILES= vers.c loader.efi
92 all: loader.efi
96 vers.c: ../../common/newvers.sh ../../efi/loader/version
101 loader.efi: loader.sym
109 --output-target=${EFI_TARGET} --subsystem efi-app loader.sym $@
135 $(RM) $(CLEANFILES) $(OBJS) loader.sym loader.efi
H A Dconf.c32 #include <efi.h>
H A Dcopy.c37 #include <efi.h>
H A Dreloc.c32 #include <efi.h>
H A Ddevicename.c40 #include <efi.h>
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ioctl.h93 int efi; /* do we have an EFI partition table? */ member in struct:nscioc_bsize
/illumos-gate/usr/src/boot/sys/boot/arm64/libarm64/
H A Dcache.c37 #include <efi.h>
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c225 struct dk_gpt *efi; local
231 efi = *new_vtoc;
239 efi->efi_parts[0].p_tag = V_USR;
240 efi->efi_parts[0].p_start = efi->efi_first_u_lba;
241 efi->efi_parts[0].p_size = efi->efi_last_u_lba - efi->efi_first_u_lba
247 for (i = 1; i < efi->efi_nparts - 2; i++) {
248 efi
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/
H A Dexec.c40 #include <efi.h>
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm64/
H A Dexec.c39 #include <efi.h>
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Defimd.c32 #include <efi.h>

Completed in 94 milliseconds

12