Searched defs:hook (Results 1 - 25 of 42) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/commands/arc/
H A Dlsdev.c32 auto int hook (const char *name, const struct grub_arc_component *comp);
33 int hook (const char *name, const struct grub_arc_component *comp __attribute__ ((unused))) function
38 grub_arc_iterate_devs (hook, 0);
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/
H A Dmultiboot_mmap.c60 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
66 if (hook (entry->addr, entry->len, entry->type))
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dlsmmap.c46 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t, grub_memory_type_t);
47 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
59 grub_machine_mmap_iterate (hook);
H A Dvideoinfo.c34 hook (const struct grub_video_mode_info *info) function
190 adapter->iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/coreboot/
H A Dmmap.c26 grub_linuxbios_table_iterate (int (*hook) (grub_linuxbios_table_item_t))
70 if (hook (table_item))
78 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
93 if (hook (mem_region->addr, mem_region->size,
/osnet-11/usr/src/grub/grub2/grub-core/lib/ieee1275/
H A Dcmos.c29 auto int hook (struct grub_ieee1275_devalias *alias);
30 int hook (struct grub_ieee1275_devalias *alias) function
70 grub_ieee1275_devices_iterate (hook);
H A Ddatetime.c36 auto int hook (struct grub_ieee1275_devalias *alias);
37 int hook (struct grub_ieee1275_devalias *alias) function
48 grub_ieee1275_devices_iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/mmap/i386/
H A Duppermem.c30 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
32 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
42 grub_mmap_iterate (hook);
53 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
55 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
65 grub_mmap_iterate (hook);
75 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
77 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
87 grub_mmap_iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/mmap/mips/
H A Duppermem.c30 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
32 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
42 grub_mmap_iterate (hook);
53 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
55 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
66 grub_mmap_iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/bus/
H A Dpci.c91 grub_pci_iterate (grub_pci_iteratefunc_t hook) argument
118 if (hook (dev, id))
H A Dcs5536.c36 auto int NESTED_FUNC_ATTR hook (grub_pci_device_t dev,
39 int NESTED_FUNC_ATTR hook (grub_pci_device_t dev, function
51 grub_pci_iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/qemu/
H A Dmmap.c72 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
74 if (hook (0x0,
79 if (hook ((grub_addr_t) _end,
84 if (hook (GRUB_MEMORY_MACHINE_UPPER,
90 if (hook (0x100000,
97 if (hook ((grub_uint32_t) -GRUB_BOOT_MACHINE_SIZE,
102 if (above_4g != 0 && hook (0x100000000ULL, above_4g,
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dmmap.c24 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
59 /* Decode each entry and call `hook'. */
75 if (hook (address, size, GRUB_MEMORY_AVAILABLE))
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/qemu_mips/
H A Dinit.c100 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
102 hook (0, grub_arch_memsize, GRUB_MEMORY_AVAILABLE);
/osnet-11/usr/src/grub/grub2/grub-core/bus/emu/
H A Dpci.c35 grub_pci_iterate (grub_pci_iteratefunc_t hook) argument
46 hook (dev, dev->vendor_id | (dev->device_id << 16));
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/pc/
H A Dmmap.c142 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
156 if (hook (entry->addr, entry->len,
174 if (hook (0x0, ((grub_uint32_t) grub_get_conv_memsize ()) << 10,
180 if (hook (0x100000, (eisa_mmap & 0xFFFF) << 10,
182 hook (0x1000000, eisa_mmap & ~0xFFFF, GRUB_MEMORY_AVAILABLE);
185 hook (0x100000, ((grub_uint32_t) grub_get_ext_memsize ()) << 10,
H A Dinit.c190 auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t,
192 int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, function
219 grub_machine_mmap_iterate (hook);
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/loongson/
H A Dinit.c50 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
52 hook (GRUB_ARCH_LOWMEMPSTART, grub_arch_memsize << 20,
54 hook (GRUB_ARCH_HIGHMEMPSTART, grub_arch_highmemsize << 20,
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/arc/
H A Dinit.c51 int (*hook) (const char *name,
70 if (hook (name, comp))
75 if (iterate_rec ((parent ? name : prefix), comp, hook, alt_names))
86 grub_arc_iterate_devs (int (*hook) (const char *name,
90 return iterate_rec ((alt_names ? "arc" : ""), NULL, hook, alt_names);
94 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
122 if (hook (((grub_uint64_t) cur->start_page) << 12,
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A DmachoXX.c63 grub_macho_iter_hook_t hook,
73 if (hook (macho, hdr, hook_arg))
226 auto int NESTED_FUNC_ATTR hook(grub_macho_t _macho,
229 int NESTED_FUNC_ATTR hook(grub_macho_t _macho __attribute__ ((unused)), function
237 grub_macho_cmds_iterate (macho, hook, 0);
62 grub_macho_cmds_iterate(grub_macho_t macho, grub_macho_iter_hook_t hook, void *hook_arg) argument
/osnet-11/usr/src/grub/grub2/grub-core/mmap/efi/
H A Dmmap.c33 grub_machine_mmap_iterate (grub_memory_hook_t hook) argument
70 hook (desc->physical_start, desc->num_pages * 4096,
75 hook (desc->physical_start, desc->num_pages * 4096,
80 hook (desc->physical_start, desc->num_pages * 4096,
92 hook (desc->physical_start, desc->num_pages * 4096,
101 hook (desc->physical_start, desc->num_pages * 4096,
106 hook (desc->physical_start, desc->num_pages * 4096,
111 hook (desc->physical_start, desc->num_pages * 4096,
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dieee1275.c60 auto int hook (struct grub_ieee1275_devalias *alias);
61 int hook (struct grub_ieee1275_devalias *alias) function
72 grub_ieee1275_devices_iterate (hook);
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c204 res_send_setqhook(res_send_qhook hook) { argument
205 _res.qhook = hook;
209 res_send_setrhook(res_send_rhook hook) { argument
210 _res.rhook = hook;
/osnet-11/usr/src/grub/grub2/grub-core/disk/arc/
H A Darcdisk.c85 auto int hook (const char *name, const struct grub_arc_component *comp);
86 int hook (const char *name, const struct grub_arc_component *comp) function
97 return grub_arc_iterate_devs (hook, 1);
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Delf.c148 int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf32_Phdr *, void *),
169 if (hook (elf, phdr, hook_arg))
239 auto int NESTED_FUNC_ATTR grub_elf32_load_segment (grub_elf_t elf, Elf32_Phdr *phdr, void *hook); argument
240 int NESTED_FUNC_ATTR grub_elf32_load_segment (grub_elf_t elf, Elf32_Phdr *phdr, void *hook)
242 grub_elf32_load_hook_t load_hook = (grub_elf32_load_hook_t) hook;
338 int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf64_Phdr *, void *),
359 if (hook (elf, phdr, hook_arg))
430 void *hook);
431 int NESTED_FUNC_ATTR grub_elf64_load_segment (grub_elf_t elf, Elf64_Phdr *phdr, void *hook)
433 grub_elf64_load_hook_t load_hook = (grub_elf64_load_hook_t) hook;
429 grub_elf64_load_segment(grub_elf_t elf, Elf64_Phdr *phdr, void *hook) argument
[all...]

Completed in 31 milliseconds

12