/linux-master/drivers/gpu/drm/radeon/ |
H A D | atombios_i2c.c | 105 int i, remaining, current_count, buffer_offset, max_bytes, ret; local 124 /* max_bytes are a limitation of ProcessI2cChannelTransaction not the hw */ 126 max_bytes = ATOM_MAX_HW_I2C_READ; 129 max_bytes = ATOM_MAX_HW_I2C_WRITE; 133 if (remaining > max_bytes) 134 current_count = max_bytes;
|
/linux-master/include/sound/ |
H A D | hda_component.h | 20 bool *audio_enabled, char *buffer, int max_bytes); 44 char *buffer, int max_bytes) 42 snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, bool *audio_enabled, char *buffer, int max_bytes) argument
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; local 131 /* max_bytes are a limitation of ProcessI2cChannelTransaction not the hw */ 133 max_bytes = ATOM_MAX_HW_I2C_READ; 136 max_bytes = ATOM_MAX_HW_I2C_WRITE; 140 if (remaining > max_bytes) 141 current_count = max_bytes;
|
H A D | amdgpu_vram_mgr.c | 453 u64 vis_usage = 0, max_bytes, min_block_size; local 467 max_bytes = adev->gmc.mc_vram_size; 469 max_bytes -= AMDGPU_VM_RESERVED_VRAM; 491 if (ttm_resource_manager_usage(man) > max_bytes) {
|
H A D | amdgpu_ttm.c | 2136 uint32_t max_bytes; local 2145 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; 2146 num_loops = DIV_ROUND_UP(byte_count, max_bytes); 2154 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); 2190 uint32_t max_bytes; local 2194 max_bytes = adev->mman.buffer_funcs->fill_max_bytes; 2195 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); 2203 uint32_t cur_size = min(byte_count, max_bytes);
|
/linux-master/include/drm/ |
H A D | drm_audio_component.h | 60 * Note that the returned size may be over @max_bytes. Then it 64 unsigned char *buf, int max_bytes);
|
/linux-master/include/linux/ |
H A D | uio.h | 310 iov_iter_npages_cap(struct iov_iter *i, int maxpages, size_t max_bytes) argument 315 if (iov_iter_count(i) > max_bytes) { 316 shorted = iov_iter_count(i) - max_bytes; 317 iov_iter_truncate(i, max_bytes);
|
H A D | backing-dev.h | 113 int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes);
|
/linux-master/sound/hda/ |
H A D | hdac_component.c | 148 * @max_bytes: the max bytes to be stored on @buffer 159 * thus it may be over @max_bytes. If it's over @max_bytes, it implies 163 bool *audio_enabled, char *buffer, int max_bytes) 180 buffer, max_bytes); 162 snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, bool *audio_enabled, char *buffer, int max_bytes) argument
|
/linux-master/fs/ubifs/ |
H A D | sb.c | 381 long long max_bytes; local 440 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; 441 if (c->max_bud_bytes < max_bytes) { 443 c->max_bud_bytes, max_bytes); 447 max_bytes = (long long)c->leb_size * c->main_lebs; 448 if (c->max_bud_bytes > max_bytes) { 450 c->max_bud_bytes, max_bytes); 484 if (c->rp_size < 0 || max_bytes < c->rp_size) {
|
/linux-master/fs/btrfs/ |
H A D | extent-io-tree.h | 149 u64 max_bytes, u32 bits, int contig, 213 u64 *end, u64 max_bytes,
|
H A D | extent-io-tree.c | 985 * than 'max_bytes'. start and end are used to return the range, 990 u64 *end, u64 max_bytes, 1029 if (total_bytes >= max_bytes) 1623 * @max_bytes: The maximum byte count we are interested. The search stops 1640 u64 *start, u64 search_end, u64 max_bytes, 1699 if (total_bytes >= max_bytes) 989 btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start, u64 *end, u64 max_bytes, struct extent_state **cached_state) argument 1639 count_range_bits(struct extent_io_tree *tree, u64 *start, u64 search_end, u64 max_bytes, u32 bits, int contig, struct extent_state **cached_state) argument
|
/linux-master/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 119 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; local 120 u64 total_dirty = 2 * max_bytes; 211 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); 220 if (start != test_start || end != max_bytes - 1) { 222 test_start, max_bytes - 1, start, end); 239 test_start = max_bytes + sectorsize; 262 * [max_bytes]|-- search--| 266 set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL); 292 (max_bytes + SZ_1M) >> PAGE_SHIFT); 306 * will adjust max_bytes dow [all...] |
/linux-master/drivers/target/ |
H A D | target_core_xcopy.c | 663 unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks; local 686 * I/O based on the smallest max_bytes between src_dev + dst_dev 693 max_bytes = min_t(u64, max_bytes_src, max_bytes_dst); 694 max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES); 700 max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size); 708 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size);
|
/linux-master/drivers/spi/ |
H A D | spi-geni-qcom.c | 746 unsigned int max_bytes; local 757 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; 758 if (mas->tx_rem_bytes < max_bytes) 759 max_bytes = mas->tx_rem_bytes; 762 while (i < max_bytes) { 768 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); 773 mas->tx_rem_bytes -= max_bytes;
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 693 struct zfcp_adapter *adapter, int max_bytes) 700 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); 809 int chain, max_entries, buf_num, max_bytes; local 816 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; 830 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); 692 zfcp_fc_send_gpn_ft(struct zfcp_fc_req *fc_req, struct zfcp_adapter *adapter, int max_bytes) argument
|
/linux-master/block/ |
H A D | blk-merge.c | 216 * bio without exceeding @max_bytes 218 * @max_bytes: [in] upper bound for *@bytes 229 unsigned max_segs, unsigned max_bytes) 231 unsigned max_len = min(max_bytes, UINT_MAX) - *bytes; 261 * @max_bytes: [in] maximum number of bytes per bio 266 * - That it has at most @max_bytes worth of data 276 unsigned *segs, struct bio_set *bs, unsigned max_bytes) 291 bytes + bv.bv_len <= max_bytes && 297 lim->max_segments, max_bytes)) 227 bvec_split_segs(const struct queue_limits *lim, const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, unsigned max_segs, unsigned max_bytes) argument 275 bio_split_rw(struct bio *bio, const struct queue_limits *lim, unsigned *segs, struct bio_set *bs, unsigned max_bytes) argument
|
/linux-master/fs/gfs2/ |
H A D | file.c | 1256 loff_t bytes, max_bytes, max_blks; local 1293 * we can write max_bytes */ 1294 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; 1296 /* Since max_bytes is most likely a theoretical max, we 1321 * max_blks. We also recompute max_bytes, data_blocks and 1323 calc_max_reserv(ip, &max_bytes, &data_blocks, 1336 error = fallocate_chunk(inode, offset, max_bytes, mode); 1342 len -= max_bytes; 1343 offset += max_bytes;
|
/linux-master/net/sched/ |
H A D | sch_netem.c | 654 q->slot.bytes_left = q->slot_config.max_bytes; 814 if (q->slot_config.max_bytes == 0) 815 q->slot_config.max_bytes = INT_MAX; 821 q->slot.bytes_left = q->slot_config.max_bytes; 1215 if (slot.max_bytes == INT_MAX) 1216 slot.max_bytes = 0;
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | gen7_renderclear.c | 93 u32 *start, u32 offset, u32 max_bytes) 99 bc->max_items = max_bytes / sizeof(*bc->start); 91 batch_init(struct batch_chunk *bc, struct i915_vma *vma, u32 *start, u32 offset, u32 max_bytes) argument
|
/linux-master/tools/perf/ |
H A D | builtin-timechart.c | 115 u64 max_bytes; member in struct:per_pidcomm 819 if ((u64)ret > c->max_bytes) 820 c->max_bytes = ret; 841 if (!sample->err && sample->bytes > c->max_bytes) 842 c->max_bytes = sample->bytes; 1163 double h = (double)sample->bytes / c->max_bytes;
|
/linux-master/include/linux/ceph/ |
H A D | ceph_fs.h | 429 __le32 max_bytes; member in struct:ceph_mds_request_args::__anon276 921 __le64 max_bytes; /* quota max. bytes */ member in struct:ceph_mds_quota
|
/linux-master/fs/ |
H A D | fs-writeback.c | 809 unsigned long avg_time, max_bytes, max_time; local 823 max_bytes = wbc->wb_bytes; 826 max_bytes = wbc->wb_lcand_bytes; 829 max_bytes = wbc->wb_tcand_bytes; 839 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT,
|
/linux-master/fs/ceph/ |
H A D | quota.c | 75 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), 202 * max_bytes, or any, depending on the 'which_quota' argument). If the root is 440 * This functions returns true is max_bytes quota allows a file size to reach 458 * ceph_quota_is_max_bytes_approaching - check if we're reaching max_bytes 485 * If the mounted filesystem root has max_bytes quota set, update the filesystem
|
H A D | mds_client.h | 90 u64 max_bytes; member in struct:ceph_mds_reply_info_in
|