HomeSort by: relevance | last modified time | path
    Searched defs:bim (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/sys/arch/i386/stand/lib/
exec_multiboot1.c 126 struct bi_modulelist_entry *bim; local
147 bim = (struct bi_modulelist_entry *)
151 mbm[i].mmo_start = bim->base;
152 mbm[i].mmo_end = bim->base + bim->len;
153 mbm[i].mmo_string = (char *)vtophys(bim->path);
155 bim++;
exec.c 481 struct bi_modulelist_entry *bim; local
482 bim = (void *)(btinfo_modulelist + 1);
483 for (i = 0; i < btinfo_modulelist->num; i++, bim++)
484 bim->base -= efi_loadaddr;
exec_multiboot2.c 507 struct bi_modulelist_entry *bim; local
516 bim = (struct bi_modulelist_entry *)(btinfo_modulelist + 1);
518 size_t pathlen = strlen(bim->path) + 1;
526 mbt->mod_start = bim->base;
527 mbt->mod_end = bim->base + bim->len;
528 strncpy(mbt->cmdline, bim->path, pathlen);
  /src/external/gpl3/binutils/dist/bfd/
bfdio.c 770 struct bfd_in_memory *bim; local
773 bim = (struct bfd_in_memory *) abfd->iostream;
775 if (abfd->where + get > bim->size)
777 if (bim->size < (bfd_size_type) abfd->where)
780 get = bim->size - abfd->where;
783 memcpy (ptr, bim->buffer + abfd->where, (size_t) get);
790 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
792 if (abfd->where + size > bim->size)
796 oldsize = (bim->size + 127) & ~(bfd_size_type) 127;
797 bim->size = abfd->where + size
826 struct bfd_in_memory *bim; local
879 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
897 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
    [all...]
elfcode.h 1794 struct bfd_in_memory *bim;
2008 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
2009 if (bim == NULL)
2018 free (bim);
2023 bim->size = high_offset;
2024 bim->buffer = contents;
2025 nbfd->iostream = bim;
1790 struct bfd_in_memory *bim; local
opncls.c 964 struct bfd_in_memory *bim;
972 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
973 if (bim == NULL)
975 abfd->iostream = bim;
977 bim->size = 0;
978 bim->buffer = 0;
963 struct bfd_in_memory *bim; local
peicode.h 97 struct bfd_in_memory * bim; member in struct:__anon9832
640 BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size);
674 BFD_ASSERT (vars->data <= vars->bim->buffer + vars->bim->size);
868 vars.bim
869 = (struct bfd_in_memory *) bfd_malloc ((bfd_size_type) sizeof (*vars.bim));
870 if (vars.bim == NULL)
874 vars.bim->buffer = ptr;
875 vars.bim->size = ILF_DATA_SIZE
1189 struct bfd_in_memory *bim = abfd->iostream; local
    [all...]
archive.c 1904 struct bfd_in_memory *bim = (struct bfd_in_memory *) member->iostream;
1909 status.st_size = bim->size;
1897 struct bfd_in_memory *bim = (struct bfd_in_memory *) member->iostream; local
coff-alpha.c 2080 struct bfd_in_memory *bim;
2183 bim = bfd_malloc (sizeof (*bim));
2184 if (bim == NULL)
2186 bim->size = size;
2187 bim->buffer = buf;
2193 nbfd->iostream = bim;
2072 struct bfd_in_memory *bim; local
  /src/external/gpl3/binutils.old/dist/bfd/
bfdio.c 759 struct bfd_in_memory *bim; local
762 bim = (struct bfd_in_memory *) abfd->iostream;
764 if (abfd->where + get > bim->size)
766 if (bim->size < (bfd_size_type) abfd->where)
769 get = bim->size - abfd->where;
772 memcpy (ptr, bim->buffer + abfd->where, (size_t) get);
779 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
781 if (abfd->where + size > bim->size)
785 oldsize = (bim->size + 127) & ~(bfd_size_type) 127;
786 bim->size = abfd->where + size
815 struct bfd_in_memory *bim; local
868 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
886 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
    [all...]
elfcode.h 1795 struct bfd_in_memory *bim;
2009 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
2010 if (bim == NULL)
2019 free (bim);
2024 bim->size = high_offset;
2025 bim->buffer = contents;
2026 nbfd->iostream = bim;
1791 struct bfd_in_memory *bim; local
opncls.c 966 struct bfd_in_memory *bim;
974 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
975 if (bim == NULL)
977 abfd->iostream = bim;
979 bim->size = 0;
980 bim->buffer = 0;
965 struct bfd_in_memory *bim; local
peicode.h 92 struct bfd_in_memory * bim; member in struct:__anon11314
635 BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size);
669 BFD_ASSERT (vars->data <= vars->bim->buffer + vars->bim->size);
863 vars.bim
864 = (struct bfd_in_memory *) bfd_malloc ((bfd_size_type) sizeof (*vars.bim));
865 if (vars.bim == NULL)
869 vars.bim->buffer = ptr;
870 vars.bim->size = ILF_DATA_SIZE
1184 struct bfd_in_memory *bim = abfd->iostream; local
    [all...]
  /src/external/gpl3/gdb/dist/bfd/
bfdio.c 759 struct bfd_in_memory *bim; local
762 bim = (struct bfd_in_memory *) abfd->iostream;
764 if (abfd->where + get > bim->size)
766 if (bim->size < (bfd_size_type) abfd->where)
769 get = bim->size - abfd->where;
772 memcpy (ptr, bim->buffer + abfd->where, (size_t) get);
779 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
781 if (abfd->where + size > bim->size)
785 oldsize = (bim->size + 127) & ~(bfd_size_type) 127;
786 bim->size = abfd->where + size
815 struct bfd_in_memory *bim; local
868 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
886 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
    [all...]
