Home
last modified time | relevance | path

Searched refs:max_block (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/fs/ext4/
Dindirect.c1109 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local
1114 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_truncate()
1117 if (last_block != max_block) { in ext4_ind_truncate()
1134 if (last_block == max_block) { in ext4_ind_truncate()
1224 ext4_lblk_t max_block; in ext4_ind_remove_space() local
1229 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_remove_space()
1231 if (end >= max_block) in ext4_ind_remove_space()
1232 end = max_block; in ext4_ind_remove_space()
1233 if ((start >= end) || (start > max_block)) in ext4_ind_remove_space()
/Linux-v5.10/fs/ocfs2/
Dsuballoc.c79 u64 max_block,
86 u64 max_block,
91 u64 max_block,
116 u32 bits_wanted, u64 max_block,
656 u64 max_block, in ocfs2_block_group_alloc() argument
674 max_block, flags, &ac); in ocfs2_block_group_alloc()
1144 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
1159 (*ac)->ac_max_block = max_block; in ocfs2_reserve_clusters_with_limit()
1478 u64 max_block, in ocfs2_cluster_group_search() argument
1516 if (max_block) { in ocfs2_cluster_group_search()
[all …]
Dsuper.c1990 u64 max_block = in ocfs2_journal_addressable() local
1995 if (max_block <= (u32)~0ULL) in ocfs2_journal_addressable()
/Linux-v5.10/fs/ntfs/
Dcompress.c501 int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; in ntfs_read_compressed_block() local
636 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block()
642 } while (++block < max_block); in ntfs_read_compressed_block()
Dattrib.c706 unsigned long block, max_block; in load_attribute_list() local
742 max_block = block + (rl->length << vol->cluster_size_bits >> in load_attribute_list()
744 ntfs_debug("max_block = 0x%lx.", max_block); in load_attribute_list()
758 } while (++block < max_block); in load_attribute_list()
/Linux-v5.10/drivers/scsi/
Dst.h178 int max_block; member
Dst.c1108 STp->min_block = STp->max_block = (-1); in check_tape()
1122 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape()
1129 STp->min_block, STp->max_block); in check_tape()
1131 STp->min_block = STp->max_block = (-1); in check_tape()
1529 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks()
1530 (count < STp->min_block || count > STp->max_block)) { in rw_checks()
2903 STp->max_block > 0 && in st_int_ioctl()
2905 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()
/Linux-v5.10/drivers/mtd/devices/
Ddocg3.h295 int max_block; member
Ddocg3.c982 nbpages = DIV_ROUND_UP(docg3->max_block + 1, 8 * DOC_LAYOUT_PAGE_SIZE); in doc_reload_bbt()
1017 if (block1 > docg3->max_block) in doc_block_isbad()
1045 if (block1 > docg3->max_block)
1760 docg3->max_block = 2047; in doc_set_driver_info()
1765 mtd->size = (docg3->max_block + 1) * DOC_LAYOUT_BLOCK_SIZE; in doc_set_driver_info()
1814 bbt_nbpages = DIV_ROUND_UP(docg3->max_block + 1, in doc_probe_device()
/Linux-v5.10/fs/reiserfs/
Djournal.c2320 b_blocknr_t max_block) in reiserfs_breada() argument
2331 if (block + BUFNR > max_block) { in reiserfs_breada()
2332 blocks = max_block - block; in reiserfs_breada()