| /linux/arch/parisc/kernel/ |
| H A 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/include/kunit/ |
| H A 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/arch/parisc/include/asm/ |
| H A 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 ! \
|
| /linux/Documentation/dev-tools/kunit/api/ |
| H A 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/arch/loongarch/include/asm/ |
| H A 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/arch/loongarch/kernel/ |
| H A D | alternative.c | 188 union loongarch_instruction *instr, *replacement; in apply_alternatives() local 205 replacement = (void *)&a->replace_offset + a->replace_offset; in apply_alternatives() 217 replacement, a->replacementlen); in apply_alternatives() 224 replacement, a->replacementlen); in apply_alternatives() 227 DUMP_WORDS(replacement, nr_repl, "%px: rpl_insn: ", replacement); in apply_alternatives() 229 copy_alt_insns(insnbuf, instr, replacement, nr_repl); in apply_alternatives()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | percpu_array_inner_map.c | 7 * template's index_mask, so allowing a smaller replacement would cause OOB. 33 /* Replacement with same max_entries should succeed */ in test_percpu_array_inner_map() 43 /* Replacement with fewer max_entries must fail */ in test_percpu_array_inner_map()
|
| H A D | changes_pkt_data.c | |
| /linux/drivers/md/ |
| H A 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() 762 rdev = conf->mirrors[disk].replacement; in read_balance() 1255 struct bio *bio, bool replacement, in raid10_write_one_disk() 1264 rdev = replacement ? conf->mirrors[devnum].replacement : in raid10_write_one_disk() 1269 if (replacement) in raid10_write_one_disk() 1277 if (!replacement && test_bit(FailFast, in raid10_write_one_disk() 1332 rrdev = conf->mirrors[i].replacement; in wait_blocked_dev() 1433 rrdev = conf->mirrors[d].replacement; in raid10_write_request() 1247 raid10_write_one_disk(struct mddev * mddev,struct r10bio * r10_bio,struct bio * bio,bool replacement,int n_copy) raid10_write_one_disk() argument [all...] |
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A 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/arch/x86/include/asm/ |
| H A D | alternative.h | 40 * separate table which is a pure address list without replacement ptr 70 s32 repl_offset; /* offset to replacement instruction */ 74 u32 cpuid: 16; /* CPUID bit set for replacement */ 206 " .byte " alt_rlen "\n" /* replacement len */ \ 209 #define ALTINSTR_REPLACEMENT(newinstr) /* replacement */ \ 212 "# ALT: replacement\n" \
|
| /linux/include/linux/crush/ |
| H A 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/arch/arm64/include/asm/ |
| H A D | alternative.h | 15 s32 alt_offset; /* offset to replacement instruction */ 16 u16 cpucap; /* cpucap bit set for replacement */
|
| /linux/tools/lib/python/kdoc/ |
| H A D | parse_data_structs.py | 235 # If the replacement rule doesn't have a type, get default 243 # Change self.symbols to use the replacement rule 352 # 2. we want symbol replacement at the entire content, not 399 Print debug information containing the replacement rules per symbol. 435 for symbol, (replacement, _) in ref_dict.items(): 438 fr'\1{replacement}\2', text)
|
| /linux/arch/sparc/include/asm/ |
| H A 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/arch/riscv/include/asm/ |
| H A D | alternative.h | 42 s32 alt_offset; /* offset relative to replacement instruction or data */ 44 u16 alt_len; /* The replacement size */
|
| /linux/fs/xfs/scrub/ |
| H A D | cow_repair.c | 57 * bad parts of unwritten mappings, allocate a replacement set of blocks, and 398 * Allocate a replacement CoW staging extent of up to the given number of 437 * Allocate a replacement rt CoW staging extent of up to the given number of 503 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the 522 * The new extent is a complete replacement for the existing in xrep_cow_replace_mapping() 574 * Allocate a replacement extent. If we don't fill all the blocks, in xrep_cow_replace_range() 662 * out *and* requires replacement, and there's no solution to that. in xrep_bmap_cow()
|
| /linux/lib/kunit/ |
| H A 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/fs/afs/ |
| H A D | security.c | 179 struct afs_permits *permits, *xpermits, *replacement, *zap, *new = NULL; in afs_cache_permit() local 294 replacement = xpermits; in afs_cache_permit() 304 replacement = new; in afs_cache_permit() 316 rcu_assign_pointer(vnode->permit_cache, replacement); in afs_cache_permit() 318 zap = replacement; in afs_cache_permit()
|
| /linux/kernel/locking/ |
| H A D | qspinlock_stat.h | 106 * Replacement function for pv_kick() 118 * Replacement function for pv_wait()
|
| /linux/arch/m68k/include/asm/ |
| H A 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/arch/s390/include/asm/ |
| H A D | alternative.h | 62 s32 repl_offset; /* offset to replacement instruction */ 64 u32 feature; /* feature required for replacement */ 127 #define ALTINSTR_REPLACEMENT(altinstr, num) /* replacement */ \
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A 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
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_vxlan_mdb.sh | 341 log_test $? 0 "MDB entry replacement" 343 log_test $? 0 "MDB entry presence after replacement" 353 # Default protocol and replacement. 360 log_test $? 0 "MDB entry protocol replacement" 364 # Default destination port and replacement. 371 log_test $? 0 "MDB entry destination port replacement" 375 # Default destination VNI and replacement. 382 log_test $? 0 "MDB entry destination VNI replacement" 386 # Default outgoing interface and replacement. 393 log_test $? 0 "MDB entry outgoing interface replacement" [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
| H A D | extended.json | 14 … Buffer 2 (TLB2) and the request was made by the data cache. This is a replacement for what was pr… 21 …2 miss in progress for the Level-1 Data cache on this cycle. This is a replacement for what was pr… 49 … 2 (TLB2) and the request was made by the instruction cache. This is a replacement for what was pr… 56 …ss in progress for the Level-1 Instruction cache in a cycle. This is a replacement for what was pr…
|