Lines Matching +full:work +full:- +full:around
35 return -ENOMEM;
36 spin_lock_init(&foo->lock);
43 state around to all functions that need access to the state and its members.
46 pass around a pointer to struct foo like this::
69 Continuing on the above example we add an offloaded work::
78 static void foo_work(struct work_struct *work)
80 struct foo *foo = container_of(work, struct foo, offload);
89 queue_work(foo->wq, &foo->offload);
97 foo->wq = create_singlethread_workqueue("foo-wq");
98 INIT_WORK(&foo->offload, foo_work);
112 for this to work.
116 work function to a single pointer.