1 Driver Basics 1 Driver Basics 2 ============= 2 ============= 3 3 4 Driver Entry and Exit points 4 Driver Entry and Exit points 5 ---------------------------- 5 ---------------------------- 6 6 7 .. kernel-doc:: include/linux/module.h !! 7 .. kernel-doc:: include/linux/init.h 8 :internal: 8 :internal: 9 9 10 Driver device table !! 10 Atomic and pointer manipulation 11 ------------------- !! 11 ------------------------------- 12 12 13 .. kernel-doc:: include/linux/mod_devicetable. !! 13 .. kernel-doc:: arch/x86/include/asm/atomic.h 14 :internal: 14 :internal: 15 :no-identifiers: pci_device_id << 16 15 17 !! 16 Delaying, scheduling, and timer routines 18 Delaying and scheduling routines !! 17 ---------------------------------------- 19 -------------------------------- << 20 18 21 .. kernel-doc:: include/linux/sched.h 19 .. kernel-doc:: include/linux/sched.h 22 :internal: 20 :internal: 23 21 24 .. kernel-doc:: kernel/sched/core.c 22 .. kernel-doc:: kernel/sched/core.c 25 :export: 23 :export: 26 24 27 .. kernel-doc:: kernel/sched/cpupri.c 25 .. kernel-doc:: kernel/sched/cpupri.c 28 :internal: 26 :internal: 29 27 30 .. kernel-doc:: kernel/sched/fair.c 28 .. kernel-doc:: kernel/sched/fair.c 31 :internal: 29 :internal: 32 30 33 .. kernel-doc:: include/linux/completion.h 31 .. kernel-doc:: include/linux/completion.h 34 :internal: 32 :internal: 35 33 36 Time and timer routines !! 34 .. kernel-doc:: kernel/time/timer.c 37 ----------------------- !! 35 :export: 38 36 39 .. kernel-doc:: include/linux/jiffies.h !! 37 Wait queues and Wake events 40 :internal: !! 38 --------------------------- 41 39 42 .. kernel-doc:: kernel/time/time.c !! 40 .. kernel-doc:: include/linux/wait.h 43 :export: !! 41 :internal: 44 42 45 .. kernel-doc:: kernel/time/timer.c !! 43 .. kernel-doc:: kernel/sched/wait.c 46 :export: 44 :export: 47 45 48 High-resolution timers 46 High-resolution timers 49 ---------------------- 47 ---------------------- 50 48 51 .. kernel-doc:: include/linux/ktime.h 49 .. kernel-doc:: include/linux/ktime.h 52 :internal: 50 :internal: 53 51 54 .. kernel-doc:: include/linux/hrtimer.h 52 .. kernel-doc:: include/linux/hrtimer.h 55 :internal: 53 :internal: 56 54 57 .. kernel-doc:: kernel/time/hrtimer.c 55 .. kernel-doc:: kernel/time/hrtimer.c 58 :export: 56 :export: 59 57 60 Wait queues and Wake events !! 58 Workqueues and Kevents 61 --------------------------- !! 59 ---------------------- 62 60 63 .. kernel-doc:: include/linux/wait.h !! 61 .. kernel-doc:: include/linux/workqueue.h 64 :internal: 62 :internal: 65 63 66 .. kernel-doc:: kernel/sched/wait.c !! 64 .. kernel-doc:: kernel/workqueue.c 67 :export: 65 :export: 68 66 69 Internal Functions 67 Internal Functions 70 ------------------ 68 ------------------ 71 69 72 .. kernel-doc:: kernel/exit.c 70 .. kernel-doc:: kernel/exit.c 73 :internal: 71 :internal: 74 72 75 .. kernel-doc:: kernel/signal.c 73 .. kernel-doc:: kernel/signal.c 76 :internal: 74 :internal: 77 75 78 .. kernel-doc:: include/linux/kthread.h 76 .. kernel-doc:: include/linux/kthread.h 79 :internal: 77 :internal: 80 78 81 .. kernel-doc:: kernel/kthread.c 79 .. kernel-doc:: kernel/kthread.c 82 :export: 80 :export: 83 81 84 Reference counting << 85 ------------------ << 86 << 87 .. kernel-doc:: include/linux/refcount.h << 88 :internal: << 89 << 90 .. kernel-doc:: lib/refcount.c << 91 :export: << 92 << 93 Atomics << 94 ------- << 95 << 96 .. kernel-doc:: include/linux/atomic/atomic-in << 97 :internal: << 98 << 99 .. kernel-doc:: include/linux/atomic/atomic-ar << 100 :internal: << 101 << 102 .. kernel-doc:: include/linux/atomic/atomic-lo << 103 :internal: << 104 << 105 Kernel objects manipulation 82 Kernel objects manipulation 106 --------------------------- 83 --------------------------- 107 84 108 .. kernel-doc:: lib/kobject.c 85 .. kernel-doc:: lib/kobject.c 109 :export: 86 :export: 110 87 111 Kernel utility functions 88 Kernel utility functions 112 ------------------------ 89 ------------------------ 113 90 114 .. kernel-doc:: include/linux/kernel.h 91 .. kernel-doc:: include/linux/kernel.h 115 :internal: 92 :internal: 116 :no-identifiers: kstrtol kstrtoul << 117 93 118 .. kernel-doc:: kernel/printk/printk.c 94 .. kernel-doc:: kernel/printk/printk.c 119 :export: 95 :export: 120 :no-identifiers: printk << 121 96 122 .. kernel-doc:: kernel/panic.c 97 .. kernel-doc:: kernel/panic.c >> 98 :export: >> 99 >> 100 .. kernel-doc:: kernel/sys.c >> 101 :export: >> 102 >> 103 .. kernel-doc:: kernel/rcu/srcu.c >> 104 :export: >> 105 >> 106 .. kernel-doc:: kernel/rcu/tree.c >> 107 :export: >> 108 >> 109 .. kernel-doc:: kernel/rcu/tree_plugin.h >> 110 :export: >> 111 >> 112 .. kernel-doc:: kernel/rcu/update.c 123 :export: 113 :export: 124 114 125 Device Resource Management 115 Device Resource Management 126 -------------------------- 116 -------------------------- 127 117 128 .. kernel-doc:: drivers/base/devres.c 118 .. kernel-doc:: drivers/base/devres.c 129 :export: 119 :export: 130 120
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.