| /tools/testing/selftests/livepatch/test_modules/ |
| D | test_klp_state.c | 32 static struct klp_patch patch; variable 38 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state() 55 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel() 68 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel() 80 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state() 141 static struct klp_patch patch = { variable 150 return klp_enable_patch(&patch); in test_klp_callbacks_demo_init()
|
| D | test_klp_state2.c | 32 static struct klp_patch patch; variable 45 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state() 62 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel() 90 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel() 109 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state() 170 static struct klp_patch patch = { variable 179 return klp_enable_patch(&patch); in test_klp_callbacks_demo_init()
|
| D | test_klp_atomic_replace.c | 36 static struct klp_patch patch = { variable 44 patch.replace = replace; in test_klp_atomic_replace_init() 45 return klp_enable_patch(&patch); in test_klp_atomic_replace_init()
|
| D | test_klp_callbacks_demo2.c | 72 static struct klp_patch patch = { variable 80 patch.replace = replace; in test_klp_callbacks_demo2_init() 81 return klp_enable_patch(&patch); in test_klp_callbacks_demo2_init()
|
| D | test_klp_livepatch.c | 32 static struct klp_patch patch = { variable 39 return klp_enable_patch(&patch); in test_klp_livepatch_init()
|
| D | test_klp_syscall.c | 76 static struct klp_patch patch = { variable 101 return klp_enable_patch(&patch); in livepatch_init()
|
| D | test_klp_callbacks_demo.c | 102 static struct klp_patch patch = { variable 109 return klp_enable_patch(&patch); in test_klp_callbacks_demo_init()
|
| /tools/lib/bpf/ |
| D | libbpf_probes.c | 34 __u32 major, minor, patch; in get_ubuntu_kernel_version() local 45 ret = fscanf(f, "%*s %*s %u.%u.%u\n", &major, &minor, &patch); in get_ubuntu_kernel_version() 50 return KERNEL_VERSION(major, minor, patch); in get_ubuntu_kernel_version() 65 __u32 major, minor, patch; in get_debian_kernel_version() local 74 if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3) in get_debian_kernel_version() 77 return KERNEL_VERSION(major, minor, patch); in get_debian_kernel_version() 82 __u32 major, minor, patch, version; in get_kernel_version() local 97 if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3) in get_kernel_version() 100 return KERNEL_VERSION(major, minor, patch); in get_kernel_version()
|
| D | libbpf.c | 7650 char *orig, size_t orig_sz, const char *patch) in patch_log() argument 7654 size_t patch_sz = strlen(patch); in patch_log() 7683 memcpy(orig, patch, patch_sz); in patch_log() 7702 char patch[512], spec_buf[256]; in fixup_log_failed_core_relo() local 7717 snprintf(patch, sizeof(patch), in fixup_log_failed_core_relo() 7722 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_failed_core_relo() 7740 char patch[128]; in fixup_log_missing_map_load() local 7750 snprintf(patch, sizeof(patch), in fixup_log_missing_map_load() 7755 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_missing_map_load() 7773 char patch[128]; in fixup_log_missing_kfunc_call() local [all …]
|
| /tools/testing/kunit/ |
| D | kunit_tool_test.py | 84 self.print_mock = mock.patch('kunit_printer.Printer.print').start() 85 self.addCleanup(mock.patch.stopall) 210 print_mock = mock.patch('kunit_printer.Printer.print').start() 407 mock.patch.object(signal, 'signal').start() 408 self.addCleanup(mock.patch.stopall) 470 mock.patch.object(tree._ops, 'start', side_effect=fake_start).start() 490 mock_build_config = mock.patch.object(tree, 'build_config').start() 511 mock_build_config = mock.patch.object(tree, 'build_config').start() 531 mock_build_config = mock.patch.object(tree, 'build_config').start() 542 self.print_mock = mock.patch('kunit_printer.Printer.print').start() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | core_extern.c | 12 uint32_t major, minor, patch; in get_kernel_version() local 16 if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3) in get_kernel_version() 18 return KERNEL_VERSION(major, minor, patch); in get_kernel_version()
|
| /tools/testing/selftests/bpf/ |
| D | README.rst | 13 BPF employs a continuous integration (CI) system to check patch submission in an 14 automated fashion. The system runs selftests for each patch in a series. Results 146 Hence `this patch`__ addresses it on the compiler side. It was committed on llvm 12. 196 available in 10.0.1. The patch is available in llvm 11.0.0 trunk. 312 Clang 13 patch `clang reloc patch`_ made some changes on relocations such 325 .. _clang reloc patch: https://github.com/llvm/llvm-project/commit/6a2ea84600ba4bd3b2733bd8f08f5115…
|
| /tools/perf/Documentation/ |
| D | security.txt | 24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch
|
| /tools/memory-model/scripts/ |
| D | README | 86 git am -s -3 /path/to/patch # Or whatever it takes. 104 an error in the original LKMM version that is fixed by the patch will
|
| /tools/testing/selftests/livepatch/ |
| D | README | 55 general module loading and livepatch loading helpers (waiting for patch
|
| /tools/arch/x86/dell-uart-backlight-emulator/ |
| D | README | 27 DSDT.patch for an example of the necessary DSDT changes.
|
| /tools/power/pm-graph/ |
| D | README | 97 (kernel/pre-3.15/enable_trace_events_suspend_resume.patch) 98 (kernel/pre-3.15/enable_trace_events_device_pm_callback.patch) 106 patch must be applied to enable ftrace data: 112 There is a patch which does this for kernel v3.8.0: 113 (kernel/pre-3.11-rc2/enable_ftrace_in_suspendresume.patch)
|
| /tools/testing/selftests/mm/ |
| D | run_vmtests.sh | 37 a test for the patch "Allow compaction of unevictable pages"
|
| /tools/testing/ktest/ |
| D | ktest.pl | 2523 my ($patch) = @_; 2525 my @files = `git show $patch | diffstat -l`; 2531 open(IN, "git show $patch |") or 2532 dodie "failed to show $patch";
|
| /tools/objtool/Documentation/ |
| D | objtool.txt | 28 sites, enabling the kernel to patch them inline, to prevent "thunk 390 objtool maintainer, or you can submit a patch.
|
| /tools/include/uapi/drm/ |
| D | i915_drm.h | 3634 __u32 patch; member
|
| /tools/arch/x86/kcpuid/ |
| D | cpuid.csv | 1020 0x80000021, 0, ebx, 11:0, microcode_patch_size , Size of microcode patch, in 16-by…
|