Lines Matching refs:other_bitmap_lockres
70 struct dlm_lock_resource **other_bitmap_lockres; member
1545 cinfo->other_bitmap_lockres = in lock_all_bitmaps()
1548 if (!cinfo->other_bitmap_lockres) { in lock_all_bitmaps()
1560 cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1); in lock_all_bitmaps()
1561 if (!cinfo->other_bitmap_lockres[i]) in lock_all_bitmaps()
1564 cinfo->other_bitmap_lockres[i]->flags |= DLM_LKF_NOQUEUE; in lock_all_bitmaps()
1565 ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW); in lock_all_bitmaps()
1580 if (cinfo->other_bitmap_lockres) { in unlock_all_bitmaps()
1582 if (cinfo->other_bitmap_lockres[i]) { in unlock_all_bitmaps()
1583 lockres_free(cinfo->other_bitmap_lockres[i]); in unlock_all_bitmaps()
1586 kfree(cinfo->other_bitmap_lockres); in unlock_all_bitmaps()
1587 cinfo->other_bitmap_lockres = NULL; in unlock_all_bitmaps()