/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atombios_i2c.c | 105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 126 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer() 129 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer() 133 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer() 134 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
|
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/ |
H A D | CVE-2022-0529.patch | 18 if (max_bytes < MAX_ESCAPE_BYTES) 19 max_bytes = MAX_ESCAPE_BYTES; 21 - if ((buffer = (char *)malloc(wsize * max_bytes + 1)) == NULL) { 22 + buffer_size = wsize * max_bytes + 1;
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 133 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer() 136 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer() 140 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer() 141 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
|
H A D | amdgpu_vram_mgr.c | 427 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local 443 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new() 445 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new() 467 if (ttm_resource_manager_usage(man) > max_bytes) { in amdgpu_vram_mgr_new()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-rng.c | 157 vrng->quota_remaining = vrng->conf.max_bytes; in check_rate_limit() 187 if (vrng->conf.max_bytes == 0 || in virtio_rng_device_realize() 188 vrng->conf.max_bytes > INT64_MAX) { in virtio_rng_device_realize() 222 vrng->quota_remaining = vrng->conf.max_bytes; in virtio_rng_device_realize() 258 DEFINE_PROP_UINT64("max-bytes", VirtIORNG, conf.max_bytes, INT64_MAX),
|
/openbmc/linux/include/sound/ |
H A D | hda_component.h | 20 bool *audio_enabled, char *buffer, int max_bytes); 44 char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 119 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in test_find_delalloc() local 120 u64 total_dirty = 2 * max_bytes; in test_find_delalloc() 211 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc() 220 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc() 222 test_start, max_bytes - 1, start, end); in test_find_delalloc() 239 test_start = max_bytes + sectorsize; in test_find_delalloc() 266 set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc() 292 (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | sb.c | 352 long long max_bytes; in validate_sb() local 411 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb() 412 if (c->max_bud_bytes < max_bytes) { in validate_sb() 414 c->max_bud_bytes, max_bytes); in validate_sb() 418 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb() 419 if (c->max_bud_bytes > max_bytes) { in validate_sb() 421 c->max_bud_bytes, max_bytes); in validate_sb() 455 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
|
/openbmc/linux/fs/ubifs/ |
H A D | sb.c | 381 long long max_bytes; in validate_sb() local 440 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb() 441 if (c->max_bud_bytes < max_bytes) { in validate_sb() 443 c->max_bud_bytes, max_bytes); in validate_sb() 447 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb() 448 if (c->max_bud_bytes > max_bytes) { in validate_sb() 450 c->max_bud_bytes, max_bytes); in validate_sb() 484 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
|
/openbmc/linux/include/linux/ |
H A D | uio.h | 329 iov_iter_npages_cap(struct iov_iter *i, int maxpages, size_t max_bytes) in iov_iter_npages_cap() argument 334 if (iov_iter_count(i) > max_bytes) { in iov_iter_npages_cap() 335 shorted = iov_iter_count(i) - max_bytes; in iov_iter_npages_cap() 336 iov_iter_truncate(i, max_bytes); in iov_iter_npages_cap()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_xcopy.c | 662 unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks; in target_xcopy_do_work() local 692 max_bytes = min_t(u64, max_bytes_src, max_bytes_dst); in target_xcopy_do_work() 693 max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES); in target_xcopy_do_work() 699 max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size); in target_xcopy_do_work() 707 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-rng.h | 27 uint64_t max_bytes; member
|
/openbmc/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 326 u32 sg_count, max_bytes; in ahci_fill_sg() local 329 max_bytes = MAX_DATA_BYTES_PER_SG; in ahci_fill_sg() 330 sg_count = ((buf_len - 1) / max_bytes) + 1; in ahci_fill_sg() 338 cpu_to_le32((u32)buf + i * max_bytes); in ahci_fill_sg() 341 (buf_len < max_bytes in ahci_fill_sg() 343 : (max_bytes - 1))); in ahci_fill_sg() 345 buf_len -= max_bytes; in ahci_fill_sg()
|
/openbmc/linux/include/drm/ |
H A D | drm_audio_component.h | 64 unsigned char *buf, int max_bytes);
|
/openbmc/linux/fs/btrfs/ |
H A D | extent-io-tree.h | 130 u64 max_bytes, u32 bits, int contig, 193 u64 *end, u64 max_bytes,
|
/openbmc/qemu/hw/audio/ |
H A D | es1370.c | 699 int max_bytes; in es1370_run_channel() local 708 max_bytes = free_or_avail; in es1370_run_channel() 709 max_bytes &= ~((1 << d->shift) - 1); in es1370_run_channel() 710 if (!max_bytes) { in es1370_run_channel() 716 es1370_transfer_audio (s, d, b->sctl_loopsel, max_bytes, &irq); in es1370_run_channel()
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | misc_helper.c | 706 int max_bytes; in HELPER() local 714 max_bytes = ROUND_UP(used_stfl_bytes, 8); in HELPER() 721 for (i = 0; i < MIN(count_bytes, max_bytes); ++i) { in HELPER() 725 env->regs[0] = deposit64(env->regs[0], 0, 8, (max_bytes / 8) - 1); in HELPER() 726 return count_bytes >= max_bytes ? 0 : 3; in HELPER()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_component.c | 163 bool *audio_enabled, char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument 180 buffer, max_bytes); in snd_hdac_acomp_get_eld()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-geni-qcom.c | 746 unsigned int max_bytes; in geni_spi_handle_tx() local 757 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx() 758 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx() 759 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx() 762 while (i < max_bytes) { in geni_spi_handle_tx() 768 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx() 773 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_fba.c | 771 unsigned int max_bytes, max_discard_sectors; in dasd_fba_setup_blk_queue() local 787 max_bytes = USHRT_MAX * logical_block_size; in dasd_fba_setup_blk_queue() 788 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue() 789 max_discard_sectors = max_bytes / logical_block_size; in dasd_fba_setup_blk_queue()
|
/openbmc/linux/block/ |
H A D | blk-merge.c | 233 unsigned max_segs, unsigned max_bytes) in bvec_split_segs() argument 235 unsigned max_len = min(max_bytes, UINT_MAX) - *bytes; in bvec_split_segs() 288 unsigned *segs, struct bio_set *bs, unsigned max_bytes) in bio_split_rw() argument 303 bytes + bv.bv_len <= max_bytes && in bio_split_rw() 309 lim->max_segments, max_bytes)) in bio_split_rw()
|
/openbmc/linux/net/sched/ |
H A D | sch_netem.c | 669 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next() 834 if (q->slot_config.max_bytes == 0) in get_slot() 835 q->slot_config.max_bytes = INT_MAX; in get_slot() 841 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot() 1235 if (slot.max_bytes == INT_MAX) in netem_dump() 1236 slot.max_bytes = 0; in netem_dump()
|
/openbmc/qemu/hw/sd/ |
H A D | trace-events | 5 …t desc_size, bool is_write, uint32_t max_bytes) "desc_addr 0x%" PRIx64 " desc_size %" PRIu32 " is_…
|
/openbmc/linux/fs/gfs2/ |
H A D | file.c | 1251 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local 1289 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate() 1318 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate() 1331 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate() 1337 len -= max_bytes; in __gfs2_fallocate() 1338 offset += max_bytes; in __gfs2_fallocate()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 693 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument 700 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft() 809 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local 816 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports() 830 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
|