/linux-master/fs/ntfs3/ |
H A D | file.c | 182 u32 blocksize = i_blocksize(inode); local 207 head = create_empty_buffers(folio, blocksize, 0); 212 bh_next = bh_off + blocksize;
|
/linux-master/fs/btrfs/ |
H A D | scrub.c | 781 * - May have extra blocksize limits 818 int mirror, int blocksize, bool wait) 838 bbio->bio.bi_iter.bi_size >= blocksize)) { 1000 * - Go through the remaining mirrors and try to read as large blocksize as 817 scrub_stripe_submit_repair_read(struct scrub_stripe *stripe, int mirror, int blocksize, bool wait) argument
|
H A D | inode.c | 845 u64 blocksize = fs_info->sectorsize; local 902 * Skip compression for a small file range(<=blocksize) that 905 if (total_compressed <= blocksize && 914 if (blocksize < PAGE_SIZE) { 916 !PAGE_ALIGNED(round_up(actual_end, blocksize))) 1014 total_compressed = ALIGN(total_compressed, blocksize); 1022 if (total_compressed + blocksize > total_in) 1296 u64 blocksize = fs_info->sectorsize; local 1309 num_bytes = ALIGN(end - start + 1, blocksize); 1310 num_bytes = max(blocksize, num_byte 4737 u32 blocksize = fs_info->sectorsize; local 8766 u32 blocksize = btrfs_sb(inode->i_sb)->sectorsize; local [all...] |
H A D | extent_io.c | 1007 size_t blocksize = fs_info->sectorsize; local 1053 iosize = ALIGN(iosize, blocksize); 2302 size_t blocksize = folio_to_fs_info(folio)->sectorsize; local 2307 start += ALIGN(offset, blocksize);
|
H A D | extent-tree.c | 5163 u32 blocksize = fs_info->nodesize; local 5172 root->alloc_bytenr += blocksize; 5177 block_rsv = btrfs_use_block_rsv(trans, root, blocksize); 5181 ret = btrfs_reserve_extent(root, blocksize, blocksize, blocksize, 5236 btrfs_unuse_block_rsv(fs_info, block_rsv, blocksize);
|
/linux-master/fs/fuse/ |
H A D | file.c | 2752 inarg.blocksize = inode->i_sb->s_blocksize;
|
/linux-master/fs/bcachefs/ |
H A D | ec.c | 1629 s->nr_data, s->nr_parity, h->blocksize); 1661 h->blocksize = pick_blocksize(c, &h->devs); 1664 if (ca->mi.bucket_size == h->blocksize) 1844 m->sectors == head->blocksize && 1886 ret = ec_stripe_buf_init(&h->s->existing_stripe, 0, h->blocksize); 1892 BUG_ON(h->s->existing_stripe.size != h->blocksize); 1932 h->blocksize, 2052 ret = ec_stripe_buf_init(&h->s->new_stripe, 0, h->blocksize);
|
H A D | ec.h | 197 unsigned blocksize; member in struct:ec_stripe_head
|
/linux-master/fs/f2fs/ |
H A D | super.c | 1795 buf->f_bsize = sbi->blocksize; 3753 sbi->blocksize = BIT(sbi->log_blocksize); 4366 f2fs_err(sbi, "unable to set blocksize");
|
H A D | segment.c | 3296 if (start >= MAX_BLKADDR(sbi) || range->len < sbi->blocksize)
|
H A D | f2fs.h | 1617 unsigned int blocksize; /* block size */ member in struct:f2fs_sb_info
|
H A D | data.c | 2053 const unsigned blocksize = blks_to_bytes(inode, 1); local 2063 f2fs_readpage_limit(inode) + blocksize - 1); 2140 if (bio_add_page(bio, page, blocksize, 0) < blocksize) 2163 const unsigned blocksize = blks_to_bytes(inode, 1); local 2173 f2fs_readpage_limit(inode) + blocksize - 1); 2289 if (bio_add_page(bio, page, blocksize, 0) < blocksize)
|
H A D | checkpoint.c | 937 unsigned long blk_size = sbi->blocksize;
|
/linux-master/fs/ext4/ |
H A D | super.c | 4507 ext4_msg(sb, KERN_ERR, "blocksize: %lu", sb->s_blocksize); 4728 ext4_msg(sb, KERN_ERR, "unsupported blocksize for DAX\n"); 5023 int blocksize; local 5025 blocksize = sb_min_blocksize(sb, EXT4_MIN_BLOCK_SIZE); 5026 if (!blocksize) { 5027 ext4_msg(sb, KERN_ERR, "unable to set blocksize"); 5035 if (blocksize != EXT4_MIN_BLOCK_SIZE) { 5037 offset = do_div(logical_sb_block, blocksize); 5075 blocksize = EXT4_MIN_BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); 5081 if (sb->s_blocksize == blocksize) { 5848 int hblock, blocksize; local [all...] |
H A D | xattr.c | 384 int blocksize = 1 << ea_inode->i_blkbits; local 385 int bh_count = (size + blocksize - 1) >> ea_inode->i_blkbits; 386 int tail_size = (size % blocksize) ?: blocksize; 408 memcpy((char *)buf + blocksize * i, bhs[i]->b_data, 409 i < bh_count - 1 ? blocksize : tail_size); 1388 int blocksize = ea_inode->i_sb->s_blocksize; local 1389 int max_blocks = (bufsize + blocksize - 1) >> ea_inode->i_blkbits; 1419 csize = (bufsize - wsize) > blocksize ? blocksize [all...] |
H A D | mballoc.c | 107 * blocksize) blocks. So it can have information regarding groups_per_page 1265 * contain blocks_per_page (PAGE_SIZE / blocksize) blocks. 1276 unsigned int blocksize; local 1294 blocksize = i_blocksize(inode); 1295 blocks_per_page = PAGE_SIZE / blocksize; 1373 data = page_address(page) + (i * blocksize); 1389 group, page->index, i * blocksize); 1400 memset(data, 0xff, blocksize); 1408 group, page->index, i * blocksize); 1413 memcpy(data, bitmap, blocksize); [all...] |
H A D | inode.c | 956 unsigned blocksize = head->b_size; local 964 block_end = block_start + blocksize; 1025 unsigned blocksize = inode->i_sb->s_blocksize; local 1038 head = create_empty_buffers(folio, blocksize, 0); 1039 bbits = ilog2(blocksize); 1044 block_end = block_start + blocksize; 1054 WARN_ON(bh->b_size != blocksize); 1098 blocksize, bh_offset(wait[i])); 2359 * unnecessary complication, it is actually inevitable in blocksize < pagesize 2654 * blocksize < pagesiz 3613 unsigned blocksize, pos; local 3713 unsigned blocksize = inode->i_sb->s_blocksize; local 3741 unsigned blocksize; local [all...] |
/linux-master/drivers/block/null_blk/ |
H A D | main.c | 422 NULLB_DEVICE_ATTR(blocksize, uint, NULL); 667 "badblocks,blocking,blocksize,cache_size," 738 dev->blocksize = g_bs; 997 i += (nullb->dev->blocksize >> SECTOR_SHIFT)) { 1001 nullb->dev->blocksize); 1077 temp = min_t(size_t, nullb->dev->blocksize, n - count); 1109 temp = min_t(size_t, nullb->dev->blocksize, n - count); 1142 temp = min_t(size_t, n, dev->blocksize); 1797 dev->blocksize = round_down(dev->blocksize, 51 [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 1194 geo->blocksize = sbp->sb_blocksize;
|
/linux-master/drivers/md/ |
H A D | dm-integrity.c | 3860 unsigned int ivsize, blocksize; local 3872 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); 3883 ic->journal_crypt_alg.alg_string, blocksize, ivsize); 3892 if (blocksize == 1) { 3950 unsigned int crypt_len = roundup(ivsize, blocksize);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 680 u32 blocksize, nbytes, nblocks, cbcbytes; local 684 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); 686 nblocks = (nbytes + blocksize - 1) / blocksize; 689 cbcbytes = (nblocks - 2) * blocksize; 744 u32 blocksize, nblocks, cbcbytes; local 748 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); 749 nblocks = (buf->len + blocksize - 1) / blocksize; 752 cbcbytes = (nblocks - 2) * blocksize; [all...] |
/linux-master/fs/gfs2/ |
H A D | bmap.c | 186 * filesystem with a blocksize of 4096. 1364 unsigned int blocksize = i_blocksize(inode); local 1365 unsigned int offs = newsize & (blocksize - 1); 1368 blocksize - offs); 2400 unsigned int blocksize = i_blocksize(inode); local 2407 start_off = offset & (blocksize - 1); 2408 end_len = (offset + length) & (blocksize - 1); 2411 if (length > blocksize - start_off) 2412 len = blocksize - start_off; 2416 if (start_off + length < blocksize) [all...] |
/linux-master/drivers/usb/storage/ |
H A D | sddr55.c | 91 int blocksize; /* Size of block in pages */ member in struct:sddr55_card_info 92 int blockshift; /* log2 of blocksize */ 209 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> 228 info->blocksize - page); 336 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> 355 info->blocksize - page); 578 info->blocksize = 16; 610 info->blocksize = 32; 616 info->blocksize = 32; 622 info->blocksize [all...] |
/linux-master/include/uapi/linux/ |
H A D | fuse.h | 926 uint32_t blocksize; member in struct:fuse_bmap_in
|
/linux-master/include/linux/ |
H A D | nfs_xdr.h | 57 __u32 blocksize; member in struct:nfs_fattr::__anon858::__anon859
|