Searched defs:memmap (Results 1 - 17 of 17) sorted by relevance

/external/syslinux/com32/lib/syslinux/
H A Ddump_mmap.c39 void syslinux_dump_memmap(struct syslinux_memmap *memmap) argument
43 while (memmap->next) {
44 dprintf("0x%08x 0x%08x %10d\n", memmap->start,
45 memmap->next->start - memmap->start, memmap->type);
46 memmap = memmap->next;
H A Dshuffle_pm.c40 struct syslinux_memmap *memmap,
49 tmap = syslinux_target_memmap(fraglist, memmap);
76 return syslinux_do_shuffle(fraglist, memmap, regstub, 1, bootflags);
39 syslinux_shuffle_boot_pm(struct syslinux_movelist *fraglist, struct syslinux_memmap *memmap, uint16_t bootflags, struct syslinux_pm_regs *regs) argument
H A Dshuffle.c59 struct syslinux_memmap *memmap,
83 for (ml = memmap; ml->type != SMT_END; ml = ml->next) {
91 rxmap = syslinux_dup_memmap(memmap);
110 rxmap = syslinux_dup_memmap(memmap);
186 for (ml = memmap; ml->type != SMT_END; ml = ml->next) {
234 struct syslinux_memmap *memmap)
239 tmap = syslinux_dup_memmap(memmap);
58 syslinux_do_shuffle(struct syslinux_movelist *fraglist, struct syslinux_memmap *memmap, addr_t entry_point, addr_t entry_type, uint16_t bootflags) argument
232 syslinux_target_memmap(struct syslinux_movelist *fraglist, struct syslinux_memmap *memmap) argument
H A Dshuffle_rm.c78 struct syslinux_memmap *memmap,
96 tmap = syslinux_target_memmap(fraglist, memmap);
170 return syslinux_do_shuffle(fraglist, memmap, regstub, 0, bootflags);
77 syslinux_shuffle_boot_rm(struct syslinux_movelist *fraglist, struct syslinux_memmap *memmap, uint16_t bootflags, struct syslinux_rm_regs *regs) argument
H A Dmovebits.c147 * the memmap chunk containing to the first byte of the region.
385 struct syslinux_memmap *memmap)
423 for (mm = memmap; mm->type != SMT_END; mm = mm->next)
647 struct syslinux_memmap *memmap; local
652 memmap = syslinux_init_memmap();
659 syslinux_add_memmap(&memmap, d, l, SMT_ZERO);
666 syslinux_add_memmap(&memmap, s, l, SMT_FREE);
677 syslinux_dump_memmap(memmap);
679 if (syslinux_compute_movelist(&moves, frags, memmap)) {
383 syslinux_compute_movelist(struct syslinux_movelist **moves, struct syslinux_movelist *ifrags, struct syslinux_memmap *memmap) argument
/external/syslinux/gpxe/src/image/
H A Dsegment.c30 #include <gpxe/memmap.h>
43 struct memory_map memmap; local
61 get_memmap ( &memmap );
64 for ( i = 0 ; i < memmap.count ; i++ ) {
65 if ( ( start >= memmap.regions[i].start ) &&
66 ( end <= memmap.regions[i].end ) ) {
/external/ltp/testcases/kernel/fs/dmapi/
H A Dmmapfile.c62 void *memmap; local
112 printf("invoking memmap(%d, %d, %s, %d)\n", length, flags, argv[1],
114 memmap = mmap(NULL, length, flags, MAP_SHARED, fd, offset);
115 if (memmap == MAP_FAILED) {
126 if (memmap != MAP_FAILED) {
127 printf("invoking munmap(%p, %d)\n", memmap, length);
128 munmap(memmap, length);
H A Dhole.c3718 void *memmap; local
3730 if ((memmap =
3737 if (fd == -1 || rc == -1 || memmap == MAP_FAILED) {
3752 munmap(memmap, PAGE_SIZE);
3774 void *memmap; local
3786 if ((memmap =
3793 if (fd == -1 || rc == -1 || memmap == MAP_FAILED) {
3808 munmap(memmap, PAGE_SIZE);
3830 void *memmap; local
3842 if ((memmap
3886 void *memmap; local
3942 void *memmap; local
3998 void *memmap; local
4054 void *memmap; local
4110 void *memmap; local
4166 void *memmap; local
4222 void *memmap; local
4278 void *memmap; local
4334 void *memmap; local
4390 void *memmap; local
4446 void *memmap; local
4502 void *memmap; local
4558 void *memmap; local
[all...]
H A Dpmr_pre.c1165 void *memmap; local
1195 if ((memmap =
1202 if (rc == -1 || fd == -1 || memmap == MAP_FAILED) {
1217 munmap(memmap, PAGE_SIZE);
1240 void *memmap; local
1270 if ((memmap =
1277 if (rc == -1 || fd == -1 || memmap == MAP_FAILED) {
1292 munmap(memmap, PAGE_SIZE);
1315 void *memmap; local
1345 if ((memmap
1390 void *memmap; local
1465 void *memmap; local
1540 void *memmap; local
1615 void *memmap; local
1690 void *memmap; local
1765 void *memmap; local
1840 void *memmap; local
1915 void *memmap; local
1990 void *memmap; local
2065 void *memmap; local
2140 void *memmap; local
2215 void *memmap; local
2290 void *memmap; local
[all...]
/external/syslinux/gpxe/src/arch/i386/core/
H A Drelocate.c3 #include <gpxe/memmap.h>
45 struct memory_map memmap; local
51 get_memmap ( &memmap );
69 for ( i = 0 ; i < memmap.count ; i++ ) {
70 struct memory_region *region = &memmap.regions[i];
/external/syslinux/gpxe/src/arch/i386/image/
H A Dcom32.c41 #include <gpxe/memmap.h>
52 struct memory_map memmap; local
63 get_memmap ( &memmap );
66 for ( i = 0, avail_mem_top = 0 ; i < memmap.count ; i++ ) {
67 if ( (memmap.regions[i].start <= COM32_START_PHYS) &&
68 (memmap.regions[i].end > COM32_START_PHYS + image->len) ) {
69 avail_mem_top = memmap.regions[i].end;
H A Dmultiboot.c36 #include <gpxe/memmap.h>
112 struct memory_map memmap; local
116 get_memmap ( &memmap );
120 for ( i = 0 ; i < memmap.count ; i++ ) {
122 DBGC ( image, "MULTIBOOT %p limit of %d memmap "
128 mbmemmap[i].base_addr = memmap.regions[i].start;
129 mbmemmap[i].length = ( memmap.regions[i].end -
130 memmap.regions[i].start );
133 if ( memmap.regions[i].start == 0 )
134 mbinfo->mem_lower = ( memmap
[all...]
/external/syslinux/gpxe/src/arch/i386/firmware/pcbios/
H A Dhidemem.c26 #include <gpxe/memmap.h>
135 struct memory_map memmap; local
142 get_memmap ( &memmap );
148 get_memmap ( &memmap );
182 get_memmap ( &memmap );
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
H A Dmemtop_umalloc.c32 #include <gpxe/memmap.h>
61 struct memory_map memmap; local
67 get_memmap ( &memmap );
68 for ( i = 0 ; i < memmap.count ; i++ ) {
69 struct memory_region *region = &memmap.regions[i];
H A Dint13.c28 #include <gpxe/memmap.h>
666 struct memory_map memmap; local
700 /* Dump out memory map prior to boot, if memmap debugging is
705 get_memmap ( &memmap );
/external/syslinux/gpxe/src/drivers/net/
H A Db44.c46 #include <gpxe/memmap.h>
88 struct memory_map memmap; local
90 get_memmap(&memmap);
92 highest = &memmap.regions[memmap.count - 1];
/external/syslinux/efi/
H A Dmain.c390 uint32_t memmap; member in struct:efi_info
452 get_mem_desc(unsigned long memmap, UINTN desc_sz, int i) argument
454 return (EFI_MEMORY_DESCRIPTOR *)(memmap + (i * desc_sz));
962 bp->efi.memmap = (uint32_t)(unsigned long)map;
974 * Even though 'memmap' contains the memory map we provided
986 map = get_mem_desc(bp->efi.memmap, desc_sz, i);

Completed in 389 milliseconds