sblock 238 drivers/md/dm-cache-metadata.c struct dm_block **sblock) sblock 241 drivers/md/dm-cache-metadata.c &sb_validator, sblock); sblock 245 drivers/md/dm-cache-metadata.c struct dm_block **sblock) sblock 248 drivers/md/dm-cache-metadata.c &sb_validator, sblock); sblock 252 drivers/md/dm-cache-metadata.c struct dm_block **sblock) sblock 255 drivers/md/dm-cache-metadata.c &sb_validator, sblock); sblock 335 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 355 drivers/md/dm-cache-metadata.c r = superblock_lock_zero(cmd, &sblock); sblock 359 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 387 drivers/md/dm-cache-metadata.c return dm_tm_commit(cmd->tm, sblock); sblock 468 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 472 drivers/md/dm-cache-metadata.c r = superblock_read_lock(cmd, &sblock); sblock 478 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 507 drivers/md/dm-cache-metadata.c dm_bm_unlock(sblock); sblock 512 drivers/md/dm-cache-metadata.c dm_bm_unlock(sblock); sblock 615 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 617 drivers/md/dm-cache-metadata.c r = superblock_lock(cmd, &sblock); sblock 621 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 624 drivers/md/dm-cache-metadata.c dm_bm_unlock(sblock); sblock 633 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 639 drivers/md/dm-cache-metadata.c r = superblock_read_lock(cmd, &sblock); sblock 643 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 645 drivers/md/dm-cache-metadata.c dm_bm_unlock(sblock); sblock 655 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 682 drivers/md/dm-cache-metadata.c r = superblock_lock(cmd, &sblock); sblock 686 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 712 drivers/md/dm-cache-metadata.c return dm_tm_commit(cmd->tm, sblock); sblock 1774 drivers/md/dm-cache-metadata.c struct dm_block *sblock; sblock 1780 drivers/md/dm-cache-metadata.c r = superblock_lock(cmd, &sblock); sblock 1786 drivers/md/dm-cache-metadata.c disk_super = dm_block_data(sblock); sblock 1789 drivers/md/dm-cache-metadata.c dm_bm_unlock(sblock); sblock 237 drivers/md/dm-clone-metadata.c struct dm_block *sblock; sblock 244 drivers/md/dm-clone-metadata.c r = dm_bm_read_lock(bm, SUPERBLOCK_LOCATION, NULL, &sblock); sblock 250 drivers/md/dm-clone-metadata.c data_le = dm_block_data(sblock); sblock 263 drivers/md/dm-clone-metadata.c dm_bm_unlock(sblock); sblock 274 drivers/md/dm-clone-metadata.c struct dm_block **sblock) sblock 276 drivers/md/dm-clone-metadata.c return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); sblock 280 drivers/md/dm-clone-metadata.c struct dm_block **sblock) sblock 282 drivers/md/dm-clone-metadata.c return dm_bm_write_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); sblock 286 drivers/md/dm-clone-metadata.c struct dm_block **sblock) sblock 288 drivers/md/dm-clone-metadata.c return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); sblock 327 drivers/md/dm-clone-metadata.c struct dm_block *sblock; sblock 330 drivers/md/dm-clone-metadata.c r = superblock_read_lock(cmd, &sblock); sblock 337 drivers/md/dm-clone-metadata.c sb = dm_block_data(sblock); sblock 361 drivers/md/dm-clone-metadata.c dm_bm_unlock(sblock); sblock 369 drivers/md/dm-clone-metadata.c struct dm_block *sblock; sblock 406 drivers/md/dm-clone-metadata.c r = superblock_write_lock_zero(cmd, &sblock); sblock 412 drivers/md/dm-clone-metadata.c sb = dm_block_data(sblock); sblock 414 drivers/md/dm-clone-metadata.c r = dm_tm_commit(cmd->tm, sblock); sblock 697 drivers/md/dm-clone-metadata.c struct dm_block *sblock; sblock 722 drivers/md/dm-clone-metadata.c r = superblock_write_lock_zero(cmd, &sblock); sblock 729 drivers/md/dm-clone-metadata.c sb = dm_block_data(sblock); sblock 733 drivers/md/dm-clone-metadata.c r = dm_tm_commit(cmd->tm, sblock); sblock 301 drivers/md/dm-era-target.c struct dm_block **sblock) sblock 304 drivers/md/dm-era-target.c &sb_validator, sblock); sblock 308 drivers/md/dm-era-target.c struct dm_block **sblock) sblock 311 drivers/md/dm-era-target.c &sb_validator, sblock); sblock 315 drivers/md/dm-era-target.c struct dm_block **sblock) sblock 318 drivers/md/dm-era-target.c &sb_validator, sblock); sblock 514 drivers/md/dm-era-target.c struct dm_block *sblock; sblock 523 drivers/md/dm-era-target.c r = superblock_lock_zero(md, &sblock); sblock 527 drivers/md/dm-era-target.c disk = dm_block_data(sblock); sblock 530 drivers/md/dm-era-target.c return dm_tm_commit(md->tm, sblock); sblock 557 drivers/md/dm-era-target.c struct dm_block *sblock; sblock 560 drivers/md/dm-era-target.c r = superblock_read_lock(md, &sblock); sblock 566 drivers/md/dm-era-target.c disk = dm_block_data(sblock); sblock 587 drivers/md/dm-era-target.c dm_bm_unlock(sblock); sblock 592 drivers/md/dm-era-target.c dm_bm_unlock(sblock); sblock 952 drivers/md/dm-era-target.c struct dm_block *sblock; sblock 975 drivers/md/dm-era-target.c r = superblock_lock(md, &sblock); sblock 981 drivers/md/dm-era-target.c prepare_superblock(md, dm_block_data(sblock)); sblock 983 drivers/md/dm-era-target.c return dm_tm_commit(md->tm, sblock); sblock 412 drivers/md/dm-thin-metadata.c struct dm_block **sblock) sblock 415 drivers/md/dm-thin-metadata.c &sb_validator, sblock); sblock 419 drivers/md/dm-thin-metadata.c struct dm_block **sblock) sblock 422 drivers/md/dm-thin-metadata.c &sb_validator, sblock); sblock 527 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 546 drivers/md/dm-thin-metadata.c r = superblock_lock_zero(pmd, &sblock); sblock 550 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 567 drivers/md/dm-thin-metadata.c return dm_tm_commit(pmd->tm, sblock); sblock 655 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 659 drivers/md/dm-thin-metadata.c &sb_validator, &sblock); sblock 665 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 705 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 715 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 765 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 772 drivers/md/dm-thin-metadata.c &sb_validator, &sblock); sblock 776 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 784 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 827 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 862 drivers/md/dm-thin-metadata.c r = superblock_lock(pmd, &sblock); sblock 866 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 875 drivers/md/dm-thin-metadata.c return dm_tm_commit(pmd->tm, sblock); sblock 1278 drivers/md/dm-thin-metadata.c struct dm_block *copy, *sblock; sblock 1332 drivers/md/dm-thin-metadata.c r = superblock_lock(pmd, &sblock); sblock 1338 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 1340 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 1360 drivers/md/dm-thin-metadata.c struct dm_block *sblock, *copy; sblock 1363 drivers/md/dm-thin-metadata.c r = superblock_lock(pmd, &sblock); sblock 1367 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 1371 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 1409 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 1412 drivers/md/dm-thin-metadata.c &sb_validator, &sblock); sblock 1416 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 1419 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 2081 drivers/md/dm-thin-metadata.c struct dm_block *sblock; sblock 2090 drivers/md/dm-thin-metadata.c r = superblock_lock(pmd, &sblock); sblock 2096 drivers/md/dm-thin-metadata.c disk_super = dm_block_data(sblock); sblock 2099 drivers/md/dm-thin-metadata.c dm_bm_unlock(sblock); sblock 273 fs/bfs/dir.c int block, sblock, eblock, off, pos; sblock 283 fs/bfs/dir.c sblock = BFS_I(dir)->i_sblock; sblock 285 fs/bfs/dir.c for (block = sblock; block <= eblock; block++) { sblock 292 fs/bfs/dir.c pos = (block - sblock) * BFS_BSIZE + off; sblock 63 fs/btrfs/scrub.c struct scrub_block *sblock; sblock 215 fs/btrfs/scrub.c struct scrub_block *sblock, sblock 217 fs/btrfs/scrub.c static void scrub_recheck_block_checksum(struct scrub_block *sblock); sblock 223 fs/btrfs/scrub.c static void scrub_write_block_to_dev_replace(struct scrub_block *sblock); sblock 224 fs/btrfs/scrub.c static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, sblock 226 fs/btrfs/scrub.c static int scrub_checksum_data(struct scrub_block *sblock); sblock 227 fs/btrfs/scrub.c static int scrub_checksum_tree_block(struct scrub_block *sblock); sblock 228 fs/btrfs/scrub.c static int scrub_checksum_super(struct scrub_block *sblock); sblock 229 fs/btrfs/scrub.c static void scrub_block_get(struct scrub_block *sblock); sblock 230 fs/btrfs/scrub.c static void scrub_block_put(struct scrub_block *sblock); sblock 243 fs/btrfs/scrub.c static void scrub_block_complete(struct scrub_block *sblock); sblock 551 fs/btrfs/scrub.c scrub_block_put(sbio->pagev[i]->sblock); sblock 729 fs/btrfs/scrub.c static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) sblock 746 fs/btrfs/scrub.c WARN_ON(sblock->page_count < 1); sblock 747 fs/btrfs/scrub.c dev = sblock->pagev[0]->dev; sblock 748 fs/btrfs/scrub.c fs_info = sblock->sctx->fs_info; sblock 754 fs/btrfs/scrub.c swarn.physical = sblock->pagev[0]->physical; sblock 755 fs/btrfs/scrub.c swarn.logical = sblock->pagev[0]->logical; sblock 1199 fs/btrfs/scrub.c struct scrub_block *sblock = sblocks_for_recheck + sblock 1204 fs/btrfs/scrub.c for (page_index = 0; page_index < sblock->page_count; sblock 1206 fs/btrfs/scrub.c sblock->pagev[page_index]->sblock = NULL; sblock 1207 fs/btrfs/scrub.c recover = sblock->pagev[page_index]->recover; sblock 1210 fs/btrfs/scrub.c sblock->pagev[page_index]->recover = sblock 1213 fs/btrfs/scrub.c scrub_page_put(sblock->pagev[page_index]); sblock 1328 fs/btrfs/scrub.c struct scrub_block *sblock; sblock 1331 fs/btrfs/scrub.c sblock = sblocks_for_recheck + mirror_index; sblock 1332 fs/btrfs/scrub.c sblock->sctx = sctx; sblock 1344 fs/btrfs/scrub.c sblock->pagev[page_index] = page; sblock 1345 fs/btrfs/scrub.c page->sblock = sblock; sblock 1374 fs/btrfs/scrub.c sblock->page_count++; sblock 1408 fs/btrfs/scrub.c mirror_num = page->sblock->pagev[0]->mirror_num; sblock 1420 fs/btrfs/scrub.c struct scrub_block *sblock) sblock 1422 fs/btrfs/scrub.c struct scrub_page *first_page = sblock->pagev[0]; sblock 1434 fs/btrfs/scrub.c for (page_num = 0; page_num < sblock->page_count; page_num++) { sblock 1435 fs/btrfs/scrub.c struct scrub_page *page = sblock->pagev[page_num]; sblock 1448 fs/btrfs/scrub.c scrub_recheck_block_checksum(sblock); sblock 1452 fs/btrfs/scrub.c for (page_num = 0; page_num < sblock->page_count; page_num++) sblock 1453 fs/btrfs/scrub.c sblock->pagev[page_num]->io_error = 1; sblock 1455 fs/btrfs/scrub.c sblock->no_io_error_seen = 0; sblock 1466 fs/btrfs/scrub.c struct scrub_block *sblock, sblock 1471 fs/btrfs/scrub.c sblock->no_io_error_seen = 1; sblock 1474 fs/btrfs/scrub.c if (!retry_failed_mirror && scrub_is_page_on_raid56(sblock->pagev[0])) sblock 1475 fs/btrfs/scrub.c return scrub_recheck_block_on_raid56(fs_info, sblock); sblock 1477 fs/btrfs/scrub.c for (page_num = 0; page_num < sblock->page_count; page_num++) { sblock 1479 fs/btrfs/scrub.c struct scrub_page *page = sblock->pagev[page_num]; sblock 1483 fs/btrfs/scrub.c sblock->no_io_error_seen = 0; sblock 1497 fs/btrfs/scrub.c sblock->no_io_error_seen = 0; sblock 1503 fs/btrfs/scrub.c if (sblock->no_io_error_seen) sblock 1504 fs/btrfs/scrub.c scrub_recheck_block_checksum(sblock); sblock 1517 fs/btrfs/scrub.c static void scrub_recheck_block_checksum(struct scrub_block *sblock) sblock 1519 fs/btrfs/scrub.c sblock->header_error = 0; sblock 1520 fs/btrfs/scrub.c sblock->checksum_error = 0; sblock 1521 fs/btrfs/scrub.c sblock->generation_error = 0; sblock 1523 fs/btrfs/scrub.c if (sblock->pagev[0]->flags & BTRFS_EXTENT_FLAG_DATA) sblock 1524 fs/btrfs/scrub.c scrub_checksum_data(sblock); sblock 1526 fs/btrfs/scrub.c scrub_checksum_tree_block(sblock); sblock 1593 fs/btrfs/scrub.c static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) sblock 1595 fs/btrfs/scrub.c struct btrfs_fs_info *fs_info = sblock->sctx->fs_info; sblock 1602 fs/btrfs/scrub.c if (sblock->sparity) sblock 1605 fs/btrfs/scrub.c for (page_num = 0; page_num < sblock->page_count; page_num++) { sblock 1608 fs/btrfs/scrub.c ret = scrub_write_page_to_dev_replace(sblock, page_num); sblock 1614 fs/btrfs/scrub.c static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, sblock 1617 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[page_num]; sblock 1627 fs/btrfs/scrub.c return scrub_add_page_to_wr_bio(sblock->sctx, spage); sblock 1754 fs/btrfs/scrub.c static int scrub_checksum(struct scrub_block *sblock) sblock 1767 fs/btrfs/scrub.c sblock->header_error = 0; sblock 1768 fs/btrfs/scrub.c sblock->generation_error = 0; sblock 1769 fs/btrfs/scrub.c sblock->checksum_error = 0; sblock 1771 fs/btrfs/scrub.c WARN_ON(sblock->page_count < 1); sblock 1772 fs/btrfs/scrub.c flags = sblock->pagev[0]->flags; sblock 1775 fs/btrfs/scrub.c ret = scrub_checksum_data(sblock); sblock 1777 fs/btrfs/scrub.c ret = scrub_checksum_tree_block(sblock); sblock 1779 fs/btrfs/scrub.c (void)scrub_checksum_super(sblock); sblock 1783 fs/btrfs/scrub.c scrub_handle_errored_block(sblock); sblock 1788 fs/btrfs/scrub.c static int scrub_checksum_data(struct scrub_block *sblock) sblock 1790 fs/btrfs/scrub.c struct scrub_ctx *sctx = sblock->sctx; sblock 1800 fs/btrfs/scrub.c BUG_ON(sblock->page_count < 1); sblock 1801 fs/btrfs/scrub.c if (!sblock->pagev[0]->have_csum) sblock 1807 fs/btrfs/scrub.c on_disk_csum = sblock->pagev[0]->csum; sblock 1808 fs/btrfs/scrub.c page = sblock->pagev[0]->page; sblock 1822 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); sblock 1823 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); sblock 1824 fs/btrfs/scrub.c page = sblock->pagev[index]->page; sblock 1830 fs/btrfs/scrub.c sblock->checksum_error = 1; sblock 1832 fs/btrfs/scrub.c return sblock->checksum_error; sblock 1835 fs/btrfs/scrub.c static int scrub_checksum_tree_block(struct scrub_block *sblock) sblock 1837 fs/btrfs/scrub.c struct scrub_ctx *sctx = sblock->sctx; sblock 1853 fs/btrfs/scrub.c BUG_ON(sblock->page_count < 1); sblock 1854 fs/btrfs/scrub.c page = sblock->pagev[0]->page; sblock 1864 fs/btrfs/scrub.c if (sblock->pagev[0]->logical != btrfs_stack_header_bytenr(h)) sblock 1865 fs/btrfs/scrub.c sblock->header_error = 1; sblock 1867 fs/btrfs/scrub.c if (sblock->pagev[0]->generation != btrfs_stack_header_generation(h)) { sblock 1868 fs/btrfs/scrub.c sblock->header_error = 1; sblock 1869 fs/btrfs/scrub.c sblock->generation_error = 1; sblock 1872 fs/btrfs/scrub.c if (!scrub_check_fsid(h->fsid, sblock->pagev[0])) sblock 1873 fs/btrfs/scrub.c sblock->header_error = 1; sblock 1877 fs/btrfs/scrub.c sblock->header_error = 1; sblock 1892 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); sblock 1893 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); sblock 1894 fs/btrfs/scrub.c page = sblock->pagev[index]->page; sblock 1902 fs/btrfs/scrub.c sblock->checksum_error = 1; sblock 1904 fs/btrfs/scrub.c return sblock->header_error || sblock->checksum_error; sblock 1907 fs/btrfs/scrub.c static int scrub_checksum_super(struct scrub_block *sblock) sblock 1910 fs/btrfs/scrub.c struct scrub_ctx *sctx = sblock->sctx; sblock 1927 fs/btrfs/scrub.c BUG_ON(sblock->page_count < 1); sblock 1928 fs/btrfs/scrub.c page = sblock->pagev[0]->page; sblock 1933 fs/btrfs/scrub.c if (sblock->pagev[0]->logical != btrfs_super_bytenr(s)) sblock 1936 fs/btrfs/scrub.c if (sblock->pagev[0]->generation != btrfs_super_generation(s)) sblock 1939 fs/btrfs/scrub.c if (!scrub_check_fsid(s->fsid, sblock->pagev[0])) sblock 1955 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); sblock 1956 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); sblock 1957 fs/btrfs/scrub.c page = sblock->pagev[index]->page; sblock 1977 fs/btrfs/scrub.c btrfs_dev_stat_inc_and_print(sblock->pagev[0]->dev, sblock 1980 fs/btrfs/scrub.c btrfs_dev_stat_inc_and_print(sblock->pagev[0]->dev, sblock 1987 fs/btrfs/scrub.c static void scrub_block_get(struct scrub_block *sblock) sblock 1989 fs/btrfs/scrub.c refcount_inc(&sblock->refs); sblock 1992 fs/btrfs/scrub.c static void scrub_block_put(struct scrub_block *sblock) sblock 1994 fs/btrfs/scrub.c if (refcount_dec_and_test(&sblock->refs)) { sblock 1997 fs/btrfs/scrub.c if (sblock->sparity) sblock 1998 fs/btrfs/scrub.c scrub_parity_put(sblock->sparity); sblock 2000 fs/btrfs/scrub.c for (i = 0; i < sblock->page_count; i++) sblock 2001 fs/btrfs/scrub.c scrub_page_put(sblock->pagev[i]); sblock 2002 fs/btrfs/scrub.c kfree(sblock); sblock 2036 fs/btrfs/scrub.c struct scrub_block *sblock = spage->sblock; sblock 2097 fs/btrfs/scrub.c scrub_block_get(sblock); /* one for the page added to the bio */ sblock 2098 fs/btrfs/scrub.c atomic_inc(&sblock->outstanding_pages); sblock 2108 fs/btrfs/scrub.c struct scrub_block *sblock = bio->bi_private; sblock 2109 fs/btrfs/scrub.c struct btrfs_fs_info *fs_info = sblock->sctx->fs_info; sblock 2112 fs/btrfs/scrub.c sblock->no_io_error_seen = 0; sblock 2116 fs/btrfs/scrub.c btrfs_queue_work(fs_info->scrub_workers, &sblock->work); sblock 2121 fs/btrfs/scrub.c struct scrub_block *sblock = container_of(work, struct scrub_block, work); sblock 2122 fs/btrfs/scrub.c struct scrub_ctx *sctx = sblock->sctx; sblock 2127 fs/btrfs/scrub.c logical = sblock->pagev[0]->logical; sblock 2128 fs/btrfs/scrub.c dev = sblock->pagev[0]->dev; sblock 2130 fs/btrfs/scrub.c if (sblock->no_io_error_seen) sblock 2131 fs/btrfs/scrub.c scrub_recheck_block_checksum(sblock); sblock 2133 fs/btrfs/scrub.c if (!sblock->no_io_error_seen) { sblock 2140 fs/btrfs/scrub.c } else if (sblock->header_error || sblock->checksum_error) { sblock 2148 fs/btrfs/scrub.c scrub_write_block_to_dev_replace(sblock); sblock 2157 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2161 fs/btrfs/scrub.c static void scrub_missing_raid56_pages(struct scrub_block *sblock) sblock 2163 fs/btrfs/scrub.c struct scrub_ctx *sctx = sblock->sctx; sblock 2165 fs/btrfs/scrub.c u64 length = sblock->page_count * PAGE_SIZE; sblock 2166 fs/btrfs/scrub.c u64 logical = sblock->pagev[0]->logical; sblock 2192 fs/btrfs/scrub.c bio->bi_private = sblock; sblock 2199 fs/btrfs/scrub.c for (i = 0; i < sblock->page_count; i++) { sblock 2200 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[i]; sblock 2205 fs/btrfs/scrub.c btrfs_init_work(&sblock->work, scrub_missing_raid56_worker, NULL, NULL); sblock 2206 fs/btrfs/scrub.c scrub_block_get(sblock); sblock 2226 fs/btrfs/scrub.c struct scrub_block *sblock; sblock 2229 fs/btrfs/scrub.c sblock = kzalloc(sizeof(*sblock), GFP_KERNEL); sblock 2230 fs/btrfs/scrub.c if (!sblock) { sblock 2239 fs/btrfs/scrub.c refcount_set(&sblock->refs, 1); sblock 2240 fs/btrfs/scrub.c sblock->sctx = sctx; sblock 2241 fs/btrfs/scrub.c sblock->no_io_error_seen = 1; sblock 2253 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2258 fs/btrfs/scrub.c sblock->pagev[index] = spage; sblock 2259 fs/btrfs/scrub.c spage->sblock = sblock; sblock 2273 fs/btrfs/scrub.c sblock->page_count++; sblock 2283 fs/btrfs/scrub.c WARN_ON(sblock->page_count == 0); sblock 2289 fs/btrfs/scrub.c scrub_missing_raid56_pages(sblock); sblock 2291 fs/btrfs/scrub.c for (index = 0; index < sblock->page_count; index++) { sblock 2292 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[index]; sblock 2297 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2307 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2334 fs/btrfs/scrub.c spage->sblock->no_io_error_seen = 0; sblock 2341 fs/btrfs/scrub.c struct scrub_block *sblock = spage->sblock; sblock 2343 fs/btrfs/scrub.c if (atomic_dec_and_test(&sblock->outstanding_pages)) sblock 2344 fs/btrfs/scrub.c scrub_block_complete(sblock); sblock 2345 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2407 fs/btrfs/scrub.c static void scrub_block_complete(struct scrub_block *sblock) sblock 2411 fs/btrfs/scrub.c if (!sblock->no_io_error_seen) { sblock 2413 fs/btrfs/scrub.c scrub_handle_errored_block(sblock); sblock 2420 fs/btrfs/scrub.c corrupted = scrub_checksum(sblock); sblock 2421 fs/btrfs/scrub.c if (!corrupted && sblock->sctx->is_dev_replace) sblock 2422 fs/btrfs/scrub.c scrub_write_block_to_dev_replace(sblock); sblock 2425 fs/btrfs/scrub.c if (sblock->sparity && corrupted && !sblock->data_corrected) { sblock 2426 fs/btrfs/scrub.c u64 start = sblock->pagev[0]->logical; sblock 2427 fs/btrfs/scrub.c u64 end = sblock->pagev[sblock->page_count - 1]->logical + sblock 2430 fs/btrfs/scrub.c scrub_parity_mark_sectors_error(sblock->sparity, sblock 2531 fs/btrfs/scrub.c struct scrub_block *sblock; sblock 2534 fs/btrfs/scrub.c sblock = kzalloc(sizeof(*sblock), GFP_KERNEL); sblock 2535 fs/btrfs/scrub.c if (!sblock) { sblock 2544 fs/btrfs/scrub.c refcount_set(&sblock->refs, 1); sblock 2545 fs/btrfs/scrub.c sblock->sctx = sctx; sblock 2546 fs/btrfs/scrub.c sblock->no_io_error_seen = 1; sblock 2547 fs/btrfs/scrub.c sblock->sparity = sparity; sblock 2560 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2566 fs/btrfs/scrub.c sblock->pagev[index] = spage; sblock 2570 fs/btrfs/scrub.c spage->sblock = sblock; sblock 2583 fs/btrfs/scrub.c sblock->page_count++; sblock 2592 fs/btrfs/scrub.c WARN_ON(sblock->page_count == 0); sblock 2593 fs/btrfs/scrub.c for (index = 0; index < sblock->page_count; index++) { sblock 2594 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[index]; sblock 2599 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 2605 fs/btrfs/scrub.c scrub_block_put(sblock); sblock 158 fs/efs/super.c efs_block_t sblock = 0; /* shuts up gcc */ sblock 216 fs/efs/super.c sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); sblock 227 fs/efs/super.c sblock); sblock 230 fs/efs/super.c return sblock;