Lines Matching refs:sectorsize
109 static int test_find_delalloc(u32 sectorsize, u32 nodesize) in test_find_delalloc() argument
127 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_find_delalloc()
180 set_extent_bit(tmp, 0, sectorsize - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
189 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc()
191 sectorsize - 1, start, end); in test_find_delalloc()
211 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
239 test_start = max_bytes + sectorsize; in test_find_delalloc()
506 static int test_eb_bitmaps(u32 sectorsize, u32 nodesize) in test_eb_bitmaps() argument
515 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_bitmaps()
545 eb = __alloc_dummy_extent_buffer(fs_info, sectorsize, nodesize); in test_eb_bitmaps()
711 static int test_eb_mem_ops(u32 sectorsize, u32 nodesize) in test_eb_mem_ops() argument
720 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_mem_ops()
811 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize) in btrfs_test_extent_io() argument
817 ret = test_find_delalloc(sectorsize, nodesize); in btrfs_test_extent_io()
825 ret = test_eb_bitmaps(sectorsize, nodesize); in btrfs_test_extent_io()
829 ret = test_eb_mem_ops(sectorsize, nodesize); in btrfs_test_extent_io()