Home
last modified time | relevance | path

Searched refs:p_memsz (Results 1 – 25 of 45) sorted by relevance

12

/third_party/libunwind/src/coredump/
D_UCD_create.c143 cur->p_memsz = hdr64.p_memsz ; in _UCD_create()
168 cur->p_memsz = hdr32.p_memsz ; in _UCD_create()
172 cur->backing_filesize = hdr32.p_memsz; in _UCD_create()
199 (unsigned long long) cur->p_memsz, in _UCD_create()
202 if (cur->p_filesz < cur->p_memsz) in _UCD_create()
290 if (phdr->backing_filesize > phdr->p_memsz) in _UCD_add_backing_file_at_segment()
295 (unsigned long long)phdr->p_memsz, in _UCD_add_backing_file_at_segment()
D_UCD_elf_map_image.c45 … ei->image = mmap(NULL, phdr->p_memsz, PROT_READ, MAP_PRIVATE, ui->coredump_fd, phdr->p_offset); in CD_elf_map_image()
52 size_t remainder_len = phdr->p_memsz - phdr->p_filesz; in CD_elf_map_image()
95 if (phdr->p_vaddr <= ip && ip < phdr->p_vaddr + phdr->p_memsz) in _UCD_get_elf_image()
D_UCD_internal.h67 uoff_t p_memsz; member
D_UCD_access_mem.c45 if (phdr->p_vaddr <= addr && addr_last < phdr->p_vaddr + phdr->p_memsz) in _UCD_access_mem()
/third_party/musl/src/internal/
Dfdpic_crt.h14 uintptr_t addr, p_vaddr, p_memsz; in __fdpic_fixup() member
19 while (*a-lm->segs[rseg].p_vaddr >= lm->segs[rseg].p_memsz) in __fdpic_fixup()
24 while (*r-lm->segs[vseg].p_vaddr >= lm->segs[vseg].p_memsz) in __fdpic_fixup()
Ddynlink.h49 uintptr_t addr, p_vaddr, p_memsz; member
/third_party/musl/src/env/
D__init_tls.c99 phdr->p_memsz > __default_stacksize) in static_init_tls()
101 phdr->p_memsz < DEFAULT_STACK_MAX ? in static_init_tls()
102 phdr->p_memsz : DEFAULT_STACK_MAX; in static_init_tls()
108 main_tls.size = tls_phdr->p_memsz; in static_init_tls()
/third_party/musl/porting/linux/user/src/env/
D__init_tls.c103 phdr->p_memsz > __default_stacksize) in static_init_tls()
105 phdr->p_memsz < DEFAULT_STACK_MAX ? in static_init_tls()
106 phdr->p_memsz : DEFAULT_STACK_MAX; in static_init_tls()
112 main_tls.size = tls_phdr->p_memsz; in static_init_tls()
/third_party/musl/ldso/
Ddlstart.c55 segs[0].p_memsz = -1; in _dlstart_c()
74 for (j=0; dyn[i]-segs[j].p_vaddr >= segs[j].p_memsz; j++); in _dlstart_c()
85 for (j=0; rel[0]-segs[j].p_vaddr >= segs[j].p_memsz; j++); in _dlstart_c()
95 for (j=0; val-segs[j].p_vaddr >= segs[j].p_memsz; j++); in _dlstart_c()
Ddynlink.c170 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
180 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
557 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
558 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
595 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
598 dso->loadmap->segs[i].p_memsz); in unmap_library()
651 dso->tls.size = ph->p_memsz; in map_library()
654 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
656 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
658 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c132 phdr->p_memsz > __default_stacksize) in static_init_tls()
134 phdr->p_memsz < DEFAULT_STACK_MAX ? in static_init_tls()
135 phdr->p_memsz : DEFAULT_STACK_MAX; in static_init_tls()
141 main_tls.size = tls_phdr->p_memsz; in static_init_tls()
/third_party/musl/src/ldso/arm/
Dfind_exidx.c21 match |= data->pc >= addr && data->pc < addr + phdr->p_memsz; in find_exidx()
25 exidx_len = phdr->p_memsz; in find_exidx()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c168 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
178 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
555 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
556 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
593 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
596 dso->loadmap->segs[i].p_memsz); in unmap_library()
649 dso->tls.size = ph->p_memsz; in map_library()
652 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
654 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
656 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c168 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
178 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
555 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
556 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
593 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
596 dso->loadmap->segs[i].p_memsz); in unmap_library()
649 dso->tls.size = ph->p_memsz; in map_library()
652 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
654 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
656 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c447 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
457 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
1192 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
1193 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
1230 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
1234 dso->loadmap->segs[i].p_memsz); in unmap_library()
1237 dso->loadmap->segs[i].p_memsz, PROT_NONE); in unmap_library()
1334 dso->tls.size = ph->p_memsz; in map_library()
1337 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
1339 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
[all …]
/third_party/libunwind/src/ia64/
DGfind_unwind_table.c134 edi->di_cache.end_ip = edi->di_cache.start_ip + ptxt->p_memsz; in ia64_find_unwind_table()
139 edi->di_cache.u.ti.table_len = punw->p_memsz / sizeof (unw_word_t); in ia64_find_unwind_table()
DGtables.c501 && di->u.ti.segbase < vaddr + phdr->p_memsz) in callback()
513 && p_unwind->p_vaddr < p_text->p_vaddr + p_text->p_memsz)) in callback()
524 && p_unwind->p_vaddr < phdr->p_vaddr + phdr->p_memsz) in callback()
551 di->end_ip = p_text->p_vaddr + load_base + p_text->p_memsz; in callback()
554 di->u.ti.table_len = p_unwind->p_memsz / sizeof (unw_word_t); in callback()
/third_party/libunwind/src/dwarf/
DGfind_unwind_table.c124 if (phdr[i].p_vaddr + phdr[i].p_memsz > end_ip) in dwarf_find_unwind_table()
125 end_ip = phdr[i].p_vaddr + phdr[i].p_memsz; in dwarf_find_unwind_table()
322 edi->di_arm.u.rti.table_len = param_exidx->p_memsz; in dwarf_find_unwind_table()
/third_party/libunwind/src/
Dos-qnx.c44 if(cbi->ip >= segbase && cbi->ip < segbase + info->dlpi_phdr[i].p_memsz) in callback()
/third_party/libunwind/src/arm/
DGex_tables.c485 cb_data->ip < phdr->p_vaddr + info->dlpi_addr + phdr->p_memsz) in arm_phdr_cb()
502 cb_data->di.end_ip = cb_data->di.start_ip + p_text->p_memsz; in arm_phdr_cb()
505 cb_data->di.u.rti.table_len = p_arm_exidx->p_memsz; in arm_phdr_cb()
/third_party/musl/porting/linux/user/src/internal/
Ddynlink.h57 uintptr_t addr, p_vaddr, p_memsz; member
/third_party/libunwind/include/win/
Dfreebsd-elf32.h100 Elf32_Word p_memsz; /* Size of contents in memory. */ member
Dfreebsd-elf64.h114 Elf64_Xword p_memsz; /* Size of contents in memory. */ member
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h100 Elf32_Word p_memsz; /* Size of contents in memory. */ member
Dfreebsd-elf64.h114 Elf64_Xword p_memsz; /* Size of contents in memory. */ member

12