Searched refs:OFFSET (Results 1 - 25 of 67) sorted by relevance

123

/linux-master/arch/s390/kernel/
H A Dasm-offsets.c23 OFFSET(__TASK_stack, task_struct, stack);
24 OFFSET(__TASK_thread, task_struct, thread);
25 OFFSET(__TASK_pid, task_struct, pid);
28 OFFSET(__THREAD_ksp, thread_struct, ksp);
31 OFFSET(__TI_flags, task_struct, thread_info.flags);
34 OFFSET(__PT_PSW, pt_regs, psw);
35 OFFSET(__PT_GPRS, pt_regs, gprs);
36 OFFSET(__PT_R0, pt_regs, gprs[0]);
37 OFFSET(__PT_R1, pt_regs, gprs[1]);
38 OFFSET(__PT_R
[all...]
/linux-master/arch/hexagon/kernel/
H A Dasm-offsets.c32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr);
33 OFFSET(_PT_GPUGP, pt_regs, gpugp);
34 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0);
35 OFFSET(_PT_R3130, pt_regs, r3130);
36 OFFSET(_PT_R2928, pt_regs, r2928);
37 OFFSET(_PT_R2726, pt_regs, r2726);
38 OFFSET(_PT_R2524, pt_regs, r2524);
39 OFFSET(_PT_R2322, pt_regs, r2322);
40 OFFSET(_PT_R2120, pt_regs, r2120);
41 OFFSET(_PT_R191
[all...]
/linux-master/arch/nios2/kernel/
H A Dasm-offsets.c17 OFFSET(TASK_THREAD, task_struct, thread);
21 OFFSET(THREAD_KSP, thread_struct, ksp);
22 OFFSET(THREAD_KPSR, thread_struct, kpsr);
26 OFFSET(PT_ORIG_R2, pt_regs, orig_r2);
27 OFFSET(PT_ORIG_R7, pt_regs, orig_r7);
29 OFFSET(PT_R1, pt_regs, r1);
30 OFFSET(PT_R2, pt_regs, r2);
31 OFFSET(PT_R3, pt_regs, r3);
32 OFFSET(PT_R4, pt_regs, r4);
33 OFFSET(PT_R
[all...]
/linux-master/arch/loongarch/kernel/
H A Dasm-offsets.c21 OFFSET(PT_R0, pt_regs, regs[0]);
22 OFFSET(PT_R1, pt_regs, regs[1]);
23 OFFSET(PT_R2, pt_regs, regs[2]);
24 OFFSET(PT_R3, pt_regs, regs[3]);
25 OFFSET(PT_R4, pt_regs, regs[4]);
26 OFFSET(PT_R5, pt_regs, regs[5]);
27 OFFSET(PT_R6, pt_regs, regs[6]);
28 OFFSET(PT_R7, pt_regs, regs[7]);
29 OFFSET(PT_R8, pt_regs, regs[8]);
30 OFFSET(PT_R
[all...]
/linux-master/arch/x86/kernel/
H A Dasm-offsets.c37 OFFSET(TASK_threadsp, task_struct, thread.sp);
39 OFFSET(TASK_stack_canary, task_struct, stack_canary);
43 OFFSET(pbe_address, pbe, address);
44 OFFSET(pbe_orig_address, pbe, orig_address);
45 OFFSET(pbe_next, pbe, next);
49 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax);
50 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx);
51 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx);
52 OFFSET(IA32_SIGCONTEXT_dx, sigcontext_32, dx);
53 OFFSET(IA32_SIGCONTEXT_s
[all...]
H A Dasm-offsets_32.c15 OFFSET(CPUINFO_x86, cpuinfo_x86, x86);
16 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor);
17 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model);
18 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping);
19 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level);
20 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability);
21 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id);
24 OFFSET(PT_EBX, pt_regs, bx);
25 OFFSET(PT_ECX, pt_regs, cx);
26 OFFSET(PT_ED
[all...]
H A Dasm-offsets_64.c17 OFFSET(PV_IRQ_save_fl, paravirt_patch_template, irq.save_fl);
24 OFFSET(KVM_STEAL_TIME_preempted, kvm_steal_time, preempted);
28 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry)
48 #define ENTRY(entry) OFFSET(saved_context_ ## entry, saved_context, entry)
60 OFFSET(FIXED_stack_canary, fixed_percpu_data, stack_canary);
/linux-master/arch/powerpc/kernel/
H A Dasm-offsets.c79 OFFSET(THREAD, task_struct, thread);
80 OFFSET(MM, task_struct, mm);
82 OFFSET(TASK_CANARY, task_struct, stack_canary);
84 OFFSET(PACA_CANARY, paca_struct, canary);
89 OFFSET(RTAS_SP, thread_struct, rtas_sp);
92 OFFSET(TASK_STACK, task_struct, stack);
94 OFFSET(TASK_CPU, task_struct, thread_info.cpu);
98 OFFSET(TI_livepatch_sp, thread_info, livepatch_sp);
101 OFFSET(KSP, thread_struct, ksp);
102 OFFSET(PT_REG
[all...]
/linux-master/arch/mips/kernel/
H A Dasm-offsets.c30 OFFSET(PT_R0, pt_regs, regs[0]);
31 OFFSET(PT_R1, pt_regs, regs[1]);
32 OFFSET(PT_R2, pt_regs, regs[2]);
33 OFFSET(PT_R3, pt_regs, regs[3]);
34 OFFSET(PT_R4, pt_regs, regs[4]);
35 OFFSET(PT_R5, pt_regs, regs[5]);
36 OFFSET(PT_R6, pt_regs, regs[6]);
37 OFFSET(PT_R7, pt_regs, regs[7]);
38 OFFSET(PT_R8, pt_regs, regs[8]);
39 OFFSET(PT_R
[all...]
/linux-master/arch/x86/kvm/
H A Dkvm-asm-offsets.c17 OFFSET(SVM_vcpu_arch_regs, vcpu_svm, vcpu.arch.regs);
18 OFFSET(SVM_current_vmcb, vcpu_svm, current_vmcb);
19 OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl);
20 OFFSET(SVM_vmcb01, vcpu_svm, vmcb01);
21 OFFSET(KVM_VMCB_pa, kvm_vmcb_info, pa);
22 OFFSET(SD_save_area_pa, svm_cpu_data, save_area_pa);
27 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl);
/linux-master/arch/riscv/kernel/
H A Dasm-offsets.c24 OFFSET(TASK_THREAD_RA, task_struct, thread.ra);
25 OFFSET(TASK_THREAD_SP, task_struct, thread.sp);
26 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]);
27 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]);
28 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]);
29 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]);
30 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]);
31 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]);
32 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]);
33 OFFSET(TASK_THREAD_S
[all...]
/linux-master/arch/sparc/kernel/
H A Dasm-offsets.c33 OFFSET(SC_REG_FP, saved_context, fp);
34 OFFSET(SC_REG_CWP, saved_context, cwp);
35 OFFSET(SC_REG_WSTATE, saved_context, wstate);
37 OFFSET(SC_REG_TICK, saved_context, tick);
38 OFFSET(SC_REG_PSTATE, saved_context, pstate);
40 OFFSET(SC_REG_G4, saved_context, g4);
41 OFFSET(SC_REG_G5, saved_context, g5);
42 OFFSET(SC_REG_G6, saved_context, g6);
/linux-master/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);
93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32);
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);
592 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000);
593 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800);
594 t1_tpi_write(adapter, OFFSET(
[all...]
H A Dmy3126.c35 #define OFFSET(REG_ADDR) (REG_ADDR << 2) macro
61 t1_tpi_write(adapter, OFFSET(SUNI1x10GEXP_REG_MSTAT_CONTROL),
64 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW), &act_count);
66 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val);
/linux-master/include/linux/
H A Dkbuild.h10 #define OFFSET(sym, str, mem) \ macro
/linux-master/tools/certs/
H A Dprint-cert-tbs-hash.sh65 OFFSET="${RANGE_AND_DIGEST[0]}"
66 END="$(( OFFSET + RANGE_AND_DIGEST[1] ))"
89 dd "bs=1" "skip=${OFFSET}" "count=${END}" "status=none" | \
/linux-master/tools/testing/selftests/timens/
H A Dexec.c19 #define OFFSET (36000) macro
48 if (_settime(CLOCK_MONOTONIC, OFFSET))
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5)
75 now.tv_sec + OFFSET, tst.tv_sec);
79 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET);
H A Dvfork_exec.c20 #define OFFSET (36000) macro
103 if (_settime(CLOCK_MONOTONIC, OFFSET))
119 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET);
/linux-master/arch/arc/kernel/
H A Dasm-offsets.c65 OFFSET(PT_fp, pt_regs, fp);
69 OFFSET(PT_r12, pt_regs, r12);
70 OFFSET(PT_r30, pt_regs, r30);
73 OFFSET(PT_r58, pt_regs, r58);
74 OFFSET(PT_r59, pt_regs, r59);
77 OFFSET(PT_DSP_CTRL, pt_regs, DSP_CTRL);
/linux-master/drivers/gpio/
H A Dgpio-mb86s7x.c33 #define OFFSET(x) BIT((x) % 8) macro
51 val &= ~OFFSET(gpio);
68 val |= OFFSET(gpio);
83 val &= ~OFFSET(gpio);
102 val |= OFFSET(gpio);
104 val &= ~OFFSET(gpio);
108 val |= OFFSET(gpio);
120 return !!(readl(gchip->base + PDR(gpio)) & OFFSET(gpio));
133 val |= OFFSET(gpio);
135 val &= ~OFFSET(gpi
[all...]
/linux-master/arch/xtensa/kernel/
H A Dasm-offsets.c86 OFFSET(TI_TASK, thread_info, task);
87 OFFSET(TI_FLAGS, thread_info, flags);
88 OFFSET(TI_STSTUS, thread_info, status);
89 OFFSET(TI_CPU, thread_info, cpu);
90 OFFSET(TI_PRE_COUNT, thread_info, preempt_count);
92 OFFSET(TI_PS_WOE_FIX_ADDR, thread_info, ps_woe_fix_addr);
/linux-master/drivers/xen/xen-pciback/
H A Dconf_space.c182 field_start = OFFSET(cfg_entry);
183 field_end = OFFSET(cfg_entry) + field->size;
222 field_start = OFFSET(cfg_entry);
223 field_end = OFFSET(cfg_entry) + field->size;
369 field->reset(dev, OFFSET(cfg_entry), cfg_entry->data);
389 field->release(dev, OFFSET(cfg_entry), cfg_entry->data);
415 err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry));
420 tmp = field->init(dev, OFFSET(cfg_entry));
431 OFFSET(cfg_entry));
/linux-master/arch/powerpc/crypto/
H A Dchacha-p10le-8x.S50 .macro SAVE_GPR GPR OFFSET FRAME
51 std \GPR,\OFFSET(\FRAME)
54 .macro SAVE_VRS VRS OFFSET FRAME
55 li 16, \OFFSET
59 .macro SAVE_VSX VSX OFFSET FRAME
60 li 16, \OFFSET
64 .macro RESTORE_GPR GPR OFFSET FRAME
65 ld \GPR,\OFFSET(\FRAME)
68 .macro RESTORE_VRS VRS OFFSET FRAME
69 li 16, \OFFSET
[all...]
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-sim.sh88 local OFFSET=$3
90 local LINE_DIR=$CONFIGFS_DIR/$CHIP/$BANK/line$OFFSET
142 local OFFSET=$3
144 $BASE_DIR/gpio-line-name /dev/`configfs_chip_name $CHIP $BANK` $OFFSET || \
151 local OFFSET=$3
155 local SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio$OFFSET/pull"
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dcore507d.c45 NVVAL(NV507D, SET_NOTIFIER_CONTROL, OFFSET, NV50_DISP_CORE_NTFY >> 2) |
92 NVVAL(NV507D, SET_NOTIFIER_CONTROL, OFFSET, NV50_DISP_CORE_NTFY >> 2) |

Completed in 193 milliseconds

123