Searched refs:patch (Results 1 - 25 of 150) sorted by last modified time

123456

/linux-master/kernel/bpf/
H A Dverifier.c18513 const struct bpf_insn *patch, u32 len)
18525 new_prog = bpf_patch_insn_single(env->prog, off, patch, len);
18802 struct bpf_insn *patch, zext_patch[2], rnd_hi32_patch[4]; local
18853 patch = rnd_hi32_patch;
18883 patch = zext_patch;
18886 new_prog = bpf_patch_insn_data(env, adj_idx, patch, patch_len);
18966 struct bpf_insn patch[] = { local
18971 cnt = ARRAY_SIZE(patch);
18972 new_prog = bpf_patch_insn_data(env, i + delta, patch, cnt);
19324 * patch i
18512 bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, const struct bpf_insn *patch, u32 len) argument
19555 add_hidden_subprog(struct bpf_verifier_env *env, struct bpf_insn *patch, int len) argument
19603 struct bpf_insn patch[] = { local
19682 struct bpf_insn *patch = &insn_buf[0]; local
19733 struct bpf_insn *patch = &insn_buf[0]; local
[all...]
H A Dcore.c440 /* Adjust offset of jmps if we cross patch boundaries. */
478 const struct bpf_insn *patch, u32 len)
487 memcpy(prog->insnsi + off, patch, sizeof(*patch));
516 * so we can patch the single target insn with one or more
524 sizeof(*patch) * insn_rest);
525 memcpy(prog_adj->insnsi + off, patch, sizeof(*patch) * len);
477 bpf_patch_insn_single(struct bpf_prog *prog, u32 off, const struct bpf_insn *patch, u32 len) argument
/linux-master/include/linux/
H A Dfilter.h979 const struct bpf_insn *patch, u32 len);
/linux-master/drivers/base/regmap/
H A Dregmap.c1466 kfree(map->patch);
3367 p = krealloc(map->patch,
3372 map->patch = p;
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp64.c13 #include <asm/patch.h>
/linux-master/arch/riscv/errata/thead/
H A Derrata.c19 #include <asm/patch.h>
/linux-master/tools/testing/selftests/mm/
H A Drun_vmtests.sh37 a test for the patch "Allow compaction of unevictable pages"
/linux-master/tools/include/uapi/drm/
H A Di915_drm.h3581 /** @patch: Firmware patch version. */
3582 __u32 patch; member in struct:drm_i915_query_guc_submission_version
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c661 unsigned int patch; local
688 patch = amdgpu_ring_init_cond_exec(ring,
737 amdgpu_ring_patch_cond_exec(ring, patch);
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc.c453 fw->file_selected.ver.patch);
H A Dintel_guc_submission.c5419 guc->submission_version.patch);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c449 nvm->eetrack, orom->major, orom->build, orom->patch);
H A Dice_common.c5706 * @patch: patch version
5710 static bool ice_is_fw_api_min_ver(struct ice_hw *hw, u8 maj, u8 min, u8 patch) argument
5715 if (hw->api_min_ver == min && hw->api_patch >= patch)
/linux-master/arch/riscv/kernel/
H A Dpatch.c16 #include <asm/patch.h>
236 struct patch_insn *patch = data; local
240 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) {
241 for (i = 0; ret == 0 && i < patch->ninsns; i++) {
242 len = GET_INSN_LENGTH(patch->insns[i]);
243 ret = patch_text_nosync(patch->addr + i * len,
244 &patch->insns[i], len);
246 atomic_inc(&patch->cpu_count);
248 while (atomic_read(&patch->cpu_count) <= num_online_cpus())
260 struct patch_insn patch local
[all...]
H A Dcpufeature.c23 #include <asm/patch.h>
729 * Alternative patch sites consider 48 bits when determining when to patch
731 * 16-bit vendor ID and a 32-bit patch ID. A non-zero vendor ID means the
732 * patch site is for an erratum, identified by the 32-bit patch ID. When
733 * the vendor ID is zero, the patch site is for a cpufeature. cpufeatures
734 * further break down patch ID into two 16-bit numbers. The lower 16 bits
736 * to the cpufeature and patch site. If the upper 16 bits are zero, then it
H A DMakefile60 obj-y += patch.o
H A Dalternative.c21 #include <asm/patch.h>
85 /* patch the call place again */
100 /* patch the call place again */
/linux-master/drivers/gpu/drm/xe/
H A Dxe_query.c554 resp.patch_ver = version->patch;
/linux-master/tools/lib/bpf/
H A Dlibbpf.c5865 pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %d\n",
7502 char *orig, size_t orig_sz, const char *patch)
7506 size_t patch_sz = strlen(patch);
7509 /* If patch line(s) are longer than original piece of verifier log,
7513 * If patch line(s) are shorter than original piece of verifier log,
7523 /* patch is big enough to cover remaining space completely */
7527 /* patch causes part of remaining log to be truncated */
7535 memcpy(orig, patch, patch_sz);
7554 char patch[512], spec_buf[256]; local
7569 snprintf(patch, sizeo
7501 patch_log(char *buf, size_t buf_sz, size_t log_sz, char *orig, size_t orig_sz, const char *patch) argument
7592 char patch[128]; local
7625 char patch[128]; local
[all...]
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c2246 int patch; local
2273 patch = jit->prg;
2299 *(u32 *)&jit->prg_buf[patch + 2] = (jit->prg - patch) >> 1;
/linux-master/scripts/package/
H A Dkernel.spec18 Source2: diff.patch
52 patch -p1 < %{SOURCE2}
/linux-master/scripts/
H A DMakefile.package61 $(Q)$(srctree)/scripts/package/gen-diff-patch rpmbuild/SOURCES/diff.patch
/linux-master/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c111 u8 patch; member in struct:version_format
743 CCG_VERSION_PATCH(uc->version[FW2].app.patch);
1093 cur_version = le16_to_cpu(app->build) | CCG_VERSION_PATCH(app->patch) |
1097 CCG_VERSION_PATCH(fw_cfg.app.patch) |
/linux-master/arch/riscv/errata/andes/
H A Derrata.c16 #include <asm/patch.h>
71 /* we have nothing to patch here ATM so just return back */
/linux-master/arch/arm/kernel/
H A DMakefile59 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o insn.o patch.o
60 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o insn.o patch.o
61 obj-$(CONFIG_JUMP_LABEL) += jump_label.o insn.o patch.o
65 obj-$(CONFIG_KPROBES) += patch.o insn.o
68 obj-$(CONFIG_KGDB) += kgdb.o patch.o

Completed in 386 milliseconds

123456