Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

schedule_work(9) [suse man page]

SCHEDULE_WORK(9)						   Driver Basics						  SCHEDULE_WORK(9)

NAME
schedule_work - put work task in global workqueue SYNOPSIS
int schedule_work(struct work_struct * work); ARGUMENTS
work job to be done DESCRIPTION
Returns zero if work was already on the kernel-global workqueue and non-zero otherwise. This puts a job in the kernel-global workqueue if it was not already queued and leaves it in the same position on the kernel-global workqueue otherwise. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCHEDULE_WORK(9)

Check Out this Related Man Page

TAPSET::IRQ(3stap)														TAPSET::IRQ(3stap)

NAME
tapset::irq - Systemtap probes for IRQ, workqueue,etc DESCRIPTION
Probe points for probing irq handler execution, softirqs, workqueues,etc workqueue.create probes creation of a new workqueue Arguments: wq_thread task_struct of the workqueue thread. cpu cpu for which the worker thread is created. workqueue.insert probes queuing of work on a workqueue. Arguments: wq_thread task_struct of the workqueue thread. work work_struct* being executed. work_func pointer to handler func. workqueue.execute probes execution of deferred work. Arguments: wq_thread task_struct of the workqueue thread. work work_struct* being executed. work_func pointer to handler func. workqueue.destroy probes destruction of each worker thread of each cpu for a workqueue. Arguments: wq_thread task_struct of the workqueue thread. irq_handler.entry Fires prior to execution of interrupt handler. Arguments: irq irq number action struct irqaction* for this interrupt number handler interrupt handler function flags flags for this irq. flags_str A formatted string of flags. dev_name name of device dev_id cookie to identify device next_irqaction pointer to next irqaction for shared interrupts dir pointer to the /proc/irq/NN/name entry thread_fn interrupt handler function for threaded interrupts thread thread pointer for threaded interrupts thread_flags flags related to thread irq_handler.exit Fires post execution of interrupt handler. Arguments: irq irq number action struct irqaction* for this interrupt number ret return value from interrupt handler that just executed. handler interrupt handler function flags flags for this irq. flags_str A formatted string of flags. dev_name name of device dev_id cookie to identify device next_irqaction pointer to next irqaction for shared interrupts dir pointer to the /proc/irq/NN/name entry thread_fn interrupt handler function for threaded interrupts thread thread pointer for threaded interrupts thread_flags flags related to thread softirq.entry triggered just before executing handler for a pending softirq Arguments: h struct softirq* for current pending softirq. vec softirq_action vector action pointer to softirq handler just about to execute. softirq.exit triggered just after executing handler for a pending softirq Arguments: h struct softirq* for just executed softirq. vec softirq_action vector action pointer to softirq handler that just finished execution. SEE ALSO
stap(1), stapprobes(3stap) IBM
TAPSET::IRQ(3stap)
Man Page