Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/radeon/
Dr600_blit.c591 int max_bytes; in r600_blit_copy() local
598 max_bytes = 8192; in r600_blit_copy()
609 h = (cur_size / max_bytes); in r600_blit_copy()
615 cur_size = max_bytes; in r600_blit_copy()
617 if (cur_size > max_bytes) in r600_blit_copy()
618 cur_size = max_bytes; in r600_blit_copy()
619 if (cur_size > (max_bytes - dst_x)) in r600_blit_copy()
620 cur_size = (max_bytes - dst_x); in r600_blit_copy()
621 if (cur_size > (max_bytes - src_x)) in r600_blit_copy()
622 cur_size = (max_bytes - src_x); in r600_blit_copy()
[all …]
Datombios_i2c.c92 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
113 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer()
116 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer()
120 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer()
121 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
/linux-3.4.99/fs/ubifs/
Dsb.c358 long long max_bytes; in validate_sb() local
418 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
419 if (c->max_bud_bytes < max_bytes) { in validate_sb()
421 "%lld bytes", c->max_bud_bytes, max_bytes); in validate_sb()
425 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
426 if (c->max_bud_bytes > max_bytes) { in validate_sb()
429 c->max_bud_bytes, max_bytes); in validate_sb()
463 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/linux-3.4.99/drivers/scsi/osd/
Dosd_initiator.c247 void *cur_p, struct osd_attr *oa, unsigned max_bytes) in _osd_req_alist_elem_decode() argument
253 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode()
258 if (inc > max_bytes) in _osd_req_alist_elem_decode()
273 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode()
278 if (inc > max_bytes) in _osd_req_alist_elem_decode()
533 struct _osd_req_data_segment *seg, unsigned max_bytes) in _osd_realloc_seg() argument
537 if (seg->alloc_size >= max_bytes) in _osd_realloc_seg()
540 buff = krealloc(seg->buff, max_bytes, or->alloc_flags); in _osd_realloc_seg()
542 OSD_ERR("Failed to Realloc %d-bytes was-%d\n", max_bytes, in _osd_realloc_seg()
547 memset(buff + seg->alloc_size, 0, max_bytes - seg->alloc_size); in _osd_realloc_seg()
[all …]
/linux-3.4.99/fs/gfs2/
Dfile.c753 loff_t bytes, max_bytes; in gfs2_fallocate() local
814 max_bytes = bytes; in gfs2_fallocate()
816 &max_bytes, &data_blocks, &ind_blocks); in gfs2_fallocate()
828 error = fallocate_chunk(inode, offset, max_bytes, mode); in gfs2_fallocate()
834 len -= max_bytes; in gfs2_fallocate()
835 offset += max_bytes; in gfs2_fallocate()
/linux-3.4.99/drivers/s390/scsi/
Dzfcp_fc.c552 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument
559 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft()
666 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local
671 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports()
685 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
/linux-3.4.99/arch/powerpc/kvm/
D44x_tlb.c304 u32 max_bytes = get_tlb_bytes(gtlbe); in kvmppc_mmu_map() local
339 if (max_bytes >= PAGE_SIZE) { in kvmppc_mmu_map()
/linux-3.4.99/fs/btrfs/
Dfree-space-cache.c1323 u64 max_bytes; in recalculate_thresholds() local
1338 max_bytes = MAX_CACHE_BYTES_PER_GIG; in recalculate_thresholds()
1340 max_bytes = MAX_CACHE_BYTES_PER_GIG * in recalculate_thresholds()
1350 if (bitmap_bytes >= max_bytes) { in recalculate_thresholds()
1359 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds()
1360 extent_bytes = min_t(u64, extent_bytes, div64_u64(max_bytes, 2)); in recalculate_thresholds()
Dextent_io.h211 u64 max_bytes, unsigned long bits, int contig);
Dextent_io.c1355 u64 *start, u64 *end, u64 max_bytes, in find_delalloc_range() argument
1400 if (total_bytes >= max_bytes) in find_delalloc_range()
1509 u64 max_bytes) in find_lock_delalloc_range() argument
1523 max_bytes, &cached_state); in find_lock_delalloc_range()
1543 if (delalloc_end + 1 - delalloc_start > max_bytes && loops) in find_lock_delalloc_range()
1557 max_bytes = PAGE_CACHE_SIZE - offset; in find_lock_delalloc_range()
1651 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument
1688 if (total_bytes >= max_bytes) in count_range_bits()
/linux-3.4.99/fs/ceph/
Ddir.c252 const int max_bytes = fsc->mount_options->max_readdir_bytes; in ceph_readdir() local
340 req->r_args.readdir.max_bytes = cpu_to_le32(max_bytes); in ceph_readdir()
/linux-3.4.99/include/linux/ceph/
Dceph_fs.h371 __le32 max_bytes; member
/linux-3.4.99/kernel/
Dcgroup.c2307 size_t max_bytes = cft->max_write_len; in cgroup_write_string() local
2310 if (!max_bytes) in cgroup_write_string()
2311 max_bytes = sizeof(local_buffer) - 1; in cgroup_write_string()
2312 if (nbytes >= max_bytes) in cgroup_write_string()