Searched refs:target (Results 126 - 150 of 1558) sorted by path

1234567891011>>

/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-mmio-v2.c195 int target; local
200 target = irq->targets ? __ffs(irq->targets) : 0;
201 irq->target_vcpu = kvm_get_vcpu(vcpu->kvm, target);
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c85 u32 insn_ldr; /* load target */
86 u32 insn_br; /* branch to target */
87 u64 target; /* target value */ member in struct:bpf_plt
90 #define PLT_TARGET_SIZE sizeof_field(struct bpf_plt, target)
91 #define PLT_TARGET_OFFSET offsetof(struct bpf_plt, target)
180 static inline void emit_call(u64 target, struct jit_ctx *ctx) argument
184 emit_addr_mov_i64(tmp, target, ctx);
668 * ldr tmp, target
670 * target
2237 is_long_jump(void *ip, void *target) argument
2252 void *target; local
[all...]
/linux-master/arch/csky/kernel/
H A Dftrace.c91 static int ftrace_modify_code(unsigned long hook, unsigned long target, argument
99 make_jbsr(target, hook, call, nolr);
H A Dptrace.c77 static int gpr_get(struct task_struct *target, argument
81 struct pt_regs *regs = task_pt_regs(target);
84 regs->tls = task_thread_info(target)->tp_value;
89 static int gpr_set(struct task_struct *target, argument
102 regs.sr = (regs.sr & BIT(0)) | (task_pt_regs(target)->sr & ~BIT(0));
104 regs.dcsr = task_pt_regs(target)->dcsr;
106 task_thread_info(target)->tp_value = regs.tls;
108 *task_pt_regs(target) = regs;
113 static int fpr_get(struct task_struct *target, argument
117 struct user_fp *regs = (struct user_fp *)&target
137 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/arch/hexagon/kernel/
H A Dptrace.c36 static int genregs_get(struct task_struct *target, argument
40 struct pt_regs *regs = task_pt_regs(target);
72 static int genregs_set(struct task_struct *target, argument
79 struct pt_regs *regs = task_pt_regs(target);
/linux-master/arch/loongarch/
H A DMakefile104 KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json
/linux-master/arch/loongarch/kernel/
H A Dptrace.c50 static void init_fp_ctx(struct task_struct *target) argument
52 /* The target already has context */
53 if (tsk_used_math(target))
57 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr));
58 set_stopped_child_used_math(target);
75 static int gpr_get(struct task_struct *target, argument
80 struct pt_regs *regs = task_pt_regs(target);
90 static int gpr_set(struct task_struct *target, argument
99 struct pt_regs *regs = task_pt_regs(target);
121 gfpr_get(struct task_struct *target, struct membuf *to) argument
127 gfpr_get_simd(struct task_struct *target, struct membuf *to) argument
145 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
164 gfpr_set(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument
173 gfpr_set_simd(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument
197 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
229 cfg_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
248 cfg_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
258 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) argument
278 simd_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
308 simd_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
343 lbt_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
359 lbt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
661 hw_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
702 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
943 read_user(struct task_struct *target, unsigned long addr, unsigned long __user *data) argument
968 write_user(struct task_struct *target, unsigned long addr, unsigned long data) argument
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dskeleton.S8 | Put any target system specific handling that must be done immediately
27 | place in the target system, or rewritten.
/linux-master/arch/m68k/kernel/
H A Dptrace.c302 static int m68k_regset_get(struct task_struct *target, argument
306 struct pt_regs *ptregs = task_pt_regs(target);
/linux-master/arch/mips/
H A DMakefile471 echo ' configure the kernel for a given architecture target like so:'
514 target := $(bits)$(rev)$(filter el,$(endian))_defconfig
515 generic_defconfigs += $$(target)
516 $$(target): $(generic_config_dir)/$(bits)$(rev).config
517 $$(target): $(generic_config_dir)/$(endian).config
553 $(Q)echo "used via an ISA-specific target from the following list:"
/linux-master/arch/mips/include/asm/
H A Dfpu.h197 * @target: The task whose FP context should be initialized.
199 * Initializes the FP context of the target task to sane default values if that
200 * target task does not already have valid FP context. Once the context has
206 static inline bool init_fp_ctx(struct task_struct *target) argument
208 /* If FP has been used then the target already has context */
209 if (tsk_used_math(target))
213 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr));
218 * Record that the target has "used" math, such that the context
222 set_stopped_child_used_math(target);
299 init_fp_ctx(struct task_struct *target) argument
[all...]
H A Djump_label.h75 jump_label_t target; member in struct:jump_entry
H A Duasm.h308 u32 *first, u32 *end, u32 *target);
/linux-master/arch/mips/include/uapi/asm/
H A Dinst.h649 __BITFIELD_FIELD(unsigned int target : 26,
/linux-master/arch/mips/kernel/
H A Dbranch.c238 *contpc |= (insn.j_format.target << 2);
249 *contpc |= (insn.j_format.target << 1);
571 epc |= (insn.j_format.target << 2);
H A Djump_label.c23 * - the ISA bit of the target, either 0 or 1 respectively,
25 * - the amount the jump target address is shifted right to fit in the
31 * - the jump target alignment, either 4 or 2 bytes.
48 BUG_ON((e->target & J_ALIGN_MASK) != J_ISA_BIT);
52 offset = e->target - ((unsigned long)insn_p + 4);
63 insn.j_format.target = offset;
69 WARN_ON((e->target & ~J_RANGE_MASK) !=
73 insn.j_format.target = e->target >> J_RANGE_SHIFT;
H A Dprocess.c190 #define J_TARGET(pc,target) \
191 (((unsigned long)(pc) & 0xf0000000) | ((target) << 2))
488 return J_TARGET(ip, ip->j_format.target);
738 * If we previously sent an IPI to the target CPU & it hasn't
H A Dptrace.c217 static int gpr32_get(struct task_struct *target, argument
221 struct pt_regs *regs = task_pt_regs(target);
228 static int gpr32_set(struct task_struct *target, argument
233 struct pt_regs *regs = task_pt_regs(target);
273 mips_syscall_update_nr(target, regs);
282 static int gpr64_get(struct task_struct *target, argument
286 struct pt_regs *regs = task_pt_regs(target);
293 static int gpr64_set(struct task_struct *target, argument
298 struct pt_regs *regs = task_pt_regs(target);
334 mips_syscall_update_nr(target, reg
413 fpr_get_fpa(struct task_struct *target, struct membuf *to) argument
426 fpr_get_msa(struct task_struct *target, struct membuf *to) argument
440 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
459 fpr_set_fpa(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument
474 fpr_set_msa(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument
507 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
551 fp_mode_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
567 fp_mode_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
602 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) argument
622 msa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
652 msa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
700 dsp32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
721 dsp32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
766 dsp64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
787 dsp64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
830 dsp_active(struct task_struct *target, const struct user_regset *regset) argument
[all...]
H A Drelocate.c93 /* Original target address */
97 /* Get the new target address */
118 unsigned long target = (insn & 0xffff) << 16; /* high 16bits of target */ local
120 target += offset;
122 *loc_new = (insn & ~0xffff) | ((target >> 16) & 0xffff);
370 * the target memory area
/linux-master/arch/mips/kvm/
H A Demulate.c147 epc |= (insn.j_format.target << 2);
/linux-master/arch/mips/math-emu/
H A Dcp1emu.c515 *contpc |= (insn.j_format.target << 2);
1031 * aligned target address with a MIPS32 instruction.
/linux-master/arch/mips/mm/
H A Duasm.c534 u32 *first, u32 *end, u32 *target)
536 long off = (long)(target - first);
538 memcpy(target, first, (end - first) * sizeof(u32));
533 uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab, u32 *first, u32 *end, u32 *target) argument
/linux-master/arch/mips/net/
H A Dbpf_jit_comp.c168 /* Compute the 28-bit jump target address from a BPF program location */
172 unsigned long pc = (unsigned long)&ctx->target[ctx->jit_index];
173 unsigned long addr = (unsigned long)&ctx->target[index];
175 if (!ctx->target)
580 int target = ctx->bpf_index + bpf_off + 1; local
583 offset = (INDEX(ctx->descriptors[target]) -
687 int target = get_target(ctx, ctx->bpf_index + bpf_off + 1); local
689 if (target < 0)
691 emit(ctx, j, target);
828 int target local
840 int target = get_target(ctx, ctx->program->len); local
[all...]
H A Dbpf_jit_comp.h78 u32 *target; /* JITed code buffer */ member in struct:jit_context
80 u32 jit_index; /* Index of current JIT target insn */
92 if ((ctx)->target != NULL) { \
93 u32 *p = &(ctx)->target[ctx->jit_index]; \
153 /* Compute the 28-bit jump target address from a BPF program location */
/linux-master/arch/nios2/kernel/
H A Dptrace.c21 static int genregs_get(struct task_struct *target, argument
25 const struct pt_regs *regs = task_pt_regs(target);
46 static int genregs_set(struct task_struct *target, argument
51 struct pt_regs *regs = task_pt_regs(target);

Completed in 293 milliseconds

1234567891011>>