Searched refs:hdr_size (Results 1 – 2 of 2) sorted by relevance
302 u32 hdr_size, cpu_notes_size, count; in create_opalcore() local313 hdr_size = (sizeof(Elf64_Ehdr) + in create_opalcore()322 oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size); in create_opalcore()384 phdr->p_offset = cpu_to_be64(hdr_size); in create_opalcore()
502 size_t length, hdr_size; in nvram_pstore_read() local507 hdr_size = sizeof(u16); in nvram_pstore_read()512 hdr_size = sizeof(*oops_hdr); in nvram_pstore_read()517 record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); in nvram_pstore_read()