Home
last modified time | relevance | path

Searched refs:vmsz (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dinput.c256 register size_t vmsz = sizeof (unsigned) * (REGNUM(sz) + 1); in _elf_inmap() local
258 if (vmsz % sizeof (Elf64) != 0) in _elf_inmap()
259 vmsz += sizeof (Elf64) - vmsz % sizeof (Elf64); in _elf_inmap()
260 if ((elf->ed_vm = (unsigned *)malloc(vmsz + sz)) == 0) { in _elf_inmap()
264 (void) memset(elf->ed_vm, 0, vmsz); in _elf_inmap()
265 elf->ed_vmsz = vmsz / sizeof (unsigned); in _elf_inmap()
266 elf->ed_image = elf->ed_ident = (char *)elf->ed_vm + vmsz; in _elf_inmap()