Lines Matching defs:work
212 struct work_struct work;
224 * from the global work queue where we can obtain the rtnl_lock safely.
226 static void ipoib_vlan_delete_task(struct work_struct *work)
229 container_of(work, struct ipoib_vlan_delete_work, work);
270 struct ipoib_vlan_delete_work *work;
272 work = kmalloc(sizeof(*work), GFP_KERNEL);
273 if (!work) {
281 work->dev = priv->dev;
282 INIT_WORK(&work->work, ipoib_vlan_delete_task);
283 queue_work(ipoib_workqueue, &work->work);