Home
last modified time | relevance | path

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

/drivers/md/
Dmd-bitmap.c455 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb()
457 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb()
478 write_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
487 if (!bitmap || !bitmap->storage.sb_page) in md_bitmap_print_sb()
489 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_print_sb()
527 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in md_bitmap_new_disk_sb()
528 if (bitmap->storage.sb_page == NULL) in md_bitmap_new_disk_sb()
530 bitmap->storage.sb_page->index = 0; in md_bitmap_new_disk_sb()
532 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_new_disk_sb()
590 struct page *sb_page; in md_bitmap_read_sb() local
[all …]
Ddm-raid.c855 rs->dev[i].rdev.sb_page = alloc_page(GFP_KERNEL); in parse_dev_params()
856 if (!rs->dev[i].rdev.sb_page) { in parse_dev_params()
1006 !rs->dev[i].rdev.sb_page) in validate_raid_redundancy()
1050 if ((!rs->dev[i].rdev.sb_page || in validate_raid_redundancy()
1076 if ((!rs->dev[i].rdev.sb_page || in validate_raid_redundancy()
2049 BUG_ON(!rdev->sb_page); in read_disk_sb()
2056 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) { in read_disk_sb()
2108 BUG_ON(!rdev->sb_page); in super_sync()
2110 sb = page_address(rdev->sb_page); in super_sync()
2191 sb = page_address(rdev->sb_page); in super_load()
[all …]
Dmd-bitmap.h202 struct page *sb_page; /* cached copy of the bitmap member
Dmd.c824 rdev->sb_page = alloc_page(GFP_KERNEL); in alloc_disk_sb()
825 if (!rdev->sb_page) in alloc_disk_sb()
832 if (rdev->sb_page) { in md_rdev_clear()
833 put_page(rdev->sb_page); in md_rdev_clear()
835 rdev->sb_page = NULL; in md_rdev_clear()
952 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) in read_disk_sb()
1125 sb = page_address(rdev->sb_page); in super_90_load()
1174 mdp_super_t *refsb = page_address(refdev->sb_page); in super_90_load()
1215 mdp_super_t *sb = page_address(rdev->sb_page); in super_90_validate()
1362 sb = page_address(rdev->sb_page); in super_90_sync()
[all …]
Dmd-cluster.c464 sb = page_address(rdev->sb_page); in process_suspend_info()
1191 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size()
1222 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size()
1401 struct mdp_superblock_1 *sb = page_address(rdev->sb_page); in add_new_disk()
Dmd.h53 struct page *sb_page, *bb_page; member
Draid10.c4276 sb = page_address(rdev->sb_page); in raid10_start_reshape()
4585 sb = page_address(rdev->sb_page); in reshape_request()
/drivers/md/bcache/
Dsuper.c1352 static int register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() argument
1366 bio_first_bvec_all(&dc->sb_bio)->bv_page = sb_page; in register_bdev()
1367 get_page(sb_page); in register_bdev()
2259 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() argument
2271 bio_first_bvec_all(&ca->sb_bio)->bv_page = sb_page; in register_cache()
2272 get_page(sb_page); in register_cache()
2377 struct page *sb_page = NULL; in register_bcache() local
2420 err = read_super(sb, bdev, &sb_page); in register_bcache()
2432 ret = register_bdev(sb, sb_page, bdev, dc); in register_bcache()
2444 if (register_cache(sb, sb_page, bdev, ca) != 0) in register_bcache()
[all …]