Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dbuildid.c18 const void *note_start, in parse_build_id_buf() argument
28 Elf32_Nhdr *nhdr = (Elf32_Nhdr *)(note_start + note_off); in parse_build_id_buf()
43 data = note_start + note_off + sizeof(Elf32_Nhdr) + ALIGN(note_name_sz, 4); in parse_build_id_buf()
60 const void *note_start, in parse_build_id() argument
64 if (note_start < page_addr || note_start + note_size < note_start) in parse_build_id()
68 if (note_start + note_size > page_addr + PAGE_SIZE) in parse_build_id()
71 return parse_build_id_buf(build_id, size, note_start, note_size); in parse_build_id()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c245 parse_build_id_buf(const void *note_start, Elf32_Word note_size, char *build_id) in parse_build_id_buf() argument
250 Elf32_Nhdr *nhdr = (Elf32_Nhdr *)(note_start + note_offs); in parse_build_id_buf()
255 memcpy(build_id, note_start + note_offs + in parse_build_id_buf()