Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/ !
Dbitmap.c489 if (!bitmap->sb_page) { /* no superblock */ in bitmap_update_sb()
494 sb = kmap_atomic(bitmap->sb_page, KM_USER0); in bitmap_update_sb()
505 write_page(bitmap, bitmap->sb_page, 1); in bitmap_update_sb()
513 if (!bitmap || !bitmap->sb_page) in bitmap_print_sb()
515 sb = kmap_atomic(bitmap->sb_page, KM_USER0); in bitmap_print_sb()
551 bitmap->sb_page = read_page(bitmap->file, 0, bitmap, bytes); in bitmap_read_sb()
553 bitmap->sb_page = read_sb_page(bitmap->mddev, in bitmap_read_sb()
558 if (IS_ERR(bitmap->sb_page)) { in bitmap_read_sb()
559 err = PTR_ERR(bitmap->sb_page); in bitmap_read_sb()
560 bitmap->sb_page = NULL; in bitmap_read_sb()
[all …]
Dbitmap.h219 struct page *sb_page; /* cached copy of the bitmap file superblock */ member
Dmd.c736 if (rdev->sb_page) in alloc_disk_sb()
739 rdev->sb_page = alloc_page(GFP_KERNEL); in alloc_disk_sb()
740 if (!rdev->sb_page) { in alloc_disk_sb()
750 if (rdev->sb_page) { in free_disk_sb()
751 put_page(rdev->sb_page); in free_disk_sb()
753 rdev->sb_page = NULL; in free_disk_sb()
847 if (!rdev->sb_page) { in read_disk_sb()
855 if (!sync_page_io(rdev, 0, size, rdev->sb_page, READ, true)) in read_disk_sb()
1025 sb = (mdp_super_t*)page_address(rdev->sb_page); in super_90_load()
1064 mdp_super_t *refsb = (mdp_super_t*)page_address(refdev->sb_page); in super_90_load()
[all …]
Dmd.h51 struct page *sb_page; member