Lines Matching refs:BME_LOCKED
956 * drbd_rs_begin_io() - Gets an extent in the resync LRU cache and sets it to BME_LOCKED
975 if (test_bit(BME_LOCKED, &bm_ext->flags))
1001 set_bit(BME_LOCKED, &bm_ext->flags);
1011 * tries to set it to BME_LOCKED. Returns 0 upon success, and -EAGAIN
1025 * not yet BME_LOCKED) extent needs to be kicked out explicitly if we
1050 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags));
1067 if (test_bit(BME_LOCKED, &bm_ext->flags))
1073 * but then could not set BME_LOCKED,
1100 D_ASSERT(device, test_bit(BME_LOCKED, &bm_ext->flags) == 0);
1112 set_bit(BME_LOCKED, &bm_ext->flags);
1121 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags));
1163 bm_ext->flags = 0; /* clear BME_LOCKED, BME_NO_WRITES and BME_PRIORITY */
1172 * drbd_rs_cancel_all() - Removes all extents from the resync LRU (even BME_LOCKED)
1215 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags));
1228 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags));