Lines Matching refs:BME_LOCKED
1117 * drbd_rs_begin_io() - Gets an extent in the resync LRU cache and sets it to BME_LOCKED
1134 if (test_bit(BME_LOCKED, &bm_ext->flags))
1152 set_bit(BME_LOCKED, &bm_ext->flags);
1163 * tries to set it to BME_LOCKED. Returns 0 upon success, and -EAGAIN
1192 D_ASSERT(!test_bit(BME_LOCKED, &bm_ext->flags));
1207 if (test_bit(BME_LOCKED, &bm_ext->flags))
1213 * but then could not set BME_LOCKED,
1240 D_ASSERT(test_bit(BME_LOCKED, &bm_ext->flags) == 0);
1254 set_bit(BME_LOCKED, &bm_ext->flags);
1293 clear_bit(BME_LOCKED, &bm_ext->flags);
1303 * drbd_rs_cancel_all() - Removes all extents from the resync LRU (even BME_LOCKED)
1346 D_ASSERT(!test_bit(BME_LOCKED, &bm_ext->flags));
1359 D_ASSERT(!test_bit(BME_LOCKED, &bm_ext->flags));