Lines Matching defs:work
23 * free / \ work / \
31 * There are a series of work stages. Each stage has an input and an output
39 * the work queue it is tagged with this affinity. When a consumer dequeues a
40 * work item, it sets its affinity to this tag. Hence consumer threads migrate
63 typedef struct work {
64 TAILQ_ENTRY(work) link;
72 * A work queue, complete with pthread objects for its management
77 TAILQ_HEAD(, work) queue;
254 * Quit if all work done.
285 DBG(" %s[%d,%d] todo %d work %p data %p\n",
298 DBG(" %s[%d,%d] todo %d signaling work\n",
441 /* Set up the empty work buffers */
448 DBG(" empty work item %p for data %p\n",
496 * See how long the work took.