Home
last modified time | relevance | path

Searched refs:DEFINE (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.15/arch/ia64/kernel/
Dasm-offsets.c25 DEFINE(IA64_TASK_SIZE, sizeof (struct task_struct)); in foo()
26 DEFINE(IA64_THREAD_INFO_SIZE, sizeof (struct thread_info)); in foo()
27 DEFINE(IA64_PT_REGS_SIZE, sizeof (struct pt_regs)); in foo()
28 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); in foo()
29 DEFINE(IA64_SIGINFO_SIZE, sizeof (struct siginfo)); in foo()
30 DEFINE(IA64_CPU_SIZE, sizeof (struct cpuinfo_ia64)); in foo()
31 DEFINE(SIGFRAME_SIZE, sizeof (struct sigframe)); in foo()
32 DEFINE(UNW_FRAME_INFO_SIZE, sizeof (struct unw_frame_info)); in foo()
35 DEFINE(IA64_UPID_SHIFT, 4); in foo()
39 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
[all …]
/Linux-v5.15/arch/parisc/kernel/
Dasm-offsets.c44 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
45 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
46 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, pending)); in main()
47 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
48 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
49 DEFINE(TASK_PERSONALITY, offsetof(struct task_struct, personality)); in main()
50 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main()
52 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
53 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
54 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
[all …]
/Linux-v5.15/arch/arm/kernel/
Dasm-offsets.c39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
46 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
47 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
48 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
49 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
50 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main()
51 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
[all …]
/Linux-v5.15/arch/arm64/kernel/
Dasm-offsets.c29 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
30 DEFINE(TSK_CPU, offsetof(struct task_struct, cpu)); in main()
32 DEFINE(TSK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main()
33 DEFINE(TSK_TI_PREEMPT, offsetof(struct task_struct, thread_info.preempt_count)); in main()
35 DEFINE(TSK_TI_TTBR0, offsetof(struct task_struct, thread_info.ttbr0)); in main()
38 DEFINE(TSK_TI_SCS_BASE, offsetof(struct task_struct, thread_info.scs_base)); in main()
39 DEFINE(TSK_TI_SCS_SP, offsetof(struct task_struct, thread_info.scs_sp)); in main()
41 DEFINE(TSK_STACK, offsetof(struct task_struct, stack)); in main()
43 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
46 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context)); in main()
[all …]
/Linux-v5.15/arch/microblaze/kernel/
Dasm-offsets.c24 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main()
25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main()
26 DEFINE(PT_EAR, offsetof(struct pt_regs, ear)); in main()
27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main()
28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); in main()
29 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main()
30 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main()
31 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main()
32 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main()
33 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main()
[all …]
/Linux-v5.15/arch/xtensa/kernel/
Dasm-offsets.c32 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main()
33 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
34 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main()
35 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main()
36 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main()
37 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main()
38 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main()
39 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main()
40 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
41 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main()
[all …]
/Linux-v5.15/arch/m68k/kernel/
Dasm-offsets.c26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
27 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
28 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main()
31 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
32 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
34 DEFINE(THREAD_FC, offsetof(struct thread_struct, fc)); in main()
35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
36 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
37 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main()
[all …]
/Linux-v5.15/arch/csky/kernel/
Dasm-offsets.c12 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
13 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
14 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
15 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
16 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
17 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
20 DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp)); in main()
21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main()
22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()
23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
[all …]
/Linux-v5.15/arch/arc/kernel/
Dasm-offsets.c18 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
19 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
23 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
24 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main()
25 DEFINE(THREAD_FAULT_ADDR, in main()
30 DEFINE(THREAD_INFO_FLAGS, offsetof(struct thread_info, flags)); in main()
31 DEFINE(THREAD_INFO_PREEMPT_COUNT, in main()
36 DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm)); in main()
37 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in main()
38 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main()
[all …]
/Linux-v5.15/arch/sh/kernel/
Dasm-offsets.c24 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
25 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
26 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
27 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
28 DEFINE(TI_SIZE, sizeof(struct thread_info)); in main()
31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
34 DEFINE(SWSUSP_ARCH_REGS_SIZE, sizeof(struct swsusp_arch_regs)); in main()
37 DEFINE(SH_SLEEP_MODE, offsetof(struct sh_sleep_data, mode)); in main()
[all …]
/Linux-v5.15/arch/um/include/shared/
Dcommon-offsets.h5 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
7 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
8 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
9 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
10 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
12 DEFINE(UM_ELF_CLASS, ELF_CLASS);
13 DEFINE(UM_ELFCLASS32, ELFCLASS32);
14 DEFINE(UM_ELFCLASS64, ELFCLASS64);
16 DEFINE(UM_NR_CPUS, NR_CPUS);
18 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
[all …]
/Linux-v5.15/include/linux/
Dti-emif-sram.h66 DEFINE(EMIF_SDCFG_VAL_OFFSET, in ti_emif_asm_offsets()
68 DEFINE(EMIF_TIMING1_VAL_OFFSET, in ti_emif_asm_offsets()
70 DEFINE(EMIF_TIMING2_VAL_OFFSET, in ti_emif_asm_offsets()
72 DEFINE(EMIF_TIMING3_VAL_OFFSET, in ti_emif_asm_offsets()
74 DEFINE(EMIF_REF_CTRL_VAL_OFFSET, in ti_emif_asm_offsets()
76 DEFINE(EMIF_ZQCFG_VAL_OFFSET, in ti_emif_asm_offsets()
78 DEFINE(EMIF_PMCR_VAL_OFFSET, in ti_emif_asm_offsets()
80 DEFINE(EMIF_PMCR_SHDW_VAL_OFFSET, in ti_emif_asm_offsets()
82 DEFINE(EMIF_RD_WR_LEVEL_RAMP_CTRL_OFFSET, in ti_emif_asm_offsets()
84 DEFINE(EMIF_RD_WR_EXEC_THRESH_OFFSET, in ti_emif_asm_offsets()
[all …]
/Linux-v5.15/arch/x86/um/
Duser-offsets.c12 #define DEFINE(sym, val) \ macro
24 DEFINE(HOST_IP, EIP); in foo()
25 DEFINE(HOST_SP, UESP); in foo()
26 DEFINE(HOST_EFLAGS, EFL); in foo()
27 DEFINE(HOST_AX, EAX); in foo()
28 DEFINE(HOST_BX, EBX); in foo()
29 DEFINE(HOST_CX, ECX); in foo()
30 DEFINE(HOST_DX, EDX); in foo()
31 DEFINE(HOST_SI, ESI); in foo()
32 DEFINE(HOST_DI, EDI); in foo()
[all …]
/Linux-v5.15/arch/alpha/kernel/
Dasm-offsets.c17 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo()
18 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
19 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
22 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo()
23 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo()
24 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
25 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
26 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo()
29 DEFINE(CRED_UID, offsetof(struct cred, uid)); in foo()
30 DEFINE(CRED_EUID, offsetof(struct cred, euid)); in foo()
[all …]
/Linux-v5.15/arch/openrisc/kernel/
Dasm-offsets.c40 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
41 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
42 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
43 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
44 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
48 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
49 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
50 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
52 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main()
[all …]
/Linux-v5.15/arch/mips/kernel/
Dasm-offsets.c74 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines()
88 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines()
101 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines()
102 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines()
103 DEFINE(_IRQ_STACK_SIZE, IRQ_STACK_SIZE); in output_thread_info_defines()
104 DEFINE(_IRQ_STACK_START, IRQ_STACK_START); in output_thread_info_defines()
182 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines()
189 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines()
190 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines()
191 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines()
[all …]
/Linux-v5.15/arch/nds32/kernel/
Dasm-offsets.c12 DEFINE(TSK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main()
13 DEFINE(TSK_TI_PREEMPT, in main()
15 DEFINE(THREAD_CPU_CONTEXT, in main()
17 DEFINE(OSP_OFFSET, offsetof(struct pt_regs, osp)); in main()
18 DEFINE(SP_OFFSET, offsetof(struct pt_regs, sp)); in main()
19 DEFINE(FUCOP_CTL_OFFSET, offsetof(struct pt_regs, fucop_ctl)); in main()
20 DEFINE(IPSW_OFFSET, offsetof(struct pt_regs, ipsw)); in main()
21 DEFINE(SYSCALLNO_OFFSET, offsetof(struct pt_regs, syscallno)); in main()
22 DEFINE(IPC_OFFSET, offsetof(struct pt_regs, ipc)); in main()
23 DEFINE(R0_OFFSET, offsetof(struct pt_regs, uregs[0])); in main()
[all …]
/Linux-v5.15/arch/h8300/kernel/
Dasm-offsets.c33 DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, in main()
42 DEFINE(LER0, offsetof(struct pt_regs, er0) - sizeof(long)); in main()
43 DEFINE(LER1, offsetof(struct pt_regs, er1) - sizeof(long)); in main()
44 DEFINE(LER2, offsetof(struct pt_regs, er2) - sizeof(long)); in main()
45 DEFINE(LER3, offsetof(struct pt_regs, er3) - sizeof(long)); in main()
46 DEFINE(LER4, offsetof(struct pt_regs, er4) - sizeof(long)); in main()
47 DEFINE(LER5, offsetof(struct pt_regs, er5) - sizeof(long)); in main()
48 DEFINE(LER6, offsetof(struct pt_regs, er6) - sizeof(long)); in main()
49 DEFINE(LORIG, offsetof(struct pt_regs, orig_er0) - sizeof(long)); in main()
50 DEFINE(LSP, offsetof(struct pt_regs, sp) - sizeof(long)); in main()
[all …]
/Linux-v5.15/arch/riscv/kernel/
Dasm-offsets.c75 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in asm_offsets()
119 DEFINE(TASK_THREAD_RA_RA, in asm_offsets()
123 DEFINE(TASK_THREAD_SP_RA, in asm_offsets()
127 DEFINE(TASK_THREAD_S0_RA, in asm_offsets()
131 DEFINE(TASK_THREAD_S1_RA, in asm_offsets()
135 DEFINE(TASK_THREAD_S2_RA, in asm_offsets()
139 DEFINE(TASK_THREAD_S3_RA, in asm_offsets()
143 DEFINE(TASK_THREAD_S4_RA, in asm_offsets()
147 DEFINE(TASK_THREAD_S5_RA, in asm_offsets()
151 DEFINE(TASK_THREAD_S6_RA, in asm_offsets()
[all …]
/Linux-v5.15/arch/arm/mach-at91/
Dpm_data-offsets.c8 DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); in main()
9 DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); in main()
10 DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); in main()
11 DEFINE(PM_DATA_RAMC_PHY, offsetof(struct at91_pm_data, in main()
13 DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl)); in main()
14 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); in main()
15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
16 DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); in main()
17 DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data, in main()
19 DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data, in main()
/Linux-v5.15/arch/powerpc/lib/
Dxor_vmx.c24 #define DEFINE(V) \ macro
55 DEFINE(v1); in __xor_altivec_2()
56 DEFINE(v2); in __xor_altivec_2()
73 DEFINE(v1); in __xor_altivec_3()
74 DEFINE(v2); in __xor_altivec_3()
75 DEFINE(v3); in __xor_altivec_3()
96 DEFINE(v1); in __xor_altivec_4()
97 DEFINE(v2); in __xor_altivec_4()
98 DEFINE(v3); in __xor_altivec_4()
99 DEFINE(v4); in __xor_altivec_4()
[all …]
/Linux-v5.15/arch/arm/mach-omap2/
Dpm-asm-offsets.c16 DEFINE(AMX3_PM_WFI_FLAGS_OFFSET, in main()
18 DEFINE(AMX3_PM_L2_AUX_CTRL_VAL_OFFSET, in main()
20 DEFINE(AMX3_PM_L2_PREFETCH_CTRL_VAL_OFFSET, in main()
22 DEFINE(AMX3_PM_SRAM_DATA_SIZE, sizeof(struct am33xx_pm_sram_data)); in main()
26 DEFINE(AMX3_PM_RO_SRAM_DATA_VIRT_OFFSET, in main()
28 DEFINE(AMX3_PM_RO_SRAM_DATA_PHYS_OFFSET, in main()
30 DEFINE(AMX3_PM_RTC_BASE_VIRT_OFFSET, in main()
32 DEFINE(AMX3_PM_RO_SRAM_DATA_SIZE, in main()
/Linux-v5.15/kernel/
Dbounds.c19 DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); in main()
20 DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); in main()
22 DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS)); in main()
24 DEFINE(SPINLOCK_SIZE, sizeof(spinlock_t)); in main()
/Linux-v5.15/arch/sparc/kernel/
Dasm-offsets.c24 DEFINE(AOFF_thread_fork_kpsr, in sparc32_foo()
51 DEFINE(AOFF_task_thread, offsetof(struct task_struct, thread)); in foo()
53 DEFINE(AOFF_mm_context, offsetof(struct mm_struct, context)); in foo()
55 DEFINE(VMA_VM_MM, offsetof(struct vm_area_struct, vm_mm)); in foo()
/Linux-v5.15/arch/s390/kernel/
Dasm-offsets.c38 DEFINE(__PT_SIZE, sizeof(struct pt_regs)); in main()
153 DEFINE(__KEXEC_SHA_REGION_SIZE, sizeof(struct kexec_sha_region)); in main()
155 DEFINE(__PARMAREA_SIZE, sizeof(struct parmarea)); in main()
157 DEFINE(IPL_DEVICE, PARMAREA + offsetof(struct parmarea, ipl_device)); in main()
158 DEFINE(INITRD_START, PARMAREA + offsetof(struct parmarea, initrd_start)); in main()
159 DEFINE(INITRD_SIZE, PARMAREA + offsetof(struct parmarea, initrd_size)); in main()
160 DEFINE(OLDMEM_BASE, PARMAREA + offsetof(struct parmarea, oldmem_base)); in main()
161 DEFINE(OLDMEM_SIZE, PARMAREA + offsetof(struct parmarea, oldmem_size)); in main()
162 DEFINE(COMMAND_LINE, PARMAREA + offsetof(struct parmarea, command_line)); in main()

12