/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | patch.c | 158 size_t patched = 0; in patch_insn_set() local 166 while (patched < len && !ret) { in patch_insn_set() 167 size = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(addr + patched), len - patched); in patch_insn_set() 168 ret = __patch_insn_set(addr + patched, c, size); in patch_insn_set() 170 patched += size; in patch_insn_set() 193 size_t patched = 0; in patch_insn_write() local 201 while (patched < len && !ret) { in patch_insn_write() 202 size = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(addr + patched), len - patched); in patch_insn_write() [all...] |
/kernel/linux/linux-5.10/kernel/livepatch/ |
H A D | patch.c | 97 * Use the previously patched version of the function. in klp_ftrace_handler() 139 if (WARN_ON(!func->patched)) in klp_unpatch_func() 166 func->patched = false; in klp_unpatch_func() 177 if (WARN_ON(func->patched)) in klp_patch_func() 227 func->patched = true; in klp_patch_func() 246 if (func->patched) in __klp_unpatch_object() 251 obj->patched = false; in __klp_unpatch_object() 265 if (WARN_ON(obj->patched)) in klp_patch_object() 275 obj->patched = true; in klp_patch_object() 285 if (obj->patched) in __klp_unpatch_objects() [all...] |
/kernel/linux/linux-6.6/kernel/livepatch/ |
H A D | patch.c | 102 * Use the previously patched version of the function. in klp_ftrace_handler() 131 if (WARN_ON(!func->patched)) in klp_unpatch_func() 157 func->patched = false; in klp_unpatch_func() 168 if (WARN_ON(func->patched)) in klp_patch_func() 219 func->patched = true; in klp_patch_func() 238 if (func->patched) in __klp_unpatch_object() 243 obj->patched = false; in __klp_unpatch_object() 257 if (WARN_ON(obj->patched)) in klp_patch_object() 267 obj->patched = true; in klp_patch_object() 277 if (obj->patched) in __klp_unpatch_objects() [all...] |
H A D | core.c | 64 * We do not want to block removal of patched modules and therefore in klp_find_object_module() 278 * These relocations are written to the klp module text to allow the patched 284 * 2) When a to-be-patched module loads -- or is already loaded when a 287 * are written to the klp module text to allow the patched code/data to 288 * reference symbols which live in the to-be-patched module or one of its 291 * the to-be-patched module to be loaded and patched sometime *after* the 350 * /sys/kernel/livepatch/<patch>/<object>/patched 463 return sysfs_emit(buf, "%d\n", obj->patched); in patched_show() 466 static struct kobj_attribute patched_kobj_attr = __ATTR_RO(patched); [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/ |
H A D | generate_parser_tools.py | 89 patched = output.replace(patch_in, patch_out) 93 patched = patched.replace('\t', ' ') 96 flex_output_patched.write(patched)
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | etrap_32.S | 113 sll %t_wim, 0x7, %t_wim ! patched on 7 window Sparcs 116 and %g2, 0xff, %g2 ! patched on 7 window Sparcs 189 and %g2, 0xff, %g2 ! patched on 7win Sparcs 203 and %g1, 0xff, %g1 ! patched on 7win Sparcs, mask 206 sll %t_wim, 0x7, %t_wim ! patched on 7win Sparcs 209 and %g2, 0xff, %g2 ! patched on 7win Sparcs
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | etrap_32.S | 113 sll %t_wim, 0x7, %t_wim ! patched on 7 window Sparcs 116 and %g2, 0xff, %g2 ! patched on 7 window Sparcs 189 and %g2, 0xff, %g2 ! patched on 7win Sparcs 203 and %g1, 0xff, %g1 ! patched on 7win Sparcs, mask 206 sll %t_wim, 0x7, %t_wim ! patched on 7win Sparcs 209 and %g2, 0xff, %g2 ! patched on 7win Sparcs
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_ag6xx.c | 159 bool patched = false; in ag6xx_setup() local 219 * cases, current firmware is already patched. No need to patch it. in ag6xx_setup() 222 bt_dev_info(hdev, "Device is already patched. patch num: %02x", in ag6xx_setup() 224 patched = true; in ag6xx_setup() 260 patched = true; in ag6xx_setup() 288 err = btintel_exit_mfg(hdev, true, patched); in ag6xx_setup()
|
H A D | btintel.h | 139 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched); 183 static inline int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_ag6xx.c | 159 bool patched = false; in ag6xx_setup() local 218 * cases, current firmware is already patched. No need to patch it. in ag6xx_setup() 221 bt_dev_info(hdev, "Device is already patched. patch num: %02x", in ag6xx_setup() 223 patched = true; in ag6xx_setup() 259 patched = true; in ag6xx_setup() 287 err = btintel_exit_mfg(hdev, true, patched); in ag6xx_setup()
|
H A D | btintel.h | 208 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched); 241 static inline int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument
|
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | assembler-s390-inl.h | 321 bool patched = false; in set_target_address_at() local 333 patched = true; in set_target_address_at() 362 patched = true; in set_target_address_at() 376 patched = true; in set_target_address_at() 380 if (!patched) UNREACHABLE(); in set_target_address_at()
|
/third_party/musl/dist/ |
H A D | config.mak | 20 # Uncomment to fix broken distro-patched toolchains where hash-style=gnu(only) 23 # Uncomment to fix broken distro-patched toolchains where stack-protector=on
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | livepatch.h | 28 * @old_name: name of the function to be patched 29 * @new_func: pointer to the patched function code 32 * @old_func: pointer to the function being patched 39 * @patched: the func has been added to the klp_ops list 42 * The patched and transition variables define the func's patching state. When 45 * patched=0 transition=0: unpatched 46 * patched=0 transition=1: unpatched, temporary starting state 47 * patched=1 transition=1: patched, may be visible to some tasks 48 * patched 77 bool patched; global() member 130 bool patched; global() member [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | livepatch.h | 27 * @old_name: name of the function to be patched 28 * @new_func: pointer to the patched function code 31 * @old_func: pointer to the function being patched 38 * @patched: the func has been added to the klp_ops list 41 * The patched and transition variables define the func's patching state. When 44 * patched=0 transition=0: unpatched 45 * patched=0 transition=1: unpatched, temporary starting state 46 * patched=1 transition=1: patched, may be visible to some tasks 47 * patched 76 bool patched; global() member 129 bool patched; global() member [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_transfer.c | 70 if (level->patched) in etna_patch_data() 84 level->patched = true; in etna_patch_data() 93 if (!level->patched) in etna_unpatch_data() 98 level->patched = false; in etna_unpatch_data() 166 /* We need to have the patched data ready for the GPU. */ in etna_transfer_unmap()
|
H A D | etnaviv_resource.h | 61 bool patched; member
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testwith.py | 146 with patch('%s.open' % __name__, mock, create=True) as patched: 147 self.assertIs(patched, mock) 184 with patch('%s.open' % __name__, mock, create=True) as patched: 185 self.assertIs(patched, mock)
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | alternative.c | 272 * "Destination" is where the instructions are being patched in by this 332 * If the target is inside the patched block, it's relative to the in need_reloc() 419 * cpu_feature_enabled(X86_FEATURE_LA57) and is therefore patched here. in apply_alternatives() 1582 * interruptions that might execute the to be patched code. in alternative_instructions() 1941 size_t patched = 0; in text_poke_copy_locked() local 1946 while (patched < len) { in text_poke_copy_locked() 1947 unsigned long ptr = start + patched; in text_poke_copy_locked() 1950 s = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(ptr), len - patched); in text_poke_copy_locked() 1952 __text_poke(text_poke_memcpy, (void *)ptr, opcode + patched, s); in text_poke_copy_locked() local 1953 patched in text_poke_copy_locked() 1990 size_t patched = 0; text_poke_set() local [all...] |
/kernel/linux/linux-5.10/drivers/nfc/fdp/ |
H A D | fdp.c | 478 u8 patched = 0; in fdp_nci_setup() local 499 patched = 1; in fdp_nci_setup() 507 patched = 1; in fdp_nci_setup() 514 if (patched) { in fdp_nci_setup()
|
/kernel/linux/linux-6.6/drivers/nfc/fdp/ |
H A D | fdp.c | 462 u8 patched = 0; in fdp_nci_setup() local 483 patched = 1; in fdp_nci_setup() 491 patched = 1; in fdp_nci_setup() 498 if (patched) { in fdp_nci_setup()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | cs42l43.c | 715 bool patched, shadow; in cs42l43_mcu_update_step() local 745 patched = mcu_rev >= CS42L43_MCU_SUPPORTED_REV || in cs42l43_mcu_update_step() 761 if (!patched && cs42l43->hw_lock) { in cs42l43_mcu_update_step() 771 if (!patched) { in cs42l43_mcu_update_step() 791 if (patched) in cs42l43_mcu_update_step()
|
/third_party/node/lib/internal/modules/cjs/ |
H A D | loader.js | 284 let patched = false; 303 patched = true; 308 patched = true; 320 patched = true; 332 patched = true; 1259 if (patched) {
|
/third_party/python/Lib/unittest/ |
H A D | mock.py | 1350 def decoration_helper(self, patched, args, keywargs): 1353 for patching in patched.patchings: 1371 def patched(*args, **keywargs): function 1372 with self.decoration_helper(patched, 1377 patched.patchings = [self] 1378 return patched 1388 async def patched(*args, **keywargs): function 1389 with self.decoration_helper(patched, 1394 patched.patchings = [self] 1395 return patched [all...] |
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
H A D | apply.js | 132 // to fit over already patched text 226 options.patched(index, updatedContent, function (err) {
|