Searched refs:blkbits (Results 1 – 7 of 7) sorted by relevance
/fs/ |
D | direct-io.c | 72 unsigned blkbits; /* doesn't change */ member 523 dio->blkbits)) in get_more_blocks() 552 sector = start_sector << (dio->blkbits - 9); in dio_new_bio() 582 (dio->cur_page_len >> dio->blkbits); in dio_bio_add_page() 672 (dio->cur_page_len >> dio->blkbits) == blocknr)) { in submit_page_section() 758 this_chunk_bytes = this_chunk_blocks << dio->blkbits; in dio_zero_block() 786 const unsigned blkbits = dio->blkbits; in do_direct_IO() local 787 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_direct_IO() 804 unsigned offset_in_page = block_in_page << blkbits; in do_direct_IO() 825 map_bh->b_size >> dio->blkbits; in do_direct_IO() [all …]
|
D | mpage.c | 174 const unsigned blkbits = inode->i_blkbits; in do_mpage_readpage() local 175 const unsigned blocks_per_page = PAGE_CACHE_SIZE >> blkbits; in do_mpage_readpage() 176 const unsigned blocksize = 1 << blkbits; in do_mpage_readpage() 192 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits); in do_mpage_readpage() 194 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; in do_mpage_readpage() 202 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 232 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() 264 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 279 zero_user_segment(page, first_hole << blkbits, PAGE_CACHE_SIZE); in do_mpage_readpage() 297 bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9), in do_mpage_readpage() [all …]
|
D | buffer.c | 2543 const unsigned blkbits = inode->i_blkbits; in nobh_write_begin() local 2544 const unsigned blocksize = 1 << blkbits; in nobh_write_begin() 2592 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits); in nobh_write_begin()
|
/fs/ext4/ |
D | extents.c | 2302 int blkbits, blocksize; in ext4_ext_zeroout() local 2308 blkbits = inode->i_blkbits; in ext4_ext_zeroout() 2314 ee_pblock = ee_pblock << (blkbits - 9); in ext4_ext_zeroout() 2361 ee_pblock += done << (blkbits - 9); in ext4_ext_zeroout() 3011 unsigned int credits, blkbits = inode->i_blkbits; in ext4_fallocate() local 3024 block = offset >> blkbits; in ext4_fallocate() 3029 max_blocks = (EXT4_BLOCK_ALIGN(len + offset, blkbits) >> blkbits) in ext4_fallocate() 3061 blkbits) >> blkbits)) in ext4_fallocate() 3064 new_size = (block + ret) << blkbits; in ext4_fallocate()
|
D | ext4.h | 150 #define EXT4_BLOCK_ALIGN(size, blkbits) ALIGN((size), (1 << (blkbits))) argument
|
D | super.c | 1851 static loff_t ext4_max_size(int blkbits, int has_huge_files) in ext4_max_size() argument 1866 upper_limit >>= (blkbits - 9); in ext4_max_size() 1867 upper_limit <<= blkbits; in ext4_max_size() 1872 res <<= blkbits; in ext4_max_size()
|
/fs/cifs/ |
D | CHANGES | 653 Fix oops on big endian readdir. Set blksize to be even power of two (2**blkbits) to fix
|