Lines Matching defs:kernel

8 #include <linux/kernel.h>
134 /* Avoid "SyS" kernel syscall aliases */
245 * On some architecture kernel text segment start is located at
248 * kernel text segment and beginning of first module's text
250 * not assign it to the kernel dso map (kallsyms).
272 /* Last kernel/module symbol mapped to end of page */
346 struct symbol *sym, bool kernel)
354 if (kernel) {
705 * These are symbols in the kernel image, so make sure that
706 * sym is from a kernel DSO.
840 * kernel range is broken in several maps, named [kernel].N, as we don't have
918 * is the start of kernel text, by simply removing the
940 "[guest.kernel].%d",
944 "[kernel].%d",
1305 /* This function requires that the map is the kernel map */
1313 /* Modules and kernel must be present at their original addresses */
1343 /* Find the kernel map using the '_stext' symbol */
1356 * On some architectures, ARM64 for example, the kernel
1437 pr_debug("Using %s for kernel object code\n", kcore_filename);
1439 pr_debug("Using %s for kernel data\n", kcore_filename);
1457 * If the kernel is relocated at boot time, kallsyms won't match. Compute the
1728 * kernel modules know their symtab type - it's set when
2112 * any vmlinux file, try the running kernel kallsyms table.
2117 if (sysfs__read_build_id("/sys/kernel/notes", &bid) == 0)
2326 /* only try kernel version if no symfs was given */
2428 FILE *fp = fopen("/proc/sys/kernel/kptr_restrict", "r");
2441 /* Per kernel/kallsyms.c:
2584 * Checks that user supplied symbol kernel files are accessible because