Home
last modified time | relevance | path

Searched full:replacement (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/linux/arch/parisc/kernel/
H A Dalternative.c48 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 Dstatic_stub.h26 * 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 Dalternative.h27 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 Dfunctionredirection.rst40 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 Dalternative.h14 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 Dalternative.c187 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/arch/s390/kernel/
H A Dalternative.c11 u8 *instr, *replacement; in __apply_alternatives() local
38 replacement = (u8 *)&a->repl_offset + a->repl_offset; in __apply_alternatives()
39 s390_kernel_write(instr, replacement, a->instrlen); in __apply_alternatives()
/linux/drivers/dma-buf/
H A Ddma-fence-chain.c42 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/drivers/md/
H A Draid10.c465 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request()
476 /* Never record new bad blocks to replacement, in raid10_end_write_request()
758 rdev = conf->mirrors[disk].replacement; in read_balance()
1247 struct bio *bio, bool replacement, in raid10_write_one_disk() argument
1260 rdev = replacement ? conf->mirrors[devnum].replacement : in raid10_write_one_disk()
1264 if (replacement) in raid10_write_one_disk()
1273 if (!replacement && test_bit(FailFast, in raid10_write_one_disk()
1328 rrdev = conf->mirrors[i].replacement; in wait_blocked_dev()
1427 rrdev = conf->mirrors[d].replacement; in raid10_write_request()
1520 struct md_rdev *rrdev = conf->mirrors[d].replacement; in raid10_write_request()
[all …]
/linux/drivers/hid/
H A Dhid-uclogic-params.h211 * 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/tools/testing/selftests/drivers/net/mlxsw/
H A Drif_mac_profiles_occ.sh70 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/include/linux/crush/
H A Dcrush.h144 * 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 Dalternative.h15 s32 alt_offset; /* offset to replacement instruction */
16 u16 cpucap; /* cpucap bit set for replacement */
H A Dalternative-macros.h31 " .byte 664f-663f\n" /* replacement len */
38 " .byte 664f-663f\n" /* replacement len */
54 * Alternatives with callbacks do not generate replacement instructions.
/linux/arch/sparc/include/asm/
H A Dcontregs.h21 #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 Dalternative.h42 s32 alt_offset; /* offset relative to replacement instruction or data */
44 u16 alt_len; /* The replacement size */
/linux/fs/xfs/scrub/
H A Dcow_repair.c57 * bad parts of unwritten mappings, allocate a replacement set of blocks, and
404 * Allocate a replacement CoW staging extent of up to the given number of
444 * Allocate a replacement rt CoW staging extent of up to the given number of
510 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the
529 * The new extent is a complete replacement for the existing in xrep_cow_replace_mapping()
581 * Allocate a replacement extent. If we don't fill all the blocks, in xrep_cow_replace_range()
669 * out *and* requires replacement, and there's no solution to that. in xrep_bmap_cow()
/linux/fs/afs/
H A Dsecurity.c146 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/lib/kunit/
H A Dstatic_stub.c40 /* 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/kernel/locking/
H A Dqspinlock_stat.h106 * Replacement function for pv_kick()
118 * Replacement function for pv_wait()
/linux/arch/m68k/include/asm/
H A Dcontregs.h43 #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 Dalternative.h61 s32 repl_offset; /* offset to replacement instruction */
63 u32 feature; /* feature required for replacement */
126 #define ALTINSTR_REPLACEMENT(altinstr, num) /* replacement */ \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dchanges_pkt_data.c15 const char *replacement, in test_aux() argument
44 freplace_prog = bpf_object__find_program_by_name(freplace->obj, replacement); in test_aux()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh304 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 Dtest_vxlan_mdb.sh341 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 …]

12345678910>>...15