Searched refs:loadmap (Results 1 – 14 of 14) sorted by relevance
55 struct fdpic_loadmap *loadmap; member97 struct fdpic_loadmap *loadmap; member171 if (!p->loadmap) return p->base + v; in laddr()172 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()173 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()179 if (!p->loadmap) return p->base + v; in laddr_pg()181 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()182 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()188 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()607 if (dso->loadmap) { in unmap_library()[all …]
55 struct fdpic_loadmap *loadmap; member101 struct fdpic_loadmap *loadmap; member175 if (!p->loadmap) return p->base + v; in laddr()176 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()177 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()183 if (!p->loadmap) return p->base + v; in laddr_pg()185 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()186 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()192 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()611 if (dso->loadmap) { in unmap_library()[all …]
83 sjisdecmap = loadmap(jisx0208file, natcol=0, unicol=2)84 jisx0208decmap = loadmap(jisx0208file, natcol=1, unicol=2)85 jisx0212decmap = loadmap(jisx0212file)86 cp932decmap = loadmap(cp932file)
61 gbkdecmap = loadmap(cp936map)62 gb2312decmap = loadmap(gb2312map)
24 decmap = loadmap(mapfile)
183 def loadmap(fo, natcol=0, unicol=1, sbcs=0): function
82 struct fdpic_loadmap *loadmap; member124 struct fdpic_loadmap *loadmap; member159 struct fdpic_loadmap *loadmap; member
92 struct fdpic_loadmap *loadmap; member134 struct fdpic_loadmap *loadmap; member169 struct fdpic_loadmap *loadmap; member
382 …temp_dso.loadmap = (struct fdpic_loadmap *)calloc(1, sizeof(struct fdpic_loadmap) + 1 * sizeof(str… in dynlink_test_0250()383 if (temp_dso.loadmap == NULL){ in dynlink_test_0250()387 temp_dso.loadmap->nsegs = 1; in dynlink_test_0250()401 temp_dso.loadmap->segs[0].addr = (uintptr_t)p; in dynlink_test_0250()402 temp_dso.loadmap->segs[0].p_memsz = 1; in dynlink_test_0250()
392 if (!p->loadmap) return p->base + v; in laddr()393 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()394 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()400 if (!p->loadmap) return p->base + v; in laddr_pg()402 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()403 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()409 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()1312 if (dso->loadmap) { in unmap_library()1314 for (i=0; i<dso->loadmap->nsegs; i++) { in unmap_library()1315 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()[all …]
146 if (DL_FDPIC && pldso->loadmap) { in is_addr_in_ldso()147 for (i = 0; i < pldso->loadmap->nsegs; i++) { in is_addr_in_ldso()148 if (a - pldso->loadmap->segs[i].p_vaddr in is_addr_in_ldso()149 < pldso->loadmap->segs[i].p_memsz) in is_addr_in_ldso()
146 if (DL_FDPIC && pldso->loadmap) { in is_addr_in_ldso()147 for (i = 0; i < pldso->loadmap->nsegs; i++) { in is_addr_in_ldso()148 if (a-pldso->loadmap->segs[i].p_vaddr in is_addr_in_ldso()149 < pldso->loadmap->segs[i].p_memsz) in is_addr_in_ldso()