Lines Matching refs:nodesize
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()
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()
521 bitmap = kmalloc(nodesize, GFP_KERNEL); in test_eb_bitmaps()
528 eb = __alloc_dummy_extent_buffer(fs_info, 0, nodesize); 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()
726 memory = kvzalloc(nodesize, GFP_KERNEL); in test_eb_mem_ops()
733 eb = __alloc_dummy_extent_buffer(fs_info, SZ_1M, nodesize); in test_eb_mem_ops()
779 if (nodesize > PAGE_SIZE) { 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()