Searched refs:max_block (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/fs/ext4/ |
D | indirect.c | 1111 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local 1116 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_truncate() 1119 if (last_block != max_block) { in ext4_ind_truncate() 1136 if (last_block == max_block) { in ext4_ind_truncate() 1222 ext4_lblk_t max_block; in ext4_ind_remove_space() local 1227 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_remove_space() 1229 if (end >= max_block) in ext4_ind_remove_space() 1230 end = max_block; in ext4_ind_remove_space() 1231 if ((start >= end) || (start > max_block)) in ext4_ind_remove_space()
|
/Linux-v4.19/fs/ocfs2/ |
D | suballoc.c | 93 u64 max_block, 100 u64 max_block, 105 u64 max_block, 130 u32 bits_wanted, u64 max_block, 670 u64 max_block, in ocfs2_block_group_alloc() argument 688 max_block, flags, &ac); in ocfs2_block_group_alloc() 1158 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument 1173 (*ac)->ac_max_block = max_block; in ocfs2_reserve_clusters_with_limit() 1490 u64 max_block, in ocfs2_cluster_group_search() argument 1528 if (max_block) { in ocfs2_cluster_group_search() [all …]
|
D | super.c | 2023 u64 max_block = in ocfs2_journal_addressable() local 2028 if (max_block <= (u32)~0ULL) in ocfs2_journal_addressable()
|
/Linux-v4.19/fs/orangefs/ |
D | inode.c | 20 int max_block; in read_one_page() local 34 max_block = ((inode->i_size / blocksize) + 1); in read_one_page() 36 if (page->index < max_block) { in read_one_page()
|
/Linux-v4.19/fs/ntfs/ |
D | compress.c | 515 int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; in ntfs_read_compressed_block() local 650 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block() 656 } while (++block < max_block); in ntfs_read_compressed_block()
|
D | attrib.c | 720 unsigned long block, max_block; in load_attribute_list() local 756 max_block = block + (rl->length << vol->cluster_size_bits >> in load_attribute_list() 758 ntfs_debug("max_block = 0x%lx.", max_block); in load_attribute_list() 772 } while (++block < max_block); in load_attribute_list()
|
/Linux-v4.19/drivers/scsi/ |
D | st.h | 178 int max_block; member
|
D | osst.h | 581 int max_block; member
|
D | st.c | 1104 STp->min_block = STp->max_block = (-1); in check_tape() 1118 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape() 1125 STp->min_block, STp->max_block); in check_tape() 1127 STp->min_block = STp->max_block = (-1); in check_tape() 1526 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks() 1527 (count < STp->min_block || count > STp->max_block)) { in rw_checks() 2899 STp->max_block > 0 && in st_int_ioctl() 2901 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()
|
D | osst.c | 5926 tpnt->max_block = OS_DATA_SIZE; in osst_probe()
|
/Linux-v4.19/drivers/mtd/devices/ |
D | docg3.h | 309 int max_block; member
|
D | docg3.c | 996 nbpages = DIV_ROUND_UP(docg3->max_block + 1, 8 * DOC_LAYOUT_PAGE_SIZE); in doc_reload_bbt() 1031 if (block1 > docg3->max_block) in doc_block_isbad() 1059 if (block1 > docg3->max_block) 1774 docg3->max_block = 2047; in doc_set_driver_info() 1779 mtd->size = (docg3->max_block + 1) * DOC_LAYOUT_BLOCK_SIZE; in doc_set_driver_info() 1828 bbt_nbpages = DIV_ROUND_UP(docg3->max_block + 1, in doc_probe_device()
|
/Linux-v4.19/fs/reiserfs/ |
D | journal.c | 2331 b_blocknr_t max_block) in reiserfs_breada() argument 2342 if (block + BUFNR > max_block) { in reiserfs_breada() 2343 blocks = max_block - block; in reiserfs_breada()
|