Home
last modified time | relevance | path

Searched refs:note_offs (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/lib/
H A Dbuildid.c21 Elf32_Word note_offs = 0, new_offs; in parse_build_id_buf() local
23 while (note_offs + sizeof(Elf32_Nhdr) < note_size) { in parse_build_id_buf()
24 Elf32_Nhdr *nhdr = (Elf32_Nhdr *)(note_start + note_offs); in parse_build_id_buf()
32 note_start + note_offs + in parse_build_id_buf()
41 new_offs = note_offs + sizeof(Elf32_Nhdr) + in parse_build_id_buf()
43 if (new_offs <= note_offs) /* overflow */ in parse_build_id_buf()
45 note_offs = new_offs; in parse_build_id_buf()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtrace_helpers.c247 Elf32_Word note_offs = 0; in parse_build_id_buf() local
249 while (note_offs + sizeof(Elf32_Nhdr) < note_size) { in parse_build_id_buf()
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()
261 note_offs = note_offs + sizeof(Elf32_Nhdr) + in parse_build_id_buf()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dstackmap.c173 Elf32_Word note_offs = 0, new_offs; in stack_map_parse_build_id() local
183 while (note_offs + sizeof(Elf32_Nhdr) < note_size) { in stack_map_parse_build_id()
184 Elf32_Nhdr *nhdr = (Elf32_Nhdr *)(note_start + note_offs); in stack_map_parse_build_id()
191 note_start + note_offs + in stack_map_parse_build_id()
198 new_offs = note_offs + sizeof(Elf32_Nhdr) + in stack_map_parse_build_id()
200 if (new_offs <= note_offs) /* overflow */ in stack_map_parse_build_id()
202 note_offs = new_offs; in stack_map_parse_build_id()

Completed in 6 milliseconds