| /tools/testing/selftests/livepatch/ |
| A D | functions.sh | 154 local mod="$1" 168 local mod="$1"; shift 187 local mod="$1"; shift 192 __load_mod "$mod" "$@" 200 local mod="$1"; shift 216 local mod="$1"; shift 229 local mod="$1"; shift 243 local mod="$1" 249 log "% rmmod $mod" 269 local mod="$1" [all …]
|
| A D | test-livepatch.sh | 127 for mod in $MOD_LIVEPATCH2 $MOD_LIVEPATCH3; do 128 load_lp "$mod" 146 for mod in $MOD_LIVEPATCH3 $MOD_LIVEPATCH2 $MOD_LIVEPATCH1; do 147 unload_lp "$mod"
|
| /tools/perf/arch/powerpc/util/ |
| A D | skip-callchain-idx.c | 97 static Dwarf_Frame *get_eh_frame(Dwfl_Module *mod, Dwarf_Addr pc) in get_eh_frame() argument 104 cfi = dwfl_module_eh_cfi(mod, &bias); in get_eh_frame() 122 static Dwarf_Frame *get_dwarf_frame(Dwfl_Module *mod, Dwarf_Addr pc) in get_dwarf_frame() argument 129 cfi = dwfl_module_dwarf_cfi(mod, &bias); in get_dwarf_frame() 156 Dwfl_Module *mod; in check_return_addr() local 173 mod = dwfl_report_elf(dwfl, exec_file, exec_file, -1, in check_return_addr() 175 if (!mod) { in check_return_addr() 189 mod = dwfl_addrmodule(dwfl, pc); in check_return_addr() 190 if (!mod) { in check_return_addr() 199 frame = get_eh_frame(mod, pc); in check_return_addr() [all …]
|
| /tools/perf/util/ |
| A D | unwind-libdw.c | 47 Dwfl_Module *mod; in __report_module() local 74 mod = dwfl_addrmodule(ui->dwfl, ip); in __report_module() 75 if (mod) { in __report_module() 78 dwfl_module_info(mod, NULL, &s, NULL, NULL, NULL, NULL, NULL); in __report_module() 80 mod = NULL; in __report_module() 83 if (!mod) { in __report_module() 89 mod = dwfl_report_elf(ui->dwfl, dso__short_name(dso), filename, -1, in __report_module() 93 if (!mod) { in __report_module() 97 mod = dwfl_report_elf(ui->dwfl, dso__short_name(dso), filename, -1, in __report_module() 101 if (mod) { in __report_module() [all …]
|
| A D | debuginfo.c | 55 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd); in debuginfo__init_offline_dwarf() 56 if (!dbg->mod) in debuginfo__init_offline_dwarf() 59 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); in debuginfo__init_offline_dwarf() 63 dwfl_module_build_id(dbg->mod, &dbg->build_id, &dummy); in debuginfo__init_offline_dwarf() 156 elf = dwfl_module_getelf(dbg->mod, &dbg->bias); in debuginfo__get_text_offset() 161 n = dwfl_module_relocations(dbg->mod); in debuginfo__get_text_offset() 166 p = dwfl_module_relocation_info(dbg->mod, i, &shndx); in debuginfo__get_text_offset()
|
| A D | probe-finder.h | 84 Dwfl_Module *mod; /* For solving symbols */ member 92 Dwfl_Module *mod; /* For solving symbols */ member
|
| A D | parse-events.l | 160 struct parse_events_modifier mod = { .precise = 0, }; in modifiers() local 165 if (mod.field) { \ in modifiers() 169 mod.field = true; \ in modifiers() 180 mod.precise++; in modifiers() 191 if (mod.precise > 3) { in modifiers() 214 yylval->mod = mod; in modifiers()
|
| A D | debuginfo.h | 15 Dwfl_Module *mod; member
|
| /tools/testing/selftests/livepatch/test_modules/ |
| A D | test_klp_callbacks_demo2.c | 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 73 .mod = THIS_MODULE,
|
| A D | test_klp_callbacks_demo.c | 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 103 .mod = THIS_MODULE,
|
| A D | test_klp_state.c | 25 if (obj->mod) in callback_info() 26 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 27 module_state[obj->mod->state]); in callback_info() 142 .mod = THIS_MODULE,
|
| A D | test_klp_state2.c | 25 if (obj->mod) in callback_info() 26 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 27 module_state[obj->mod->state]); in callback_info() 171 .mod = THIS_MODULE,
|
| A D | test_klp_livepatch.c | 33 .mod = THIS_MODULE,
|
| A D | test_klp_atomic_replace.c | 37 .mod = THIS_MODULE,
|
| /tools/testing/selftests/bpf/progs/ |
| A D | bpf_mod_race.c | 84 int BPF_PROG(fexit_init_module, struct module *mod, int ret) in BPF_PROG() argument 94 int BPF_PROG(fexit_module_get, const struct btf *btf, struct module *mod) in BPF_PROG() argument 96 res_try_get_module = !!mod; in BPF_PROG()
|
| /tools/testing/selftests/bpf/test_kmods/ |
| A D | .gitignore | 1 *.mod 2 *.mod.c
|
| /tools/power/cpupower/debug/kernel/ |
| A D | Makefile | 15 - rm -rf *.o *.ko .*.cmd .*.mod.* *.mod.c
|
| /tools/arch/x86/lib/ |
| A D | insn.c | 369 insn_byte_t pfx_id, mod; in insn_get_modrm() local 380 mod = get_next(insn_byte_t, insn); in insn_get_modrm() 381 insn_field_set(modrm, mod, 1); in insn_get_modrm() 384 insn->attr = inat_get_group_attribute(mod, pfx_id, in insn_get_modrm() 484 insn_byte_t mod, rm, base; in insn_get_displacement() local 512 mod = X86_MODRM_MOD(insn->modrm.value); in insn_get_displacement() 515 if (mod == 3) in insn_get_displacement() 517 if (mod == 1) { in insn_get_displacement() 521 if ((mod == 0 && rm == 6) || mod == 2) { in insn_get_displacement() 526 if ((mod == 0 && rm == 5) || mod == 2 || in insn_get_displacement() [all …]
|
| /tools/virtio/ |
| A D | Makefile | 2 all: test mod 23 mod: target 51 .PHONY: all test mod clean vhost oot oot-clean oot-build
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | verify_pkcs7_sig.c | 187 void *mod; in populate_data_item_mod() local 224 mod = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in populate_data_item_mod() 228 if (mod == MAP_FAILED) in populate_data_item_mod() 231 if (strncmp(mod + modlen - marker_len, MODULE_SIG_STRING, marker_len)) { in populate_data_item_mod() 238 memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms)); in populate_data_item_mod() 248 memcpy(data_item->data, mod, modlen); in populate_data_item_mod() 256 memcpy(data_item->sig, mod + modlen, sig_len); in populate_data_item_mod() 260 munmap(mod, st.st_size); in populate_data_item_mod()
|
| /tools/perf/scripts/python/Perf-Trace-Util/ |
| A D | Context.c | 218 PyObject *mod; in PyInit_perf_trace_context() local 220 mod = PyModule_Create(&moduledef); in PyInit_perf_trace_context() 222 PyObject_SetAttrString(mod, "perf_script_context", Py_None); in PyInit_perf_trace_context() 224 return mod; in PyInit_perf_trace_context()
|
| /tools/iio/ |
| A D | iio_event_monitor.c | 148 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); in event_is_known() local 195 switch (mod) { in event_is_known() 279 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); in print_event() local 296 if (mod != IIO_NO_MOD) in print_event() 297 printf("(%s)", iio_modifier_names[mod]); in print_event()
|
| /tools/testing/selftests/net/ |
| A D | reuseport_bpf.c | 92 static void attach_ebpf(int fd, uint16_t mod) in attach_ebpf() argument 104 { BPF_ALU64 | BPF_MOD | BPF_K, BPF_REG_0, 0, 0, mod }, in attach_ebpf() 131 static void attach_cbpf(int fd, uint16_t mod) in attach_cbpf() argument 137 { BPF_ALU | BPF_MOD, 0, 0, mod }, in attach_cbpf() 150 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group() argument 168 attach_bpf(fd[i], mod); in build_recv_group() 211 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order() argument 265 expected = (sport % mod); in test_recv_order()
|
| A D | test_ingress_egress_chaining.sh | 16 for mod in $needed_mods; do 17 modinfo $mod &>/dev/null || { echo "SKIP: Need act_mirred module"; exit $ksft_skip; }
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | rss_api.py | 221 mod = random.randbytes(len(dflt["hkey"])) 223 "hkey": mod}) 225 ksft_eq(rss.get("hkey", [-1]), mod) 228 mod = random.randbytes(len(dflt["hkey"])) 230 "indir": [0, 1], "hkey": mod}) 232 ksft_eq(rss.get("hkey", [-1]), mod)
|