Home
last modified time | relevance | path

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

/kernel/
Dmodule.c322 Elf_Ehdr *hdr; member
374 for (i = 1; i < info->hdr->e_shnum; i++) { in find_sec()
1499 for (i = 0; i < info->hdr->e_shnum; i++) in add_sect_attrs()
1517 for (i = 0; i < info->hdr->e_shnum; i++) { in add_sect_attrs()
1602 for (i = 0; i < info->hdr->e_shnum; i++) in add_notes_attrs()
1618 for (loaded = i = 0; i < info->hdr->e_shnum; ++i) { in add_notes_attrs()
2169 ignore_undef_symbol(info->hdr->e_machine, name))) in simplify_symbols()
2197 for (i = 1; i < info->hdr->e_shnum; i++) { in apply_relocations()
2201 if (infosec >= info->hdr->e_shnum) in apply_relocations()
2257 for (i = 0; i < info->hdr->e_shnum; i++) in layout_sections()
[all …]
Dsysctl.c1909 struct ctl_table_header *hdr; in sysctl_init() local
1911 hdr = register_sysctl_table(sysctl_base_table); in sysctl_init()
1912 kmemleak_not_leak(hdr); in sysctl_init()
/kernel/bpf/
Dcore.c217 struct bpf_binary_header *hdr; in bpf_jit_binary_alloc() local
224 size = round_up(proglen + sizeof(*hdr) + 128, PAGE_SIZE); in bpf_jit_binary_alloc()
225 hdr = module_alloc(size); in bpf_jit_binary_alloc()
226 if (hdr == NULL) in bpf_jit_binary_alloc()
230 bpf_fill_ill_insns(hdr, size); in bpf_jit_binary_alloc()
232 hdr->pages = size / PAGE_SIZE; in bpf_jit_binary_alloc()
233 hole = min_t(unsigned int, size - (proglen + sizeof(*hdr)), in bpf_jit_binary_alloc()
234 PAGE_SIZE - sizeof(*hdr)); in bpf_jit_binary_alloc()
238 *image_ptr = &hdr->image[start]; in bpf_jit_binary_alloc()
240 return hdr; in bpf_jit_binary_alloc()
[all …]