Home
last modified time | relevance | path

Searched refs:blocksize_bits (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/fs/adfs/
Ddir_f.c47 ({ int _buf = idx >> blocksize_bits; \
48 int _off = idx - (_buf << blocksize_bits);\
53 ({ int _buf = idx >> blocksize_bits; \
54 int _off = idx - (_buf << blocksize_bits);\
59 ({ int _buf = _idx >> blocksize_bits; \
60 int _off = _idx - (_buf << blocksize_bits);\
73 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte() local
144 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_f_read() local
/linux-6.1.9/fs/udf/
Ddirectory.c56 unsigned char blocksize_bits = dir->i_sb->s_blocksize_bits; in udf_fileident_read() local
66 if ((*offset << blocksize_bits) >= *elen) in udf_fileident_read()
77 if (!(*offset & ((16 >> (blocksize_bits - 9)) - 1))) { in udf_fileident_read()
78 i = 16 >> (blocksize_bits - 9); in udf_fileident_read()
79 if (i + *offset > (*elen >> blocksize_bits)) in udf_fileident_read()
80 i = (*elen >> blocksize_bits)-*offset; in udf_fileident_read()
Dinode.c915 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() local
922 blocksize - 1) >> blocksize_bits; in udf_split_extents()
942 (offset << blocksize_bits); in udf_split_extents()
948 (offset << blocksize_bits); in udf_split_extents()
967 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
1075 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_merge_extents() local
1087 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents()
1105 blocksize_bits); in udf_merge_extents()
1125 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
1159 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
[all …]
/linux-6.1.9/fs/ntfs/
Daops.c179 unsigned char blocksize_bits; in ntfs_read_block() local
189 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
212 iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); in ntfs_read_block()
214 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
222 zblock = (init_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
242 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block()
244 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block()
262 + vcn_ofs) >> blocksize_bits; in ntfs_read_block()
547 unsigned char blocksize_bits; in ntfs_write_block() local
559 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()
[all …]
Dfile.c584 unsigned char blocksize_bits; in ntfs_prepare_pages_for_non_resident_write() local
603 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_prepare_pages_for_non_resident_write()
705 blocksize_bits)) + in ntfs_prepare_pages_for_non_resident_write()
706 (bh_cofs >> blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
841 blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
1154 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
Dmft.c466 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_sync_mft_mirror() local
554 vcn_ofs) >> blocksize_bits; in ntfs_sync_mft_mirror()
665 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in write_mft_record_nolock() local
742 vcn_ofs) >> blocksize_bits; in write_mft_record_nolock()
/linux-6.1.9/fs/fat/
Dcache.c338 const unsigned char blocksize_bits = sb->s_blocksize_bits; in is_exceed_eof() local
340 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof()
350 >> blocksize_bits; in is_exceed_eof()
/linux-6.1.9/fs/btrfs/
Dfile-item.c768 u32 blocksize_bits = fs_info->sectorsize_bits; in truncate_one_csum() local
772 csum_end <<= blocksize_bits; in truncate_one_csum()
782 u32 new_size = (bytenr - key->offset) >> blocksize_bits; in truncate_one_csum()
793 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
820 u32 blocksize_bits = fs_info->sectorsize_bits; in btrfs_del_csums() local
856 csum_end <<= blocksize_bits; in btrfs_del_csums()
918 offset = (bytenr - key.offset) >> blocksize_bits; in btrfs_del_csums()
921 shift_len = (len >> blocksize_bits) * csum_size; in btrfs_del_csums()
/linux-6.1.9/fs/
Dlibfs.c1189 int generic_check_addressable(unsigned blocksize_bits, u64 num_blocks) in generic_check_addressable() argument
1193 last_fs_block >> (PAGE_SHIFT - blocksize_bits); in generic_check_addressable()
1198 if ((blocksize_bits < 9) || (blocksize_bits > PAGE_SHIFT)) in generic_check_addressable()
1201 if ((last_fs_block > (sector_t)(~0ULL) >> (blocksize_bits - 9)) || in generic_check_addressable()
/linux-6.1.9/fs/ext4/
Dmballoc.c2823 unsigned char blocksize_bits = min_t(unsigned char, in ext4_mb_seq_groups_show() local
2837 i = (blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show()
2859 seq_printf(seq, " %-5u", i <= blocksize_bits + 1 ? in ext4_mb_seq_groups_show()
3019 static struct kmem_cache *get_groupinfo_cache(int blocksize_bits) in get_groupinfo_cache() argument
3021 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache()
3243 int blocksize_bits = order_base_2(size); in ext4_groupinfo_create_slab() local
3244 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab()
3260 bb_counters[blocksize_bits + 2]); in ext4_groupinfo_create_slab()