Searched refs:target (Results 151 - 175 of 1558) sorted by path

1234567891011>>

/linux-master/arch/openrisc/kernel/
H A Dptrace.c48 static int genregs_get(struct task_struct *target, argument
52 const struct pt_regs *regs = task_pt_regs(target);
64 static int genregs_set(struct task_struct *target, argument
69 struct pt_regs *regs = task_pt_regs(target);
96 static int fpregs_get(struct task_struct *target, argument
100 const struct pt_regs *regs = task_pt_regs(target);
105 static int fpregs_set(struct task_struct *target, argument
110 struct pt_regs *regs = task_pt_regs(target);
/linux-master/arch/parisc/kernel/
H A Djump_label.c28 void *target = (void *)jump_entry_target(entry); local
29 int distance = target - addr;
H A Dptrace.c402 static int fpr_get(struct task_struct *target, argument
406 struct pt_regs *regs = task_regs(target);
411 static int fpr_set(struct task_struct *target, argument
416 struct pt_regs *regs = task_regs(target);
519 static int gpr_get(struct task_struct *target, argument
523 struct pt_regs *regs = task_regs(target);
531 static int gpr_set(struct task_struct *target, argument
536 struct pt_regs *regs = task_regs(target);
582 static int gpr32_get(struct task_struct *target, argument
586 struct pt_regs *regs = task_regs(target);
595 gpr32_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/parisc/math-emu/
H A Ddecode_exc.c94 int target, exception_index = 1; local
210 target = current_ir & fivebits;
223 Sgl_decrement(Fpu_sgl(target));
226 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode());
235 Dbl_decrement(Fpu_dblp1(target),Fpu_dblp2(target));
238 dbl_denormalize(&Fpu_dblp1(target),&Fpu_dblp2(target),
288 target = current_ir & fivebits;
291 Sgl_setoverflow(Fpu_sgl(target));
[all...]
/linux-master/arch/parisc/net/
H A Dbpf_jit.h99 #define hppa_ldo(im14, reg, target) \
100 hppa_t1_insn(0x0d, reg, target, im14) /* ldo val14(reg),target */
103 #define hppa_or(reg1, reg2, target) \
104 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x09, target) /* or reg1,reg2,target */
105 #define hppa_or_cond(reg1, reg2, cond, f, target) \
106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target)
107 #define hppa_and(reg1, reg2, target) \
108 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x08, target) /* an
[all...]
H A Dbpf_jit_comp64.c79 static void emit_hppa64_depd(u8 src, u8 pos, u8 len, u8 target, bool no_zero, struct hppa_jit_context *ctx) argument
89 emit(hppa_t10_insn(0x3c, target, src, 0, c, pos & 0x1f, len & 0x1f), ctx);
92 static void emit_hppa64_shld(u8 src, int num, u8 target, struct hppa_jit_context *ctx) argument
94 emit_hppa64_depd(src, 63-num, 64-num, target, 0, ctx);
97 static void emit_hppa64_extrd(u8 src, u8 pos, u8 len, u8 target, bool signed_op, struct hppa_jit_context *ctx) argument
106 emit(hppa_t10_insn(0x36, src, target, 0, c, pos & 0x1f, len & 0x1f), ctx);
109 static void emit_hppa64_extrw(u8 src, u8 pos, u8 len, u8 target, bool signed_op, struct hppa_jit_context *ctx) argument
116 emit(hppa_t10_insn(0x34, src, target, 0, c, pos, len), ctx);
119 #define emit_hppa64_zext32(r, target, ctx) \
120 emit_hppa64_extrd(r, 63, 32, target, fals
124 emit_hppa64_shrd(u8 src, int num, u8 target, bool signed_op, struct hppa_jit_context *ctx) argument
129 emit_hppa64_shrw(u8 src, int num, u8 target, bool signed_op, struct hppa_jit_context *ctx) argument
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dcode-patching.h17 * "b" == create_branch(addr, target, 0);
18 * "ba" == create_branch(addr, target, BRANCH_ABSOLUTE);
19 * "bl" == create_branch(addr, target, BRANCH_SET_LINK);
20 * "bla" == create_branch(addr, target, BRANCH_ABSOLUTE | BRANCH_SET_LINK);
53 unsigned long target, int flags)
58 offset = target;
62 /* Check we can represent the target in the instruction format */
66 /* Mask out the flags and target, so they don't step on each other. */
73 unsigned long target, int flags);
74 int patch_branch(u32 *addr, unsigned long target, in
52 create_branch(ppc_inst_t *instr, const u32 *addr, unsigned long target, int flags) argument
89 patch_branch_site(s32 *site, unsigned long target, int flags) argument
[all...]
H A Dcpm1.h603 int cpm1_clk_setup(enum cpm_clk_target target, int clock, int mode);
H A Dcpm2.h1135 int __init cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode);
1136 int __init cpm2_smc_clk_setup(enum cpm_clk_target target, int clock);
H A Dicswx.h147 struct data_descriptor_entry target; member in struct:coprocessor_request_block
H A Dkvm_ppc.h478 * target CPU's PACA. To avoid unnecessary exits to the host, this flag should
821 long int kvmppc_rm_h_confer(struct kvm_vcpu *vcpu, int target,
H A Dmodule.h79 unsigned long *target);
H A Dmpic.h371 /* Disable bias among target selection, spread interrupts evenly */
477 /* Send a message (IPI) to a given target (cpu number or MSG_*) */
478 void smp_mpic_message_pass(int target, int msg);
H A Dplpar_wrappers.h565 static inline long pseries_rpt_invalidate(u64 pid, u64 target, u64 type, argument
572 rc = plpar_hcall_norets(H_RPT_INVALIDATE, pid, target, type,
586 rc = plpar_hcall_norets(H_RPT_INVALIDATE, pid, target,
611 static inline long pseries_rpt_invalidate(u64 pid, u64 target, u64 type, argument
H A Dxive.h35 * for normal interrupts the current target CPU.
50 int target; member in struct:xive_irq_data
116 int xive_native_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq);
/linux-master/arch/powerpc/kernel/
H A Dmodule_32.c289 unsigned long *target)
317 *target = addr;
288 module_trampoline_target(struct module *mod, unsigned long addr, unsigned long *target) argument
H A Dmodule_64.c128 * r12 is used to generate the target address, which is required for the
497 * via the paca (in r13). The target (ftrace_caller()) is responsible for
1054 unsigned long *target)
1084 *target = stub_func_addr(funcdata);
1053 module_trampoline_target(struct module *mod, unsigned long addr, unsigned long *target) argument
H A Dstatic_call.c11 unsigned long target = (unsigned long)(is_ret0 ? tramp + PPC_SCT_RET0 : func); local
12 bool is_short = is_offset_in_branch_range((long)target - (long)tramp);
20 err = patch_instruction(tramp + PPC_SCT_DATA, ppc_inst(target));
28 err = patch_branch(tramp, target, 0);
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-altivec.c23 int vr_active(struct task_struct *target, const struct user_regset *regset) argument
25 flush_altivec_to_thread(target);
26 return target->thread.used_vr ? regset->n : 0;
43 int vr_get(struct task_struct *target, const struct user_regset *regset, argument
51 flush_altivec_to_thread(target);
56 membuf_write(&to, &target->thread.vr_state, 33 * sizeof(vector128));
61 vrsave.word = target->thread.vrsave;
79 int vr_set(struct task_struct *target, const struct user_regset *regset, argument
85 flush_altivec_to_thread(target);
91 &target
[all...]
H A Dptrace-decl.h73 int fpr_set(struct task_struct *target, const struct user_regset *regset,
79 int vsr_active(struct task_struct *target, const struct user_regset *regset);
81 int vsr_set(struct task_struct *target, const struct user_regset *regset,
87 int vr_active(struct task_struct *target, const struct user_regset *regset);
89 int vr_set(struct task_struct *target, const struct user_regset *regset,
95 int evr_active(struct task_struct *target, const struct user_regset *regset);
97 int evr_set(struct task_struct *target, const struct user_regset *regset,
103 int gpr32_get_common(struct task_struct *target,
107 int gpr32_set_common(struct task_struct *target,
121 int tm_cgpr_active(struct task_struct *target, cons
[all...]
H A Dptrace-novsx.c21 int fpr_get(struct task_struct *target, const struct user_regset *regset, argument
28 flush_fp_to_thread(target);
30 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64));
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, argument
57 flush_fp_to_thread(target);
60 &target->thread.fp_state, 0, -1);
H A Dptrace-spe.c19 int evr_active(struct task_struct *target, const struct user_regset *regset) argument
21 flush_spe_to_thread(target);
22 return target->thread.used_spe ? regset->n : 0;
25 int evr_get(struct task_struct *target, const struct user_regset *regset, argument
28 flush_spe_to_thread(target);
30 membuf_write(&to, &target->thread.evr, sizeof(target->thread.evr));
35 return membuf_write(&to, &target->thread.acc,
39 int evr_set(struct task_struct *target, const struct user_regset *regset, argument
45 flush_spe_to_thread(target);
[all...]
H A Dptrace-tm.c52 * @target: The target task.
58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) argument
63 if (!MSR_TM_ACTIVE(target->thread.regs->msr))
71 * @target: The target task.
86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, argument
97 if (!MSR_TM_ACTIVE(target->thread.regs->msr))
100 flush_tmregs_to_thread(target);
101 flush_fp_to_thread(target);
134 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
200 tm_cfpr_active(struct task_struct *target, const struct user_regset *regset) argument
229 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
273 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
312 tm_cvmx_active(struct task_struct *target, const struct user_regset *regset) argument
342 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
393 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
440 tm_cvsx_active(struct task_struct *target, const struct user_regset *regset) argument
469 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
512 tm_cvsx_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 tm_spr_active(struct task_struct *target, const struct user_regset *regset) argument
574 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
616 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
653 tm_tar_active(struct task_struct *target, const struct user_regset *regset) argument
664 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
676 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
693 tm_ppr_active(struct task_struct *target, const struct user_regset *regset) argument
705 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
717 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
734 tm_dscr_active(struct task_struct *target, const struct user_regset *regset) argument
745 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
757 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
774 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
782 tm_cgpr32_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...]
H A Dptrace-view.c218 static int gpr_get(struct task_struct *target, const struct user_regset *regset, argument
225 if (target->thread.regs == NULL)
228 membuf_write(&to, target->thread.regs, sizeof(struct user_pt_regs));
230 membuf_store(&to_msr, get_user_msr(target));
238 static int gpr_set(struct task_struct *target, const struct user_regset *regset, argument
245 if (target->thread.regs == NULL)
249 target->thread.regs,
257 ret = set_user_msr(target, reg);
265 &target->thread.regs->orig_gpr3,
279 ret = set_user_trap(target, re
290 ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
299 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
310 dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
315 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
324 tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
329 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
337 ebb_active(struct task_struct *target, const struct user_regset *regset) argument
348 ebb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
395 pmu_active(struct task_struct *target, const struct user_regset *regset) argument
403 pmu_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
458 dexcr_active(struct task_struct *target, const struct user_regset *regset) argument
466 dexcr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
487 hashkeyr_active(struct task_struct *target, const struct user_regset *regset) argument
495 hashkeyr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
518 pkey_active(struct task_struct *target, const struct user_regset *regset) argument
526 pkey_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
705 gpr32_get_common(struct task_struct *target, const struct user_regset *regset, struct membuf to, unsigned long *regs) argument
719 gpr32_set_common_kernel(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, unsigned long *regs) argument
757 gpr32_set_common_user(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void __user *ubuf, unsigned long *regs) argument
811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) argument
823 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
834 gpr32_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...]
H A Dptrace-vsx.c21 int fpr_get(struct task_struct *target, const struct user_regset *regset, argument
27 flush_fp_to_thread(target);
31 buf[i] = target->thread.TS_FPR(i);
32 buf[32] = target->thread.fp_state.fpscr;
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, argument
56 flush_fp_to_thread(target);
59 buf[i] = target->thread.TS_FPR(i);
60 buf[32] = target->thread.fp_state.fpscr;
68 target->thread.TS_FPR(i) = buf[i];
69 target
79 vsr_active(struct task_struct *target, const struct user_regset *regset) argument
97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
126 vsr_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...]

Completed in 303 milliseconds

1234567891011>>