Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v5.15/arch/parisc/kernel/
Dalternative.c47 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 …]
/Linux-v5.15/arch/parisc/include/asm/
Dalternative.h27 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 ! \
/Linux-v5.15/arch/x86/include/asm/
Dalternative.h33 * 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 */
126 * Pad the second replacement alternative with additional NOPs if it is
127 * additionally longer than the first replacement alternative.
152 " .byte " alt_rlen(num) "\n" /* replacement len */
154 #define ALTINSTR_REPLACEMENT(newinstr, num) /* replacement */ \
155 "# ALT: replacement " #num "\n" \
/Linux-v5.15/drivers/dma-buf/
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 prev, replacement); in dma_fence_chain_walk()
70 dma_fence_put(replacement); in dma_fence_chain_walk()
/Linux-v5.15/arch/s390/kernel/
Dalternative.c66 u8 *instr, *replacement; in __apply_alternatives() local
77 replacement = (u8 *)&a->repl_offset + a->repl_offset; in __apply_alternatives()
88 memcpy(insnbuf, replacement, a->replacementlen); in __apply_alternatives()
/Linux-v5.15/drivers/md/
Draid10.c444 rdev = conf->mirrors[dev].replacement; in raid10_end_write_request()
455 /* Never record new bad blocks to replacement, in raid10_end_write_request()
753 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance()
1214 struct bio *bio, bool replacement, in raid10_write_one_disk() argument
1228 if (replacement) { in raid10_write_one_disk()
1229 rdev = conf->mirrors[devnum].replacement; in raid10_write_one_disk()
1231 /* Replacement just got moved to main 'rdev' */ in raid10_write_one_disk()
1239 if (replacement) in raid10_write_one_disk()
1249 if (!replacement && test_bit(FailFast, in raid10_write_one_disk()
1292 conf->mirrors[i].replacement); in wait_blocked_dev()
[all …]
Draid10.h19 struct md_rdev *rdev, *replacement; member
92 * replacement device.
145 * We sometimes need an extra bio to write to the replacement.
Draid5.h258 /* rreq and rvec are used for the replacement device when
281 * read all devices, just the replacement targets.
326 R5_ReadRepl, /* Will/did read from replacement rather than orig */
327 R5_MadeGoodRepl,/* A bad block on the replacement device has been
329 R5_NeedReplace, /* This device has a replacement which is not
331 R5_WantReplace, /* We need to update the replacement, we have read
475 struct md_rdev *rdev, *replacement; member
/Linux-v5.15/arch/riscv/include/asm/
Dalternative.h24 void *alt_ptr; /* address of replacement instruction or data */
26 unsigned long alt_len; /* The replacement size */
/Linux-v5.15/arch/arm64/include/asm/
Dalternative.h15 s32 alt_offset; /* offset to replacement instruction */
16 u16 cpufeature; /* cpufeature bit set for replacement */
Dalternative-macros.h19 " .byte 664f-663f\n" /* replacement len */
26 " .byte 664f-663f\n" /* replacement len */
42 * Alternatives with callbacks do not generate replacement instructions.
/Linux-v5.15/include/linux/crush/
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-v5.15/arch/sparc/include/asm/
Dcontregs.h21 #define AC_M_TSUTRCR 0x1000 /* s TLB Replacement Ctrl Reg */
25 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
/Linux-v5.15/arch/s390/include/asm/
Dalternative.h13 s32 repl_offset; /* offset to replacement instruction */
14 u16 facility; /* facility bit set for replacement */
104 #define ALTINSTR_REPLACEMENT(altinstr, num) /* replacement */ \
/Linux-v5.15/drivers/hid/
Dhid-uclogic-params.h125 * Pointer to the common part of the replacement report descriptor,
131 * Size of the common part of the replacement report descriptor.
199 /* Get a replacement report descriptor for a tablet's interface. */
Dhid-uclogic-core.c29 /* Pointer to the replacement report descriptor. NULL if none. */
32 * Size of the replacement report descriptor.
198 /* Generate replacement report descriptor */ in uclogic_probe()
204 "failed generating replacement report descriptor: %d\n", in uclogic_probe()
/Linux-v5.15/arch/x86/kernel/
Dalternative.c140 /* next_rip of the replacement JMP */ in recompute_jump()
142 /* target rip of the replacement JMP */ in recompute_jump()
265 u8 *instr, *replacement; in apply_alternatives() local
284 replacement = (u8 *)&a->repl_offset + a->repl_offset; in apply_alternatives()
302 replacement, a->replacementlen); in apply_alternatives()
305 DUMP_BYTES(replacement, a->replacementlen, "%px: rpl_insn: ", replacement); in apply_alternatives()
307 memcpy(insn_buff, replacement, a->replacementlen); in apply_alternatives()
317 *(s32 *)(insn_buff + 1) += replacement - instr; in apply_alternatives()
323 if (a->replacementlen && is_jmp(replacement[0])) in apply_alternatives()
324 recompute_jump(a, instr, replacement, insn_buff); in apply_alternatives()
/Linux-v5.15/kernel/locking/
Dqspinlock_stat.h106 * Replacement function for pv_kick()
118 * Replacement function for pv_wait()
/Linux-v5.15/arch/m68k/include/asm/
Dcontregs.h43 #define AC_M_TSUTRCR 0x1000 /* s TLB Replacement Ctrl Reg */
47 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
/Linux-v5.15/fs/afs/
Dsecurity.c146 struct afs_permits *permits, *xpermits, *replacement, *zap, *new = NULL; in afs_cache_permit() local
262 replacement = xpermits; in afs_cache_permit()
272 replacement = new; in afs_cache_permit()
284 rcu_assign_pointer(vnode->permit_cache, replacement); in afs_cache_permit()
286 zap = replacement; in afs_cache_permit()
/Linux-v5.15/tools/testing/selftests/drivers/net/netdevsim/
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-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dfib.sh126 log_test "IPv4 local table route replacement"
223 log_test "IPv6 local table route replacement"
/Linux-v5.15/security/apparmor/
Dpolicy.c574 * replacement_allowed - test to see if replacement is allowed
576 * @noreplace: true if replacement shouldn't be allowed but addition is okay
577 * @info: Returns - info about why replacement failed (NOT NULL)
579 * Returns: %0 if replacement allowed else error code
775 /* migrate dents must come after label replacement b/c update */ in __replace_profile()
788 * __lookup_replace - lookup replacement information for a profile
965 /* released on profile replacement or free_profile */ in aa_replace_profiles()
998 /* Done with checks that may fail - do actual replacement */ in aa_replace_profiles()
1006 /* dedup actual profile replacement */ in aa_replace_profiles()
/Linux-v5.15/fs/efivarfs/
DKconfig7 efivarfs is a replacement filesystem for the old EFI
/Linux-v5.15/fs/configfs/
DKconfig12 same system. One is not a replacement for the other.

12345678910>>...14