Searched refs:sectorsize_bits (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | subpage.c | 247 const int nbits = len >> fs_info->sectorsize_bits; in btrfs_subpage_start_reader() 258 const int nbits = len >> fs_info->sectorsize_bits; in btrfs_subpage_end_reader() 300 const int nbits = (len >> fs_info->sectorsize_bits); in btrfs_subpage_start_writer() 314 const int nbits = (len >> fs_info->sectorsize_bits); in btrfs_subpage_end_and_test_writer() 396 start_bit = offset_in_page(start) >> fs_info->sectorsize_bits; \ 420 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_uptodate() 435 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_uptodate() 449 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_error() 463 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_error() 478 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_dirty() [all …]
|
D | file-item.c | 218 fs_info->sectorsize_bits; in btrfs_lookup_csum() 312 disk_bytenr) >> fs_info->sectorsize_bits; in search_csum_tree() 387 const unsigned int nblocks = orig_len >> fs_info->sectorsize_bits; in btrfs_lookup_bio_sums() 464 fs_info->sectorsize_bits; in btrfs_lookup_bio_sums() 556 offset = (start - key.offset) >> fs_info->sectorsize_bits; in btrfs_lookup_csums_range() 606 offset = (start - key.offset) >> fs_info->sectorsize_bits; in btrfs_lookup_csums_range() 608 size >>= fs_info->sectorsize_bits; in btrfs_lookup_csums_range() 768 u32 blocksize_bits = fs_info->sectorsize_bits; in truncate_one_csum() 820 u32 blocksize_bits = fs_info->sectorsize_bits; in btrfs_del_csums() 1062 fs_info->sectorsize_bits; in btrfs_csum_file_blocks() [all …]
|
D | scrub.c | 1450 u64 length = original_sblock->sector_count << fs_info->sectorsize_bits; in scrub_setup_recheck_block() 2019 const int num_sectors = fs_info->nodesize >> fs_info->sectorsize_bits; in scrub_checksum_tree_block() 2342 u64 length = sblock->sector_count << fs_info->sectorsize_bits; in scrub_missing_raid56_pages() 2537 u32 sectorsize_bits = sparity->sctx->fs_info->sectorsize_bits; in __scrub_mark_bitmap() local 2546 offset = offset >> sectorsize_bits; in __scrub_mark_bitmap() 2547 nsectors = len >> sectorsize_bits; in __scrub_mark_bitmap() 2602 sctx->stat.csum_discards += sum->len >> sctx->fs_info->sectorsize_bits; in drop_csum_range() 2646 index = (logical - sum->bytenr) >> sctx->fs_info->sectorsize_bits; in scrub_find_csum() 2647 num_sectors = sum->len >> sctx->fs_info->sectorsize_bits; in scrub_find_csum() 3276 nsectors = map->stripe_len >> fs_info->sectorsize_bits; in scrub_raid56_parity() [all …]
|
D | free-space-tree.c | 156 return DIV_ROUND_UP(size >> fs_info->sectorsize_bits, BITS_PER_BYTE); in free_space_bitmap_size() 431 nrbits = block_group->length >> block_group->fs_info->sectorsize_bits; in convert_free_space_to_extents() 555 first = (*start - found_start) >> fs_info->sectorsize_bits; in free_space_set_bits() 556 last = (end - found_start) >> fs_info->sectorsize_bits; in free_space_set_bits()
|
D | extent_io.c | 811 const int icsum = bio_offset >> fs_info->sectorsize_bits; in btrfs_repair_one_sector() 925 const int nr_bits = (end + 1 - start) >> fs_info->sectorsize_bits; in submit_data_read_repair() 1158 bytenr >> fs_info->sectorsize_bits); in find_extent_buffer_readpage() 2051 (offset_in_page(orig_start) >> fs_info->sectorsize_bits); in find_next_dirty_byte() 2541 start >> fs_info->sectorsize_bits); in find_extent_buffer_nolock() 2791 int sectors_per_node = fs_info->nodesize >> fs_info->sectorsize_bits; in submit_eb_subpage() 4485 start >> fs_info->sectorsize_bits, eb); in alloc_test_extent_buffer() 4687 start >> fs_info->sectorsize_bits, eb); in alloc_extent_buffer() 4743 eb->start >> fs_info->sectorsize_bits); in release_extent_buffer() 5702 (void **)gang, cur >> fs_info->sectorsize_bits, in get_next_extent_buffer()
|
D | raid56.c | 919 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in alloc_rbio() 1793 fs_info->sectorsize_bits) % rbio->stripe_nsectors; in rbio_add_bio()
|
D | ctree.h | 1005 u32 sectorsize_bits; member 1107 const u64 num_csums = csum_bytes >> fs_info->sectorsize_bits; in btrfs_csum_bytes_to_leaves() 1738 ((bytes) >> (fs_info)->sectorsize_bits)
|
D | compression.c | 558 fs_info->sectorsize_bits; in add_ra_bio_pages()
|
D | disk-io.c | 899 cur_bit += (fs_info->nodesize >> fs_info->sectorsize_bits); in btree_dirty_folio() 3096 fs_info->sectorsize_bits = ilog2(4096); in btrfs_init_fs_info() 3550 fs_info->sectorsize_bits = ilog2(sectorsize); in open_ctree()
|
D | inode.c | 3444 u64 offset_in_sectors = offset >> fs_info->sectorsize_bits; in btrfs_csum_ptr() 3548 root->fs_info->sectorsize_bits; in btrfs_verify_data_csum() 7975 (dio_bio->bi_iter.bi_size >> fs_info->sectorsize_bits); in btrfs_submit_direct() 10125 (fs_info->sectorsize_bits - 12); in btrfs_encoded_io_compression_from_extent() 10623 fs_info->sectorsize_bits) in btrfs_do_encoded_write()
|
D | zoned.c | 1948 block_group->start >> fs_info->sectorsize_bits) { in wait_eb_writebacks()
|
D | super.c | 2337 u32 bits = fs_info->sectorsize_bits; in btrfs_statfs()
|
D | file.c | 1674 release_bytes -= dirty_sectors << fs_info->sectorsize_bits; in btrfs_buffered_write()
|
D | ioctl.c | 1770 inode->root->fs_info->sectorsize_bits; in defrag_one_cluster()
|
/linux-6.1.9/fs/btrfs/tests/ |
D | btrfs-tests.c | 144 fs_info->sectorsize_bits = ilog2(sectorsize); in btrfs_alloc_dummy_fs_info()
|