Home
last modified time | relevance | path

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

/fs/adfs/
Ddir_f.c62 ({ int _buf = idx >> blocksize_bits; \
63 int _off = idx - (_buf << blocksize_bits);\
68 ({ int _buf = idx >> blocksize_bits; \
69 int _off = idx - (_buf << blocksize_bits);\
74 ({ int _buf = _idx >> blocksize_bits; \
75 int _off = _idx - (_buf << blocksize_bits);\
88 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte() local
146 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_dir_read() local
156 size >>= blocksize_bits; in adfs_dir_read()
419 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_f_update() local
/fs/ntfs/
Daops.c199 unsigned char blocksize_bits; in ntfs_read_block() local
209 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
232 iblock = (s64)page->index << (PAGE_CACHE_SHIFT - blocksize_bits); in ntfs_read_block()
234 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
242 zblock = (init_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
262 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block()
264 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block()
282 + vcn_ofs) >> blocksize_bits; in ntfs_read_block()
566 unsigned char blocksize_bits; in ntfs_write_block() local
578 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()
[all …]
Dfile.c605 unsigned char blocksize_bits; in ntfs_prepare_pages_for_non_resident_write() local
624 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_prepare_pages_for_non_resident_write()
726 blocksize_bits)) + in ntfs_prepare_pages_for_non_resident_write()
727 (bh_cofs >> blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
863 blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
1176 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
Dmft.c477 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_sync_mft_mirror() local
563 vcn_ofs) >> blocksize_bits; in ntfs_sync_mft_mirror()
674 unsigned char blocksize_bits = vol->sb->s_blocksize_bits; in write_mft_record_nolock() local
747 vcn_ofs) >> blocksize_bits; in write_mft_record_nolock()
/fs/udf/
Ddirectory.c54 unsigned char blocksize_bits = dir->i_sb->s_blocksize_bits; in udf_fileident_read() local
64 if ((*offset << blocksize_bits) >= *elen) in udf_fileident_read()
75 if (!(*offset & ((16 >> (blocksize_bits - 9)) - 1))) { in udf_fileident_read()
76 i = 16 >> (blocksize_bits - 9); in udf_fileident_read()
77 if (i + *offset > (*elen >> blocksize_bits)) in udf_fileident_read()
78 i = (*elen >> blocksize_bits)-*offset; in udf_fileident_read()
Dinode.c926 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() local
933 blocksize - 1) >> blocksize_bits; in udf_split_extents()
953 (offset << blocksize_bits); in udf_split_extents()
959 (offset << blocksize_bits); in udf_split_extents()
978 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
1087 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_merge_extents() local
1099 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents()
1117 blocksize_bits); in udf_merge_extents()
1137 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
1171 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
[all …]
/fs/btrfs/
Dfile-item.c525 u32 blocksize_bits = root->fs_info->sb->s_blocksize_bits; in truncate_one_csum() local
539 u32 new_size = (bytenr - key->offset) >> blocksize_bits; in truncate_one_csum()
550 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
576 int blocksize_bits = root->fs_info->sb->s_blocksize_bits; in btrfs_del_csums() local
611 csum_end <<= blocksize_bits; in btrfs_del_csums()
647 offset = (bytenr - key.offset) >> blocksize_bits; in btrfs_del_csums()
650 shift_len = (len >> blocksize_bits) * csum_size; in btrfs_del_csums()
/fs/fat/
Dcache.c315 const unsigned char blocksize_bits = sb->s_blocksize_bits; in fat_bmap() local
329 last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in fat_bmap()
339 >> blocksize_bits; in fat_bmap()
/fs/
Dlibfs.c997 int generic_check_addressable(unsigned blocksize_bits, u64 num_blocks) in generic_check_addressable() argument
1001 last_fs_block >> (PAGE_CACHE_SHIFT - blocksize_bits); in generic_check_addressable()
1006 if ((blocksize_bits < 9) || (blocksize_bits > PAGE_CACHE_SHIFT)) in generic_check_addressable()
1009 if ((last_fs_block > (sector_t)(~0ULL) >> (blocksize_bits - 9)) || in generic_check_addressable()
/fs/ext4/
Dmballoc.c2366 static struct kmem_cache *get_groupinfo_cache(int blocksize_bits) in get_groupinfo_cache() argument
2368 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache()
2571 int blocksize_bits = order_base_2(size); in ext4_groupinfo_create_slab() local
2572 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab()
2588 bb_counters[blocksize_bits + 2]); in ext4_groupinfo_create_slab()
/fs/ocfs2/
Daops.c523 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in ocfs2_direct_IO_get_blocks() local
611 bh_result->b_size = contig_blocks << blocksize_bits; in ocfs2_direct_IO_get_blocks()