blkbits 653 drivers/usb/gadget/function/f_mass_storage.c file_offset = ((loff_t) lba) << curlun->blkbits; blkbits 685 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 725 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 799 drivers/usb/gadget/function/f_mass_storage.c file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits; blkbits 822 drivers/usb/gadget/function/f_mass_storage.c usb_offset >> curlun->blkbits; blkbits 864 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 914 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 994 drivers/usb/gadget/function/f_mass_storage.c amount_left = verification_length << curlun->blkbits; blkbits 995 drivers/usb/gadget/function/f_mass_storage.c file_offset = ((loff_t) lba) << curlun->blkbits; blkbits 1021 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 1047 drivers/usb/gadget/function/f_mass_storage.c file_offset >> curlun->blkbits; blkbits 1791 drivers/usb/gadget/function/f_mass_storage.c common->data_size_from_cmnd <<= common->curlun->blkbits; blkbits 187 drivers/usb/gadget/function/storage_common.c unsigned int blkbits; blkbits 233 drivers/usb/gadget/function/storage_common.c blkbits = 11; blkbits 236 drivers/usb/gadget/function/storage_common.c blkbits = blksize_bits(blksize); blkbits 239 drivers/usb/gadget/function/storage_common.c blkbits = 9; blkbits 242 drivers/usb/gadget/function/storage_common.c num_sectors = size >> blkbits; /* File size in logic-block-size blocks */ blkbits 263 drivers/usb/gadget/function/storage_common.c curlun->blkbits = blkbits; blkbits 116 drivers/usb/gadget/function/storage_common.h unsigned int blkbits; /* Bits of logical block size blkbits 2551 fs/buffer.c const unsigned blkbits = inode->i_blkbits; blkbits 2552 fs/buffer.c const unsigned blocksize = 1 << blkbits; blkbits 2599 fs/buffer.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); blkbits 70 fs/direct-io.c unsigned blkbits; /* doesn't change */ blkbits 673 fs/direct-io.c unsigned int i_blkbits = sdio->blkbits + sdio->blkfactor; blkbits 733 fs/direct-io.c sector = start_sector << (sdio->blkbits - 9); blkbits 763 fs/direct-io.c (sdio->cur_page_len >> sdio->blkbits); blkbits 865 fs/direct-io.c (sdio->cur_page_len >> sdio->blkbits) == blocknr) { blkbits 886 fs/direct-io.c sdio->cur_page_fs_offset = sdio->block_in_file << sdio->blkbits; blkbits 936 fs/direct-io.c this_chunk_bytes = this_chunk_blocks << sdio->blkbits; blkbits 965 fs/direct-io.c const unsigned blkbits = sdio->blkbits; blkbits 966 fs/direct-io.c const unsigned i_blkbits = blkbits + sdio->blkfactor; blkbits 1003 fs/direct-io.c map_bh->b_size >> blkbits; blkbits 1050 fs/direct-io.c 1 << blkbits); blkbits 1052 fs/direct-io.c i_size_aligned >> blkbits) { blkbits 1057 fs/direct-io.c zero_user(page, from, 1 << blkbits); blkbits 1059 fs/direct-io.c from += 1 << blkbits; blkbits 1060 fs/direct-io.c dio->result += 1 << blkbits; blkbits 1077 fs/direct-io.c u = (to - from) >> blkbits; blkbits 1083 fs/direct-io.c this_chunk_bytes = this_chunk_blocks << blkbits; blkbits 1170 fs/direct-io.c unsigned blkbits = i_blkbits; blkbits 1171 fs/direct-io.c unsigned blocksize_mask = (1 << blkbits) - 1; blkbits 1189 fs/direct-io.c blkbits = blksize_bits(bdev_logical_block_size(bdev)); blkbits 1190 fs/direct-io.c blocksize_mask = (1 << blkbits) - 1; blkbits 1296 fs/direct-io.c sdio.blkbits = blkbits; blkbits 1297 fs/direct-io.c sdio.blkfactor = i_blkbits - blkbits; blkbits 1298 fs/direct-io.c sdio.block_in_file = offset >> blkbits; blkbits 1313 fs/direct-io.c sdio.final_block_in_request = end >> blkbits; blkbits 809 fs/ext2/inode.c unsigned int blkbits = inode->i_blkbits; blkbits 810 fs/ext2/inode.c unsigned long first_block = offset >> blkbits; blkbits 811 fs/ext2/inode.c unsigned long max_blocks = (length + (1 << blkbits) - 1) >> blkbits; blkbits 824 fs/ext2/inode.c iomap->offset = (u64)first_block << blkbits; blkbits 830 fs/ext2/inode.c iomap->length = 1 << blkbits; blkbits 833 fs/ext2/inode.c iomap->addr = (u64)bno << blkbits; blkbits 834 fs/ext2/inode.c iomap->length = (u64)ret << blkbits; blkbits 279 fs/ext4/ext4.h #define EXT4_BLOCK_ALIGN(size, blkbits) ALIGN((size), (1 << (blkbits))) blkbits 280 fs/ext4/ext4.h #define EXT4_MAX_BLOCKS(size, offset, blkbits) \ blkbits 281 fs/ext4/ext4.h ((EXT4_BLOCK_ALIGN(size + offset, blkbits) >> blkbits) - (offset >> \ blkbits 282 fs/ext4/ext4.h blkbits)) blkbits 4708 fs/ext4/extents.c unsigned int blkbits = inode->i_blkbits; blkbits 4728 fs/ext4/extents.c start = round_up(offset, 1 << blkbits); blkbits 4729 fs/ext4/extents.c end = round_down((offset + len), 1 << blkbits); blkbits 4733 fs/ext4/extents.c partial_begin = offset & ((1 << blkbits) - 1); blkbits 4734 fs/ext4/extents.c partial_end = (offset + len) & ((1 << blkbits) - 1); blkbits 4736 fs/ext4/extents.c lblk = start >> blkbits; blkbits 4737 fs/ext4/extents.c max_blocks = (end >> blkbits); blkbits 4772 fs/ext4/extents.c round_down(offset, 1 << blkbits) >> blkbits, blkbits 4773 fs/ext4/extents.c (round_up((offset + len), 1 << blkbits) - blkbits 4774 fs/ext4/extents.c round_down(offset, 1 << blkbits)) >> blkbits, blkbits 4872 fs/ext4/extents.c unsigned int blkbits = inode->i_blkbits; blkbits 4912 fs/ext4/extents.c lblk = offset >> blkbits; blkbits 4914 fs/ext4/extents.c max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); blkbits 4972 fs/ext4/extents.c unsigned int credits, blkbits = inode->i_blkbits; blkbits 4974 fs/ext4/extents.c map.m_lblk = offset >> blkbits; blkbits 4975 fs/ext4/extents.c max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); blkbits 142 fs/ext4/file.c unsigned int blkbits = inode->i_blkbits; blkbits 148 fs/ext4/file.c map.m_lblk = pos >> blkbits; blkbits 149 fs/ext4/file.c map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); blkbits 2641 fs/ext4/inode.c int blkbits = mpd->inode->i_blkbits; blkbits 2701 fs/ext4/inode.c (PAGE_SHIFT - blkbits); blkbits 3422 fs/ext4/inode.c unsigned int blkbits = inode->i_blkbits; blkbits 3428 fs/ext4/inode.c if ((offset >> blkbits) > EXT4_MAX_LOGICAL_BLOCK) blkbits 3430 fs/ext4/inode.c first_block = offset >> blkbits; blkbits 3431 fs/ext4/inode.c last_block = min_t(loff_t, (offset + length - 1) >> blkbits, blkbits 3519 fs/ext4/inode.c (i_size_read(inode) + (1 << blkbits) - 1) >> blkbits) { blkbits 3546 fs/ext4/inode.c iomap->offset = (u64)first_block << blkbits; blkbits 3547 fs/ext4/inode.c iomap->length = (u64)map.m_len << blkbits; blkbits 3561 fs/ext4/inode.c iomap->addr = (u64)map.m_pblk << blkbits; blkbits 3575 fs/ext4/inode.c int blkbits = inode->i_blkbits; blkbits 3592 fs/ext4/inode.c ALIGN(inode->i_size, 1 << blkbits)) { blkbits 3595 fs/ext4/inode.c written_blk = (offset + written) >> blkbits; blkbits 3596 fs/ext4/inode.c end_blk = (offset + length) >> blkbits; blkbits 453 fs/ext4/move_extent.c unsigned int blkbits = orig_inode->i_blkbits; blkbits 454 fs/ext4/move_extent.c unsigned int blocksize = 1 << blkbits; blkbits 456 fs/ext4/move_extent.c orig_eof = (i_size_read(orig_inode) + blocksize - 1) >> blkbits; blkbits 457 fs/ext4/move_extent.c donor_eof = (i_size_read(donor_inode) + blocksize - 1) >> blkbits; blkbits 233 fs/ext4/readpage.c const unsigned blkbits = inode->i_blkbits; blkbits 234 fs/ext4/readpage.c const unsigned blocks_per_page = PAGE_SIZE >> blkbits; blkbits 235 fs/ext4/readpage.c const unsigned blocksize = 1 << blkbits; blkbits 268 fs/ext4/readpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); blkbits 271 fs/ext4/readpage.c blocksize - 1) >> blkbits; blkbits 345 fs/ext4/readpage.c zero_user_segment(page, first_hole << blkbits, blkbits 387 fs/ext4/readpage.c bio->bi_iter.bi_sector = blocks[0] << (blkbits - 9); blkbits 394 fs/ext4/readpage.c length = first_hole << blkbits; blkbits 2782 fs/ext4/super.c static loff_t ext4_max_size(int blkbits, int has_huge_files) blkbits 2793 fs/ext4/super.c upper_limit >>= (blkbits - 9); blkbits 2794 fs/ext4/super.c upper_limit <<= blkbits; blkbits 2803 fs/ext4/super.c res <<= blkbits; blkbits 1646 fs/f2fs/data.c const unsigned blkbits = inode->i_blkbits; blkbits 1647 fs/f2fs/data.c const unsigned blocksize = 1 << blkbits; blkbits 1657 fs/f2fs/data.c blkbits; blkbits 2751 fs/f2fs/data.c unsigned blkbits = i_blkbits; blkbits 2752 fs/f2fs/data.c unsigned blocksize_mask = (1 << blkbits) - 1; blkbits 2758 fs/f2fs/data.c blkbits = blksize_bits(bdev_logical_block_size(bdev)); blkbits 2759 fs/f2fs/data.c blocksize_mask = (1 << blkbits) - 1; blkbits 3040 fs/f2fs/data.c unsigned blkbits; blkbits 3048 fs/f2fs/data.c blkbits = inode->i_blkbits; blkbits 3049 fs/f2fs/data.c blocks_per_page = PAGE_SIZE >> blkbits; blkbits 3057 fs/f2fs/data.c last_block = i_size_read(inode) >> blkbits; blkbits 3091 fs/f2fs/data.c first_block >>= (PAGE_SHIFT - blkbits); blkbits 887 fs/fuse/dir.c unsigned int blkbits; blkbits 916 fs/fuse/dir.c blkbits = ilog2(attr->blksize); blkbits 918 fs/fuse/dir.c blkbits = inode->i_sb->s_blocksize_bits; blkbits 920 fs/fuse/dir.c stat->blksize = 1 << blkbits; blkbits 201 fs/iomap/direct-io.c unsigned int blkbits = blksize_bits(bdev_logical_block_size(iomap->bdev)); blkbits 211 fs/iomap/direct-io.c if ((pos | length | align) & ((1 << blkbits) - 1)) blkbits 212 fs/isofs/compress.c unsigned int blkbits = ISOFS_BUFFER_BITS(inode); blkbits 213 fs/isofs/compress.c unsigned int blksize = 1 << blkbits; blkbits 238 fs/isofs/compress.c bh = isofs_bread(inode, blockptr >> blkbits); blkbits 251 fs/isofs/compress.c bh = isofs_bread(inode, blockptr >> blkbits); blkbits 160 fs/mpage.c const unsigned blkbits = inode->i_blkbits; blkbits 161 fs/mpage.c const unsigned blocks_per_page = PAGE_SIZE >> blkbits; blkbits 162 fs/mpage.c const unsigned blocksize = 1 << blkbits; blkbits 189 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); blkbits 191 fs/mpage.c last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; blkbits 199 fs/mpage.c nblocks = map_bh->b_size >> blkbits; blkbits 230 fs/mpage.c map_bh->b_size = (last_block-block_in_file) << blkbits; blkbits 262 fs/mpage.c nblocks = map_bh->b_size >> blkbits; blkbits 277 fs/mpage.c zero_user_segment(page, first_hole << blkbits, PAGE_SIZE); blkbits 302 fs/mpage.c if (!bdev_read_page(bdev, blocks[0] << (blkbits - 9), blkbits 306 fs/mpage.c args->bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9), blkbits 314 fs/mpage.c length = first_hole << blkbits; blkbits 321 fs/mpage.c nblocks = map_bh->b_size >> blkbits; blkbits 503 fs/mpage.c const unsigned blkbits = inode->i_blkbits; blkbits 505 fs/mpage.c const unsigned blocks_per_page = PAGE_SIZE >> blkbits; blkbits 575 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); blkbits 576 fs/mpage.c last_block = (i_size - 1) >> blkbits; blkbits 581 fs/mpage.c map_bh.b_size = 1 << blkbits; blkbits 632 fs/mpage.c if (!bdev_write_page(bdev, blocks[0] << (blkbits - 9), blkbits 636 fs/mpage.c bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9), blkbits 651 fs/mpage.c length = first_unmapped << blkbits; blkbits 666 fs/mpage.c boundary_block, 1 << blkbits); blkbits 1005 fs/nilfs2/inode.c unsigned int blkbits = inode->i_blkbits; blkbits 1016 fs/nilfs2/inode.c blkoff = start >> blkbits; blkbits 1017 fs/nilfs2/inode.c end_blkoff = (start + len - 1) >> blkbits; blkbits 1038 fs/nilfs2/inode.c logical = blkoff << blkbits; blkbits 1040 fs/nilfs2/inode.c size = delalloc_blklen << blkbits; blkbits 1071 fs/nilfs2/inode.c past_eof = ((blkoff << blkbits) >= isize); blkbits 1089 fs/nilfs2/inode.c if (phys && blkphy << blkbits == phys + size) { blkbits 1091 fs/nilfs2/inode.c size += n << blkbits; blkbits 1102 fs/nilfs2/inode.c logical = blkoff << blkbits; blkbits 1103 fs/nilfs2/inode.c phys = blkphy << blkbits; blkbits 1104 fs/nilfs2/inode.c size = n << blkbits; blkbits 1109 fs/nilfs2/inode.c logical = blkoff << blkbits; blkbits 1110 fs/nilfs2/inode.c phys = blkphy << blkbits; blkbits 1111 fs/nilfs2/inode.c size = n << blkbits; blkbits 548 fs/nilfs2/mdt.c int blkbits = inode->i_blkbits; blkbits 555 fs/nilfs2/mdt.c create_empty_buffers(page, 1 << blkbits, 0); blkbits 557 fs/nilfs2/mdt.c bh_frozen = nilfs_page_get_nth_block(page, bh_offset(bh) >> blkbits); blkbits 30 fs/nilfs2/page.c int blkbits, unsigned long b_state) blkbits 37 fs/nilfs2/page.c create_empty_buffers(page, 1 << blkbits, b_state); blkbits 39 fs/nilfs2/page.c first_block = (unsigned long)index << (PAGE_SHIFT - blkbits); blkbits 52 fs/nilfs2/page.c int blkbits = inode->i_blkbits; blkbits 53 fs/nilfs2/page.c pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); blkbits 61 fs/nilfs2/page.c bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); blkbits 348 fs/nilfs2/the_nilfs.c static unsigned long long nilfs_max_size(unsigned int blkbits) blkbits 353 fs/nilfs2/the_nilfs.c max_bits = blkbits + NILFS_BMAP_KEY_BIT; /* bmap size limit */ blkbits 154 mm/page_io.c unsigned blkbits; blkbits 162 mm/page_io.c blkbits = inode->i_blkbits; blkbits 163 mm/page_io.c blocks_per_page = PAGE_SIZE >> blkbits; blkbits 171 mm/page_io.c last_block = i_size_read(inode) >> blkbits; blkbits 205 mm/page_io.c first_block >>= (PAGE_SHIFT - blkbits);