Home
last modified time | relevance | path

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

/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c384 void *note_buf; in read_elf32() local
393 if ((note_buf = kmem_alloc(phdr->p_filesz, 0)) == NULL) in read_elf32()
403 nhdr = (Elf32_Nhdr *)note_buf; in read_elf32()
431 nhdr = (Elf32_Nhdr *)((char *)note_buf + offset); in read_elf32()
434 kmem_free(note_buf, phdr->p_filesz); in read_elf32()
784 void *note_buf; in read_elf64() local
793 if ((note_buf = kmem_alloc(phdr->p_filesz, 0)) == NULL) in read_elf64()
804 nhdr = (Elf64_Nhdr *)note_buf; in read_elf64()
832 nhdr = (Elf64_Nhdr *)((char *)note_buf + offset); in read_elf64()
835 kmem_free(note_buf, phdr->p_filesz); in read_elf64()