Searched refs:blockbits (Results 1 – 5 of 5) sorted by relevance
48 const unsigned int blockbits = inode->i_blkbits; in fscrypt_zeroout_range_inlinecrypt() local49 const unsigned int blocks_per_page_bits = PAGE_SHIFT - blockbits; in fscrypt_zeroout_range_inlinecrypt()60 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range_inlinecrypt()69 blocks_this_page << blockbits; in fscrypt_zeroout_range_inlinecrypt()114 const unsigned int blockbits = inode->i_blkbits; in fscrypt_zeroout_range() local115 const unsigned int blocksize = 1 << blockbits; in fscrypt_zeroout_range()116 const unsigned int blocks_per_page_bits = PAGE_SHIFT - blockbits; in fscrypt_zeroout_range()158 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range()
179 const unsigned int blockbits = inode->i_blkbits; in fscrypt_encrypt_pagecache_blocks() local180 const unsigned int blocksize = 1 << blockbits; in fscrypt_encrypt_pagecache_blocks()182 u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + in fscrypt_encrypt_pagecache_blocks()183 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()259 const unsigned int blockbits = inode->i_blkbits; in fscrypt_decrypt_pagecache_blocks() local260 const unsigned int blocksize = 1 << blockbits; in fscrypt_decrypt_pagecache_blocks()261 u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + in fscrypt_decrypt_pagecache_blocks()262 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
480 unsigned char blockbits; in nfs_statfs() local519 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()520 blockres = (1 << blockbits) - 1; in nfs_statfs()521 buf->f_blocks = (res.tbytes + blockres) >> blockbits; in nfs_statfs()522 buf->f_bfree = (res.fbytes + blockres) >> blockbits; in nfs_statfs()523 buf->f_bavail = (res.abytes + blockres) >> blockbits; in nfs_statfs()
211 * Fixed a bug where the inode and super_block didn't get their blockbits
5126 int blockbits = inode->i_sb->s_blocksize_bits; in ext4_xattr_fiemap() local5137 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_xattr_fiemap()5145 physical = (__u64)EXT4_I(inode)->i_file_acl << blockbits; in ext4_xattr_fiemap()