Searched refs:blocksize_bits (Results 1 – 10 of 10) sorted by relevance
47 ({ 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() local144 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_f_read() local
179 unsigned char blocksize_bits; in ntfs_read_block() local189 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()546 unsigned char blocksize_bits; in ntfs_write_block() local558 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()[all …]
588 unsigned char blocksize_bits; in ntfs_prepare_pages_for_non_resident_write() local607 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_prepare_pages_for_non_resident_write()709 blocksize_bits)) + in ntfs_prepare_pages_for_non_resident_write()710 (bh_cofs >> blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()845 blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()1158 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
466 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_sync_mft_mirror() local554 vcn_ofs) >> blocksize_bits; in ntfs_sync_mft_mirror()665 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in write_mft_record_nolock() local742 vcn_ofs) >> blocksize_bits; in write_mft_record_nolock()
56 unsigned char blocksize_bits = dir->i_sb->s_blocksize_bits; in udf_fileident_read() local66 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()
919 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() local926 blocksize - 1) >> blocksize_bits; in udf_split_extents()946 (offset << blocksize_bits); in udf_split_extents()952 (offset << blocksize_bits); in udf_split_extents()971 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()1079 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_merge_extents() local1091 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents()1114 blocksize - 1) >> blocksize_bits); in udf_merge_extents()1148 blocksize - 1) >> blocksize_bits); in udf_merge_extents()1684 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_update_inode() local[all …]
754 u32 blocksize_bits = fs_info->sectorsize_bits; in truncate_one_csum() local758 csum_end <<= blocksize_bits; in truncate_one_csum()768 u32 new_size = (bytenr - key->offset) >> blocksize_bits; in truncate_one_csum()779 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()806 u32 blocksize_bits = fs_info->sectorsize_bits; in btrfs_del_csums() local842 csum_end <<= blocksize_bits; in btrfs_del_csums()904 offset = (bytenr - key.offset) >> blocksize_bits; in btrfs_del_csums()907 shift_len = (len >> blocksize_bits) * csum_size; in btrfs_del_csums()
338 const unsigned char blocksize_bits = sb->s_blocksize_bits; in is_exceed_eof() local340 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof()350 >> blocksize_bits; in is_exceed_eof()
1161 int generic_check_addressable(unsigned blocksize_bits, u64 num_blocks) in generic_check_addressable() argument1165 last_fs_block >> (PAGE_SHIFT - blocksize_bits); in generic_check_addressable()1170 if ((blocksize_bits < 9) || (blocksize_bits > PAGE_SHIFT)) in generic_check_addressable()1173 if ((last_fs_block > (sector_t)(~0ULL) >> (blocksize_bits - 9)) || in generic_check_addressable()
2913 unsigned char blocksize_bits = min_t(unsigned char, in ext4_mb_seq_groups_show() local2927 i = (blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show()2951 seq_printf(seq, " %-5u", i <= blocksize_bits + 1 ? in ext4_mb_seq_groups_show()3122 static struct kmem_cache *get_groupinfo_cache(int blocksize_bits) in get_groupinfo_cache() argument3124 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache()3349 int blocksize_bits = order_base_2(size); in ext4_groupinfo_create_slab() local3350 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab()3366 bb_counters[blocksize_bits + 2]); in ext4_groupinfo_create_slab()