Searched refs:sb_page (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/md/ |
D | md-bitmap.c | 454 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb() 456 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb() 477 write_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb() 486 if (!bitmap || !bitmap->storage.sb_page) in md_bitmap_print_sb() 488 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_print_sb() 526 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in md_bitmap_new_disk_sb() 527 if (bitmap->storage.sb_page == NULL) in md_bitmap_new_disk_sb() 529 bitmap->storage.sb_page->index = 0; in md_bitmap_new_disk_sb() 531 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_new_disk_sb() 589 struct page *sb_page; in md_bitmap_read_sb() local [all …]
|
D | dm-raid.c | 855 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 …]
|
D | md-bitmap.h | 202 struct page *sb_page; /* cached copy of the bitmap member
|
D | md.c | 755 rdev->sb_page = alloc_page(GFP_KERNEL); in alloc_disk_sb() 756 if (!rdev->sb_page) in alloc_disk_sb() 763 if (rdev->sb_page) { in md_rdev_clear() 764 put_page(rdev->sb_page); in md_rdev_clear() 766 rdev->sb_page = NULL; in md_rdev_clear() 883 if (!sync_page_io(rdev, 0, size, rdev->sb_page, REQ_OP_READ, 0, true)) in read_disk_sb() 1055 sb = page_address(rdev->sb_page); in super_90_load() 1093 mdp_super_t *refsb = page_address(refdev->sb_page); in super_90_load() 1134 mdp_super_t *sb = page_address(rdev->sb_page); in super_90_validate() 1279 sb = page_address(rdev->sb_page); in super_90_sync() [all …]
|
D | md-cluster.c | 1119 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size() 1150 sb = kmap_atomic(bitmap->storage.sb_page); in cluster_check_sync_size() 1326 struct mdp_superblock_1 *sb = page_address(rdev->sb_page); in add_new_disk()
|
D | md.h | 60 struct page *sb_page, *bb_page; member
|
/Linux-v4.19/drivers/md/bcache/ |
D | super.c | 1280 static void register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() argument 1293 bio_first_bvec_all(&dc->sb_bio)->bv_page = sb_page; in register_bdev() 1294 get_page(sb_page); in register_bdev() 2092 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() argument 2104 bio_first_bvec_all(&ca->sb_bio)->bv_page = sb_page; in register_cache() 2105 get_page(sb_page); in register_cache() 2198 struct page *sb_page = NULL; in register_bcache() local 2236 err = read_super(sb, bdev, &sb_page); in register_bcache() 2248 register_bdev(sb, sb_page, bdev, dc); in register_bcache() 2256 if (register_cache(sb, sb_page, bdev, ca) != 0) in register_bcache() [all …]
|