Lines Matching defs:work
1023 * Each state change queues an "after_state_ch" work, which will eventually
1025 * between queuing and processing of the after_state_ch work, we still
1723 /* this will only work if DRBD_FF_WSAME is set AND the
3493 struct bm_io_work *work = &device->bm_io_work;
3496 if (work->flags != BM_LOCKED_CHANGE_ALLOWED) {
3500 cnt, work->why);
3504 drbd_bm_lock(device, work->why, work->flags);
3505 rv = work->io_fn(device);
3513 if (work->done)
3514 work->done(device, rv);
3517 work->why = NULL;
3518 work->flags = 0;
3533 * work is still pending!