Home
last modified time | relevance | path

Searched refs:blocksize_bits (Results 1 – 10 of 10) 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_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.c905 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() local
912 blocksize - 1) >> blocksize_bits; in udf_split_extents()
932 (offset << blocksize_bits); in udf_split_extents()
938 (offset << blocksize_bits); in udf_split_extents()
957 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
1066 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_merge_extents() local
1078 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents()
1096 blocksize_bits); in udf_merge_extents()
1116 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
1150 blocksize - 1) >> blocksize_bits); in udf_merge_extents()
[all …]
/fs/btrfs/
Dfile-item.c562 u32 blocksize_bits = root->fs_info->sb->s_blocksize_bits; in truncate_one_csum() local
576 u32 new_size = (bytenr - key->offset) >> blocksize_bits; in truncate_one_csum()
587 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
613 int blocksize_bits = root->fs_info->sb->s_blocksize_bits; in btrfs_del_csums() local
648 csum_end <<= blocksize_bits; in btrfs_del_csums()
684 offset = (bytenr - key.offset) >> blocksize_bits; in btrfs_del_csums()
687 shift_len = (len >> blocksize_bits) * csum_size; in btrfs_del_csums()
/fs/fat/
Dcache.c332 const unsigned char blocksize_bits = sb->s_blocksize_bits; in is_exceed_eof() local
334 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof()
344 >> blocksize_bits; in is_exceed_eof()
/fs/
Dlibfs.c1027 int generic_check_addressable(unsigned blocksize_bits, u64 num_blocks) in generic_check_addressable() argument
1031 last_fs_block >> (PAGE_SHIFT - blocksize_bits); in generic_check_addressable()
1036 if ((blocksize_bits < 9) || (blocksize_bits > PAGE_SHIFT)) in generic_check_addressable()
1039 if ((last_fs_block > (sector_t)(~0ULL) >> (blocksize_bits - 9)) || in generic_check_addressable()
/fs/ext4/
Dmballoc.c2361 static struct kmem_cache *get_groupinfo_cache(int blocksize_bits) in get_groupinfo_cache() argument
2363 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache()
2550 int blocksize_bits = order_base_2(size); in ext4_groupinfo_create_slab() local
2551 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab()
2567 bb_counters[blocksize_bits + 2]); in ext4_groupinfo_create_slab()