Home
last modified time | relevance | path

Searched refs:max3 (Results 1 – 25 of 43) sorted by relevance

12

/linux/fs/xfs/libxfs/
H A Dxfs_trans_resv.c401 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_write_reservation()
405 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_write_reservation()
555 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_itruncate_reservation()
559 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_itruncate_reservation()
651 return overhead + max3(t1, t2, t3); in xfs_calc_rename_reservation()
734 return overhead + max3(t1, t2, t3); in xfs_calc_link_reservation()
797 return overhead + max3(t1, t2, t3); in xfs_calc_remove_reservation()
879 return overhead + max3(t1, t2, t3); in xfs_calc_icreate_reservation()
1450 const unsigned int per_intent = max(max3(tx0, tx1, tx2), in xfs_calc_atomic_write_ioend_geometry()
1451 max3(tx3, tx4, relog)); in xfs_calc_atomic_write_ioend_geometry()
[all …]
/linux/drivers/video/
H A Dscreen_info_generic.c175 bits_per_pixel = max(max3(si->red_size + si->red_pos, in __screen_info_lfb_bits_per_pixel()
/linux/drivers/mtd/parsers/
H A Dbcm47xxpart.c204 last_subpart = max3(trx->offset[0], trx->offset[1], in bcm47xxpart_parse()
/linux/arch/x86/kernel/cpu/
H A Damd_cache_disable.c39 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
/linux/include/linux/
H A Dminmax.h152 #define max3(x, y, z) \ macro
/linux/crypto/
H A Daead.c217 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg()
/linux/fs/xfs/scrub/
H A Dreap.c676 const unsigned int step_size = max3(f1, f2, f3); in xreap_configure_agcow_limits()
1067 const unsigned int step_size = max3(f1, f2, f3); in xreap_configure_rgcow_limits()
1572 const unsigned int step_size = max3(f1, f2, f3); in xreap_configure_bmapi_limits()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c123 return max3(x, y, z); in size_h265d_lb_se_left_ctrl()
160 return max3(x, y, z); in size_vpxd_lb_fe_left_ctrl()
176 return max3(x, y, z); in size_vpxd_lb_se_left_ctrl()
/linux/net/ipv4/
H A Dtcp_cdg.c341 return max3(2U, ca->shadow_wnd, tcp_snd_cwnd(tp) >> 1); in tcp_cdg_ssthresh()
/linux/drivers/media/platform/qcom/iris/
H A Diris_vpu3x.c447 return max3(vpp_cycles, vsp_cycles, fw_cycles); in iris_vpu3x_calculate_frequency()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c427 return max3(NFP_NET_DEFAULT_MTU, in nfp_bpf_ctrl_cmsg_mtu()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c545 *(reg) |= REG_FIELD_PREP((mask), max3(old_val, new_val, current_val)); \ in intel_pmdemand_update_params()
/linux/drivers/macintosh/
H A Dwindfarm_pm121.c476 return max3(new_setpoint, new_min, 0); in pm121_correct()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddebugfs.c1155 pwr = max3(pwr80, pwr40, pwr20); in mt7915_rate_txpower_set()
1156 mphy->txpower_cur = max3(mphy->txpower_cur, pwr160, pwr); in mt7915_rate_txpower_set()
/linux/mm/
H A Dswap_state.c708 *start = max3(left, vma->vm_start, faddr & PMD_MASK); in swap_vma_ra_win()
H A Dpage-writeback.c1461 x = max3(wb->balanced_dirty_ratelimit, in wb_update_dirty_ratelimit()
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1288 timeps = max3(conf->timings.sdr.tCLS_min, conf->timings.sdr.tCS_min, in atmel_smc_nand_prepare_smcconf()
1305 timeps = max3(conf->timings.sdr.tCLH_min, conf->timings.sdr.tCH_min, in atmel_smc_nand_prepare_smcconf()
1307 timeps = max3(timeps, conf->timings.sdr.tDH_min, in atmel_smc_nand_prepare_smcconf()
/linux/block/
H A Dblk-settings.c82 bdi->ra_pages = max3(bdi->ra_pages, in blk_apply_bdi_limits()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c964 vco_min = max3(vco_min, vclk, dclk); in radeon_uvd_calc_upll_dividers()
/linux/drivers/hid/
H A Dhid-lg-g15.c212 high = max3(g15->transfer_buf[1], g15->transfer_buf[2], in lg_g510_get_initial_led_brightness()
/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c336 twait = max3(sdrt->tRP_min, sdrt->tWP_min, twait_min); in fsmc_calc_timings()
H A Dtegra_nand.c792 val = DIV_ROUND_UP(max3(timings->tAR_min, timings->tRR_min, in tegra_nand_setup_timing()
H A Ddenali.c902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c356 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-capture.c710 dummy_buf->size = max3(rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y), in rkisp1_dummy_buf_create()

12