| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| D | alternative.c | 47 u32 *from, cond, replacement; in apply_alternatives() local 53 replacement = entry->replacement; in apply_alternatives() 61 index, cond, len, from, replacement); in apply_alternatives() 68 if (replacement == INSN_PxTLB) { in apply_alternatives() 69 replacement = *from; in apply_alternatives() 71 replacement |= (1 << 10); /* set el bit */ in apply_alternatives() 78 if (replacement == INSN_NOP && len > 1) in apply_alternatives() 79 replacement = 0xe8000002 + (len-2)*8; /* "b,n .+8" */ in apply_alternatives() 82 index, cond, len, replacement, from, from); in apply_alternatives() 88 source = (u32 *)((ulong)&entry->replacement + entry->replacement); in apply_alternatives() [all …]
|
| /kernel/linux/linux-6.6/arch/parisc/kernel/ |
| D | alternative.c | 48 u32 *from, replacement; in apply_alternatives() local 55 replacement = entry->replacement; in apply_alternatives() 63 index, cond, len, from, replacement); in apply_alternatives() 70 if (replacement == INSN_PxTLB) { in apply_alternatives() 71 replacement = *from; in apply_alternatives() 73 replacement |= (1 << 10); /* set el bit */ in apply_alternatives() 80 if (replacement == INSN_NOP && len > 1) in apply_alternatives() 81 replacement = 0xe8000002 + (len-2)*8; /* "b,n .+8" */ in apply_alternatives() 84 index, cond, len, replacement, from, from); in apply_alternatives() 90 source = (u32 *)((ulong)&entry->replacement + entry->replacement); in apply_alternatives() [all …]
|
| /kernel/linux/linux-6.6/include/kunit/ |
| D | static_stub.h | 26 * KUNIT_STATIC_STUB_REDIRECT() - call a replacement 'static stub' if one exists 32 * kunit_activate_static_stub() to pass a replacement function in. The 33 * replacement function will be called by KUNIT_STATIC_STUB_REDIRECT(), which 61 typeof(&real_fn_name) replacement; \ 67 replacement = kunit_hooks.get_static_stub_address(current_test, \ 70 if (unlikely(replacement)) \ 71 return replacement(args); \ 108 * real_fn, not any previously-configured replacement.
|
| /kernel/linux/linux-6.6/arch/parisc/include/asm/ |
| D | alternative.h | 27 u32 replacement; /* replacement instruction or code */ member 36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument 41 ".word " __stringify(replacement) " !" \ 47 #define ALTERNATIVE(from, to, cond, replacement)\ argument 52 .word replacement ! \
|
| /kernel/linux/linux-5.10/arch/parisc/include/asm/ |
| D | alternative.h | 27 u32 replacement; /* replacement instruction or code */ member 36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument 39 __stringify(replacement) " !" \ 45 #define ALTERNATIVE(from, to, cond, replacement)\ argument 48 .word cond, replacement ! \
|
| /kernel/linux/linux-6.6/Documentation/dev-tools/kunit/api/ |
| D | functionredirection.rst | 40 function) to another function (the "replacement" function). 43 is running, and if a replacement function is available. If so, that function is 65 2. Write one or more replacement functions. 87 the real function, and the replacement function. You can call this several 88 times with different replacement functions to swap out implementations of the 102 the replacement function instead. Such calls may be buried deep in the 126 It's also possible to use these replacement functions to test to see if a
|
| /kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
| D | alternative.h | 14 s32 replace_offset; /* offset to replacement instruction */ 15 u16 feature; /* feature bit set for replacement */ 50 * Pad the second replacement alternative with additional NOPs if it is 51 * additionally longer than the first replacement alternative. 65 " .byte " alt_rlen(num) "\n" /* replacement len */ 67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \
|
| /kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
| D | alternative.h | 14 s32 replace_offset; /* offset to replacement instruction */ 15 u16 feature; /* feature bit set for replacement */ 50 * Pad the second replacement alternative with additional NOPs if it is 51 * additionally longer than the first replacement alternative. 65 " .byte " alt_rlen(num) "\n" /* replacement len */ 67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \
|
| /kernel/linux/linux-6.6/arch/loongarch/kernel/ |
| D | alternative.c | 187 union loongarch_instruction *instr, *replacement; in apply_alternatives() local 204 replacement = (void *)&a->replace_offset + a->replace_offset; in apply_alternatives() 216 replacement, a->replacementlen); in apply_alternatives() 223 replacement, a->replacementlen); in apply_alternatives() 226 DUMP_WORDS(replacement, nr_repl, "%px: rpl_insn: ", replacement); in apply_alternatives() 228 copy_alt_insns(insnbuf, instr, replacement, nr_repl); in apply_alternatives()
|
| /kernel/linux/linux-5.10/arch/loongarch/kernel/ |
| D | alternative.c | 185 union loongarch_instruction *instr, *replacement; in apply_alternatives() local 202 replacement = (void *)&a->replace_offset + a->replace_offset; in apply_alternatives() 214 replacement, a->replacementlen); in apply_alternatives() 221 replacement, a->replacementlen); in apply_alternatives() 224 DUMP_WORDS(replacement, nr_repl, "%px: rpl_insn: ", replacement); in apply_alternatives() 226 copy_alt_insns(insnbuf, instr, replacement, nr_repl); in apply_alternatives()
|
| /kernel/linux/linux-6.6/arch/s390/kernel/ |
| D | alternative.c | 24 u8 *instr, *replacement; in __apply_alternatives() local 32 replacement = (u8 *)&a->repl_offset + a->repl_offset; in __apply_alternatives() 43 s390_kernel_write(instr, replacement, a->instrlen); in __apply_alternatives()
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | alternative.h | 33 * separate table which is a pure address list without replacement ptr 64 s32 repl_offset; /* offset to replacement instruction */ 65 u16 cpuid; /* cpuid bit set for replacement */ 128 * Pad the second replacement alternative with additional NOPs if it is 129 * additionally longer than the first replacement alternative. 154 " .byte " alt_rlen(num) "\n" /* replacement len */ 156 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ 157 "# ALT: replacement " #num "\n" \
|
| /kernel/linux/linux-5.10/drivers/dma-buf/ |
| D | dma-fence-chain.c | 42 struct dma_fence *prev, *replacement, *tmp; in dma_fence_chain_walk() local 57 replacement = dma_fence_chain_get_prev(prev_chain); in dma_fence_chain_walk() 62 replacement = NULL; in dma_fence_chain_walk() 66 prev, replacement); in dma_fence_chain_walk() 70 dma_fence_put(replacement); in dma_fence_chain_walk()
|
| /kernel/linux/linux-6.6/drivers/dma-buf/ |
| D | dma-fence-chain.c | 42 struct dma_fence *prev, *replacement, *tmp; in dma_fence_chain_walk() local 57 replacement = dma_fence_chain_get_prev(prev_chain); in dma_fence_chain_walk() 62 replacement = NULL; in dma_fence_chain_walk() 66 RCU_INITIALIZER(replacement))); in dma_fence_chain_walk() 70 dma_fence_put(replacement); in dma_fence_chain_walk()
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| D | alternative.c | 66 u8 *instr, *replacement; in __apply_alternatives() local 77 replacement = (u8 *)&a->repl_offset + a->repl_offset; in __apply_alternatives() 89 memcpy(insnbuf, replacement, a->replacementlen); in __apply_alternatives()
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | raid10.c | 464 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request() 475 /* Never record new bad blocks to replacement, in raid10_end_write_request() 772 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance() 777 * Read replacement first to prevent reading both rdev in read_balance() 778 * and replacement as NULL during replacement replace in read_balance() 1267 struct bio *bio, bool replacement, in raid10_write_one_disk() argument 1279 if (replacement) { in raid10_write_one_disk() 1280 rdev = conf->mirrors[devnum].replacement; in raid10_write_one_disk() 1282 /* Replacement just got moved to main 'rdev' */ in raid10_write_one_disk() 1290 if (replacement) in raid10_write_one_disk() [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-uclogic-params.h | 211 * Pointer to the common part of the replacement report descriptor, 217 * Size of the common part of the replacement report descriptor. 241 /* Pointer to the replacement report descriptor. NULL if none. */ 244 * Size of the replacement report descriptor. 262 /* Get a replacement report descriptor for a tablet's interface. */
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | raid10.c | 443 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request() 454 /* Never record new bad blocks to replacement, in raid10_end_write_request() 752 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance() 757 * Read replacement first to prevent reading both rdev in read_balance() 758 * and replacement as NULL during replacement replace in read_balance() 1222 struct bio *bio, bool replacement, in raid10_write_one_disk() argument 1236 if (replacement) { in raid10_write_one_disk() 1237 rdev = conf->mirrors[devnum].replacement; in raid10_write_one_disk() 1239 /* Replacement just got moved to main 'rdev' */ in raid10_write_one_disk() 1247 if (replacement) in raid10_write_one_disk() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/include/asm/ |
| D | alternative.h | 36 * separate table which is a pure address list without replacement ptr 76 s32 repl_offset; /* offset to replacement instruction */ 80 u32 cpuid: 16; /* CPUID bit set for replacement */ 210 * Pad the second replacement alternative with additional NOPs if it is 211 * additionally longer than the first replacement alternative. 236 " .byte " alt_rlen(num) "\n" /* replacement len */ 238 #define ALTINSTR_REPLACEMENT(newinstr, num) /* replacement */ \ 239 "# ALT: replacement " #num "\n" \
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | rif_mac_profiles_occ.sh | 70 log_test "RIF MAC profile replacement" 118 # MAC replacement should fail because all the MAC profiles are in use 124 log_test "RIF MAC profile shared replacement"
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | alternative.h | 15 s32 alt_offset; /* offset to replacement instruction */ 16 u16 cpufeature; /* cpufeature bit set for replacement */
|
| /kernel/linux/linux-6.6/arch/arm64/include/asm/ |
| D | alternative.h | 15 s32 alt_offset; /* offset to replacement instruction */ 16 u16 cpucap; /* cpucap bit set for replacement */
|
| /kernel/linux/linux-5.10/include/linux/crush/ |
| D | crush.h | 144 * Replacement weights for each item in a bucket. The size of the 157 * Replacement weights and ids for a given straw2 bucket, for 161 * replacement weights found at __weight_set[N]__ are used instead of 185 * Replacement weights and ids for each bucket in the crushmap. The 199 struct crush_choose_arg *args; /*!< replacement for each bucket
|
| /kernel/linux/linux-6.6/include/linux/crush/ |
| D | crush.h | 144 * Replacement weights for each item in a bucket. The size of the 157 * Replacement weights and ids for a given straw2 bucket, for 161 * replacement weights found at __weight_set[N]__ are used instead of 185 * Replacement weights and ids for each bucket in the crushmap. The 199 struct crush_choose_arg *args; /*!< replacement for each bucket
|
| /kernel/linux/linux-6.6/arch/sparc/include/asm/ |
| D | contregs.h | 21 #define AC_M_TSUTRCR 0x1000 /* s TLB Replacement Ctrl Reg */ 25 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
|