Home
last modified time | relevance | path

Searched refs:OFFSET (Results 1 – 25 of 54) sorted by relevance

123

/linux/arch/s390/kernel/
H A Dasm-offsets.c21 OFFSET(__TASK_stack, task_struct, stack); in main()
22 OFFSET(__TASK_thread, task_struct, thread); in main()
23 OFFSET(__TASK_pid, task_struct, pid); in main()
25 OFFSET(__TASK_stack_canary, task_struct, stack_canary); in main()
29 OFFSET(__THREAD_ksp, thread_struct, ksp); in main()
32 OFFSET(__TI_flags, task_struct, thread_info.flags); in main()
33 OFFSET(__TI_sie, task_struct, thread_info.sie); in main()
36 OFFSET(__PT_PSW, pt_regs, psw); in main()
37 OFFSET(__PT_GPRS, pt_regs, gprs); in main()
38 OFFSET(__PT_R0, pt_regs, gprs[0]); in main()
[all …]
/linux/arch/mips/kernel/
H A Dasm-offsets.c33 OFFSET(PT_ARG4, pt_regs, args[4]); in output_ptreg_defines()
34 OFFSET(PT_ARG5, pt_regs, args[5]); in output_ptreg_defines()
35 OFFSET(PT_ARG6, pt_regs, args[6]); in output_ptreg_defines()
36 OFFSET(PT_ARG7, pt_regs, args[7]); in output_ptreg_defines()
38 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
39 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
40 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
41 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
42 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
43 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
[all …]
/linux/arch/powerpc/kernel/
H A Dasm-offsets.c80 OFFSET(THREAD, task_struct, thread); in main()
81 OFFSET(MM, task_struct, mm); in main()
83 OFFSET(TASK_CANARY, task_struct, stack_canary); in main()
85 OFFSET(PACA_CANARY, paca_struct, canary); in main()
90 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main()
93 OFFSET(TASK_STACK, task_struct, stack); in main()
95 OFFSET(TASK_CPU, task_struct, thread_info.cpu); in main()
99 OFFSET(TI_livepatch_sp, thread_info, livepatch_sp); in main()
102 OFFSET(KSP, thread_struct, ksp); in main()
103 OFFSET(PT_REGS, thread_struct, regs); in main()
[all …]
/linux/arch/loongarch/kernel/
H A Dasm-offsets.c24 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
25 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
26 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
27 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
28 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
29 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
30 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines()
31 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines()
32 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines()
33 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines()
[all …]
/linux/arch/riscv/kernel/
H A Dasm-offsets.c24 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets()
25 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets()
26 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets()
27 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets()
28 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets()
29 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets()
30 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets()
31 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets()
32 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets()
33 OFFSET(TASK_THREAD_S7, task_struct, thread.s[7]); in asm_offsets()
[all …]
/linux/arch/x86/kernel/
H A Dasm-offsets.c36 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in common()
37 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in common()
38 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in common()
39 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping); in common()
40 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in common()
41 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in common()
42 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in common()
45 OFFSET(TASK_threadsp, task_struct, thread.sp); in common()
47 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common()
51 OFFSET(pbe_address, pbe, address); in common()
[all …]
/linux/arch/hexagon/kernel/
H A Dasm-offsets.c33 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main()
34 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main()
35 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main()
36 OFFSET(_PT_R3130, pt_regs, r3130); in main()
37 OFFSET(_PT_R2928, pt_regs, r2928); in main()
38 OFFSET(_PT_R2726, pt_regs, r2726); in main()
39 OFFSET(_PT_R2524, pt_regs, r2524); in main()
40 OFFSET(_PT_R2322, pt_regs, r2322); in main()
41 OFFSET(_PT_R2120, pt_regs, r2120); in main()
42 OFFSET(_PT_R1918, pt_regs, r1918); in main()
[all …]
/linux/arch/nios2/kernel/
H A Dasm-offsets.c18 OFFSET(TASK_THREAD, task_struct, thread); in main()
22 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
23 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
27 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main()
28 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main()
30 OFFSET(PT_R1, pt_regs, r1); in main()
31 OFFSET(PT_R2, pt_regs, r2); in main()
32 OFFSET(PT_R3, pt_regs, r3); in main()
33 OFFSET(PT_R4, pt_regs, r4); in main()
34 OFFSET(PT_R5, pt_regs, r5); in main()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dpm3393.c39 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro
87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
420 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
421 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \
422 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \
591 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create()
592 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create()
593 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create()
594 t1_tpi_write(adapter, OFFSET(0x2305), 0x00001001); /* PL4IO Enable */ in pm3393_mac_create()
[all …]
H A Dmy3126.c35 #define OFFSET(REG_ADDR) (REG_ADDR << 2) macro
61 t1_tpi_write(adapter, OFFSET(SUNI1x10GEXP_REG_MSTAT_CONTROL), in my3126_interrupt_handler()
64 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW), &act_count); in my3126_interrupt_handler()
66 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val); in my3126_interrupt_handler()
/linux/arch/x86/hyperv/
H A Dmshv-asm-offsets.c20 OFFSET(MSHV_VTL_CPU_CONTEXT_rax, mshv_vtl_cpu_context, rax); in common()
21 OFFSET(MSHV_VTL_CPU_CONTEXT_rcx, mshv_vtl_cpu_context, rcx); in common()
22 OFFSET(MSHV_VTL_CPU_CONTEXT_rdx, mshv_vtl_cpu_context, rdx); in common()
23 OFFSET(MSHV_VTL_CPU_CONTEXT_rbx, mshv_vtl_cpu_context, rbx); in common()
24 OFFSET(MSHV_VTL_CPU_CONTEXT_rbp, mshv_vtl_cpu_context, rbp); in common()
25 OFFSET(MSHV_VTL_CPU_CONTEXT_rsi, mshv_vtl_cpu_context, rsi); in common()
26 OFFSET(MSHV_VTL_CPU_CONTEXT_rdi, mshv_vtl_cpu_context, rdi); in common()
27 OFFSET(MSHV_VTL_CPU_CONTEXT_r8, mshv_vtl_cpu_context, r8); in common()
28 OFFSET(MSHV_VTL_CPU_CONTEXT_r9, mshv_vtl_cpu_context, r9); in common()
29 OFFSET(MSHV_VTL_CPU_CONTEXT_r10, mshv_vtl_cpu_context, r10); in common()
[all …]
/linux/arch/sparc/kernel/
H A Dasm-offsets.c34 OFFSET(SC_REG_FP, saved_context, fp); in sparc64_foo()
35 OFFSET(SC_REG_CWP, saved_context, cwp); in sparc64_foo()
36 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo()
38 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo()
39 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo()
41 OFFSET(SC_REG_G4, saved_context, g4); in sparc64_foo()
42 OFFSET(SC_REG_G5, saved_context, g5); in sparc64_foo()
43 OFFSET(SC_REG_G6, saved_context, g6); in sparc64_foo()
/linux/arch/x86/kvm/
H A Dkvm-asm-offsets.c17 OFFSET(SVM_vcpu_arch_regs, vcpu_svm, vcpu.arch.regs); in common()
18 OFFSET(SVM_current_vmcb, vcpu_svm, current_vmcb); in common()
19 OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl); in common()
20 OFFSET(SVM_vmcb01, vcpu_svm, vmcb01); in common()
21 OFFSET(KVM_VMCB_pa, kvm_vmcb_info, pa); in common()
22 OFFSET(SD_save_area_pa, svm_cpu_data, save_area_pa); in common()
27 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); in common()
/linux/drivers/gpio/
H A Dgpio-mb86s7x.c33 #define OFFSET(x) BIT((x) % 8) macro
50 val &= ~OFFSET(gpio); in mb86s70_gpio_request()
67 val |= OFFSET(gpio); in mb86s70_gpio_free()
82 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_input()
101 val |= OFFSET(gpio); in mb86s70_gpio_direction_output()
103 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_output()
107 val |= OFFSET(gpio); in mb86s70_gpio_direction_output()
119 return !!(readl(gchip->base + PDR(gpio)) & OFFSET(gpio)); in mb86s70_gpio_get()
132 val |= OFFSET(gpio); in mb86s70_gpio_set()
134 val &= ~OFFSET(gpio); in mb86s70_gpio_set()
/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh101 local OFFSET=$3
103 echo "$OFFSET" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/offset" || \
192 local OFFSET=$2
193 local NAME_CONFIGFS=$(cat "$CONFIGFS_AGG_DIR/$CHIP/line${OFFSET}/name")
201 "/dev/$(agg_configfs_chip_name "$CHIP")" "$OFFSET"
657 local OFFSET=0
663 agg_create_line agg0 "line${OFFSET}"
664 agg_set_key agg0 "line${OFFSET}" "$(sim_get_chip_label "$CHIP" "$BANK")"
665 agg_set_offset agg0 "line${OFFSET}" "$LINE"
666 OFFSET=$(expr $OFFSET + 1)
[all …]
H A Dgpio-sim.sh82 local OFFSET=$3
84 local LINE_DIR=$CONFIGFS_DIR/$CHIP/$BANK/line$OFFSET
143 local OFFSET=$3
145 $BASE_DIR/gpio-line-name /dev/`configfs_chip_name $CHIP $BANK` $OFFSET || \
152 local OFFSET=$3
156 local SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio$OFFSET/pull"
/linux/tools/testing/selftests/timens/
H A Dexec.c19 #define OFFSET (36000) macro
50 if (_settime(CLOCK_MONOTONIC, OFFSET)) in main()
75 if (labs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main()
77 now.tv_sec + OFFSET, tst.tv_sec); in main()
81 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET); in main()
H A Dvfork_exec.c20 #define OFFSET (36000) macro
105 if (_settime(CLOCK_MONOTONIC, OFFSET)) in main()
121 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET); in main()
/linux/arch/arc/kernel/
H A Dasm-offsets.c66 OFFSET(PT_fp, pt_regs, fp); in main()
70 OFFSET(PT_r12, pt_regs, r12); in main()
71 OFFSET(PT_r30, pt_regs, r30); in main()
74 OFFSET(PT_r58, pt_regs, r58); in main()
75 OFFSET(PT_r59, pt_regs, r59); in main()
78 OFFSET(PT_DSP_CTRL, pt_regs, DSP_CTRL); in main()
/linux/drivers/xen/xen-pciback/
H A Dconf_space.c182 field_start = OFFSET(cfg_entry); in xen_pcibk_config_read()
183 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_read()
222 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write()
223 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_write()
369 field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_reset_dev()
389 field->release(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_free_dev()
415 err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
420 tmp = field->init(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
431 OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
/linux/arch/xtensa/kernel/
H A Dasm-offsets.c87 OFFSET(TI_TASK, thread_info, task); in main()
88 OFFSET(TI_FLAGS, thread_info, flags); in main()
89 OFFSET(TI_STSTUS, thread_info, status); in main()
90 OFFSET(TI_CPU, thread_info, cpu); in main()
91 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main()
93 OFFSET(TI_PS_WOE_FIX_ADDR, thread_info, ps_woe_fix_addr); in main()
/linux/lib/crypto/powerpc/
H A Dchacha-p10le-8x.S47 .macro SAVE_GPR GPR OFFSET FRAME
48 std \GPR,\OFFSET(\FRAME)
51 .macro SAVE_VRS VRS OFFSET FRAME
52 li 16, \OFFSET
56 .macro SAVE_VSX VSX OFFSET FRAME
57 li 16, \OFFSET
61 .macro RESTORE_GPR GPR OFFSET FRAME
62 ld \GPR,\OFFSET(\FRAME)
65 .macro RESTORE_VRS VRS OFFSET FRAME
66 li 16, \OFFSET
[all …]
H A Dpoly1305-p10le_64.S64 .macro SAVE_GPR GPR OFFSET FRAME
65 std \GPR,\OFFSET(\FRAME)
68 .macro SAVE_VRS VRS OFFSET FRAME
69 li 16, \OFFSET
73 .macro SAVE_VSX VSX OFFSET FRAME
74 li 16, \OFFSET
78 .macro RESTORE_GPR GPR OFFSET FRAME
79 ld \GPR,\OFFSET(\FRAME)
82 .macro RESTORE_VRS VRS OFFSET FRAME
83 li 16, \OFFSET
[all …]
/linux/Documentation/trace/
H A Duprobetracer.rst29 p[:[GRP/][EVENT]] PATH:OFFSET [FETCHARGS] : Set a uprobe
30 r[:[GRP/][EVENT]] PATH:OFFSET [FETCHARGS] : Set a return uprobe (uretprobe)
31 p[:[GRP/][EVENT]] PATH:OFFSET%return [FETCHARGS] : Set a return uprobe (uretprobe)
36 on PATH+OFFSET.
38 OFFSET : Offset where the probe is inserted.
39 OFFSET%return : Offset where the return probe is inserted.
44 @+OFFSET : Fetch memory at OFFSET (OFFSET from same file as PATH)
/linux/tools/certs/
H A Dprint-cert-tbs-hash.sh65 OFFSET="${RANGE_AND_DIGEST[0]}"
89 dd "bs=1" "skip=${OFFSET}" "count=${END}" "status=none" | \

123