/linux-master/arch/riscv/kvm/ |
H A D | aia_aplic.c | 26 u32 target; member in struct:aplic_irq 87 ret = irqd->target; 107 irqd->target = val; 230 static void aplic_inject_msi(struct kvm *kvm, u32 irq, u32 target) argument 234 hart_idx = target >> APLIC_TARGET_HART_IDX_SHIFT; 236 guest_idx = target >> APLIC_TARGET_GUEST_IDX_SHIFT; 238 eiid = target & APLIC_TARGET_EIID_MASK; 245 u32 irq, target; local 261 target = irqd->target; 277 u32 target; local [all...] |
H A D | aia_device.c | 602 gpa_t target = (((gpa_t)msi->address_hi) << 32) | msi->address_lo; local 608 /* Convert target address to target PPN */ 609 tppn = target >> IMSIC_MMIO_PAGE_SHIFT; 611 /* Extract and clear Guest ID from target PPN */ 620 toff = target & (IMSIC_MMIO_PAGE_SZ - 1);
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 171 pr_err("bpf-jit: target offset 0x%llx is out of range\n", off); 432 pr_err("bpf-jit: target offset 0x%llx is out of range\n", rvoff); 633 static int gen_jump_or_nops(void *target, void *ip, u32 *insns, bool is_call) argument 641 if (!target) { 647 rvoff = (s64)(target - ip);
|
/linux-master/arch/s390/kernel/ |
H A D | ptrace.c | 813 static int s390_regs_get(struct task_struct *target, argument 818 if (target == current) 819 save_access_regs(target->thread.acrs); 822 membuf_store(&to, __peek_user(target, pos)); 826 static int s390_regs_set(struct task_struct *target, argument 833 if (target == current) 834 save_access_regs(target->thread.acrs); 839 rc = __poke_user(target, pos, *k++); 850 rc = __poke_user(target, pos, word); 856 if (rc == 0 && target 862 s390_fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 877 s390_fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 908 s390_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 915 s390_last_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 923 s390_tdb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 936 s390_tdb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 944 s390_vxrs_low_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 960 s390_vxrs_low_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 984 s390_vxrs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 996 s390_vxrs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1013 s390_system_call_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1020 s390_system_call_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1030 s390_gs_cb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1045 s390_gs_cb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1084 s390_gs_bc_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1097 s390_gs_bc_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1142 s390_runtime_instr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1156 s390_runtime_instr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1298 s390_compat_regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1312 s390_compat_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1348 s390_compat_regs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1361 s390_compat_regs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1394 s390_compat_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 1403 s390_compat_last_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 [all...] |
/linux-master/arch/s390/kvm/ |
H A D | interrupt.c | 956 /* bit 1+2 of the target are the ilc, so we can directly use ilen */ 2385 void *target = NULL; local 2397 target = (void *) &inti->ext; 2402 target = (void *) &inti->io; 2407 target = (void *) &inti->mchk; 2415 if (copy_from_user(target, source, size))
|
/linux-master/arch/s390/lib/ |
H A D | test_kprobes.c | 20 const char *target, int offset) 24 setup_kprobe(test, kp, target, 0); 29 setup_kprobe(test, kp, target, offset); 19 test_kprobe_offset(struct kunit *test, struct kprobe *kp, const char *target, int offset) argument
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 199 #define EMIT4_PCREL_RIC(op, mask, target) \ 201 int __rel = ((target) - jit->prg) / 2; \ 237 #define EMIT6_PCREL_RIEB(op1, op2, b1, b2, mask, target) \ 239 unsigned int rel = (int)((target) - jit->prg) / 2; \ 246 #define EMIT6_PCREL_RIEC(op1, op2, b1, imm, mask, target) \ 248 unsigned int rel = (int)((target) - jit->prg) / 2; \ 263 #define EMIT6_PCREL_RILB(op, b, target) \ 265 unsigned int rel = (int)((target) - jit->prg) / 2; \ 270 #define EMIT6_PCREL_RIL(op, target) \ 272 unsigned int rel = (int)((target) 522 void *target; member in struct:bpf_plt 538 bpf_jit_plt(struct bpf_plt *plt, void *ret, void *target) argument [all...] |
/linux-master/arch/sh/kernel/ |
H A D | ptrace_32.c | 134 static int genregs_get(struct task_struct *target, argument 138 const struct pt_regs *regs = task_pt_regs(target); 143 static int genregs_set(struct task_struct *target, argument 148 struct pt_regs *regs = task_pt_regs(target); 167 static int fpregs_get(struct task_struct *target, argument 173 ret = init_fpu(target); 177 return membuf_write(&to, target->thread.xstate, 181 static int fpregs_set(struct task_struct *target, argument 188 ret = init_fpu(target); 192 set_stopped_child_used_math(target); 202 fpregs_active(struct task_struct *target, const struct user_regset *regset) argument 210 dspregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 220 dspregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 238 dspregs_active(struct task_struct *target, const struct user_regset *regset) argument [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | jump_label.h | 47 jump_label_t target; member in struct:jump_entry
|
/linux-master/arch/sparc/kernel/ |
H A D | mdesc.c | 326 u64 target; local 328 target = mdesc_arc_target(hp, a); 329 id = mdesc_get_property(hp, target, 852 u64 target = mdesc_arc_target(hp, a); local 853 const char *name = mdesc_node_name(hp, target); 856 fill_in_one_cache(c, hp, target);
|
H A D | ptrace_32.c | 47 static int regwindow32_get(struct task_struct *target, argument 54 if (target == current) { 58 if (access_process_vm(target, reg_window, uregs, size, 65 static int regwindow32_set(struct task_struct *target, argument 72 if (target == current) { 76 if (access_process_vm(target, reg_window, uregs, size, 83 static int genregs32_get(struct task_struct *target, argument 87 const struct pt_regs *regs = target->thread.kregs; 90 if (target == current) 96 if (regwindow32_get(target, reg 106 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 166 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 182 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 244 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 260 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 287 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 300 setfpregs_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 D | ptrace_64.c | 160 static int get_from_target(struct task_struct *target, unsigned long uaddr, argument 163 if (target == current) { 167 int len2 = access_process_vm(target, uaddr, kbuf, len, 175 static int set_to_target(struct task_struct *target, unsigned long uaddr, argument 178 if (target == current) { 182 int len2 = access_process_vm(target, uaddr, kbuf, len, 190 static int regwindow64_get(struct task_struct *target, argument 200 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) 208 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) 215 static int regwindow64_set(struct task_struct *target, argument 246 genregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 341 fpregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 442 getregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 532 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 676 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 776 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 829 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 846 setfpregs_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 D | smp_64.c | 398 u64 result, target; local 408 target = (cpu << 14) | 0x70; 432 "r" (data0), "r" (data1), "r" (data2), "r" (target), 523 u64 target, nr; local 529 target = (nr << 14) | 0x70; 533 target |= (nack_busy_id << 24); 541 : "r" (target), "i" (ASI_INTR_W)); 637 * Occasionally a target cpu strand is borrowed briefly by hypervisor to 643 * the retry count as long as target cpus are making forward progress. 685 * Go through the cpu_list, count the target cpu [all...] |
H A D | vio.c | 211 u64 target; local 213 target = mdesc_arc_target(hp, a); 214 cfg_handle = mdesc_get_property(hp, target, 261 u64 target; local 263 target = mdesc_arc_target(hp, a); 265 irq = mdesc_get_property(hp, target, "tx-ino", NULL); 269 irq = mdesc_get_property(hp, target, "rx-ino", NULL); 273 chan_id = mdesc_get_property(hp, target, "id", NULL); 477 u64 target = mdesc_arc_target(hp, a); local 478 const char *name = mdesc_node_name(hp, target); [all...] |
/linux-master/arch/sparc/lib/ |
H A D | U1memcpy.S | 101 #define STORE_JUMP(dest, fsrc, target) \ 104 ba,pt %xcc, target; \
|
/linux-master/arch/sparc/mm/ |
H A D | init_64.c | 1130 u64 target = mdesc_arc_target(md, arc); local 1133 val = mdesc_get_property(md, target, 1148 u64 target = mdesc_arc_target(md, arc); local 1149 const char *name = mdesc_node_name(md, target); 1155 val = mdesc_get_property(md, target, "latency", NULL); 1160 candidate = target; 1333 u64 target = mdesc_arc_target(md, arc); local 1334 const char *name = mdesc_node_name(md, target); 1339 id = mdesc_get_property(md, target, "id", NULL); 1388 u64 target local 1408 u64 target = mdesc_arc_target(md, arc); local [all...] |
/linux-master/arch/um/drivers/ |
H A D | mconsole_user.c | 181 struct sockaddr_un target; local 199 target.sun_family = AF_UNIX; 200 strcpy(target.sun_path, sock_name); 211 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target, 212 sizeof(target));
|
/linux-master/arch/x86/ |
H A D | Makefile | 74 KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json 275 # KBUILD_IMAGE specify target image being built
|
/linux-master/arch/x86/events/amd/ |
H A D | power.c | 221 int target; local 231 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); 232 if (target < nr_cpumask_bits) { 233 cpumask_set_cpu(target, &cpu_mask); 234 perf_pmu_migrate_context(&pmu_class, cpu, target); 241 int target; local 252 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); 253 if (target >= nr_cpumask_bits)
|
/linux-master/arch/x86/events/intel/ |
H A D | cstate.c | 422 * events when there is a valid target available 426 unsigned int target; local 431 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); 432 /* Migrate events if there is a valid target */ 433 if (target < nr_cpu_ids) { 434 cpumask_set_cpu(target, &cstate_core_cpu_mask); 435 perf_pmu_migrate_context(&cstate_core_pmu, cpu, target); 442 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); 443 /* Migrate events if there is a valid target */ 444 if (target < nr_cpu_id 465 unsigned int target; local [all...] |
H A D | uncore.c | 1513 int die, target; local 1519 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); 1521 /* Migrate uncore events to the new target */ 1522 if (target < nr_cpu_ids) 1523 cpumask_set_cpu(target, &uncore_cpu_mask); 1525 target = -1; 1527 uncore_change_context(uncore_msr_uncores, cpu, target); 1528 uncore_change_context(uncore_mmio_uncores, cpu, target); 1529 uncore_change_context(uncore_pci_uncores, cpu, target); 1604 int die, target, msr_re local [all...] |
/linux-master/arch/x86/events/ |
H A D | rapl.c | 546 int target; local 554 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); 556 /* Migrate rapl events to the new target */ 557 if (target < nr_cpu_ids) { 558 cpumask_set_cpu(target, &rapl_cpu_mask); 559 pmu->cpu = target; 560 perf_pmu_migrate_context(pmu->pmu, cpu, target); 568 int target; local 588 target = cpumask_any_and(&rapl_cpu_mask, topology_die_cpumask(cpu)); 589 if (target < nr_cpu_id [all...] |
/linux-master/arch/x86/hyperv/ |
H A D | irqdomain.c | 36 intr_desc->target.vector = vector; 43 intr_desc->target.vp_set.valid_bank_mask = 0; 44 intr_desc->target.vp_set.format = HV_GENERIC_SET_SPARSE_4K; 45 nr_bank = cpumask_to_vpset(&(intr_desc->target.vp_set), cpumask_of(cpu)); 51 intr_desc->target.flags = HV_DEVICE_INTERRUPT_TARGET_PROCESSOR_SET;
|
/linux-master/arch/x86/include/asm/ |
H A D | intel_pconfig.h | 13 int pconfig_target_supported(enum pconfig_target target);
|
/linux-master/arch/x86/kernel/ |
H A D | alternative.c | 138 u8 *target = instr + len; local 149 __text_gen_insn(instr, JMP8_INSN_OPCODE, instr, target, JMP8_INSN_SIZE); 152 __text_gen_insn(instr, JMP32_INSN_OPCODE, instr, target, JMP32_INSN_SIZE); 156 for (;instr < target; instr++) 210 __optimize_nops(u8 *instr, size_t len, struct insn *insn, int *next, int *prev, int *target) argument 218 *target = *next + insn->immediate.value; 226 if (*target && *next == *target) 234 *target = 0; 244 int prev, target local 330 u8 *target = src + offset; local 340 int prev, target = 0; local 416 void *target, *bug = &BUG_func; local 647 retpoline_thunk_t *target; local [all...] |