Home
last modified time | relevance | path

Searched refs:bm_ext (Results 1 – 2 of 2) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c211 struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); in find_active_resync_extent() local
212 if (test_bit(BME_NO_WRITES, &bm_ext->flags)) in find_active_resync_extent()
213 return bm_ext; in find_active_resync_extent()
221 struct bm_extent *bm_ext; in _al_get() local
225 bm_ext = find_active_resync_extent(device, enr); in _al_get()
226 if (bm_ext) { in _al_get()
227 wake = !test_and_set_bit(BME_PRIORITY, &bm_ext->flags); in _al_get()
523 struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); in drbd_al_begin_io_nonblock() local
524 if (test_bit(BME_NO_WRITES, &bm_ext->flags)) { in drbd_al_begin_io_nonblock()
525 if (!test_and_set_bit(BME_PRIORITY, &bm_ext->flags)) in drbd_al_begin_io_nonblock()
[all …]
Ddrbd_receiver.c2726 struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); in drbd_rs_should_slow_down() local
2727 if (test_bit(BME_PRIORITY, &bm_ext->flags)) in drbd_rs_should_slow_down()