Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/
H A 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()
/openbmc/linux/fs/ext4/
H A 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()
/openbmc/linux/fs/ocfs2/
H A Dsuballoc.c77 u64 max_block,
84 u64 max_block,
89 u64 max_block,
654 u64 max_block, in ocfs2_block_group_alloc() argument
672 max_block, flags, &ac); in ocfs2_block_group_alloc()
1477 u64 max_block, in ocfs2_cluster_group_search() argument
1515 if (max_block) { in ocfs2_cluster_group_search()
1523 if (blkoff > max_block) in ocfs2_cluster_group_search()
1548 u64 max_block, in ocfs2_block_group_search() argument
1563 if (!ret && max_block) { in ocfs2_block_group_search()
[all …]
H A Dsuper.c1975 u64 max_block = in ocfs2_journal_addressable() local
1980 if (max_block <= (u32)~0ULL) in ocfs2_journal_addressable()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A 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()
/openbmc/linux/drivers/scsi/
H A Dst.h175 int max_block; member
H A Dst.c1110 STp->min_block = STp->max_block = (-1); in check_tape()
1124 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape()
1131 STp->min_block, STp->max_block); in check_tape()
1133 STp->min_block = STp->max_block = (-1); in check_tape()
1531 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks()
1532 (count < STp->min_block || count > STp->max_block)) { in rw_checks()
2904 STp->max_block > 0 && in st_int_ioctl()
2906 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()
/openbmc/linux/fs/ntfs/
H A 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()
H A 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()
/openbmc/linux/drivers/mtd/devices/
H A Ddocg3.h295 int max_block; member
H A 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()
/openbmc/qemu/nbd/
H A Dclient.c474 if (nbd_read32(ioc, &info->max_block, "info maximum block size", in nbd_opt_info_or_go()
480 if (info->max_block < info->min_block) { in nbd_opt_info_or_go()
482 " is not valid", info->max_block); in nbd_opt_info_or_go()
487 info->max_block); in nbd_opt_info_or_go()
/openbmc/qemu/include/block/
H A Dnbd.h386 uint32_t max_block; member
/openbmc/qemu/
H A Dqemu-nbd.c238 printf(" max block: %u\n", list[i].max_block); in qemu_nbd_client_list()
/openbmc/linux/fs/reiserfs/
H A 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()
/openbmc/qemu/block/
H A Dnbd.c1964 uint32_t max = MIN_NON_ZERO(NBD_MAX_BUFFER_SIZE, s->info.max_block); in nbd_refresh_limits()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch36445 + unsigned int max_block = 0;
36462 + if (block_size > max_block)
36463 + max_block = block_size;
36491 + (uint8_t *)ipe->q[0].qpu_mc_base - ipe->gptr.arm, max_block,