Home
last modified time | relevance | path

Searched refs:block_size_bits (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/fs/ntfs/
Dinode.h95 u8 block_size_bits; /* Log2 of the above. */ member
103 u8 block_size_bits; /* Log2 of the size of a cb. */ member
Dlogfile.c720 unsigned block_size, block_size_bits; in ntfs_empty_logfile() local
737 block_size_bits = sb->s_blocksize_bits; in ntfs_empty_logfile()
780 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_empty_logfile()
785 block_size_bits; in ntfs_empty_logfile()
Dcompress.c472 unsigned char block_size_bits = sb->s_blocksize_bits; in ntfs_read_compressed_block() local
491 >> ni->itype.compressed.block_size_bits; in ntfs_read_compressed_block()
634 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_read_compressed_block()
636 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block()
Dinode.c388 ni->itype.index.block_size_bits = 0; in __ntfs_init_inode()
863 ni->itype.index.block_size_bits = in ntfs_read_locked_inode()
976 ni->itype.index.block_size_bits)) { in ntfs_read_locked_inode()
1084 ni->itype.compressed.block_size_bits = in ntfs_read_locked_inode()
1094 ni->itype.compressed.block_size_bits = in ntfs_read_locked_inode()
1366 ni->itype.compressed.block_size_bits = in ntfs_read_locked_attr_inode()
1374 ni->itype.compressed.block_size_bits = 0; in ntfs_read_locked_attr_inode()
1574 ni->itype.index.block_size_bits = ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_index_inode()
1672 if ((bvi_size << 3) < (vi->i_size >> ni->itype.index.block_size_bits)) { in ntfs_read_locked_index_inode()
1780 ni->itype.index.block_size_bits = vol->mft_record_size_bits; in ntfs_read_inode_mount()
Dattrib.c732 unsigned char block_size_bits; in load_attribute_list() local
744 block_size_bits = sb->s_blocksize_bits; in load_attribute_list()
764 block = lcn << vol->cluster_size_bits >> block_size_bits; in load_attribute_list()
767 block_size_bits); in load_attribute_list()
1731 ni->itype.compressed.block_size_bits = in ntfs_attr_make_non_resident()
1738 ni->itype.compressed.block_size_bits = 0; in ntfs_attr_make_non_resident()
Ddir.c1229 bmp_pos = ia_pos >> ndir->itype.index.block_size_bits; in ntfs_readdir()
1270 ndir->itype.index.block_size_bits; in ntfs_readdir()
Daops.c948 rec_size_bits = ni->itype.index.block_size_bits; in ntfs_write_mst_block()
Dmft.c2662 ni->itype.index.block_size_bits = ntfs_ffs(4096) - 1; in ntfs_mft_record_alloc()
Dsuper.c1065 tmp_ni->itype.index.block_size_bits = vol->mft_record_size_bits; in load_and_init_mft_mirror()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c736 int block_size_bits; in convert_tiling_flags_to_modifier() local
747 block_size_bits = 8; in convert_tiling_flags_to_modifier()
751 block_size_bits = 12; in convert_tiling_flags_to_modifier()
756 block_size_bits = 16; in convert_tiling_flags_to_modifier()
759 block_size_bits = 18; in convert_tiling_flags_to_modifier()
802 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
806 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
807 packers = min(block_size_bits - 8 - pipe_xor_bits, in convert_tiling_flags_to_modifier()
811 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
816 pipe_xor_bits = min(block_size_bits - 8, pipes + in convert_tiling_flags_to_modifier()
[all …]
/linux-6.6.21/drivers/md/
Ddm-writecache.c156 unsigned char block_size_bits; member
400 return (char *)wc->block_start + (e->index << wc->block_size_bits); in memory_data()
406 ((sector_t)e->index << (wc->block_size_bits - SECTOR_SHIFT)); in cache_sector()
1375 wc->stats.reads += (bio->bi_iter.bi_size - wc->block_size) >> wc->block_size_bits; in writecache_map_read()
1425 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_bio_copy_ssd()
1426 wc->stats.writes_allocate += (bio->bi_iter.bi_size - wc->block_size) >> wc->block_size_bits; in writecache_bio_copy_ssd()
1445 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1473 wc->stats.writes_around += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1474 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1527 wc->stats.discards += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_discard()
[all …]
/linux-6.6.21/fs/
Dbuffer.c1762 static inline int block_size_bits(unsigned int blocksize) in block_size_bits() function
1836 bbits = block_size_bits(blocksize); in __block_write_full_folio()
2101 bbits = block_size_bits(blocksize); in __block_write_begin_int()
2382 bbits = block_size_bits(blocksize); in block_read_full_folio()