elfcode.h 1795 struct bfd_in_memory *bim;
2009 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
2010 if (bim == NULL)
2019 free (bim);
2024 bim->size = high_offset;
2025 bim->buffer = contents;
2026 nbfd->iostream = bim;
1791 struct bfd_in_memory *bim; local
opncls.c 1010 struct bfd_in_memory *bim;
1018 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
1019 if (bim == NULL)
1021 abfd->iostream = bim;
1023 bim->size = 0;
1024 bim->buffer = 0;
1009 struct bfd_in_memory *bim; local
peicode.h 92 struct bfd_in_memory * bim; member in struct:__anon17758
635 BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size);
669 BFD_ASSERT (vars->data <= vars->bim->buffer + vars->bim->size);
869 vars.bim
870 = (struct bfd_in_memory *) bfd_malloc ((bfd_size_type) sizeof (*vars.bim));
871 if (vars.bim == NULL)
875 vars.bim->buffer = ptr;
876 vars.bim->size = ILF_DATA_SIZE
1184 struct bfd_in_memory *bim = abfd->iostream; local
    [all...]
  /src/external/gpl3/gdb.old/dist/bfd/
bfdio.c 759 struct bfd_in_memory *bim; local
762 bim = (struct bfd_in_memory *) abfd->iostream;
764 if (abfd->where + get > bim->size)
766 if (bim->size < (bfd_size_type) abfd->where)
769 get = bim->size - abfd->where;
772 memcpy (ptr, bim->buffer + abfd->where, (size_t) get);
779 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
781 if (abfd->where + size > bim->size)
785 oldsize = (bim->size + 127) & ~(bfd_size_type) 127;
786 bim->size = abfd->where + size
815 struct bfd_in_memory *bim; local
868 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
886 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; local
    [all...]
elfcode.h 1794 struct bfd_in_memory *bim;
2008 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
2009 if (bim == NULL)
2018 free (bim);
2023 bim->size = high_offset;
2024 bim->buffer = contents;
2025 nbfd->iostream = bim;
1790 struct bfd_in_memory *bim; local
opncls.c 1025 struct bfd_in_memory *bim;
1033 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory));
1034 if (bim == NULL)
1036 abfd->iostream = bim;
1038 bim->size = 0;
1039 bim->buffer = 0;
1024 struct bfd_in_memory *bim; local
peicode.h 92 struct bfd_in_memory * bim; member in struct:__anon20499
633 BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size);
667 BFD_ASSERT (vars->data <= vars->bim->buffer + vars->bim->size);
855 vars.bim
856 = (struct bfd_in_memory *) bfd_malloc ((bfd_size_type) sizeof (*vars.bim));
857 if (vars.bim == NULL)
861 vars.bim->buffer = ptr;
862 vars.bim->size = ILF_DATA_SIZE
1166 struct bfd_in_memory *bim = abfd->iostream; local
    [all...]
  /src/sys/arch/x86/acpi/
acpi_machdep.c 488 struct btinfo_memmap *bim; local
495 bim = efi_get_e820memmap();
498 bim = lookup_bootinfo(BTINFO_MEMMAP);
499 if (bim == NULL)
504 for (i = 0; i < bim->num; i++) {
505 mapaddr = bim->entry[i].addr;
506 mapsize = bim->entry[i].size;
507 type = bim->entry[i].type;
  /src/sys/arch/x86/x86/
efi_machdep.c 72 struct btinfo_memmap bim; member in struct:efi_e820memmap
521 if (efi_e820memmap.bim.common.type == BTINFO_MEMMAP)
522 return &efi_e820memmap.bim;
552 entry = &efi_e820memmap.bim.entry[n];
565 entry = &efi_e820memmap.bim.entry[n];
575 efi_e820memmap.bim.num = n;
576 efi_e820memmap.bim.common.len =
577 (intptr_t)&efi_e820memmap.bim.entry[n] - (intptr_t)&efi_e820memmap;
578 efi_e820memmap.bim.common.type = BTINFO_MEMMAP;
579 return &efi_e820memmap.bim;
    [all...]
multiboot2.c 463 struct btinfo_modulelist *bim; local
465 bim_len = sizeof(*bim) + (module_count * sizeof(*bie));
466 bim = (struct btinfo_modulelist *)bootinfo_init(BTINFO_MODULELIST,
468 if (bim == NULL)
471 bim->num = module_count;
472 bim->endpa = end;
474 bie = (struct bi_modulelist_entry *)(bim + 1);
528 struct btinfo_memmap *bim; local
543 bim = (struct btinfo_memmap *)bootinfo_init(BTINFO_MEMMAP,
545 if (bim == NULL
    [all...]
x86_machdep.c 742 x86_parse_clusters(struct btinfo_memmap *bim)
749 KASSERT(bim != NULL);
750 KASSERT(bim->num > 0);
755 bim->num);
758 for (x = 0; x < bim->num; x++) {
759 addr = bim->entry[x].addr;
760 size = bim->entry[x].size;
761 type = bim->entry[x].type;
949 struct btinfo_memmap bim; member in struct:_xen_mmap
955 set_xen_guest_handle(memmap.buffer, &xen_mmap.bim.entry[0])
971 struct btinfo_memmap *bim; local
    [all...]

Completed in 59 milliseconds

1 2