/Linux-v4.19/fs/btrfs/tests/ |
D | extent-io-tests.c | 66 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/ |
D | atombios_i2c.c | 110 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/ |
D | atombios_i2c.c | 117 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()
|
D | amdgpu_ttm.c | 2028 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()
|
D | amdgpu_cs.c | 288 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/ |
D | hda_component.h | 15 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/ |
D | sb.c | 361 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/ |
D | osd_initiator.c | 249 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/ |
D | drm_audio_component.h | 57 unsigned char *buf, int max_bytes);
|
/Linux-v4.19/sound/hda/ |
D | hdac_component.c | 150 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/ |
D | sch_netem.c | 621 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/ |
D | file.c | 950 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/ |
D | ceph.txt | 68 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/ |
D | zfcp_fc.c | 620 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/ |
D | builtin-timechart.c | 114 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/ |
D | fs-writeback.c | 602 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/ |
D | ceph_fs.h | 403 __le32 max_bytes; member 824 __le64 max_bytes; /* quota max. bytes */ member
|
/Linux-v4.19/drivers/s390/net/ |
D | ism_drv.c | 355 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/ |
D | extent_io.h | 283 u64 max_bytes, unsigned bits, int contig); 552 u64 *end, u64 max_bytes);
|
D | extent_io.c | 1470 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()
|
D | free-space-cache.c | 1625 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/ |
D | mds_client.h | 64 u64 max_bytes; member
|
D | quota.c | 77 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
|
D | super.h | 1088 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/ |
D | intel_audio.c | 867 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()
|