min3 113 arch/powerpc/mm/book3s32/mmu.c return min3(max_size, 1U << base_shift, 1U << block_shift); min3 232 arch/powerpc/platforms/pseries/vio.c tmp = min3(spare_needed, reserve_freed, (viodev->cmo.entitled - VIO_CMO_MIN_ENT)); min3 577 arch/s390/pci/pci_dma.c zdev->iommu_size = min3((u64) high_memory, min3 1523 arch/x86/kvm/emulate.c n = min3(in_page, (unsigned int)sizeof(rc->data) / size, count); min3 818 arch/x86/xen/setup.c extra_pages = min3(EXTRA_MEM_RATIO * min(max_pfn, PFN_DOWN(MAXMEM)), min3 1839 crypto/drbg.c u32 cryptlen = min3(inlen, outlen, (u32)DRBG_OUTSCRATCHLEN); min3 1417 drivers/crypto/hifn_795x.c copy = min3(drest, size, dst->length); min3 1624 drivers/crypto/hifn_795x.c copy = min3(srest, dst->length, size); min3 300 drivers/crypto/sunxi-ss/sun4i-ss-hash.c todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); min3 1174 drivers/firewire/sbp2.c tgt->max_payload = min3(device->max_speed + 7, 10U, min3 346 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c cur_size = min3(min(src_node_size, dst_node_size), size, min3 1936 drivers/gpu/drm/drm_dp_mst_topology.c tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); min3 2877 drivers/gpu/drm/drm_dp_mst_topology.c len = min3(replylen, mgr->max_dpcd_transaction_bytes, 16); min3 249 drivers/gpu/drm/i915/display/intel_bw.c return min3(icl_max_bw(dev_priv, num_planes, 0), min3 224 drivers/gpu/drm/i915/display/intel_dp.c return min3(source_max, sink_max, fia_max); min3 237 drivers/gpu/drm/omapdrm/dss/pll.c m_stop = min3((unsigned)(pll_max / fint / 2), min3 144 drivers/gpu/drm/udl/udl_transfer.c cmd_pixel_end = pixel + (min3(MAX_CMD_PIXELS + 1UL, min3 205 drivers/hid/hid-u2fzero.c actual_length = min3((size_t)ret - offsetof(struct u2f_hid_msg, min3 647 drivers/hid/intel-ish-hid/ishtp-fw-loader.c payload_max_size = min3(fw->size, min3 246 drivers/hid/uhid.c ret = min3(count, (size_t)req->size, (size_t)UHID_DATA_MAX); min3 571 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c min_rgb = min3(r, g, b); min3 355 drivers/media/platform/exynos-gsc/gsc-core.c t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); min3 1968 drivers/mmc/host/omap_hsmmc.c mmc->max_seg_size = min3(mmc->max_req_size, min3 2939 drivers/net/ethernet/mellanox/mlx4/main.c int nreq = min3(dev->caps.num_ports * min3 651 drivers/net/ethernet/mellanox/mlx4/qp.c size = min3(max_table_offset - last_offset, min3 657 drivers/net/ethernet/mellanox/mlx4/qp.c candidate_size = min3( min3 439 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c return min3(req_max, reply_max, NFP_BPF_MAP_CACHE_CNT); min3 10317 drivers/scsi/ipr.c ioa_cfg->hrrq_num = min3(ioa_cfg->nvectors, min3 170 drivers/spi/spi-dw.c return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); min3 430 drivers/spi/spi-mem.c op->data.nbytes = min3((size_t)op->data.nbytes, min3 178 drivers/spi/spi-pic32.c return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); min3 153 drivers/spi/spi-sun4i.c len = min3(len, (int)cnt, sspi->len); min3 165 drivers/spi/spi-sun6i.c len = min3(len, (int)cnt, sspi->len); min3 1304 drivers/target/sbp/sbp_target.c tfr_length = min3(length, max_payload, (int)iter.length); min3 1068 drivers/video/fbdev/au1200fb.c pixclock = min3(pixclock, fbi->monspecs.dclkmax, (u32)AU1200_LCD_MAX_CLK/2); min3 172 drivers/video/fbdev/omap2/omapfb/dss/pll.c m_stop = min3((unsigned)(pll_max / fint / 2), min3 462 drivers/video/fbdev/udlfb.c cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL, min3 98 include/linux/bvec.h unsigned len = min3(bytes, iter->bi_size, min3 3456 mm/memory.c end_pgoff = min3(end_pgoff, vma_pages(vmf->vma) + vmf->vma->vm_pgoff - 1, min3 1312 mm/page-writeback.c x = min3(wb->balanced_dirty_ratelimit, min3 578 mm/slab.c int nr = min3(from->avail, max, to->limit - to->avail); min3 636 mm/swap_state.c *end = min3(rpfn, PFN_DOWN(vma->vm_end), min3 869 net/can/j1939/transport.c len = min3(len, session->pkt.block, j1939_tp_block ?: 255); min3 18 net/netfilter/ipvs/ip_vs_pe_sip.c size_t len = min3(max_len, callid_len, buf_len - *idx - 1);