/Linux-v6.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 …]
|
/Linux-v6.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.
|
/Linux-v6.6/arch/parisc/include/asm/ |
D | alternative.h | 27 u32 replacement; /* replacement instruction or code */ member 36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument 40 ".word " __stringify(replacement) " !" \ 46 #define ALTERNATIVE(from, to, cond, replacement)\ argument 50 .word replacement ! \
|
/Linux-v6.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
|
/Linux-v6.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 */ \
|
/Linux-v6.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()
|
/Linux-v6.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()
|
/Linux-v6.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()
|
/Linux-v6.6/drivers/md/ |
D | raid10.c | 469 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request() 480 /* Never record new bad blocks to replacement, in raid10_end_write_request() 778 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance() 783 * Read replacement first to prevent reading both rdev in read_balance() 784 * and replacement as NULL during replacement replace in read_balance() 1270 struct bio *bio, bool replacement, in raid10_write_one_disk() argument 1282 if (replacement) { in raid10_write_one_disk() 1283 rdev = conf->mirrors[devnum].replacement; in raid10_write_one_disk() 1285 /* Replacement just got moved to main 'rdev' */ in raid10_write_one_disk() 1293 if (replacement) in raid10_write_one_disk() [all …]
|
D | raid10.h | 19 struct md_rdev *rdev, *replacement; member 91 * replacement device. 143 * We sometimes need an extra bio to write to the replacement.
|
/Linux-v6.6/arch/x86/include/asm/ |
D | alternative.h | 35 * separate table which is a pure address list without replacement ptr 75 s32 repl_offset; /* offset to replacement instruction */ 79 u32 cpuid: 16; /* CPUID bit set for replacement */ 178 * Pad the second replacement alternative with additional NOPs if it is 179 * additionally longer than the first replacement alternative. 204 " .byte " alt_rlen(num) "\n" /* replacement len */ 206 #define ALTINSTR_REPLACEMENT(newinstr, num) /* replacement */ \ 207 "# ALT: replacement " #num "\n" \
|
/Linux-v6.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. */
|
/Linux-v6.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"
|
/Linux-v6.6/arch/arm64/include/asm/ |
D | alternative.h | 15 s32 alt_offset; /* offset to replacement instruction */ 16 u16 cpucap; /* cpucap bit set for replacement */
|
D | alternative-macros.h | 31 " .byte 664f-663f\n" /* replacement len */ 38 " .byte 664f-663f\n" /* replacement len */ 54 * Alternatives with callbacks do not generate replacement instructions.
|
/Linux-v6.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
|
/Linux-v6.6/arch/s390/include/asm/ |
D | alternative.h | 13 s32 repl_offset; /* offset to replacement instruction */ 14 u16 facility; /* facility bit set for replacement */ 59 #define ALTINSTR_REPLACEMENT(altinstr, num) /* replacement */ \
|
/Linux-v6.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 */
|
/Linux-v6.6/arch/riscv/include/asm/ |
D | alternative.h | 42 s32 alt_offset; /* offset relative to replacement instruction or data */ 44 u16 alt_len; /* The replacement size */
|
/Linux-v6.6/lib/kunit/ |
D | static_stub.c | 40 /* Hook to return the address of the replacement function. */ 97 /* If the replacement address is NULL, deactivate the stub. */ in __kunit_activate_static_stub()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | test_vxlan_mdb.sh | 344 log_test $? 0 "MDB entry replacement" 346 log_test $? 0 "MDB entry presence after replacement" 356 # Default protocol and replacement. 363 log_test $? 0 "MDB entry protocol replacement" 367 # Default destination port and replacement. 374 log_test $? 0 "MDB entry destination port replacement" 378 # Default destination VNI and replacement. 385 log_test $? 0 "MDB entry destination VNI replacement" 389 # Default outgoing interface and replacement. 396 log_test $? 0 "MDB entry outgoing interface replacement" [all …]
|
/Linux-v6.6/kernel/locking/ |
D | qspinlock_stat.h | 106 * Replacement function for pv_kick() 118 * Replacement function for pv_wait()
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | contregs.h | 43 #define AC_M_TSUTRCR 0x1000 /* s TLB Replacement Ctrl Reg */ 47 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
|
/Linux-v6.6/fs/afs/ |
D | security.c | 146 struct afs_permits *permits, *xpermits, *replacement, *zap, *new = NULL; in afs_cache_permit() local 261 replacement = xpermits; in afs_cache_permit() 271 replacement = new; in afs_cache_permit() 283 rcu_assign_pointer(vnode->permit_cache, replacement); in afs_cache_permit() 285 zap = replacement; in afs_cache_permit()
|
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/ |
D | nexthop.sh | 304 check_fail $? "Nexthop group replacement succeeded when should fail" 358 check_fail $? "Nexthop group replacement succeeded when should fail" 443 # Deletion prompts group replacement. Check that the bucket timers 799 check_fail $? "Nexthop replacement succeeded when should fail" 852 check_fail $? "Nexthop replacement succeeded when should fail" 900 # the old is deleted, the replacement will fail as it will result in an
|