arch/arm64/kernel/fpsimd.c
Source file repositories/reference/linux-study-clean/arch/arm64/kernel/fpsimd.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/kernel/fpsimd.c- Extension
.c- Size
- 59784 bytes
- Lines
- 2122
- Domain
- Architecture Layer
- Bucket
- arch/arm64
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bitmap.hlinux/bitops.hlinux/bottom_half.hlinux/bug.hlinux/cache.hlinux/compat.hlinux/compiler.hlinux/cpu.hlinux/cpu_pm.hlinux/cpumask.hlinux/ctype.hlinux/kernel.hlinux/linkage.hlinux/irqflags.hlinux/init.hlinux/percpu.hlinux/prctl.hlinux/preempt.hlinux/ptrace.hlinux/sched/signal.hlinux/sched/task_stack.hlinux/signal.hlinux/slab.hlinux/smp.hlinux/stddef.hlinux/sysctl.hlinux/swab.hasm/esr.hasm/exception.hasm/fpsimd.hasm/cpufeature.hasm/cputype.h
Detected Declarations
struct vl_configfunction vec_vl_inherit_flagfunction get_default_vlfunction get_sve_default_vlfunction set_default_vlfunction set_sve_default_vlfunction get_sme_default_vlfunction set_sme_default_vlfunction sme_freefunction put_cpu_fpsimd_contextfunction get_cpu_fpsimd_contextfunction task_get_vlfunction task_set_vlfunction task_get_vl_onexecfunction task_set_vl_onexecfunction sve_state_sizefunction fpsimd_save_user_statefunction find_supported_vector_lengthfunction vec_proc_do_default_vlfunction sve_sysctl_initfunction sve_sysctl_initfunction sme_sysctl_initfunction sme_sysctl_initfunction arm64_cpu_to_le128function arm64_cpu_to_le128function __fpsimd_to_svefunction fpsimd_to_svefunction sve_to_fpsimdfunction __fpsimd_zero_vregsfunction task_smstop_smfunction cpu_enable_fpmrfunction sve_freefunction do_sve_accfunction fpsimd_sync_from_effective_statefunction fpsimd_sync_to_effective_state_zeropadfunction change_live_vector_lengthfunction vec_set_vector_lengthfunction prctlfunction sve_set_current_vlfunction sve_get_current_vlfunction sme_set_current_vlfunction sme_get_current_vlfunction vec_probe_vqsfunction vec_init_vq_mapfunction vec_update_vq_mapfunction vec_verify_vq_mapfunction cpu_enable_svefunction sve_setup
Annotated Snippet
core_initcall(fpsimd_init);
Annotation
- Immediate include surface: `linux/bitmap.h`, `linux/bitops.h`, `linux/bottom_half.h`, `linux/bug.h`, `linux/cache.h`, `linux/compat.h`, `linux/compiler.h`, `linux/cpu.h`.
- Detected declarations: `struct vl_config`, `function vec_vl_inherit_flag`, `function get_default_vl`, `function get_sve_default_vl`, `function set_default_vl`, `function set_sve_default_vl`, `function get_sme_default_vl`, `function set_sme_default_vl`, `function sme_free`, `function put_cpu_fpsimd_context`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.