Searched refs:min3 (Results 1 - 20 of 20) sorted by relevance

/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_pe_sip.c17 size_t len = min3(max_len, callid_len, buf_len - *idx - 1); ip_vs_dbg_callid()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Dpll.c183 m_stop = min3((unsigned)(pll_max / fint / 2), dss_pll_calc()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c605 size = min3(max_table_offset - last_offset, mlx4_create_zones()
611 candidate_size = min3( mlx4_create_zones()
/linux-4.1.27/drivers/spi/
H A Dspi-dw.c173 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); tx_max()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_drv.c174 num_crtcs = min3(num_crtc, num_mgrs, num_ovls); omap_modeset_init()
/linux-4.1.27/drivers/hid/
H A Duhid.c232 ret = min3(count, (size_t)req->size, (size_t)UHID_DATA_MAX); uhid_hid_get_report()
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c355 t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); gsc_set_prefbuf()
/linux-4.1.27/drivers/tty/serial/
H A Dmsm_serial.c248 tx_count = min3(tx_count, (unsigned int)UART_XMIT_SIZE - xmit->tail, handle_tx()
/linux-4.1.27/include/linux/
H A Dkernel.h732 #define min3(x, y, z) min((typeof(x))min(x, y), z) macro
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_dp_mst_topology.c1368 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); drm_dp_send_sideband_msg()
2189 len = min3(replylen, mgr->max_dpcd_transaction_bytes, 16); drm_dp_get_one_sb_msg()
/linux-4.1.27/drivers/crypto/
H A Dhifn_795x.c1470 copy = min3(drest, size, dst->length); ablkcipher_add()
1732 copy = min3(srest, dst->length, size); ablkcipher_get()
/linux-4.1.27/drivers/firewire/
H A Dsbp2.c1191 tgt->max_payload = min3(device->max_speed + 7, 10U, sbp2_probe()
/linux-4.1.27/drivers/video/fbdev/
H A Dau1200fb.c1066 pixclock = min3(pixclock, fbi->monspecs.dclkmax, (u32)AU1200_LCD_MAX_CLK/2); au1200fb_fb_check_var()
/linux-4.1.27/drivers/target/sbp/
H A Dsbp_target.c1321 tfr_length = min3(length, max_payload, (int)iter.length); sbp_rw_data()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvio.c236 tmp = min3(spare_needed, reserve_freed, (viodev->cmo.entitled - VIO_CMO_MIN_ENT)); vio_cmo_dealloc()
/linux-4.1.27/mm/
H A Dpage-writeback.c1081 x = min3(bdi->balanced_dirty_ratelimit, bdi_update_dirty_ratelimit()
H A Dmemory.c2900 max_pgoff = min3(max_pgoff, vma_pages(vma) + vma->vm_pgoff - 1, do_fault_around()
H A Dslab.c815 int nr = min3(from->avail, max, to->limit - to->avail); transfer_objects()
/linux-4.1.27/arch/x86/kvm/
H A Demulate.c1421 n = min3(in_page, (unsigned int)sizeof(rc->data) / size, count); pio_in_emulated()
/linux-4.1.27/drivers/scsi/
H A Dipr.c10014 ioa_cfg->hrrq_num = min3(ioa_cfg->nvectors, ipr_probe_ioa()

Completed in 965 milliseconds