md_io              87 drivers/block/drbd/drbd_actlog.c 		   (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 ||
md_io              93 drivers/block/drbd/drbd_actlog.c 	device->md_io.current_use = intent;
md_io              94 drivers/block/drbd/drbd_actlog.c 	device->md_io.start_jif = jiffies;
md_io              95 drivers/block/drbd/drbd_actlog.c 	device->md_io.submit_jif = device->md_io.start_jif - 1;
md_io              96 drivers/block/drbd/drbd_actlog.c 	return page_address(device->md_io.page);
md_io             101 drivers/block/drbd/drbd_actlog.c 	if (atomic_dec_and_test(&device->md_io.in_use))
md_io             134 drivers/block/drbd/drbd_actlog.c 	device->md_io.done = 0;
md_io             135 drivers/block/drbd/drbd_actlog.c 	device->md_io.error = -ENODEV;
md_io             145 drivers/block/drbd/drbd_actlog.c 	if (bio_add_page(bio, device->md_io.page, size, 0) != size)
md_io             162 drivers/block/drbd/drbd_actlog.c 	atomic_inc(&device->md_io.in_use); /* drbd_md_put_buffer() is in the completion handler */
md_io             163 drivers/block/drbd/drbd_actlog.c 	device->md_io.submit_jif = jiffies;
md_io             168 drivers/block/drbd/drbd_actlog.c 	wait_until_done_or_force_detached(device, bdev, &device->md_io.done);
md_io             170 drivers/block/drbd/drbd_actlog.c 		err = device->md_io.error;
md_io             181 drivers/block/drbd/drbd_actlog.c 	D_ASSERT(device, atomic_read(&device->md_io.in_use) == 1);
md_io             141 drivers/block/drbd/drbd_debugfs.c 		tmp = device->md_io;
md_io             941 drivers/block/drbd/drbd_int.h 	struct drbd_md_io md_io;
md_io            1989 drivers/block/drbd/drbd_main.c 	atomic_set(&device->md_io.in_use, 0);
md_io            2254 drivers/block/drbd/drbd_main.c 	__free_page(device->md_io.page);
md_io            2837 drivers/block/drbd/drbd_main.c 	device->md_io.page = alloc_page(GFP_KERNEL);
md_io            2838 drivers/block/drbd/drbd_main.c 	if (!device->md_io.page)
md_io            2922 drivers/block/drbd/drbd_main.c 	__free_page(device->md_io.page);
md_io              54 drivers/block/drbd/drbd_worker.c 	device->md_io.error = blk_status_to_errno(bio->bi_status);
md_io              73 drivers/block/drbd/drbd_worker.c 	device->md_io.done = 1;