Lines Matching defs:work
1009 * Each state change queues an "after_state_ch" work, which will eventually
1011 * between queuing and processing of the after_state_ch work, we still
3460 struct bm_io_work *work = &device->bm_io_work;
3463 if (work->flags != BM_LOCKED_CHANGE_ALLOWED) {
3467 cnt, work->why);
3471 drbd_bm_lock(device, work->why, work->flags);
3472 rv = work->io_fn(device, work->peer_device);
3480 if (work->done)
3481 work->done(device, rv);
3484 work->why = NULL;
3485 work->flags = 0;
3501 * work is still pending!