Home
last modified time | relevance | path

Searched refs:other_bitmap_lockres (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Dmd-cluster.c68 struct dlm_lock_resource **other_bitmap_lockres; member
1490 cinfo->other_bitmap_lockres = in lock_all_bitmaps()
1493 if (!cinfo->other_bitmap_lockres) { in lock_all_bitmaps()
1505 cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1); in lock_all_bitmaps()
1506 if (!cinfo->other_bitmap_lockres[i]) in lock_all_bitmaps()
1509 cinfo->other_bitmap_lockres[i]->flags |= DLM_LKF_NOQUEUE; in lock_all_bitmaps()
1510 ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW); in lock_all_bitmaps()
1525 if (cinfo->other_bitmap_lockres) { in unlock_all_bitmaps()
1527 if (cinfo->other_bitmap_lockres[i]) { in unlock_all_bitmaps()
1528 lockres_free(cinfo->other_bitmap_lockres[ in unlock_all_bitmaps()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Dmd-cluster.c68 struct dlm_lock_resource **other_bitmap_lockres; member
1491 cinfo->other_bitmap_lockres = in lock_all_bitmaps()
1494 if (!cinfo->other_bitmap_lockres) { in lock_all_bitmaps()
1506 cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1); in lock_all_bitmaps()
1507 if (!cinfo->other_bitmap_lockres[i]) in lock_all_bitmaps()
1510 cinfo->other_bitmap_lockres[i]->flags |= DLM_LKF_NOQUEUE; in lock_all_bitmaps()
1511 ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW); in lock_all_bitmaps()
1526 if (cinfo->other_bitmap_lockres) { in unlock_all_bitmaps()
1528 if (cinfo->other_bitmap_lockres[i]) { in unlock_all_bitmaps()
1529 lockres_free(cinfo->other_bitmap_lockres[ in unlock_all_bitmaps()
[all...]

Completed in 5 milliseconds