/linux-master/tools/bpf/bpftool/ |
H A D | jit_disasm.c | 112 disassemble_insn(disasm_ctx_t *ctx, unsigned char *image, ssize_t len, int pc) argument 117 count = LLVMDisasmInstruction(*ctx, image + pc, len - pc, pc, 307 __maybe_unused ssize_t len, int pc) 309 return ctx->disassemble(pc, ctx->info); 328 int count, i, pc = 0; local 342 func_ksym + pc, 354 jsonw_name(json_wtr, "pc"); 355 jsonw_printf(json_wtr, "\"0x%x\"", pc); 306 disassemble_insn(disasm_ctx_t *ctx, __maybe_unused unsigned char *image, __maybe_unused ssize_t len, int pc) argument [all...] |
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | ftest.S | 72 pea pass_str(%pc) 81 pea fail_str(%pc) 93 pea start_str(%pc) 99 pea effadd_str(%pc) 109 pea unsupp_str(%pc) 119 pea ovfl_nm_str(%pc) 127 pea unfl_nm_str(%pc) 145 pea start_str_unimp(%pc) 151 pea unimp_str(%pc) 171 pea start_str_enable(%pc) [all...] |
/linux-master/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 176 unsigned short insn = *(unsigned short *)regs->pc; 187 regs->pr = regs->pc + 4; /* bsr & jsr */ 191 nextpc = regs->pc + 4 + ((short)((insn & 0xfff) << 4) >> 3); 192 finsn = *(unsigned short *)(regs->pc + 2); 196 nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1); 198 nextpc = regs->pc + 4; 199 finsn = *(unsigned short *)(regs->pc + 2); 203 nextpc = regs->pc + 4; 205 nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1); 206 finsn = *(unsigned short *)(regs->pc [all...] |
/linux-master/arch/arc/kernel/ |
H A D | jump_label.c | 46 static inline u32 arc_gen_branch(jump_label_t pc, jump_label_t target) argument 49 u32 pcl = pc & GENMASK(31, 2); 103 jump_label_t pc; member in struct:arc_gen_branch_testdata 112 instr_got = arc_gen_branch(test->pc, test->target_address); 117 test->pc, test->target_address,
|
/linux-master/arch/sparc/include/asm/ |
H A D | processor_64.h | 93 #define start_thread(regs, pc, sp) \ 97 regs->tpc = ((pc & (~3)) - 4); \ 135 #define start_thread32(regs, pc, sp) \ 138 pc &= 0x00000000ffffffffUL; \ 141 regs->tpc = ((pc & (~3)) - 4); \
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | percpu_alloc_fail.c | 26 struct val_t __percpu_kptr *pc; member in struct:elem 54 p = bpf_kptr_xchg(&e->pc, p); 58 e->pc = (struct val_t __percpu_kptr *)ret; 79 p = bpf_kptr_xchg(&e->pc, p2); 103 p1 = bpf_kptr_xchg(&e->pc, p);
|
/linux-master/tools/lib/perf/ |
H A D | mmap.c | 95 struct perf_event_mmap_page *pc = map->base; local 97 return perf_mmap__read_head(map) == map->prev && !pc->aux_size; 482 struct perf_event_mmap_page *pc = map->base; local 486 if (!pc || !pc->cap_user_rdpmc) 490 seq = READ_ONCE(pc->lock); 493 count->ena = READ_ONCE(pc->time_enabled); 494 count->run = READ_ONCE(pc->time_running); 496 if (pc->cap_user_time && count->ena != count->run) { 498 time_mult = READ_ONCE(pc [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | unwind_orc.c | 345 if (!unwind_done(state) && !__kernel_text_address(state->pc)) 393 unsigned long *p, pc; local 404 if (is_entry_func(state->pc)) 407 orc = orc_find(state->pc); 436 orc_warn("unknown SP base reg %d at %pB\n", orc->sp_reg, (void *)state->pc); 452 orc_warn("unknown FP base reg %d at %pB\n", orc->fp_reg, (void *)state->pc); 463 pc = unwind_graph_addr(state, *p, state->sp); 464 pc -= LOONGARCH_INSN_SIZE; 466 if (!state->ra || state->ra == state->pc) 469 pc [all...] |
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_context.c | 195 struct i915_gem_proto_context *pc) 199 if (pc->pxp_wakeref) 200 intel_runtime_pm_put(&i915->runtime_pm, pc->pxp_wakeref); 201 if (pc->vm) 202 i915_vm_put(pc->vm); 203 if (pc->user_engines) { 204 for (i = 0; i < pc->num_user_engines; i++) 205 kfree(pc->user_engines[i].siblings); 206 kfree(pc->user_engines); 208 kfree(pc); 194 proto_context_close(struct drm_i915_private *i915, struct i915_gem_proto_context *pc) argument 211 proto_context_set_persistence(struct drm_i915_private *i915, struct i915_gem_proto_context *pc, bool persist) argument 252 proto_context_set_protected(struct drm_i915_private *i915, struct i915_gem_proto_context *pc, bool protected) argument 285 struct i915_gem_proto_context *pc, *err; local 315 proto_context_register_locked(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, u32 *id) argument 338 proto_context_register(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, u32 *id) argument 365 set_proto_ctx_vm(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, const struct drm_i915_gem_context_param *args) argument 734 set_proto_ctx_engines(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, const struct drm_i915_gem_context_param *args) argument 814 set_proto_ctx_sseu(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, struct drm_i915_gem_context_param *args) argument 878 set_proto_ctx_param(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, struct drm_i915_gem_context_param *args) argument 1592 i915_gem_create_context(struct drm_i915_private *i915, const struct i915_gem_proto_context *pc) argument 1734 struct i915_gem_proto_context *pc; local 1775 struct i915_gem_proto_context *pc; local 2162 struct i915_gem_proto_context *pc; member in struct:create_ext 2210 finalize_create_context_locked(struct drm_i915_file_private *file_priv, struct i915_gem_proto_context *pc, u32 id) argument 2243 struct i915_gem_proto_context *pc; local 2343 struct i915_gem_proto_context *pc; local 2505 struct i915_gem_proto_context *pc; local [all...] |
/linux-master/arch/openrisc/kernel/ |
H A D | signal.c | 56 err |= __copy_from_user(®s->pc, &sc->regs.pc, sizeof(unsigned long)); 119 err |= __copy_to_user(&sc->regs.pc, ®s->pc, sizeof(unsigned long)); 198 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ 241 continue_addr = regs->pc; 258 regs->pc = restart_addr; 270 if (unlikely(restart) && regs->pc == restart_addr) { 277 regs->pc = continue_addr; 288 if (unlikely(restart) && regs->pc [all...] |
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | psci-relay.c | 29 unsigned long pc; member in struct:psci_boot_args 110 DECLARE_REG(unsigned long, pc, host_ctxt, 2); 136 boot_args->pc = pc; 154 DECLARE_REG(unsigned long, pc, host_ctxt, 2); 167 boot_args->pc = pc; 181 DECLARE_REG(unsigned long, pc, host_ctxt, 1); 194 boot_args->pc = pc; [all...] |
/linux-master/tools/perf/util/ |
H A D | dwarf-aux.h | 136 int die_get_scopes(Dwarf_Die *cu_die, Dwarf_Addr pc, Dwarf_Die **scopes); 144 Dwarf_Die *die_find_variable_by_reg(Dwarf_Die *sc_die, Dwarf_Addr pc, int reg, 149 Dwarf_Die *die_find_variable_by_addr(Dwarf_Die *sc_die, Dwarf_Addr pc, 163 Dwarf_Addr pc __maybe_unused, 173 Dwarf_Addr pc __maybe_unused, 186 int die_get_cfa(Dwarf *dwarf, u64 pc, int *preg, int *poffset); 190 static inline int die_get_cfa(Dwarf *dwarf __maybe_unused, u64 pc __maybe_unused,
|
/linux-master/arch/sparc/kernel/ |
H A D | kgdb_32.c | 41 gdb_regs[GDB_PC] = regs->pc; 99 regs->pc = gdb_regs[GDB_PC]; 119 /* try to read optional parameter, pc unchanged if no parm */ 122 linux_regs->pc = addr; 129 if (linux_regs->pc == (unsigned long) arch_kgdb_breakpoint) { 130 linux_regs->pc = linux_regs->npc; 165 regs->pc = ip; 166 regs->npc = regs->pc + 4;
|
H A D | entry.h | 15 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, 18 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, 20 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, 22 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, 24 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, 26 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, 28 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, 30 void handle_reg_access(struct pt_regs *regs, unsigned long pc, 32 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, 34 void handle_cp_exception(struct pt_regs *regs, unsigned long pc, [all...] |
/linux-master/arch/arm/probes/kprobes/ |
H A D | actions-thumb.c | 27 unsigned long pc = regs->ARM_pc; local 31 unsigned long rnv = (rn == 15) ? pc : regs->uregs[rn]; 40 regs->ARM_pc = pc + 2 * halfwords; 56 unsigned long pc = regs->ARM_pc; local 64 regs->ARM_pc = pc + (offset * 2); 81 unsigned long pc = regs->ARM_pc; local 98 pc &= ~3; 102 regs->ARM_pc = pc + (offset * 2); 161 unsigned long pc = regs->ARM_pc & ~3; local 168 register unsigned long rnv asm("r2") = (rn == 15) ? pc 241 unsigned long pc = regs->ARM_pc; local 309 unsigned long pc = regs->ARM_pc + 2; local 373 unsigned long pc = regs->ARM_pc + 2; local 415 unsigned long pc = regs->ARM_pc + 2; local 435 unsigned long pc = regs->ARM_pc + 2; local 486 unsigned long pc = regs->ARM_pc + 2; local [all...] |
/linux-master/arch/arm/kernel/ |
H A D | unwind.c | 395 pr_debug("%s: fp = %08lx sp = %08lx lr = %08lx pc = %08lx\n", __func__, 403 * Unwind a single frame starting with *sp for the symbol at *pc. It 404 * updates the *pc and *sp with the new values. 417 pr_debug("%s(pc = %08lx lr = %08lx sp = %08lx)\n", __func__, 418 frame->pc, frame->lr, frame->sp); 420 idx = unwind_find_idx(frame->pc); 422 if (frame->pc && kernel_text_address(frame->pc)) { 423 if (in_module_plt(frame->pc) && frame->pc ! [all...] |
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | debug_regs.c | 110 run->debug.arch.pc == CAST_TO_RIP(sw_bp), 113 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); 127 run->debug.arch.pc == CAST_TO_RIP(hw_bp) && 132 run->debug.arch.pc, CAST_TO_RIP(hw_bp), 150 run->debug.arch.pc == CAST_TO_RIP(write_data) && 155 run->debug.arch.pc, CAST_TO_RIP(write_data), 176 run->debug.arch.pc == target_rip && 181 run->debug.arch.pc, target_rip, run->debug.arch.dr6, 194 run->debug.arch.pc == CAST_TO_RIP(bd_start) && 199 run->debug.arch.pc, target_ri [all...] |
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-st.c | 208 #define pc_to_bank(pc) \ 209 container_of(pc, struct st_gpio_bank, pc) 320 struct st_pio_control pc; member in struct:st_gpio_bank 373 return &bank->pc; 387 static void st_pinconf_set_config(struct st_pio_control *pc, argument 390 struct regmap_field *output_enable = pc->oe; 391 struct regmap_field *pull_up = pc->pu; 392 struct regmap_field *open_drain = pc->od; 421 static void st_pctl_set_function(struct st_pio_control *pc, argument 438 st_pctl_get_pin_function(struct st_pio_control *pc, int pin) argument 520 st_pinconf_set_retime_packed(struct st_pinctrl *info, struct st_pio_control *pc, unsigned long config, int pin) argument 550 st_pinconf_set_retime_dedicated(struct st_pinctrl *info, struct st_pio_control *pc, unsigned long config, int pin) argument 577 st_pinconf_get_direction(struct st_pio_control *pc, int pin, unsigned long *config) argument 601 st_pinconf_get_retime_packed(struct st_pinctrl *info, struct st_pio_control *pc, int pin, unsigned long *config) argument 634 st_pinconf_get_retime_dedicated(struct st_pinctrl *info, struct st_pio_control *pc, int pin, unsigned long *config) argument 733 struct st_pio_control pc = bank->pc; local 901 struct st_pio_control *pc; local 939 st_pinconf_get_retime(struct st_pinctrl *info, struct st_pio_control *pc, int pin, unsigned long *config) argument 950 st_pinconf_set_retime(struct st_pinctrl *info, struct st_pio_control *pc, int pin, unsigned long config) argument 966 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); local 982 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); local 994 struct st_pio_control *pc; local 1048 st_pctl_dt_setup_retime_packed(struct st_pinctrl *info, int bank, struct st_pio_control *pc) argument 1084 st_pctl_dt_setup_retime_dedicated(struct st_pinctrl *info, int bank, struct st_pio_control *pc) argument 1108 st_pctl_dt_setup_retime(struct st_pinctrl *info, int bank, struct st_pio_control *pc) argument 1144 struct st_pio_control *pc = &info->banks[bank].pc; local [all...] |
/linux-master/arch/mips/kernel/ |
H A D | process.c | 52 void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) argument 67 regs->cp0_epc = pc; 190 #define J_TARGET(pc,target) \ 191 (((unsigned long)(pc) & 0xf0000000) | ((target) << 2)) 546 unsigned long pc, 590 pc = regs->cp0_epc; 591 if (!user_mode(regs) && __kernel_text_address(pc)) { 594 return pc; 598 if (!kallsyms_lookup_size_offset(pc, &size, &ofs)) 604 pc 544 unwind_stack_by_address(unsigned long stack_page, unsigned long *sp, unsigned long pc, unsigned long *ra) argument 636 unwind_stack(struct task_struct *task, unsigned long *sp, unsigned long pc, unsigned long *ra) argument 661 unsigned long pc = 0; local [all...] |
/linux-master/tools/perf/arch/arm/util/ |
H A D | auxtrace.c | 192 struct perf_event_mmap_page *pc = mm->userpg; local 198 : "r" (&pc->aux_head), "Qo" (pc->aux_head) 206 struct perf_event_mmap_page *pc = mm->userpg; local 213 : "=Qo" (pc->aux_tail) 214 : "r" (&pc->aux_tail), "r" (tail)
|
/linux-master/arch/mips/include/asm/ |
H A D | switch_to.h | 91 void __user *pc; \ 94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \ 96 force_fcr31_sig(fcr31, pc, next); \
|
/linux-master/arch/arm/include/asm/ |
H A D | processor.h | 52 #define start_thread(regs,pc,sp) \ 74 if (elf_hwcap & HWCAP_THUMB && pc & 1) \ 77 regs->ARM_pc = pc & ~1; /* pc */ \
|
/linux-master/arch/sh/include/asm/ |
H A D | processor_32.h | 94 unsigned long pc; member in struct:thread_struct 168 #define thread_saved_pc(tsk) (tsk->thread.pc) 183 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
|
/linux-master/include/linux/ssb/ |
H A D | ssb_driver_pci.h | 91 extern void ssb_pcicore_init(struct ssb_pcicore *pc); 94 extern int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc, 108 void ssb_pcicore_init(struct ssb_pcicore *pc) argument 113 int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc, argument
|
/linux-master/arch/sh/kernel/ |
H A D | perf_callchain.c | 29 perf_callchain_store(entry, regs->pc);
|