Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/
Ddrm_buddy.c420 struct drm_buddy_block *max_block = NULL, *node; in get_maxblock() local
428 if (!max_block) { in get_maxblock()
429 max_block = node; in get_maxblock()
434 drm_buddy_block_offset(max_block)) { in get_maxblock()
435 max_block = node; in get_maxblock()
440 return max_block; in get_maxblock()
/linux-6.6.21/fs/ext4/
Dindirect.c1129 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local
1134 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_truncate()
1137 if (last_block != max_block) { in ext4_ind_truncate()
1154 if (last_block == max_block) { in ext4_ind_truncate()
1244 ext4_lblk_t max_block; in ext4_ind_remove_space() local
1249 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_remove_space()
1251 if (end >= max_block) in ext4_ind_remove_space()
1252 end = max_block; in ext4_ind_remove_space()
1253 if ((start >= end) || (start > max_block)) in ext4_ind_remove_space()
/linux-6.6.21/fs/ocfs2/
Dsuballoc.c77 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 …]
Dsuper.c1973 u64 max_block = in ocfs2_journal_addressable() local
1978 if (max_block <= (u32)~0ULL) in ocfs2_journal_addressable()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
Dmemop.c495 const unsigned int max_block = 16; variable
506 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
511 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
611 set_storage_key_range(mem1, max_block, 0x10); in guest_cmpxchg_key()
612 set_storage_key_range(mem2, max_block, 0x10); in guest_cmpxchg_key()
653 MOP(t.vcpu, LOGICAL, WRITE, mem1, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
679 MOP(t.vcpu, LOGICAL, READ, mem2, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
/linux-6.6.21/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.c730 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.6.21/drivers/scsi/
Dst.h175 int max_block; member
Dst.c1109 STp->min_block = STp->max_block = (-1); in check_tape()
1123 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape()
1130 STp->min_block, STp->max_block); in check_tape()
1132 STp->min_block = STp->max_block = (-1); in check_tape()
1530 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks()
1531 (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-6.6.21/drivers/mtd/devices/
Ddocg3.h295 int max_block; member
Ddocg3.c990 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.6.21/fs/reiserfs/
Djournal.c2321 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()