Lines Matching refs:bufp
292 static char *storenote(struct memelfnote *men, char *bufp) in storenote() argument
296 #define DUMP_WRITE(addr,nr) do { memcpy(bufp,addr,nr); bufp += nr; } while(0) in storenote()
306 bufp = (char*) roundup((unsigned long)bufp,4); in storenote()
308 bufp = (char*) roundup((unsigned long)bufp,4); in storenote()
312 return bufp; in storenote()
319 static void elf_kcore_store_hdr(char *bufp, int nphdr, int dataoff) in elf_kcore_store_hdr() argument
330 elf = (struct elfhdr *) bufp; in elf_kcore_store_hdr()
331 bufp += sizeof(struct elfhdr); in elf_kcore_store_hdr()
354 nhdr = (struct elf_phdr *) bufp; in elf_kcore_store_hdr()
355 bufp += sizeof(struct elf_phdr); in elf_kcore_store_hdr()
368 phdr = (struct elf_phdr *) bufp; in elf_kcore_store_hdr()
369 bufp += sizeof(struct elf_phdr); in elf_kcore_store_hdr()
396 bufp = storenote(¬es[0], bufp); in elf_kcore_store_hdr()
413 bufp = storenote(¬es[1], bufp); in elf_kcore_store_hdr()
422 bufp = storenote(¬es[2], bufp); in elf_kcore_store_hdr()