Home
last modified time | relevance | path

Searched refs:md_io (Results 1 – 5 of 5) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c87 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 || in drbd_md_get_buffer()
93 device->md_io.current_use = intent; in drbd_md_get_buffer()
94 device->md_io.start_jif = jiffies; in drbd_md_get_buffer()
95 device->md_io.submit_jif = device->md_io.start_jif - 1; in drbd_md_get_buffer()
96 return page_address(device->md_io.page); in drbd_md_get_buffer()
101 if (atomic_dec_and_test(&device->md_io.in_use)) in drbd_md_put_buffer()
134 device->md_io.done = 0; in _drbd_md_sync_page_io()
135 device->md_io.error = -ENODEV; in _drbd_md_sync_page_io()
145 if (bio_add_page(bio, device->md_io.page, size, 0) != size) in _drbd_md_sync_page_io()
162 atomic_inc(&device->md_io.in_use); /* drbd_md_put_buffer() is in the completion handler */ in _drbd_md_sync_page_io()
[all …]
Ddrbd_main.c1996 atomic_set(&device->md_io.in_use, 0); in drbd_init_set_defaults()
2255 __free_page(device->md_io.page); in drbd_destroy_device()
2773 device->md_io.page = alloc_page(GFP_KERNEL); in drbd_create_device()
2774 if (!device->md_io.page) in drbd_create_device()
2856 __free_page(device->md_io.page); in drbd_create_device()
Ddrbd_worker.c55 device->md_io.error = blk_status_to_errno(bio->bi_status); in drbd_md_endio()
74 device->md_io.done = 1; in drbd_md_endio()
Ddrbd_debugfs.c141 tmp = device->md_io; in seq_print_resource_pending_meta_io()
Ddrbd_int.h940 struct drbd_md_io md_io; member