Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_trans_resv.c341 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_write_reservation()
345 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_write_reservation()
413 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_itruncate_reservation()
417 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_itruncate_reservation()
511 return overhead + max3(t1, t2, t3); in xfs_calc_rename_reservation()
596 return overhead + max3(t1, t2, t3); in xfs_calc_link_reservation()
661 return overhead + max3(t1, t2, t3); in xfs_calc_remove_reservation()
743 return overhead + max3(t1, t2, t3); in xfs_calc_icreate_reservation()
/linux-6.12.1/drivers/firmware/
Dsysfb_simplefb.c60 bits_per_pixel = max(max3(si->red_size + si->red_pos, in sysfb_parse_mode()
/linux-6.12.1/drivers/mtd/parsers/
Dbcm47xxpart.c204 last_subpart = max3(trx->offset[0], trx->offset[1], in bcm47xxpart_parse()
/linux-6.12.1/crypto/
Daead.c215 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg()
/linux-6.12.1/include/linux/
Dminmax.h176 #define max3(x, y, z) \ macro
/linux-6.12.1/drivers/media/platform/qcom/venus/
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-6.12.1/net/ipv4/
Dtcp_cdg.c341 return max3(2U, ca->shadow_wnd, tcp_snd_cwnd(tp) >> 1); in tcp_cdg_ssthresh()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c425 return max3(NFP_NET_DEFAULT_MTU, in nfp_bpf_ctrl_cmsg_mtu()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_pmdemand.c491 *(reg) |= REG_FIELD_PREP((mask), max3(old_val, new_val, current_val)); \ in intel_pmdemand_update_params()
/linux-6.12.1/drivers/macintosh/
Dwindfarm_pm121.c476 return max3(new_setpoint, new_min, 0); in pm121_correct()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Ddebugfs.c1134 pwr = max3(pwr80, pwr40, pwr20); in mt7915_rate_txpower_set()
1135 mphy->txpower_cur = max3(mphy->txpower_cur, pwr160, pwr); in mt7915_rate_txpower_set()
/linux-6.12.1/mm/
Dswap_state.c777 *start = max3(left, vma->vm_start, faddr & PMD_MASK); in swap_vma_ra_win()
Dpage-writeback.c1481 x = max3(wb->balanced_dirty_ratelimit, in wb_update_dirty_ratelimit()
/linux-6.12.1/drivers/mtd/nand/raw/atmel/
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-6.12.1/drivers/hid/
Dhid-lg-g15.c206 high = max3(g15->transfer_buf[1], g15->transfer_buf[2], in lg_g510_get_initial_led_brightness()
/linux-6.12.1/arch/x86/kernel/cpu/
Dcacheinfo.c341 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
/linux-6.12.1/drivers/mtd/nand/raw/
Dfsmc_nand.c336 twait = max3(sdrt->tRP_min, sdrt->tWP_min, twait_min); in fsmc_calc_timings()
Dtegra_nand.c792 val = DIV_ROUND_UP(max3(timings->tAR_min, timings->tRR_min, in tegra_nand_setup_timing()
Ddenali.c902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c356 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf()
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c712 dummy_buf->size = max3(rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y), in rkisp1_dummy_buf_create()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Drtw8822b.c884 pkt_stat->signal_power = max3(pkt_stat->rx_power[RF_PATH_A], in query_phy_status_page1()
/linux-6.12.1/drivers/bus/
Dti-sysc.c917 size = max3(ddata->offsets[SYSC_REVISION], in sysc_ioremap()
/linux-6.12.1/drivers/infiniband/ulp/ipoib/
Dipoib_main.c2654 ipoib_sendq_size = max3(ipoib_sendq_size, 2 * MAX_SEND_CQE, IPOIB_MIN_QUEUE_SIZE); in ipoib_init_module()
/linux-6.12.1/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c598 max_rgb = max3(r, g, b); in color_to_hsv()

12