/fs/ext4/ |
D | move_extent.c | 185 block = (sector_t)page->index << (PAGE_SHIFT - inode->i_blkbits); in mext_page_mkuptodate() 260 int from = data_offset_in_page << orig_inode->i_blkbits; in move_extent_per_page() 261 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() 286 ((orig_inode->i_size - 1) >> orig_inode->i_blkbits)) { in move_extent_per_page() 297 ((block_len_in_page - 1) << orig_inode->i_blkbits); in move_extent_per_page() 299 data_size = block_len_in_page << orig_inode->i_blkbits; in move_extent_per_page() 368 block_len_in_page << orig_inode->i_blkbits; in move_extent_per_page() 375 create_empty_buffers(pagep[0], 1 << orig_inode->i_blkbits, 0); in move_extent_per_page() 453 unsigned int blkbits = orig_inode->i_blkbits; in mext_check_arguments() 502 if ((orig_start & ~(PAGE_MASK >> orig_inode->i_blkbits)) != in mext_check_arguments() [all …]
|
D | inode.c | 745 (loff_t)map->m_lblk << inode->i_blkbits; in ext4_map_blocks() 746 loff_t length = (loff_t)map->m_len << inode->i_blkbits; in ext4_map_blocks() 799 map.m_len = bh->b_size >> inode->i_blkbits; in _ext4_get_block() 853 if (bh_result->b_size >> inode->i_blkbits > DIO_MAX_BLOCKS) in ext4_get_block_trans() 854 bh_result->b_size = DIO_MAX_BLOCKS << inode->i_blkbits; in ext4_get_block_trans() 856 bh_result->b_size >> inode->i_blkbits); in ext4_get_block_trans() 1719 start = index << (PAGE_SHIFT - inode->i_blkbits); in mpage_release_unused_pages() 1720 last = end << (PAGE_SHIFT - inode->i_blkbits); in mpage_release_unused_pages() 2337 >> inode->i_blkbits; in mpage_process_page_bufs() 2385 int bpp_bits = PAGE_SHIFT - inode->i_blkbits; in mpage_map_and_submit_buffers() [all …]
|
/fs/jfs/ |
D | jfs_metapage.c | 106 l2mp_blocks = L2PSIZE - page->mapping->host->i_blkbits; in insert_metapage() 118 int l2mp_blocks = L2PSIZE - page->mapping->host->i_blkbits; in remove_metapage() 241 inode->i_blkbits; in metapage_get_blocks() 356 (PAGE_SHIFT - inode->i_blkbits); in metapage_writepage() 380 block_offset = offset >> inode->i_blkbits; in metapage_writepage() 387 bio_bytes += len << inode->i_blkbits; in metapage_writepage() 406 xlen = (PAGE_SIZE - offset) >> inode->i_blkbits; in metapage_writepage() 421 bio->bi_iter.bi_sector = pblock << (inode->i_blkbits - 9); in metapage_writepage() 428 bio_bytes = len << inode->i_blkbits; in metapage_writepage() 476 int blocks_per_page = PAGE_SIZE >> inode->i_blkbits; in metapage_readpage() [all …]
|
D | inode.c | 205 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block() 244 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block() 262 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; in jfs_get_block()
|
/fs/gfs2/ |
D | bmap.c | 84 create_empty_buffers(page, BIT(inode->i_blkbits), in gfs2_unstuffer_page() 599 iomap->length = hole_size << inode->i_blkbits; in gfs2_hole_size() 669 size_t dblks = iomap->length >> inode->i_blkbits; in gfs2_iomap_alloc() 765 iomap->addr = bn << inode->i_blkbits; in gfs2_iomap_alloc() 774 iomap->length = (u64)dblks << inode->i_blkbits; in gfs2_iomap_alloc() 887 iomap->addr = (ip->i_no_addr << inode->i_blkbits) + in gfs2_iomap_get() 895 lblock = pos >> inode->i_blkbits; in gfs2_iomap_get() 896 iomap->offset = lblock << inode->i_blkbits; in gfs2_iomap_get() 897 lblock_stop = (pos + length - 1) >> inode->i_blkbits; in gfs2_iomap_get() 899 iomap->length = len << inode->i_blkbits; in gfs2_iomap_get() [all …]
|
D | inode.h | 59 change <<= inode->i_blkbits - GFS2_BASIC_BLOCK_SHIFT; in gfs2_add_inode_blocks() 83 if (size & (BIT(inode->i_blkbits) - 1)) in gfs2_check_internal_file_size()
|
/fs/ |
D | direct-io.c | 443 sdio->cur_page_fs_offset >> inode->i_blkbits, in dio_bio_alloc() 678 unsigned int i_blkbits = sdio->blkbits + sdio->blkfactor; in get_more_blocks() local 694 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks() 710 if (i_size && fs_startblk <= (i_size - 1) >> i_blkbits) in get_more_blocks() 971 const unsigned i_blkbits = blkbits + sdio->blkfactor; in do_direct_IO() local 1015 map_bh->b_size >> i_blkbits); in do_direct_IO() 1174 unsigned i_blkbits = READ_ONCE(inode->i_blkbits); in do_blockdev_direct_IO() local 1175 unsigned blkbits = i_blkbits; in do_blockdev_direct_IO() 1302 sdio.blkfactor = i_blkbits - blkbits; in do_blockdev_direct_IO()
|
D | stack.c | 72 dest->i_blkbits = src->i_blkbits; in fsstack_copy_attr_all()
|
D | buffer.c | 207 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow() 241 1 << bd_inode->i_blkbits); in __find_get_block_slow() 1569 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases() 1575 end = (block + len - 1) >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases() 1636 create_empty_buffers(page, 1 << READ_ONCE(inode->i_blkbits), in create_page_buffers() 1880 loff_t offset = block << inode->i_blkbits; in iomap_to_bh() 1925 inode->i_blkbits; in iomap_to_bh() 2541 const unsigned blkbits = inode->i_blkbits; in nobh_write_begin() 2784 iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); in nobh_truncate_page() 2862 iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); in block_truncate_page()
|
D | mpage.c | 151 if (inode->i_blkbits == PAGE_SHIFT && in map_buffer_to_page() 196 const unsigned blkbits = inode->i_blkbits; in do_mpage_readpage() 539 const unsigned blkbits = inode->i_blkbits; in __mpage_writepage()
|
D | ioctl.c | 262 return (offset >> inode->i_blkbits); in logical_to_blk() 267 return (blk << inode->i_blkbits); in blk_to_logical()
|
/fs/iomap/ |
D | fiemap.c | 119 addr = (pos - iomap->offset + iomap->addr) >> inode->i_blkbits; in iomap_bmap_actor() 134 loff_t pos = bno << inode->i_blkbits; in iomap_bmap()
|
D | buffered-io.c | 69 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() 125 unsigned first = off >> inode->i_blkbits; in iomap_set_range_uptodate() 126 unsigned last = (off + len - 1) >> inode->i_blkbits; in iomap_set_range_uptodate() 441 first = from >> inode->i_blkbits; in iomap_is_partially_uptodate() 442 last = (from + len - 1) >> inode->i_blkbits; in iomap_is_partially_uptodate()
|
D | direct-io.c | 188 fscrypt_set_bio_crypt_ctx(bio, inode, pos >> inode->i_blkbits, in iomap_dio_zero() 268 fscrypt_set_bio_crypt_ctx(bio, inode, pos >> inode->i_blkbits, in iomap_dio_bio_actor()
|
/fs/nilfs2/ |
D | page.c | 52 int blkbits = inode->i_blkbits; in nilfs_grab_buffer() 506 index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent() 507 nblocks_in_page = 1U << (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent() 520 b = pvec.pages[0]->index << (PAGE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent()
|
D | mdt.c | 359 (PAGE_SHIFT - inode->i_blkbits); in nilfs_mdt_forget_block() 372 (PAGE_SHIFT - inode->i_blkbits); in nilfs_mdt_forget_block() 548 int blkbits = inode->i_blkbits; in nilfs_mdt_freeze_buffer() 585 n = bh_offset(bh) >> inode->i_blkbits; in nilfs_mdt_get_frozen_buffer()
|
D | alloc.h | 28 return 1UL << (inode->i_blkbits + 3 /* log2(8 = CHAR_BITS) */); in nilfs_palloc_entries_per_group()
|
D | file.c | 104 nilfs_set_file_dirty(inode, 1 << (PAGE_SHIFT - inode->i_blkbits)); in nilfs_page_mkwrite()
|
D | inode.c | 77 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block() 85 bh_result->b_size = (ret << inode->i_blkbits); in nilfs_get_block() 239 unsigned int nr_dirty = 1 << (PAGE_SHIFT - inode->i_blkbits); in nilfs_set_page_dirty() 1005 unsigned int blkbits = inode->i_blkbits; in nilfs_fiemap()
|
/fs/crypto/ |
D | inline_crypt.c | 256 *lblk_num_ret = ((u64)page->index << (PAGE_SHIFT - inode->i_blkbits)) + in bh_get_inode_and_lblk_num() 257 (bh_offset(bh) >> inode->i_blkbits); in bh_get_inode_and_lblk_num()
|
D | crypto.c | 162 const unsigned int blockbits = inode->i_blkbits; in fscrypt_encrypt_pagecache_blocks() 241 const unsigned int blockbits = inode->i_blkbits; in fscrypt_decrypt_pagecache_blocks()
|
D | bio.c | 47 const unsigned int blockbits = inode->i_blkbits; in fscrypt_zeroout_range()
|
/fs/omfs/ |
D | file.c | 229 int max_blocks = bh_result->b_size >> inode->i_blkbits; in omfs_get_block() 259 bh_result->b_size = (remain << inode->i_blkbits); in omfs_get_block()
|
/fs/ocfs2/ |
D | aops.c | 142 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block() 192 bh_result->b_size = count << inode->i_blkbits; in ocfs2_get_block() 2150 unsigned int i_blkbits = inode->i_sb->s_blocksize_bits; in ocfs2_dio_wr_get_block() local 2151 loff_t pos = iblock << i_blkbits; in ocfs2_dio_wr_get_block() 2152 sector_t endblk = (i_size_read(inode) - 1) >> i_blkbits; in ocfs2_dio_wr_get_block() 2171 ((iblock + ((len - 1) >> i_blkbits)) > endblk)) in ocfs2_dio_wr_get_block() 2172 len = (endblk - iblock + 1) << i_blkbits; in ocfs2_dio_wr_get_block()
|
/fs/sdcardfs/ |
D | sdcardfs.h | 643 dest->i_blkbits = src->i_blkbits; in sdcardfs_copy_and_fix_attrs()
|