/arch/arm64/kernel/ |
D | bpi.S | 22 .macro ventry target argument 26 b \target 29 .macro vectors target argument 30 ventry \target + 0x000 31 ventry \target + 0x080 32 ventry \target + 0x100 33 ventry \target + 0x180 35 ventry \target + 0x200 36 ventry \target + 0x280 37 ventry \target + 0x300 [all …]
|
D | alternative.c | 71 unsigned long target; in get_alt_insn() local 73 target = (unsigned long)altinsnptr + offset; in get_alt_insn() 80 if (branch_insn_requires_update(alt, target)) { in get_alt_insn() 81 offset = target - (unsigned long)insnptr; in get_alt_insn() 86 unsigned long target; in get_alt_insn() local 94 target = align_down(altinsnptr, SZ_4K) + orig_offset; in get_alt_insn() 95 new_offset = target - align_down(insnptr, SZ_4K); in get_alt_insn()
|
D | ptrace.c | 474 static int hw_break_get(struct task_struct *target, in hw_break_get() argument 505 ret = ptrace_hbp_get_addr(note_type, target, idx, &addr); in hw_break_get() 514 ret = ptrace_hbp_get_ctrl(note_type, target, idx, &ctrl); in hw_break_get() 535 static int hw_break_set(struct task_struct *target, in hw_break_set() argument 560 ret = ptrace_hbp_set_addr(note_type, target, idx, addr); in hw_break_set() 571 ret = ptrace_hbp_set_ctrl(note_type, target, idx, ctrl); in hw_break_set() 589 static int gpr_get(struct task_struct *target, in gpr_get() argument 594 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get() 598 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 603 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set() [all …]
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 523 unsigned long target = ((unsigned long)bar) | offset; in calgary_reg() local 524 return (void __iomem*)target; in calgary_reg() 548 void __iomem *target; in calgary_tce_cache_blast() local 551 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_AER_OFFSET); in calgary_tce_cache_blast() 552 aer = readl(target); in calgary_tce_cache_blast() 553 writel(0, target); in calgary_tce_cache_blast() 556 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_PLSSR_OFFSET); in calgary_tce_cache_blast() 557 val = readl(target); in calgary_tce_cache_blast() 560 target = calgary_reg(bbar, split_queue_offset(tbl->it_busno)); in calgary_tce_cache_blast() 562 val = readq(target); in calgary_tce_cache_blast() [all …]
|
/arch/powerpc/kernel/ |
D | ptrace.c | 316 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument 322 if (target->thread.regs == NULL) in gpr_get() 325 if (!FULL_REGS(target->thread.regs)) { in gpr_get() 328 target->thread.regs->gpr[i] = NV_REG_POISON; in gpr_get() 332 target->thread.regs, in gpr_get() 335 unsigned long msr = get_user_msr(target); in gpr_get() 347 &target->thread.regs->orig_gpr3, in gpr_get() 357 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 364 if (target->thread.regs == NULL) in gpr_set() 367 CHECK_FULL_REGS(target->thread.regs); in gpr_set() [all …]
|
/arch/sparc/kernel/ |
D | ptrace_64.c | 123 static int get_from_target(struct task_struct *target, unsigned long uaddr, in get_from_target() argument 126 if (target == current) { in get_from_target() 130 int len2 = access_process_vm(target, uaddr, kbuf, len, in get_from_target() 138 static int set_to_target(struct task_struct *target, unsigned long uaddr, in set_to_target() argument 141 if (target == current) { in set_to_target() 145 int len2 = access_process_vm(target, uaddr, kbuf, len, in set_to_target() 153 static int regwindow64_get(struct task_struct *target, in regwindow64_get() argument 163 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) in regwindow64_get() 171 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) in regwindow64_get() 178 static int regwindow64_set(struct task_struct *target, in regwindow64_set() argument [all …]
|
D | ptrace_32.c | 48 static int genregs32_get(struct task_struct *target, in genregs32_get() argument 53 const struct pt_regs *regs = target->thread.kregs; in genregs32_get() 59 if (target == current) in genregs32_get() 126 static int genregs32_set(struct task_struct *target, in genregs32_set() argument 131 struct pt_regs *regs = target->thread.kregs; in genregs32_set() 137 if (target == current) in genregs32_set() 210 static int fpregs32_get(struct task_struct *target, in fpregs32_get() argument 215 const unsigned long *fpregs = target->thread.float_regs; in fpregs32_get() 219 if (target == current) in fpregs32_get() 233 &target->thread.fsr, in fpregs32_get() [all …]
|
/arch/x86/include/asm/ |
D | jump_label.h | 72 jump_label_t target; member 78 .macro STATIC_JUMP_IF_TRUE target, key, def 83 .long \target - .Lstatic_jump_after_\@ 90 _ASM_PTR .Lstatic_jump_\@, \target, \key 94 .macro STATIC_JUMP_IF_FALSE target, key, def 101 .long \target - .Lstatic_jump_after_\@ 106 _ASM_PTR .Lstatic_jump_\@, \target, \key + 1
|
/arch/tile/lib/ |
D | delay.c | 32 cycles_t target = get_cycles(); in __ndelay() local 33 target += ns2cycles(nsecs); in __ndelay() 34 while (get_cycles() < target) in __ndelay() 41 cycles_t target = get_cycles() + cycles; in __delay() local 42 while (get_cycles() < target) in __delay()
|
/arch/x86/kernel/fpu/ |
D | regset.c | 14 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_fpregs_active() argument 16 struct fpu *target_fpu = &target->thread.fpu; in regset_fpregs_active() 21 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_xregset_fpregs_active() argument 23 struct fpu *target_fpu = &target->thread.fpu; in regset_xregset_fpregs_active() 31 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument 35 struct fpu *fpu = &target->thread.fpu; in xfpregs_get() 47 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, in xfpregs_set() argument 51 struct fpu *fpu = &target->thread.fpu; in xfpregs_set() 78 int xstateregs_get(struct task_struct *target, const struct user_regset *regset, in xstateregs_get() argument 82 struct fpu *fpu = &target->thread.fpu; in xstateregs_get() [all …]
|
/arch/s390/numa/ |
D | toptree.c | 113 static int toptree_insert(struct toptree *cand, struct toptree *target) in toptree_insert() argument 115 if (!cand || !target) in toptree_insert() 117 if (target->level != (cand->level + 1)) in toptree_insert() 119 list_add_tail(&cand->sibling, &target->children); in toptree_insert() 120 cand->parent = target; in toptree_insert() 121 toptree_update_mask(target); in toptree_insert() 132 static void toptree_move_children(struct toptree *cand, struct toptree *target) in toptree_move_children() argument 137 toptree_move(child, target); in toptree_move_children() 189 void toptree_move(struct toptree *cand, struct toptree *target) in toptree_move() argument 193 if (cand->level + 1 == target->level) { in toptree_move() [all …]
|
/arch/parisc/math-emu/ |
D | decode_exc.c | 107 int target, exception_index = 1; in decode_fpu() local 223 target = current_ir & fivebits; in decode_fpu() 236 Sgl_decrement(Fpu_sgl(target)); in decode_fpu() 239 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode()); in decode_fpu() 248 Dbl_decrement(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu() 251 dbl_denormalize(&Fpu_dblp1(target),&Fpu_dblp2(target), in decode_fpu() 301 target = current_ir & fivebits; in decode_fpu() 304 Sgl_setoverflow(Fpu_sgl(target)); in decode_fpu() 307 Dbl_setoverflow(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu()
|
/arch/s390/kernel/ |
D | ptrace.c | 876 static int s390_regs_get(struct task_struct *target, in s390_regs_get() argument 881 if (target == current) in s390_regs_get() 882 save_access_regs(target->thread.acrs); in s390_regs_get() 887 *k++ = __peek_user(target, pos); in s390_regs_get() 894 if (__put_user(__peek_user(target, pos), u++)) in s390_regs_get() 903 static int s390_regs_set(struct task_struct *target, in s390_regs_set() argument 910 if (target == current) in s390_regs_set() 911 save_access_regs(target->thread.acrs); in s390_regs_set() 916 rc = __poke_user(target, pos, *k++); in s390_regs_set() 927 rc = __poke_user(target, pos, word); in s390_regs_set() [all …]
|
/arch/sh/kernel/ |
D | ptrace_32.c | 138 static int genregs_get(struct task_struct *target, in genregs_get() argument 143 const struct pt_regs *regs = task_pt_regs(target); in genregs_get() 162 static int genregs_set(struct task_struct *target, in genregs_set() argument 167 struct pt_regs *regs = task_pt_regs(target); in genregs_set() 186 int fpregs_get(struct task_struct *target, in fpregs_get() argument 193 ret = init_fpu(target); in fpregs_get() 199 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 202 &target->thread.xstate->softfpu, 0, -1); in fpregs_get() 205 static int fpregs_set(struct task_struct *target, in fpregs_set() argument 212 ret = init_fpu(target); in fpregs_set() [all …]
|
D | ptrace_64.c | 148 static int genregs_get(struct task_struct *target, in genregs_get() argument 153 const struct pt_regs *regs = task_pt_regs(target); in genregs_get() 181 static int genregs_set(struct task_struct *target, in genregs_set() argument 186 struct pt_regs *regs = task_pt_regs(target); in genregs_set() 216 int fpregs_get(struct task_struct *target, in fpregs_get() argument 223 ret = init_fpu(target); in fpregs_get() 228 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 231 static int fpregs_set(struct task_struct *target, in fpregs_set() argument 238 ret = init_fpu(target); in fpregs_set() 242 set_stopped_child_used_math(target); in fpregs_set() [all …]
|
/arch/mn10300/kernel/ |
D | ptrace.c | 81 static int genregs_get(struct task_struct *target, in genregs_get() argument 86 const struct pt_regs *regs = task_pt_regs(target); in genregs_get() 108 static int genregs_set(struct task_struct *target, in genregs_set() argument 113 struct pt_regs *regs = task_pt_regs(target); in genregs_set() 157 static int fpuregs_get(struct task_struct *target, in fpuregs_get() argument 162 const struct fpu_state_struct *fpregs = &target->thread.fpu_state; in fpuregs_get() 165 unlazy_fpu(target); in fpuregs_get() 179 static int fpuregs_set(struct task_struct *target, in fpuregs_set() argument 184 struct fpu_state_struct fpu_state = target->thread.fpu_state; in fpuregs_set() 192 fpu_kill_state(target); in fpuregs_set() [all …]
|
/arch/metag/kernel/ |
D | ptrace.c | 147 static int metag_gp_regs_get(struct task_struct *target, in metag_gp_regs_get() argument 152 const struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_get() 156 static int metag_gp_regs_set(struct task_struct *target, in metag_gp_regs_set() argument 161 struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_set() 193 static int metag_cb_regs_get(struct task_struct *target, in metag_cb_regs_get() argument 198 const struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_get() 202 static int metag_cb_regs_set(struct task_struct *target, in metag_cb_regs_set() argument 207 struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_set() 284 static int metag_rp_state_get(struct task_struct *target, in metag_rp_state_get() argument 289 const struct pt_regs *regs = task_pt_regs(target); in metag_rp_state_get() [all …]
|
/arch/mips/kernel/ |
D | jump_label.c | 49 BUG_ON((e->target & ~J_RANGE_MASK) != ((e->code + 4) & ~J_RANGE_MASK)); in arch_jump_label_transform() 52 BUG_ON((e->target & J_ALIGN_MASK) != J_ISA_BIT); in arch_jump_label_transform() 56 insn.j_format.target = e->target >> J_RANGE_SHIFT; in arch_jump_label_transform()
|
D | ptrace.c | 51 static void init_fp_ctx(struct task_struct *target) in init_fp_ctx() argument 54 if (tsk_used_math(target)) in init_fp_ctx() 58 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx() 67 set_stopped_child_used_math(target); in init_fp_ctx() 290 static int gpr32_get(struct task_struct *target, in gpr32_get() argument 295 struct pt_regs *regs = task_pt_regs(target); in gpr32_get() 318 static int gpr32_set(struct task_struct *target, in gpr32_set() argument 323 struct pt_regs *regs = task_pt_regs(target); in gpr32_set() 369 static int gpr64_get(struct task_struct *target, in gpr64_get() argument 374 struct pt_regs *regs = task_pt_regs(target); in gpr64_get() [all …]
|
/arch/frv/kernel/ |
D | ptrace.c | 40 static int genregs_get(struct task_struct *target, in genregs_get() argument 45 const struct user_int_regs *iregs = &target->thread.user->i; in genregs_get() 60 static int genregs_set(struct task_struct *target, in genregs_set() argument 65 struct user_int_regs *iregs = &target->thread.user->i; in genregs_set() 105 static int fpmregs_get(struct task_struct *target, in fpmregs_get() argument 110 const struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_get() 125 static int fpmregs_set(struct task_struct *target, in fpmregs_set() argument 130 struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_set() 145 static int fpmregs_active(struct task_struct *target, in fpmregs_active() argument 148 return tsk_used_math(target) ? regset->n : 0; in fpmregs_active()
|
/arch/x86/events/amd/ |
D | power.c | 233 int target; in power_cpu_exit() local 243 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_exit() 244 if (target < nr_cpumask_bits) { in power_cpu_exit() 245 cpumask_set_cpu(target, &cpu_mask); in power_cpu_exit() 246 perf_pmu_migrate_context(&pmu_class, cpu, target); in power_cpu_exit() 253 int target; in power_cpu_init() local 264 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_init() 265 if (target >= nr_cpumask_bits) in power_cpu_init()
|
/arch/s390/include/asm/ |
D | ftrace.h | 74 unsigned long target; in ftrace_generate_call_insn() local 77 target = is_module_addr((void *) ip) ? ftrace_plt : FTRACE_ADDR; in ftrace_generate_call_insn() 79 insn->disp = (target - ip) / 2; in ftrace_generate_call_insn()
|
/arch/x86/events/intel/ |
D | cstate.c | 374 unsigned int target; in cstate_cpu_exit() local 379 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in cstate_cpu_exit() 381 if (target < nr_cpu_ids) { in cstate_cpu_exit() 382 cpumask_set_cpu(target, &cstate_core_cpu_mask); in cstate_cpu_exit() 383 perf_pmu_migrate_context(&cstate_core_pmu, cpu, target); in cstate_cpu_exit() 390 target = cpumask_any_but(topology_core_cpumask(cpu), cpu); in cstate_cpu_exit() 392 if (target < nr_cpu_ids) { in cstate_cpu_exit() 393 cpumask_set_cpu(target, &cstate_pkg_cpu_mask); in cstate_cpu_exit() 394 perf_pmu_migrate_context(&cstate_pkg_pmu, cpu, target); in cstate_cpu_exit() 402 unsigned int target; in cstate_cpu_init() local [all …]
|
/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 63 unsigned long target, flags; in smp_86xx_kick_cpu() local 78 target = (unsigned long) __secondary_start_mpc86xx; in smp_86xx_kick_cpu() 79 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
|
/arch/powerpc/include/asm/ |
D | code-patching.h | 26 unsigned long target, int flags); 28 unsigned long target, int flags); 29 int patch_branch(unsigned int *addr, unsigned long target, int flags);
|