Home
last modified time | relevance | path

Searched refs:sb_page (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
Dmd-bitmap.c445 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb()
447 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb()
468 write_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
477 if (!bitmap || !bitmap->storage.sb_page) in md_bitmap_print_sb()
479 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_print_sb()
517 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in md_bitmap_new_disk_sb()
518 if (bitmap->storage.sb_page == NULL) in md_bitmap_new_disk_sb()
520 bitmap->storage.sb_page->index = 0; in md_bitmap_new_disk_sb()
522 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_new_disk_sb()
580 struct page *sb_page; in md_bitmap_read_sb() local
[all …]
Ddm-raid.c858 rs->dev[i].rdev.sb_page = alloc_page(GFP_KERNEL); in parse_dev_params()
859 if (!rs->dev[i].rdev.sb_page) { in parse_dev_params()
1010 !rs->dev[i].rdev.sb_page))) in validate_raid_redundancy()
1055 if ((!rs->dev[i].rdev.sb_page || in validate_raid_redundancy()
1081 if ((!rs->dev[i].rdev.sb_page || in validate_raid_redundancy()
2034 BUG_ON(!rdev->sb_page); in read_disk_sb()
2041 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) { in read_disk_sb()
2093 BUG_ON(!rdev->sb_page); in super_sync()
2095 sb = page_address(rdev->sb_page); in super_sync()
2176 sb = page_address(rdev->sb_page); in super_load()
[all …]
Dmd-bitmap.h202 struct page *sb_page; /* cached copy of the bitmap member
Dmd.c913 rdev->sb_page = alloc_page(GFP_KERNEL); in alloc_disk_sb()
914 if (!rdev->sb_page) in alloc_disk_sb()
921 if (rdev->sb_page) { in md_rdev_clear()
922 put_page(rdev->sb_page); in md_rdev_clear()
924 rdev->sb_page = NULL; in md_rdev_clear()
1044 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) in read_disk_sb()
1218 sb = page_address(rdev->sb_page); in super_90_load()
1267 mdp_super_t *refsb = page_address(refdev->sb_page); in super_90_load()
1309 mdp_super_t *sb = page_address(rdev->sb_page); in super_90_validate()
1456 sb = page_address(rdev->sb_page); in super_90_sync()
[all …]
Dmd-cluster.c464 sb = page_address(rdev->sb_page); in process_suspend_info()
1197 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size()
1228 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size()
1407 struct mdp_superblock_1 *sb = page_address(rdev->sb_page); in add_new_disk()
Dmd.h63 struct page *sb_page, *bb_page; member
Draid10.c4658 sb = page_address(rdev->sb_page); in raid10_start_reshape()
4963 sb = page_address(rdev->sb_page); in reshape_request()