Home
last modified time | relevance | path

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

/linux-6.6.21/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()
135 device->md_io.done = 0; in _drbd_md_sync_page_io()
136 device->md_io.error = -ENODEV; in _drbd_md_sync_page_io()
146 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.c1967 atomic_set(&device->md_io.in_use, 0); in drbd_init_set_defaults()
2221 __free_page(device->md_io.page); in drbd_destroy_device()
2734 device->md_io.page = alloc_page(GFP_KERNEL); in drbd_create_device()
2735 if (!device->md_io.page) in drbd_create_device()
2821 __free_page(device->md_io.page); in drbd_create_device()
Ddrbd_debugfs.c141 tmp = device->md_io; in seq_print_resource_pending_meta_io()
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_int.h870 struct drbd_md_io md_io; member