Home
last modified time | relevance | path

Searched full:symbols (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/kernel/linux/linux-6.6/scripts/
Dmksysmap4 # tools to retrieve the actual addresses of symbols in the kernel.
14 # readprofile starts reading symbols when _stext is found, and
24 # a: local absolute symbols
25 # N: debugging symbols
26 # U: undefined global symbols
27 # w: local weak symbols
34 # local symbols for ARM, MIPS, etc.
43 # arm64 local symbols in PIE namespace
47 # arm64 local symbols in non-VHE KVM namespace
78 # Ignored symbols (exact match)
[all …]
Dcheckkconfigsymbols.py4 """Find Kconfig symbols that are referenced but not defined."""
44 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
56 "undefined Kconfig symbols")
60 help="diff undefined symbols between two commits "
65 help="find and show commits that may cause symbols to be "
74 help="print a list of max. 10 string-similar symbols")
128 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
130 print("%s: no similar symbols found" % yel("Similar symbols"))
133 # dictionary of (un)defined symbols
189 sims_out = yel("Similar symbols")
[all …]
Dextract-sys-certs.pl61 my %symbols = ();
73 $symbols{$name} = $addr;
81 print "No symbols in vmlinux, trying $sysmap\n";
89 die "No symbols available\n"
92 print "Have $nr_symbols symbols\n";
95 unless (exists($symbols{"__cert_list_start"}) &&
96 exists($symbols{"system_certificate_list_size"}));
98 my $start = Math::BigInt->new($symbols{"__cert_list_start"});
101 my $size_sym = Math::BigInt->new($symbols{"system_certificate_list_size"});
/kernel/linux/linux-5.10/Documentation/core-api/
Dsymbol-namespaces.rst6 export surface of in-kernel symbols exported through the family of
15 === 3 How to use Symbols exported in Namespaces
16 === 4 Loading Modules that use namespaced Symbols
24 their exported symbols into separate namespaces. That is useful for
26 limiting the availability of a set of symbols for use in other parts of the
27 kernel. As of today, modules that make use of symbols exported into namespaces,
34 Symbols can be exported into namespace using different methods. All of them are
42 exporting of kernel symbols to the kernel symbol table, variants of these are
43 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
60 Defining namespaces for all symbols of a subsystem can be very verbose and may
[all …]
/kernel/linux/linux-6.6/Documentation/core-api/
Dsymbol-namespaces.rst6 export surface of in-kernel symbols exported through the family of
15 === 3 How to use Symbols exported in Namespaces
16 === 4 Loading Modules that use namespaced Symbols
24 their exported symbols into separate namespaces. That is useful for
26 limiting the availability of a set of symbols for use in other parts of the
27 kernel. As of today, modules that make use of symbols exported into namespaces,
34 Symbols can be exported into namespace using different methods. All of them are
42 exporting of kernel symbols to the kernel symbol table, variants of these are
43 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
60 Defining namespaces for all symbols of a subsystem can be very verbose and may
[all …]
/kernel/linux/linux-5.10/scripts/
Dcheckkconfigsymbols.py4 """Find Kconfig symbols that are referenced but not defined."""
45 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
57 "undefined Kconfig symbols")
61 help="diff undefined symbols between two commits "
66 help="find and show commits that may cause symbols to be "
75 help="print a list of max. 10 string-similar symbols")
126 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
128 print("%s: no similar symbols found" % yel("Similar symbols"))
131 # dictionary of (un)defined symbols
187 sims_out = yel("Similar symbols")
[all …]
Dmksysmap4 # tools to retrieve the actual addresses of symbols in the kernel.
30 # Corresponding small letters are local symbols
33 # a - local absolute symbols
34 # U - undefined global symbols
35 # N - debugging symbols
36 # w - local weak symbols
38 # readprofile starts reading symbols when _stext is found, and
Dkallsyms.c8 * Usage: nm -n vmlinux | scripts/kallsyms [--all-symbols] > symbols.S
10 * Table compression uses all the unused char codes on the symbols and
16 * Applied to kernel symbols, this usually produces a compression ratio
73 fprintf(stderr, "Usage: kallsyms [--all-symbols] " in usage()
88 * Symbols which vary between passes. Passes 1 and 2 must have in is_ignored_symbol()
89 * identical symbol lists. The kallsyms_* symbols below are in is_ignored_symbol()
91 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol()
102 /* Exclude linker generated symbols which vary between passes */ in is_ignored_symbol()
110 "$", /* local symbols for ARM, MIPS, etc. */ in is_ignored_symbol()
111 ".LASANPC", /* s390 kasan local symbols */ in is_ignored_symbol()
[all …]
Dextract-sys-certs.pl61 my %symbols = ();
73 $symbols{$name} = $addr;
81 print "No symbols in vmlinux, trying $sysmap\n";
89 die "No symbols available\n"
92 print "Have $nr_symbols symbols\n";
95 unless (exists($symbols{"__cert_list_start"}) &&
96 exists($symbols{"system_certificate_list_size"}));
98 my $start = Math::BigInt->new($symbols{"__cert_list_start"});
101 my $size_sym = Math::BigInt->new($symbols{"system_certificate_list_size"});
/kernel/linux/linux-5.10/Documentation/livepatch/
Dmodule-elf-format.rst14 4. Livepatch symbols
38 relocation sections and symbols, which are described in this document. The
39 Elf constants used to mark livepatch symbols and relocation sections were
45 reference non-exported global symbols and non-included local symbols.
46 Relocations referencing these types of symbols cannot be left in as-is
53 symbols while taking into account its scope and what module the symbol
57 relocation sections in place of dynrela sections, and the symbols that the
58 relas reference are special livepatch symbols (see section 2 and 3). The
193 4. Livepatch symbols
196 Livepatch symbols are symbols referred to by livepatch relocation sections.
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dtest_ksyms_weak.c18 /* existing weak symbols */
20 /* test existing weak symbols can be resolved. */
27 /* non-existent weak symbols. */
29 /* typeless symbols, default to zero. */
32 /* typed symbols, default to zero. */
41 /* tests existing symbols. */ in pass_handler()
47 /* tests non-existent symbols. */ in pass_handler()
50 /* tests non-existent symbols. */ in pass_handler()
/kernel/linux/linux-6.6/Documentation/livepatch/
Dmodule-elf-format.rst32 relocation sections and symbols, which are described in this document. The
33 ELF constants used to mark livepatch symbols and relocation sections were
39 reference non-exported global symbols and non-included local symbols.
40 Relocations referencing these types of symbols cannot be left in as-is
47 symbols while taking into account its scope and what module the symbol
51 relocation sections in place of dynrela sections, and the symbols that the
52 relas reference are special livepatch symbols (see section 2 and 3). The
187 4. Livepatch symbols
190 Livepatch symbols are symbols referred to by livepatch relocation sections.
191 These are symbols accessed from new versions of functions for patched
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol.c181 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument
189 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
204 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate()
209 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
215 /* Update zero-sized symbols using the address of the next symbol */
216 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument
218 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end()
238 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end()
274 * We still haven't the actual symbols, so guess the in maps__fixup_end()
317 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument
[all …]
Dsymbol.h63 void symbols__delete(struct rb_root_cached *symbols);
65 /* symbols__for_each_entry - iterate over symbols (rb_root)
67 * @symbols: the rb_root of symbols
71 #define symbols__for_each_entry(symbols, pos, nd) \ argument
72 for (nd = rb_first_cached(symbols); \
191 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
193 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
194 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
195 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms);
/kernel/linux/linux-6.6/tools/perf/util/
Dsymbol.c191 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument
199 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
216 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate()
223 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
229 /* Update zero-sized symbols using the address of the next symbol */
230 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument
232 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end()
252 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end()
288 * We still haven't the actual symbols, so guess the in maps__fixup_end()
338 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument
[all …]
Dsymbol.h59 /** Set true for kernel symbols of idle routines. */
76 void symbols__delete(struct rb_root_cached *symbols);
78 /* symbols__for_each_entry - iterate over symbols (rb_root)
80 * @symbols: the rb_root of symbols
84 #define symbols__for_each_entry(symbols, pos, nd) \ argument
85 for (nd = rb_first_cached(symbols); \
187 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
189 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
190 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
191 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms);
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dimage-vars.h21 * isolate it from the kernel proper. The following symbols are legally
23 * Only include data symbols here, or text symbols of functions that are
58 * separate it from the kernel proper. The following symbols are legally
60 * Do not include symbols which may not be safely accessed under hypervisor
74 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
87 /* Kernel symbols needed for cpus_have_final/const_caps checks. */
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkconfig.rst16 New kernel releases often introduce new config symbols. Often more
17 important, new kernel releases may rename config symbols. When
21 symbols have been introduced.
23 To see a list of new config symbols, use::
28 and the config program will list any new symbols, one per line.
51 If you set `CONFIG_` in the environment, Kconfig will prefix all symbols
67 that contains config symbols that the user requires to be set to a
76 config files containing just the config symbols that you are interested
78 including symbols of your miniconfig file.
81 (usually a subset of all) preset config symbols. These variable
[all …]
Dkconfig-language.rst20 | +- Set version information on all module symbols
35 bool "Set version information on all module symbols"
141 symbols.
148 In general use select only for non-visible symbols
149 (no prompts anywhere) and for symbols with no dependencies.
208 false, the menu block is not displayed to the user (the symbols
209 contained there can still be selected by other symbols, though). It is
216 and hex symbols. The user can only input a value which is larger than
239 enables the third modular state for all config symbols.
244 using "allnoconfig". Used for symbols that hide other symbols.
[all …]
/kernel/linux/linux-6.6/Documentation/kbuild/
Dkconfig.rst18 New kernel releases often introduce new config symbols. Often more
19 important, new kernel releases may rename config symbols. When
23 symbols have been introduced.
25 To see a list of new config symbols, use::
30 and the config program will list any new symbols, one per line.
62 symbols in the config input.
70 If you set `CONFIG_` in the environment, Kconfig will prefix all symbols
86 that contains config symbols that the user requires to be set to a
95 config files containing just the config symbols that you are interested
97 including symbols of your miniconfig file.
[all …]
/kernel/linux/linux-6.6/fs/ntfs3/lib/
Ddecompress_common.c19 * decoding of prefix-encoded symbols using read_huffsym().
25 * code or not until all symbols have been decoded.
32 * of the corresponding symbols. Consequently, we can sort the symbols
38 * Instead, it directly builds a table for decoding symbols using the
62 * contain symbols. Note that the long-codeword case is, in general,
64 * used symbols are assigned the shortest codeword lengths.
83 * The number of symbols in the alphabet; also, the length of the
126 /* Count how many symbols have each possible codeword length. in make_huffman_decode_table()
160 * so we must allow it. By definition, no symbols can in make_huffman_decode_table()
165 * decode symbols using such a code, we zero out the in make_huffman_decode_table()
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/
Dsymbols.c71 /* dso__fprintf() prints all the symbols */ in test_dso()
75 for (nd = rb_first_cached(&dso->symbols); nd; nd = rb_next(nd)) { in test_dso()
81 /* Check for overlapping function symbols */ in test_dso()
83 pr_debug("Overlapping symbols:\n"); in test_dso()
121 pr_debug("DSO has no symbols!\n"); in test_file()
152 DEFINE_SUITE("Symbols", symbols);
/kernel/linux/linux-6.6/kernel/trace/
Dfprobe.c158 /* Convert ftrace location address from symbols */
163 /* Convert symbols to symbol address */ in get_ftrace_locations()
168 /* ftrace_lookup_symbols expects sorted symbols */ in get_ftrace_locations()
238 * @filter: A wildcard pattern of probed symbols.
239 * @notfilter: A wildcard pattern of NOT probed symbols.
241 * Register @fp to ftrace for enabling the probe on the symbols matched to @filter.
242 * If @notfilter is not NULL, the symbols matched the @notfilter are not probed.
274 * correctly calculate the total number of filtered symbols in register_fprobe()
329 * register_fprobe_syms() - Register fprobe to ftrace by symbols.
331 * @syms: An array of target symbols.
[all …]
/kernel/linux/linux-6.6/arch/arm64/kernel/
Dimage-vars.h17 * isolate it from the kernel proper. The following symbols are legally
19 * Only include data symbols here, or text symbols of functions that are
41 * separate it from the kernel proper. The following symbols are legally
43 * Do not include symbols which may not be safely accessed under hypervisor
61 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
/kernel/linux/linux-6.6/tools/lib/bpf/
Delf.c107 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new()
286 * Return offsets in @poffsets for symbols specified in @syms array argument.
296 struct symbol *symbols; in elf_resolve_syms_offsets() local
304 symbols = calloc(cnt, sizeof(*symbols)); in elf_resolve_syms_offsets()
306 if (!offsets || !symbols) { in elf_resolve_syms_offsets()
312 symbols[i].name = syms[i]; in elf_resolve_syms_offsets()
313 symbols[i].idx = i; in elf_resolve_syms_offsets()
316 qsort(symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
336 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
374 free(symbols); in elf_resolve_syms_offsets()
[all …]

12345678910>>...48