Chinaunix首页 | 论坛 | 博客
  • 博客访问: 326431
  • 博文数量: 135
  • 博客积分: 867
  • 博客等级: 准尉
  • 技术积分: 865
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-15 14:50
文章分类

全部博文(135)

文章存档

2012年(135)

分类:

2012-04-10 11:09:40

原文地址:1. Driver Basics 作者:playmud

— driver initialization entry point
— driver exit entry point
— read atomic variable
— set atomic variable
— add integer to atomic variable
— subtract the atomic variable
— subtract value from variable and test result
— increment atomic variable
— decrement atomic variable
— decrement and test
— increment and test
— add and test if negative
— add and return
— add unless the number is a given value
— get value from possibly mis-aligned location
— put value to a possibly mis-aligned location
— check that a task structure is not stale
— check if a task structure is init
— wake up threads blocked on a waitqueue.
— wake up threads blocked on a waitqueue.
— return the nice value of a given task.
— change the scheduling policy and/or RT priority of
— yield the current processor to other threads.
— function to round jiffies to a full second
— function to round jiffies to a full second
— function to round jiffies to a full second
— function to round jiffies to a full second
— initialize a timer.
— modify a timer's timeout
— deactive a timer.
— deactivate a timer and wait for the handler to finish.
— Returns the time of day in a timespec
— Returns the time of day in a timeval
— Sets the time of day
— sleep until timeout
— sleep safely even with waitqueue interruptions
— sleep waiting for signals
— Set a ktime_t variable from a seconds/nanoseconds value
— subtract two ktime_t variables
— add two ktime_t variables
— Add a scalar nanoseconds value to a ktime_t variable
— convert a timespec to ktime_t format
— convert a timeval to ktime_t format
— convert a ktime_t variable to timespec format
— convert a ktime_t variable to timeval format
— convert a ktime_t variable to scalar nanoseconds
— the basic hrtimer structure
— simple sleeper structure
— the timer base for a specific clock
— get the real (wall-) time in ktime_t format
— get the monotonic clock in timespec format
— (re)start an relative timer on the current CPU
— try to deactivate a timer
— cancel a timer and wait for the handler to finish.
— get remaining time for the timer
— initialize a timer to the given clock
— get the timer resolution for a clock
— run scheduled work synchronously
— queue work on a workqueue
— queue work on a workqueue after delay
— queue work on specific CPU after delay
— ensure that any scheduled work has run to completion.
— safely terminate a workqueue
— put work task in global workqueue
— put work task in global workqueue after delay
— queue work in global workqueue on CPU after delay
— reliably kill off a delayed
— reliably kill off a delayed keventd
execute_in_process_context — reliably execute the routine with user context
— Reparent the calling kernel thread to the init task
— send signal to one specific thread
— create and wake a thread.
— should this kthread return now?
— create a kthread.
— bind a just-created kthread to a cpu.
— stop a thread created by kthread_create.
— generate and return the path associated with a given kobj
— initialize object.
— add an object to the hierarchy.
— initialize and add an object.
— Set the name of an object
— unlink kobject from hierarchy.
— remove object from hierarchy and decrement refcount.
— increment refcount for object.
— decrement refcount for object.
— initialize and add a kset.
— remove a kset.
— register a subsystem.
— export sysfs attribute file.
— cast a member of a structure out to the containing structure
— print a kernel message
— lock the console system for exclusive use.
— unlock the console system
— yield the CPU if required
— caller-controlled printk ratelimiting
— halt the system
— Add notifier to an atomic notifier chain
— Remove notifier from an atomic notifier chain
— Call functions in an atomic notifier chain
— Add notifier to a blocking notifier chain
— Remove notifier from a blocking notifier chain
— Call functions in a blocking notifier chain
— Add notifier to a raw notifier chain
— Remove notifier from a raw notifier chain
— Call functions in a raw notifier chain
srcu_notifier_chain_register — Add notifier to an SRCU notifier chain
srcu_notifier_chain_unregister — Remove notifier from an SRCU notifier chain
srcu_notifier_call_chain — Call functions in an SRCU notifier chain
srcu_init_notifier_head — Initialize an SRCU notifier head
— Register function to be called at reboot time
— Unregister previously registered reboot notifier
— reboot the system
— reboot the system
— halt the system
— power_off the system
call_rcu — Queue an RCU callback for invocation after a grace period.
call_rcu_bh — Queue an RCU for invocation after a quicker grace period.
rcu_barrier — Wait until all the in-flight RCUs are complete.
synchronize_rcu — wait until a grace period has elapsed.
 
阅读(480) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~