Searched refs:max_block (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_buddy.c | 410 struct drm_buddy_block *max_block = NULL, *node; in get_maxblock() local 418 if (!max_block) { in get_maxblock() 419 max_block = node; in get_maxblock() 424 drm_buddy_block_offset(max_block)) { in get_maxblock() 425 max_block = node; in get_maxblock() 430 return max_block; in get_maxblock()
|
/linux-6.1.9/fs/ext4/ |
D | indirect.c | 1121 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local 1126 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_truncate() 1129 if (last_block != max_block) { in ext4_ind_truncate() 1146 if (last_block == max_block) { in ext4_ind_truncate() 1236 ext4_lblk_t max_block; in ext4_ind_remove_space() local 1241 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_remove_space() 1243 if (end >= max_block) in ext4_ind_remove_space() 1244 end = max_block; in ext4_ind_remove_space() 1245 if ((start >= end) || (start > max_block)) in ext4_ind_remove_space()
|
/linux-6.1.9/fs/ocfs2/ |
D | suballoc.c | 77 u64 max_block, 84 u64 max_block, 89 u64 max_block, 114 u32 bits_wanted, u64 max_block, 654 u64 max_block, in ocfs2_block_group_alloc() argument 672 max_block, flags, &ac); in ocfs2_block_group_alloc() 1142 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument 1157 (*ac)->ac_max_block = max_block; in ocfs2_reserve_clusters_with_limit() 1477 u64 max_block, in ocfs2_cluster_group_search() argument 1515 if (max_block) { in ocfs2_cluster_group_search() [all …]
|
D | super.c | 1972 u64 max_block = in ocfs2_journal_addressable() local 1977 if (max_block <= (u32)~0ULL) in ocfs2_journal_addressable()
|
/linux-6.1.9/fs/ntfs/ |
D | compress.c | 501 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()
|
D | attrib.c | 730 unsigned long block, max_block; in load_attribute_list() local 766 max_block = block + (rl->length << vol->cluster_size_bits >> in load_attribute_list() 768 ntfs_debug("max_block = 0x%lx.", max_block); in load_attribute_list() 782 } while (++block < max_block); in load_attribute_list()
|
/linux-6.1.9/drivers/scsi/ |
D | st.h | 175 int max_block; member
|
D | st.c | 1107 STp->min_block = STp->max_block = (-1); in check_tape() 1121 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape() 1128 STp->min_block, STp->max_block); in check_tape() 1130 STp->min_block = STp->max_block = (-1); in check_tape() 1528 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks() 1529 (count < STp->min_block || count > STp->max_block)) { in rw_checks() 2901 STp->max_block > 0 && in st_int_ioctl() 2903 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()
|
/linux-6.1.9/drivers/mtd/devices/ |
D | docg3.h | 295 int max_block; member
|
D | docg3.c | 990 nbpages = DIV_ROUND_UP(docg3->max_block + 1, 8 * DOC_LAYOUT_PAGE_SIZE); in doc_reload_bbt() 1025 if (block1 > docg3->max_block) in doc_block_isbad() 1053 if (block1 > docg3->max_block) 1768 docg3->max_block = 2047; in doc_set_driver_info() 1773 mtd->size = (docg3->max_block + 1) * DOC_LAYOUT_BLOCK_SIZE; in doc_set_driver_info() 1821 bbt_nbpages = DIV_ROUND_UP(docg3->max_block + 1, in doc_probe_device()
|
/linux-6.1.9/fs/reiserfs/ |
D | journal.c | 2321 b_blocknr_t max_block) in reiserfs_breada() argument 2332 if (block + BUFNR > max_block) { in reiserfs_breada() 2333 blocks = max_block - block; in reiserfs_breada()
|