arch/powerpc/kernel/time.c
Source file repositories/reference/linux-study-clean/arch/powerpc/kernel/time.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/kernel/time.c- Extension
.c- Size
- 28427 bytes
- Lines
- 1106
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/errno.hlinux/export.hlinux/sched.hlinux/sched/clock.hlinux/sched/cputime.hlinux/kernel.hlinux/param.hlinux/string.hlinux/mm.hlinux/interrupt.hlinux/timex.hlinux/kernel_stat.hlinux/time.hlinux/init.hlinux/profile.hlinux/cpu.hlinux/security.hlinux/percpu.hlinux/rtc.hlinux/jiffies.hlinux/posix-timers.hlinux/irq.hlinux/delay.hlinux/irq_work.hlinux/of_clk.hlinux/suspend.hlinux/processor.hlinux/mc146818rtc.hlinux/platform_device.hasm/trace.hasm/interrupt.hasm/io.h
Detected Declarations
function read_spurrfunction vtime_delta_scaledfunction vtime_deltafunction vtime_delta_kernelfunction vtime_account_kernelfunction vtime_account_idlefunction vtime_account_irq_fieldfunction vtime_account_softirqfunction vtime_account_hardirqfunction vtime_flush_scaledfunction recentlyfunction vtime_task_switchfunction vtime_resetfunction vtime_dyntick_startfunction vtime_dyntick_stopfunction __delayfunction udelayfunction profile_pcfunction test_irq_work_pendingfunction set_irq_work_pending_flagfunction clear_irq_work_pendingfunction arch_irq_work_raisefunction set_dec_or_workfunction set_dec_or_workfunction timer_rearm_host_decfunction timer_broadcast_interruptfunction arch_suspend_disable_irqsfunction arch_suspend_enable_irqsfunction tb_to_nsfunction sched_clockfunction get_boot_tbfunction running_clockfunction get_freqfunction start_cpu_decrementerfunction generic_calibrate_decrfunction update_persistent_clock64function __read_persistent_clockfunction read_persistent_clock64function timebase_readfunction clocksource_initfunction decrementer_set_next_eventfunction decrementer_shutdownfunction register_decrementer_clockeventfunction enable_large_decrementerfunction set_decrementer_maxfunction init_decrementer_clockeventfunction secondary_cpu_time_initfunction div128_by_32
Annotated Snippet
device_initcall(rtc_init);
#endif
Annotation
- Immediate include surface: `linux/errno.h`, `linux/export.h`, `linux/sched.h`, `linux/sched/clock.h`, `linux/sched/cputime.h`, `linux/kernel.h`, `linux/param.h`, `linux/string.h`.
- Detected declarations: `function read_spurr`, `function vtime_delta_scaled`, `function vtime_delta`, `function vtime_delta_kernel`, `function vtime_account_kernel`, `function vtime_account_idle`, `function vtime_account_irq_field`, `function vtime_account_softirq`, `function vtime_account_hardirq`, `function vtime_flush_scaled`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.