Home
last modified time | relevance | path

Searched refs:blockbits (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/fs/crypto/
H A Dbio.c52 const unsigned int blockbits = inode->i_blkbits; in fscrypt_zeroout_range_inline_crypt() local
53 const unsigned int blocks_per_page = 1 << (PAGE_SHIFT - blockbits); in fscrypt_zeroout_range_inline_crypt()
64 unsigned int bytes_this_page = blocks_this_page << blockbits; in fscrypt_zeroout_range_inline_crypt()
69 pblk << (blockbits - SECTOR_SHIFT); in fscrypt_zeroout_range_inline_crypt()
114 const unsigned int blockbits = inode->i_blkbits; in fscrypt_zeroout_range() local
115 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()
157 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range()
H A Dcrypto.c179 const unsigned int blockbits = inode->i_blkbits; in fscrypt_encrypt_pagecache_blocks() local
180 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()
258 const unsigned int blockbits = inode->i_blkbits; in fscrypt_decrypt_pagecache_blocks() local
259 const unsigned int blocksize = 1 << blockbits; in fscrypt_decrypt_pagecache_blocks()
260 u64 lblk_num = ((u64)folio->index << (PAGE_SHIFT - blockbits)) + in fscrypt_decrypt_pagecache_blocks()
261 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
/openbmc/linux/net/xfrm/
H A Dxfrm_algo.c373 .blockbits = 8,
394 .blockbits = 64,
415 .blockbits = 64,
436 .blockbits = 64,
457 .blockbits = 64,
478 .blockbits = 128,
499 .blockbits = 128,
520 .blockbits = 128,
541 .blockbits = 128,
561 .blockbits = 128,
[all …]
/openbmc/linux/drivers/mfd/
H A Dqcom-pm8xxx.c151 unsigned int blockbits; in pm8xxx_irq_master_handler() local
155 &blockbits); in pm8xxx_irq_master_handler()
160 if (!blockbits) { in pm8xxx_irq_master_handler()
166 if (blockbits & (1 << i)) { in pm8xxx_irq_master_handler()
/openbmc/linux/fs/nfs/
H A Dsuper.c251 unsigned char blockbits; in nfs_statfs() local
290 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()
291 blockres = (1 << blockbits) - 1; in nfs_statfs()
292 buf->f_blocks = (res.tbytes + blockres) >> blockbits; in nfs_statfs()
293 buf->f_bfree = (res.fbytes + blockres) >> blockbits; in nfs_statfs()
294 buf->f_bavail = (res.abytes + blockres) >> blockbits; in nfs_statfs()
/openbmc/linux/fs/befs/
H A DChangeLog211 * Fixed a bug where the inode and super_block didn't get their blockbits
/openbmc/linux/fs/ext4/
H A Dextents.c4898 int blockbits = inode->i_sb->s_blocksize_bits; in ext4_iomap_xattr_fiemap() local
4910 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap()
4918 physical = (__u64)EXT4_I(inode)->i_file_acl << blockbits; in ext4_iomap_xattr_fiemap()
/openbmc/linux/include/net/
H A Dxfrm.h1462 u16 blockbits; member