Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/fs/btrfs/
Dfile-item.c835 u32 blocksize_bits = fs_info->sectorsize_bits; in truncate_one_csum() local
839 csum_end <<= blocksize_bits; in truncate_one_csum()
849 u32 new_size = (bytenr - key->offset) >> blocksize_bits; in truncate_one_csum()
860 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
886 u32 blocksize_bits = fs_info->sectorsize_bits; in btrfs_del_csums() local
922 csum_end <<= blocksize_bits; in btrfs_del_csums()
984 offset = (bytenr - key.offset) >> blocksize_bits; in btrfs_del_csums()
987 shift_len = (len >> blocksize_bits) * csum_size; in btrfs_del_csums()
/linux-6.12.1/fs/udf/
Dinode.c950 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() local
957 blocksize - 1) >> blocksize_bits; in udf_split_extents()
977 (offset << blocksize_bits); in udf_split_extents()
983 (offset << blocksize_bits); in udf_split_extents()
1002 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
1110 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_merge_extents() local
1122 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents()
1145 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
1179 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
1731 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_update_inode() local
[all …]
/linux-6.12.1/fs/ext4/
Dmballoc-test.c181 unsigned char blocksize_bits; member
194 sb->s_blocksize = 1UL << layout->blocksize_bits; in mbt_init_sb_layout()
195 sb->s_blocksize_bits = layout->blocksize_bits; in mbt_init_sb_layout()
938 .blocksize_bits = 10,
945 .blocksize_bits = 12,
952 .blocksize_bits = 16,
965 layout->blocksize_bits, layout->cluster_bits, in mbt_show_layout()
Dmballoc.c3037 unsigned char blocksize_bits = min_t(unsigned char, in ext4_mb_seq_groups_show() local
3051 i = (blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show()
3075 seq_printf(seq, " %-5u", i <= blocksize_bits + 1 ? in ext4_mb_seq_groups_show()
3278 static struct kmem_cache *get_groupinfo_cache(int blocksize_bits) in get_groupinfo_cache() argument
3280 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache()
3506 int blocksize_bits = order_base_2(size); in ext4_groupinfo_create_slab() local
3507 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab()
3523 bb_counters[blocksize_bits + 2]); in ext4_groupinfo_create_slab()
/linux-6.12.1/fs/
Dlibfs.c1585 int generic_check_addressable(unsigned blocksize_bits, u64 num_blocks) in generic_check_addressable() argument
1589 last_fs_block >> (PAGE_SHIFT - blocksize_bits); in generic_check_addressable()
1594 if ((blocksize_bits < 9) || (blocksize_bits > PAGE_SHIFT)) in generic_check_addressable()
1597 if ((last_fs_block > (sector_t)(~0ULL) >> (blocksize_bits - 9)) || in generic_check_addressable()