Lines Matching refs:sectorsize
109 static int test_find_delalloc(u32 sectorsize, u32 nodesize) in test_find_delalloc() argument
126 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_find_delalloc()
179 btrfs_set_extent_bit(tmp, 0, sectorsize - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
188 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc()
190 sectorsize - 1, start, end); in test_find_delalloc()
210 btrfs_set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
238 test_start = max_bytes + sectorsize; in test_find_delalloc()
505 static int test_eb_bitmaps(u32 sectorsize, u32 nodesize) in test_eb_bitmaps() argument
514 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_bitmaps()
544 eb = alloc_dummy_extent_buffer(fs_info, sectorsize); in test_eb_bitmaps()
710 static int test_eb_mem_ops(u32 sectorsize, u32 nodesize) in test_eb_mem_ops() argument
719 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_mem_ops()
810 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize) in btrfs_test_extent_io() argument
816 ret = test_find_delalloc(sectorsize, nodesize); in btrfs_test_extent_io()
824 ret = test_eb_bitmaps(sectorsize, nodesize); in btrfs_test_extent_io()
828 ret = test_eb_mem_ops(sectorsize, nodesize); in btrfs_test_extent_io()