/Linux-v6.6/arch/ia64/kernel/ |
D | asm-offsets.c | 25 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-v6.6/arch/parisc/kernel/ |
D | asm-offsets.c | 42 DEFINE(TASK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main() 44 DEFINE(TASK_TI_CPU, offsetof(struct task_struct, thread_info.cpu)); in main() 46 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main() 47 DEFINE(TASK_PAGEFAULT_DISABLED, offsetof(struct task_struct, pagefault_disabled)); in main() 49 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main() 50 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main() 51 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main() 52 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main() 53 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main() 54 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/wcn36xx/ |
D | firmware.c | 6 #define DEFINE(s)[s] = #s macro 9 DEFINE(MCC), 10 DEFINE(P2P), 11 DEFINE(DOT11AC), 12 DEFINE(SLM_SESSIONIZATION), 13 DEFINE(DOT11AC_OPMODE), 14 DEFINE(SAP32STA), 15 DEFINE(TDLS), 16 DEFINE(P2P_GO_NOA_DECOUPLE_INIT_SCAN), 17 DEFINE(WLANACTIVE_OFFLOAD), [all …]
|
/Linux-v6.6/arch/arm64/kernel/ |
D | asm-offsets.c | 31 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 33 DEFINE(TSK_TI_CPU, offsetof(struct task_struct, thread_info.cpu)); in main() 34 DEFINE(TSK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main() 35 DEFINE(TSK_TI_PREEMPT, offsetof(struct task_struct, thread_info.preempt_count)); in main() 37 DEFINE(TSK_TI_TTBR0, offsetof(struct task_struct, thread_info.ttbr0)); in main() 40 DEFINE(TSK_TI_SCS_BASE, offsetof(struct task_struct, thread_info.scs_base)); in main() 41 DEFINE(TSK_TI_SCS_SP, offsetof(struct task_struct, thread_info.scs_sp)); in main() 43 DEFINE(TSK_STACK, offsetof(struct task_struct, stack)); in main() 45 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main() 48 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context)); in main() [all …]
|
/Linux-v6.6/arch/microblaze/kernel/ |
D | asm-offsets.c | 24 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-v6.6/arch/arm/kernel/ |
D | asm-offsets.c | 39 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_CPU, offsetof(struct thread_info, cpu)); in main() 47 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main() 48 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 49 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main() 50 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main() 51 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() [all …]
|
/Linux-v6.6/arch/xtensa/kernel/ |
D | asm-offsets.c | 33 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main() 34 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main() 35 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main() 36 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main() 37 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main() 38 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main() 39 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main() 40 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main() 41 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main() 42 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main() [all …]
|
/Linux-v6.6/arch/m68k/kernel/ |
D | asm-offsets.c | 26 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-v6.6/arch/csky/kernel/ |
D | asm-offsets.c | 12 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-v6.6/arch/arc/kernel/ |
D | asm-offsets.c | 18 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_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 24 DEFINE(THREAD_FAULT_ADDR, in main() 29 DEFINE(THREAD_INFO_KSP, offsetof(struct thread_info, ksp)); 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-v6.6/arch/sh/kernel/ |
D | asm-offsets.c | 24 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-v6.6/include/linux/ |
D | ti-emif-sram.h | 58 DEFINE(EMIF_SDCFG_VAL_OFFSET, in ti_emif_asm_offsets() 60 DEFINE(EMIF_TIMING1_VAL_OFFSET, in ti_emif_asm_offsets() 62 DEFINE(EMIF_TIMING2_VAL_OFFSET, in ti_emif_asm_offsets() 64 DEFINE(EMIF_TIMING3_VAL_OFFSET, in ti_emif_asm_offsets() 66 DEFINE(EMIF_REF_CTRL_VAL_OFFSET, in ti_emif_asm_offsets() 68 DEFINE(EMIF_ZQCFG_VAL_OFFSET, in ti_emif_asm_offsets() 70 DEFINE(EMIF_PMCR_VAL_OFFSET, in ti_emif_asm_offsets() 72 DEFINE(EMIF_PMCR_SHDW_VAL_OFFSET, in ti_emif_asm_offsets() 74 DEFINE(EMIF_RD_WR_LEVEL_RAMP_CTRL_OFFSET, in ti_emif_asm_offsets() 76 DEFINE(EMIF_RD_WR_EXEC_THRESH_OFFSET, in ti_emif_asm_offsets() [all …]
|
/Linux-v6.6/arch/x86/um/ |
D | user-offsets.c | 15 DEFINE(sym, val / sizeof(unsigned long)) 23 DEFINE(HOST_IP, EIP); in foo() 24 DEFINE(HOST_SP, UESP); in foo() 25 DEFINE(HOST_EFLAGS, EFL); in foo() 26 DEFINE(HOST_AX, EAX); in foo() 27 DEFINE(HOST_BX, EBX); in foo() 28 DEFINE(HOST_CX, ECX); in foo() 29 DEFINE(HOST_DX, EDX); in foo() 30 DEFINE(HOST_SI, ESI); in foo() 31 DEFINE(HOST_DI, EDI); in foo() [all …]
|
/Linux-v6.6/arch/alpha/kernel/ |
D | asm-offsets.c | 17 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() 20 DEFINE(TI_FP, offsetof(struct thread_info, fp)); in foo() 21 DEFINE(TI_STATUS, offsetof(struct thread_info, status)); in foo() 24 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo() 25 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo() 26 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo() 27 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo() 28 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo() [all …]
|
/Linux-v6.6/arch/um/include/shared/ |
D | common-offsets.h | 5 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_GFP_KERNEL, GFP_KERNEL); 13 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC); 15 DEFINE(UM_THREAD_SIZE, THREAD_SIZE); 17 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 18 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC); [all …]
|
/Linux-v6.6/arch/loongarch/kernel/ |
D | asm-offsets.c | 60 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines() 75 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines() 88 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines() 89 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines() 90 DEFINE(_IRQ_STACK_SIZE, IRQ_STACK_SIZE); in output_thread_info_defines() 91 DEFINE(_IRQ_STACK_START, IRQ_STACK_START); in output_thread_info_defines() 185 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines() 192 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines() 193 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines() 194 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines() [all …]
|
/Linux-v6.6/arch/openrisc/kernel/ |
D | asm-offsets.c | 40 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-v6.6/arch/mips/kernel/ |
D | asm-offsets.c | 75 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines() 90 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines() 104 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines() 105 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines() 106 DEFINE(_IRQ_STACK_SIZE, IRQ_STACK_SIZE); in output_thread_info_defines() 107 DEFINE(_IRQ_STACK_START, IRQ_STACK_START); in output_thread_info_defines() 188 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines() 195 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines() 196 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines() 197 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines() [all …]
|
/Linux-v6.6/arch/arm/mach-at91/ |
D | pm_data-offsets.c | 8 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-v6.6/arch/powerpc/lib/ |
D | xor_vmx.c | 24 #define DEFINE(V) \ macro 56 DEFINE(v1); in __xor_altivec_2() 57 DEFINE(v2); in __xor_altivec_2() 76 DEFINE(v1); in __xor_altivec_3() 77 DEFINE(v2); in __xor_altivec_3() 78 DEFINE(v3); in __xor_altivec_3() 101 DEFINE(v1); in __xor_altivec_4() 102 DEFINE(v2); in __xor_altivec_4() 103 DEFINE(v3); in __xor_altivec_4() 104 DEFINE(v4); in __xor_altivec_4() [all …]
|
/Linux-v6.6/kernel/ |
D | bounds.c | 19 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() 26 DEFINE(LRU_GEN_WIDTH, order_base_2(MAX_NR_GENS + 1)); in main() 27 DEFINE(__LRU_REFS_WIDTH, MAX_NR_TIERS - 2); in main() 29 DEFINE(LRU_GEN_WIDTH, 0); in main() 30 DEFINE(__LRU_REFS_WIDTH, 0); in main()
|
/Linux-v6.6/arch/arm/mach-omap2/ |
D | pm-asm-offsets.c | 16 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-v6.6/arch/riscv/kernel/ |
D | asm-offsets.c | 79 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in asm_offsets() 283 DEFINE(TASK_THREAD_RA_RA, in asm_offsets() 287 DEFINE(TASK_THREAD_SP_RA, in asm_offsets() 291 DEFINE(TASK_THREAD_S0_RA, in asm_offsets() 295 DEFINE(TASK_THREAD_S1_RA, in asm_offsets() 299 DEFINE(TASK_THREAD_S2_RA, in asm_offsets() 303 DEFINE(TASK_THREAD_S3_RA, in asm_offsets() 307 DEFINE(TASK_THREAD_S4_RA, in asm_offsets() 311 DEFINE(TASK_THREAD_S5_RA, in asm_offsets() 315 DEFINE(TASK_THREAD_S6_RA, in asm_offsets() [all …]
|
/Linux-v6.6/arch/s390/kernel/ |
D | asm-offsets.c | 56 DEFINE(__PT_SIZE, sizeof(struct pt_regs)); in main() 67 DEFINE(STACK_FRAME_OVERHEAD, sizeof(struct stack_frame)); in main() 170 DEFINE(__KEXEC_SHA_REGION_SIZE, sizeof(struct kexec_sha_region)); in main() 172 DEFINE(__PARMAREA_SIZE, sizeof(struct parmarea)); in main() 174 DEFINE(IPL_DEVICE, PARMAREA + offsetof(struct parmarea, ipl_device)); in main() 175 DEFINE(INITRD_START, PARMAREA + offsetof(struct parmarea, initrd_start)); in main() 176 DEFINE(INITRD_SIZE, PARMAREA + offsetof(struct parmarea, initrd_size)); in main() 177 DEFINE(OLDMEM_BASE, PARMAREA + offsetof(struct parmarea, oldmem_base)); in main() 178 DEFINE(OLDMEM_SIZE, PARMAREA + offsetof(struct parmarea, oldmem_size)); in main() 179 DEFINE(COMMAND_LINE, PARMAREA + offsetof(struct parmarea, command_line)); in main() [all …]
|
/Linux-v6.6/arch/sparc/kernel/ |
D | asm-offsets.c | 24 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()
|