Lines Matching defs:cb
204 struct osd_callback_struct *cb = container_of(work,
207 (cb->callback)(cb->data);
208 kfree(cb);
215 struct osd_callback_struct *cb;
217 cb = kmalloc(sizeof(*cb), GFP_KERNEL);
218 if (!cb) {
223 cb->callback = func;
224 cb->data = data;
225 INIT_WORK(&cb->work, osd_callback_work);
226 return queue_work(wq, &cb->work);