Home
last modified time | relevance | path

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

/Linux-v5.4/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.c817 rdev->sb_page = alloc_page(GFP_KERNEL); in alloc_disk_sb()
818 if (!rdev->sb_page) in alloc_disk_sb()
825 if (rdev->sb_page) { in md_rdev_clear()
826 put_page(rdev->sb_page); in md_rdev_clear()
828 rdev->sb_page = NULL; in md_rdev_clear()
945 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) in read_disk_sb()
1117 sb = page_address(rdev->sb_page); in super_90_load()
1155 mdp_super_t *refsb = page_address(refdev->sb_page); in super_90_load()
1195 mdp_super_t *sb = page_address(rdev->sb_page); in super_90_validate()
1342 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.c4277 sb = page_address(rdev->sb_page); in raid10_start_reshape()
4586 sb = page_address(rdev->sb_page); in reshape_request()
/Linux-v5.4/drivers/md/bcache/
Dsuper.c1329 static int register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() argument
1343 bio_first_bvec_all(&dc->sb_bio)->bv_page = sb_page; in register_bdev()
1344 get_page(sb_page); in register_bdev()
2236 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() argument
2248 bio_first_bvec_all(&ca->sb_bio)->bv_page = sb_page; in register_cache()
2249 get_page(sb_page); in register_cache()
2354 struct page *sb_page = NULL; in register_bcache() local
2397 err = read_super(sb, bdev, &sb_page); in register_bcache()
2409 ret = register_bdev(sb, sb_page, bdev, dc); in register_bcache()
2421 if (register_cache(sb, sb_page, bdev, ca) != 0) in register_bcache()
[all …]