Lines Matching refs:other_bitmap_lockres
68 struct dlm_lock_resource **other_bitmap_lockres; member
1481 cinfo->other_bitmap_lockres = in lock_all_bitmaps()
1484 if (!cinfo->other_bitmap_lockres) { in lock_all_bitmaps()
1496 cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1); in lock_all_bitmaps()
1497 if (!cinfo->other_bitmap_lockres[i]) in lock_all_bitmaps()
1500 cinfo->other_bitmap_lockres[i]->flags |= DLM_LKF_NOQUEUE; in lock_all_bitmaps()
1501 ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW); in lock_all_bitmaps()
1516 if (cinfo->other_bitmap_lockres) { in unlock_all_bitmaps()
1518 if (cinfo->other_bitmap_lockres[i]) { in unlock_all_bitmaps()
1519 lockres_free(cinfo->other_bitmap_lockres[i]); in unlock_all_bitmaps()
1522 kfree(cinfo->other_bitmap_lockres); in unlock_all_bitmaps()
1523 cinfo->other_bitmap_lockres = NULL; in unlock_all_bitmaps()