Lines Matching refs:nhdr_ptr
728 Elf64_Nhdr *nhdr_ptr; in update_note_header_size_elf64() local
746 nhdr_ptr = notes_section; in update_note_header_size_elf64()
747 while (nhdr_ptr->n_namesz != 0) { in update_note_header_size_elf64()
749 (((u64)nhdr_ptr->n_namesz + 3) & ~3) + in update_note_header_size_elf64()
750 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf64()
753 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf64()
757 nhdr_ptr = (Elf64_Nhdr*)((char*)nhdr_ptr + sz); in update_note_header_size_elf64()
919 Elf32_Nhdr *nhdr_ptr; in update_note_header_size_elf32() local
937 nhdr_ptr = notes_section; in update_note_header_size_elf32()
938 while (nhdr_ptr->n_namesz != 0) { in update_note_header_size_elf32()
940 (((u64)nhdr_ptr->n_namesz + 3) & ~3) + in update_note_header_size_elf32()
941 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf32()
944 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf32()
948 nhdr_ptr = (Elf32_Nhdr*)((char*)nhdr_ptr + sz); in update_note_header_size_elf32()