Home
last modified time | relevance | path

Searched refs:note_sec (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/kernel/
Dcrash_core.c400 const struct elf_note_section *note_sec = in add_build_id_vmcoreinfo() local
402 const u32 n_namesz = note_sec->n_hdr.n_namesz; in add_build_id_vmcoreinfo()
404 if (note_sec->n_hdr.n_type == NT_GNU_BUILD_ID && in add_build_id_vmcoreinfo()
406 !strcmp((char *)&note_sec->n_data[0], "GNU")) { in add_build_id_vmcoreinfo()
407 if (note_sec->n_hdr.n_descsz <= BUILD_ID_MAX) { in add_build_id_vmcoreinfo()
408 const u32 n_descsz = note_sec->n_hdr.n_descsz; in add_build_id_vmcoreinfo()
409 const u8 *s = &note_sec->n_data[n_namesz]; in add_build_id_vmcoreinfo()
418 note_sec->n_hdr.n_descsz, in add_build_id_vmcoreinfo()
423 ALIGN(note_sec->n_hdr.n_namesz, 4) + in add_build_id_vmcoreinfo()
424 ALIGN(note_sec->n_hdr.n_descsz, 4); in add_build_id_vmcoreinfo()