Lines Matching refs:nodesize
486 static int test_eb_bitmaps(u32 sectorsize, u32 nodesize) in test_eb_bitmaps() argument
495 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_bitmaps()
501 bitmap = kmalloc(nodesize, GFP_KERNEL); in test_eb_bitmaps()
508 eb = __alloc_dummy_extent_buffer(fs_info, 0, nodesize); in test_eb_bitmaps()
525 eb = __alloc_dummy_extent_buffer(fs_info, sectorsize, nodesize); in test_eb_bitmaps()
691 static int test_eb_mem_ops(u32 sectorsize, u32 nodesize) in test_eb_mem_ops() argument
700 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in test_eb_mem_ops()
706 memory = kvzalloc(nodesize, GFP_KERNEL); in test_eb_mem_ops()
713 eb = __alloc_dummy_extent_buffer(fs_info, SZ_1M, nodesize); in test_eb_mem_ops()
759 if (nodesize > PAGE_SIZE) { in test_eb_mem_ops()
791 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize) in btrfs_test_extent_io() argument
805 ret = test_eb_bitmaps(sectorsize, nodesize); in btrfs_test_extent_io()
809 ret = test_eb_mem_ops(sectorsize, nodesize); in btrfs_test_extent_io()