/linux-4.1.27/fs/btrfs/tests/ |
D | extent-io-tests.c | 74 u64 max_bytes = 128 * 1024 * 1024; in test_find_delalloc() local 116 &end, max_bytes); in test_find_delalloc() 143 set_extent_delalloc(&tmp, 4096, max_bytes - 1, NULL, GFP_NOFS); in test_find_delalloc() 147 &end, max_bytes); in test_find_delalloc() 152 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc() 154 "%Lu\n", test_start, max_bytes - 1, start, end); in test_find_delalloc() 171 test_start = max_bytes + 4096; in test_find_delalloc() 181 &end, max_bytes); in test_find_delalloc() 198 set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, NULL, GFP_NOFS); in test_find_delalloc() 202 &end, max_bytes); in test_find_delalloc() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | r600_blit.c | 597 int max_bytes; in r600_blit_copy() local 604 max_bytes = 8192; in r600_blit_copy() 615 h = (cur_size / max_bytes); in r600_blit_copy() 621 cur_size = max_bytes; in r600_blit_copy() 623 if (cur_size > max_bytes) in r600_blit_copy() 624 cur_size = max_bytes; in r600_blit_copy() 625 if (cur_size > (max_bytes - dst_x)) in r600_blit_copy() 626 cur_size = (max_bytes - dst_x); in r600_blit_copy() 627 if (cur_size > (max_bytes - src_x)) in r600_blit_copy() 628 cur_size = (max_bytes - src_x); in r600_blit_copy() [all …]
|
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-4.1.27/fs/ubifs/ |
D | sb.c | 354 long long max_bytes; in validate_sb() local 413 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb() 414 if (c->max_bud_bytes < max_bytes) { in validate_sb() 416 c->max_bud_bytes, max_bytes); in validate_sb() 420 max_bytes = (long long)c->leb_size * c->main_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() 457 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_initiator.c | 251 void *cur_p, struct osd_attr *oa, unsigned max_bytes) in _osd_req_alist_elem_decode() argument 257 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode() 262 if (inc > max_bytes) in _osd_req_alist_elem_decode() 277 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode() 282 if (inc > max_bytes) in _osd_req_alist_elem_decode() 537 struct _osd_req_data_segment *seg, unsigned max_bytes) in _osd_realloc_seg() argument 541 if (seg->alloc_size >= max_bytes) in _osd_realloc_seg() 544 buff = krealloc(seg->buff, max_bytes, or->alloc_flags); in _osd_realloc_seg() 546 OSD_ERR("Failed to Realloc %d-bytes was-%d\n", max_bytes, in _osd_realloc_seg() 551 memset(buff + seg->alloc_size, 0, max_bytes - seg->alloc_size); in _osd_realloc_seg() [all …]
|
/linux-4.1.27/fs/gfs2/ |
D | file.c | 807 loff_t bytes, max_bytes, max_blks = UINT_MAX; in __gfs2_fallocate() local 845 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate() 873 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate() 886 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate() 892 len -= max_bytes; in __gfs2_fallocate() 893 offset += max_bytes; in __gfs2_fallocate()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_fc.c | 616 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument 623 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft() 731 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local 738 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports() 752 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
|
/linux-4.1.27/fs/btrfs/ |
D | extent_io.h | 205 u64 max_bytes, unsigned bits, int contig); 378 u64 *end, u64 max_bytes);
|
D | extent_io.c | 1525 u64 *start, u64 *end, u64 max_bytes, in find_delalloc_range() argument 1568 if (total_bytes >= max_bytes) in find_delalloc_range() 1678 u64 *end, u64 max_bytes) in find_lock_delalloc_range() argument 1692 max_bytes, &cached_state); in find_lock_delalloc_range() 1711 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range() 1712 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range() 1724 max_bytes = PAGE_CACHE_SIZE; in find_lock_delalloc_range() 1813 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument 1848 if (total_bytes >= max_bytes) in count_range_bits()
|
D | free-space-cache.c | 1645 u64 max_bytes; in recalculate_thresholds() local 1662 max_bytes = MAX_CACHE_BYTES_PER_GIG; in recalculate_thresholds() 1664 max_bytes = MAX_CACHE_BYTES_PER_GIG * in recalculate_thresholds() 1674 if (bitmap_bytes >= max_bytes) { in recalculate_thresholds() 1683 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds() 1684 extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1); in recalculate_thresholds()
|
/linux-4.1.27/tools/perf/ |
D | builtin-timechart.c | 110 u64 max_bytes; member 811 if ((u64)ret > c->max_bytes) in pid_end_io_sample() 812 c->max_bytes = ret; in pid_end_io_sample() 833 if (!sample->err && sample->bytes > c->max_bytes) in pid_end_io_sample() 834 c->max_bytes = sample->bytes; in pid_end_io_sample() 1155 double h = (double)sample->bytes / c->max_bytes; in draw_io_bars()
|
/linux-4.1.27/include/linux/ceph/ |
D | ceph_fs.h | 363 __le32 max_bytes; member
|
/linux-4.1.27/drivers/tty/serial/ |
D | serial-tegra.c | 355 static void tegra_uart_fill_tx_fifo(struct tegra_uart_port *tup, int max_bytes) in tegra_uart_fill_tx_fifo() argument 360 for (i = 0; i < max_bytes; i++) { in tegra_uart_fill_tx_fifo()
|
/linux-4.1.27/drivers/block/ |
D | skd_main.c | 2492 uint16_t insert_pt, max_bytes, drive_pages, drive_bytes, new_size; in skd_do_inq_page_00() local 2508 max_bytes = (cdb[3] << 8) | cdb[4]; in skd_do_inq_page_00() 2526 if (insert_pt < max_bytes) { in skd_do_inq_page_00() 2592 unsigned max_bytes; in skd_do_inq_page_da() local 2633 max_bytes = (cdb[3] << 8) | cdb[4]; in skd_do_inq_page_da() 2634 memcpy(buf, &inq, min_t(unsigned, max_bytes, sizeof(inq))); in skd_do_inq_page_da() 2637 be32_to_cpu(min_t(uint16_t, max_bytes, sizeof(inq))); in skd_do_inq_page_da()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | cb_pcidas64.c | 2902 unsigned int max_bytes) in cb_pcidas64_ao_fill_buffer() argument 2904 unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes); in cb_pcidas64_ao_fill_buffer()
|
/linux-4.1.27/fs/ceph/ |
D | mds_client.c | 1653 req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes); in ceph_alloc_readdir_reply_buffer()
|