Searched refs:nphdr (Results 1 – 1 of 1) sorted by relevance
75 static size_t get_kcore_size(int *nphdr, size_t *elf_buflen) in get_kcore_size() argument80 *nphdr = 1; /* PT_NOTE */ in get_kcore_size()87 *nphdr = *nphdr + 1; in get_kcore_size()90 (*nphdr + 2)*sizeof(struct elf_phdr) + in get_kcore_size()114 int nphdr; in __kcore_update_ram() local130 proc_root_kcore->size = get_kcore_size(&nphdr, &size); in __kcore_update_ram()319 static void elf_kcore_store_hdr(char *bufp, int nphdr, int dataoff) in elf_kcore_store_hdr() argument348 elf->e_phnum = nphdr; in elf_kcore_store_hdr()436 int nphdr; in read_kcore() local440 size = get_kcore_size(&nphdr, &elf_buflen); in read_kcore()[all …]