Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v4.19/fs/btrfs/tests/
Dextent-io-tests.c66 u64 max_bytes = SZ_128M; in test_find_delalloc() local
110 &end, max_bytes); in test_find_delalloc()
137 set_extent_delalloc(&tmp, sectorsize, max_bytes - 1, 0, NULL); in test_find_delalloc()
141 &end, max_bytes); in test_find_delalloc()
146 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc()
148 test_start, max_bytes - 1, start, end); in test_find_delalloc()
165 test_start = max_bytes + sectorsize; in test_find_delalloc()
175 &end, max_bytes); in test_find_delalloc()
192 set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, 0, NULL); in test_find_delalloc()
196 &end, max_bytes); in test_find_delalloc()
[all …]
/Linux-v4.19/drivers/gpu/drm/radeon/
Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
131 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer()
134 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer()
138 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer()
139 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c117 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
138 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer()
141 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer()
145 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer()
146 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
Damdgpu_ttm.c2028 uint32_t max_bytes; in amdgpu_copy_buffer() local
2038 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer()
2039 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2062 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
2096 uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_fill_buffer() local
2123 num_loops += DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_fill_buffer()
2154 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_fill_buffer()
Damdgpu_cs.c288 u64 *max_bytes, in amdgpu_cs_get_threshold_for_moves() argument
304 *max_bytes = 0; in amdgpu_cs_get_threshold_for_moves()
351 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
/Linux-v4.19/include/sound/
Dhda_component.h15 bool *audio_enabled, char *buffer, int max_bytes);
39 char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument
/Linux-v4.19/fs/ubifs/
Dsb.c361 long long max_bytes; in validate_sb() local
420 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
421 if (c->max_bud_bytes < max_bytes) { in validate_sb()
423 c->max_bud_bytes, max_bytes); in validate_sb()
427 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
428 if (c->max_bud_bytes > max_bytes) { in validate_sb()
430 c->max_bud_bytes, max_bytes); in validate_sb()
464 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/Linux-v4.19/drivers/scsi/osd/
Dosd_initiator.c249 void *cur_p, struct osd_attr *oa, unsigned max_bytes) in _osd_req_alist_elem_decode() argument
255 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode()
260 if (inc > max_bytes) in _osd_req_alist_elem_decode()
275 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode()
280 if (inc > max_bytes) in _osd_req_alist_elem_decode()
541 struct _osd_req_data_segment *seg, unsigned max_bytes) in _osd_realloc_seg() argument
545 if (seg->alloc_size >= max_bytes) in _osd_realloc_seg()
548 buff = krealloc(seg->buff, max_bytes, GFP_KERNEL); in _osd_realloc_seg()
550 OSD_ERR("Failed to Realloc %d-bytes was-%d\n", max_bytes, in _osd_realloc_seg()
555 memset(buff + seg->alloc_size, 0, max_bytes - seg->alloc_size); in _osd_realloc_seg()
[all …]
/Linux-v4.19/include/drm/
Ddrm_audio_component.h57 unsigned char *buf, int max_bytes);
/Linux-v4.19/sound/hda/
Dhdac_component.c150 bool *audio_enabled, char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument
167 buffer, max_bytes); in snd_hdac_acomp_get_eld()
/Linux-v4.19/net/sched/
Dsch_netem.c621 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next()
773 if (q->slot_config.max_bytes == 0) in get_slot()
774 q->slot_config.max_bytes = INT_MAX; in get_slot()
776 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot()
1159 if (slot.max_bytes == INT_MAX) in netem_dump()
1160 slot.max_bytes = 0; in netem_dump()
/Linux-v4.19/fs/gfs2/
Dfile.c950 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local
988 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
1017 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate()
1030 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate()
1036 len -= max_bytes; in __gfs2_fallocate()
1037 offset += max_bytes; in __gfs2_fallocate()
/Linux-v4.19/Documentation/filesystems/
Dceph.txt68 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg:
70 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
71 getfattr -n ceph.quota.max_bytes /some/dir
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_fc.c620 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument
627 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft()
736 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local
743 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports()
757 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
/Linux-v4.19/tools/perf/
Dbuiltin-timechart.c114 u64 max_bytes; member
812 if ((u64)ret > c->max_bytes) in pid_end_io_sample()
813 c->max_bytes = ret; in pid_end_io_sample()
834 if (!sample->err && sample->bytes > c->max_bytes) in pid_end_io_sample()
835 c->max_bytes = sample->bytes; in pid_end_io_sample()
1156 double h = (double)sample->bytes / c->max_bytes; in draw_io_bars()
/Linux-v4.19/fs/
Dfs-writeback.c602 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
616 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
619 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode()
622 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode()
632 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
/Linux-v4.19/include/linux/ceph/
Dceph_fs.h403 __le32 max_bytes; member
824 __le64 max_bytes; /* quota max. bytes */ member
/Linux-v4.19/drivers/s390/net/
Dism_drv.c355 static unsigned int max_bytes(unsigned int start, unsigned int len, in max_bytes() function
370 bytes = max_bytes(offset, size, PAGE_SIZE); in ism_move()
/Linux-v4.19/fs/btrfs/
Dextent_io.h283 u64 max_bytes, unsigned bits, int contig);
552 u64 *end, u64 max_bytes);
Dextent_io.c1470 u64 *start, u64 *end, u64 max_bytes, in find_delalloc_range() argument
1513 if (total_bytes >= max_bytes) in find_delalloc_range()
1574 u64 *end, u64 max_bytes) in find_lock_delalloc_range() argument
1588 max_bytes, &cached_state); in find_lock_delalloc_range()
1607 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range()
1608 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range()
1620 max_bytes = PAGE_SIZE; in find_lock_delalloc_range()
1747 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument
1782 if (total_bytes >= max_bytes) in count_range_bits()
Dfree-space-cache.c1625 u64 max_bytes; in recalculate_thresholds() local
1642 max_bytes = MAX_CACHE_BYTES_PER_GIG; in recalculate_thresholds()
1644 max_bytes = MAX_CACHE_BYTES_PER_GIG * div_u64(size, SZ_1G); in recalculate_thresholds()
1653 if (bitmap_bytes >= max_bytes) { in recalculate_thresholds()
1662 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds()
1663 extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1); in recalculate_thresholds()
/Linux-v4.19/fs/ceph/
Dmds_client.h64 u64 max_bytes; member
Dquota.c77 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
Dsuper.h1088 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument
1092 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_audio.c867 unsigned char *buf, int max_bytes) in i915_audio_component_get_eld() argument
888 memcpy(buf, eld, min(max_bytes, ret)); in i915_audio_component_get_eld()

12