Home
last modified time | relevance | path

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

1234

/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()
/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()
/third_party/musl/porting/linux/user/src/env/
D__init_tls.c104 phdr->p_memsz > __default_stacksize) in static_init_tls()
106 phdr->p_memsz < DEFAULT_STACK_MAX ? in static_init_tls()
107 phdr->p_memsz : DEFAULT_STACK_MAX; in static_init_tls()
113 main_tls.size = tls_phdr->p_memsz; in static_init_tls()
/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/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.c174 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
184 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
559 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
560 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
612 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
615 dso->loadmap->segs[i].p_memsz); in unmap_library()
668 dso->tls.size = ph->p_memsz; in map_library()
671 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
673 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
675 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c131 phdr->p_memsz > __default_stacksize) in static_init_tls()
133 phdr->p_memsz < DEFAULT_STACK_MAX ? in static_init_tls()
134 phdr->p_memsz : DEFAULT_STACK_MAX; in static_init_tls()
140 main_tls.size = tls_phdr->p_memsz; in static_init_tls()
/third_party/elfutils/tests/
Ddwfl-report-segment-contiguous.c53 .p_memsz = 0x100, in main()
70 .p_memsz = 0x100, in main()
Dvendorelf.c102 phdr.p_memsz = 1024; in check_elf()
167 || phdr.p_memsz != 1024 in check_elf()
Dalldts.c235 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
246 phdr[1].p_memsz = ndtflags * sizeof (Elf32_Dyn); in main()
/third_party/rust/crates/rustix/src/backend/linux_raw/runtime/
Dtls.rs28 PT_GNU_STACK => stack_size = phdr.p_memsz, in startup_tls_info()
35 mem_size: (*tls_phdr).p_memsz, in startup_tls_info()
/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_debug/ldso/
Ddynlink.c172 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
182 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()
610 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
613 dso->loadmap->segs[i].p_memsz); in unmap_library()
666 dso->tls.size = ph->p_memsz; in map_library()
669 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
671 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
673 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c172 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
182 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()
610 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
613 dso->loadmap->segs[i].p_memsz); in unmap_library()
666 dso->tls.size = ph->p_memsz; in map_library()
669 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
671 if (!runtime && ph->p_memsz > __default_stacksize) { in map_library()
673 ph->p_memsz < DEFAULT_STACK_MAX ? in map_library()
[all …]
/third_party/elfutils/libelf/
Dgelf_update_phdr.c67 || unlikely (src->p_memsz > 0xffffffffull) in gelf_update_phdr()
103 COPY (p_memsz); in gelf_update_phdr()
Delf32_getphdr.c165 CONVERT_TO (phdr[cnt].p_memsz, notcvt[cnt].p_memsz); in ElfW2()
215 CONVERT (phdr[cnt].p_memsz); in ElfW2()
/third_party/elfutils/libdwfl/
Ddwfl_report_elf.c189 address_sync = ph->p_vaddr + ph->p_memsz; in __libdwfl_elf_address_range()
210 && ph->p_vaddr + ph->p_memsz > 0) in __libdwfl_elf_address_range()
212 end = bias + (ph->p_vaddr + ph->p_memsz); in __libdwfl_elf_address_range()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c390 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
400 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
1259 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps()
1260 ph->p_vaddr+ph->p_memsz+PAGE_SIZE-1 & -PAGE_SIZE); in reclaim_gaps()
1312 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
1316 dso->loadmap->segs[i].p_memsz); in unmap_library()
1319 dso->loadmap->segs[i].p_memsz, PROT_NONE); in unmap_library()
1466 dso->tls.size = ph->p_memsz; in map_library()
1469 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; in map_library()
1471 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()
320 edi->di_arm.u.rti.table_len = param_exidx->p_memsz; in dwarf_find_unwind_table()
/third_party/rust/crates/rustix/src/backend/linux_raw/
Delf.rs115 pub(super) p_memsz: usize, field
129 pub(super) p_memsz: usize, field
/third_party/rust/crates/libc/src/unix/haiku/
Db32.rs16 pub p_memsz: ::Elf32_Word,
Db64.rs17 pub p_memsz: ::Elf64_Xword,

1234