Lines Matching refs:bufp
140 Elf64_Off *bufp = (Elf64_Off *)oc_conf->auxv_buf; in auxv_to_elf64_notes() local
143 memset(bufp, 0, AUXV_DESC_SZ); in auxv_to_elf64_notes()
146 bufp[idx++] = cpu_to_be64(AT_ENTRY); in auxv_to_elf64_notes()
147 bufp[idx++] = cpu_to_be64(opal_boot_entry); in auxv_to_elf64_notes()
150 bufp[idx++] = cpu_to_be64(AT_NULL); in auxv_to_elf64_notes()
228 char *bufp; in opalcore_append_cpu_notes() local
232 bufp = __va(oc_conf->cpu_state_destination_vaddr); in opalcore_append_cpu_notes()
239 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
258 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) { in opalcore_append_cpu_notes()
259 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
274 opal_fadump_read_regs((bufp + regs_offset), regs_cnt, in opalcore_append_cpu_notes()
310 char *bufp; in create_opalcore() local
356 bufp = oc_conf->opalcorebuf; in create_opalcore()
357 elf = (Elf64_Ehdr *)bufp; in create_opalcore()
358 bufp += sizeof(Elf64_Ehdr); in create_opalcore()
380 phdr = (Elf64_Phdr *)bufp; in create_opalcore()
381 bufp += sizeof(Elf64_Phdr); in create_opalcore()
391 oc_conf->ptload_phdr = (Elf64_Phdr *)bufp; in create_opalcore()
394 phdr = (Elf64_Phdr *)bufp; in create_opalcore()
395 bufp += sizeof(Elf64_Phdr); in create_opalcore()
421 bufp = (char *)opalcore_append_cpu_notes((Elf64_Word *)bufp); in create_opalcore()
422 bufp = (char *)auxv_to_elf64_notes((Elf64_Word *)bufp, opal_boot_entry); in create_opalcore()