Lines Matching defs:sectorsize
108 static int test_find_delalloc(u32 sectorsize)
162 set_extent_bit(tmp, 0, sectorsize - 1, EXTENT_DELALLOC, NULL);
171 if (start != 0 || end != (sectorsize - 1)) {
173 sectorsize - 1, start, end);
193 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL);
221 test_start = max_bytes + sectorsize;
486 static int test_eb_bitmaps(u32 sectorsize, u32 nodesize)
495 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);
522 * Test again for case where the tree block is sectorsize aligned but
525 eb = __alloc_dummy_extent_buffer(fs_info, sectorsize, nodesize);
691 static int test_eb_mem_ops(u32 sectorsize, u32 nodesize)
700 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);
791 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize)
797 ret = test_find_delalloc(sectorsize);
805 ret = test_eb_bitmaps(sectorsize, nodesize);
809 ret = test_eb_mem_ops(sectorsize, nodesize);