Lines Matching defs:work
211 struct work_struct work;
223 * from the global work queue where we can obtain the rtnl_lock safely.
225 static void ipoib_vlan_delete_task(struct work_struct *work)
228 container_of(work, struct ipoib_vlan_delete_work, work);
269 struct ipoib_vlan_delete_work *work;
271 work = kmalloc(sizeof(*work), GFP_KERNEL);
272 if (!work) {
280 work->dev = priv->dev;
281 INIT_WORK(&work->work, ipoib_vlan_delete_task);
282 queue_work(ipoib_workqueue, &work->work);