<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Workqueues and Kevents</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="ch01.html" title="Chapter 1. Driver Basics" /><link rel="prev" href="re94.html" title="schedule_hrtimeout" /><link rel="next" href="re95.html" title="queue_work" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Workqueues and Kevents</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re94.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Driver Basics</th><td width="20%" align="right"> <a accesskey="n" href="re95.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Workqueues and Kevents"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2606476"></a>Workqueues and Kevents</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re95.html"><span>queue_work</span></a></span><span class="refpurpose"> — queue work on a workqueue </span></dt><dt><span class="refentrytitle"><a href="re96.html"><span>queue_work_on</span></a></span><span class="refpurpose"> — queue work on specific cpu </span></dt><dt><span class="refentrytitle"><a href="re97.html"><span>queue_delayed_work</span></a></span><span class="refpurpose"> — queue work on a workqueue after delay </span></dt><dt><span class="refentrytitle"><a href="re98.html"><span>queue_delayed_work_on</span></a></span><span class="refpurpose"> — queue work on specific CPU after delay </span></dt><dt><span class="refentrytitle"><a href="re99.html"><span>flush_workqueue</span></a></span><span class="refpurpose"> — ensure that any scheduled work has run to completion. </span></dt><dt><span class="refentrytitle"><a href="re100.html"><span>flush_work</span></a></span><span class="refpurpose"> — block until a work_struct's callback has terminated </span></dt><dt><span class="refentrytitle"><a href="re101.html"><span>cancel_work_sync</span></a></span><span class="refpurpose"> — block until a work_struct's callback has terminated </span></dt><dt><span class="refentrytitle"><a href="re102.html"><span>cancel_delayed_work_sync</span></a></span><span class="refpurpose"> — reliably kill off a delayed work. </span></dt><dt><span class="refentrytitle"><a href="re103.html"><span>schedule_work</span></a></span><span class="refpurpose"> — put work task in global workqueue </span></dt><dt><span class="refentrytitle"><a href="re104.html"><span>schedule_delayed_work</span></a></span><span class="refpurpose"> — put work task in global workqueue after delay </span></dt><dt><span class="refentrytitle"><a href="re105.html"><span>flush_delayed_work</span></a></span><span class="refpurpose"> — block until a dwork_struct's callback has terminated </span></dt><dt><span class="refentrytitle"><a href="re106.html"><span>schedule_delayed_work_on</span></a></span><span class="refpurpose"> — queue work in global workqueue on CPU after delay </span></dt><dt><span class="refentrytitle"><a href="re107.html"><span>execute_in_process_context</span></a></span><span class="refpurpose"> — reliably execute the routine with user context </span></dt><dt><span class="refentrytitle"><a href="re108.html"><span>destroy_workqueue</span></a></span><span class="refpurpose"> — safely terminate a workqueue </span></dt><dt><span class="refentrytitle"><a href="re109.html"><span>work_on_cpu</span></a></span><span class="refpurpose"> — run a function in user context on a particular cpu </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re94.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re95.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>schedule_hrtimeout</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>queue_work</span></td></tr></table></div></body></html>