max_t 168 arch/alpha/kernel/pci.c alignto = max_t(resource_size_t, 0x1000, align); max_t 1188 arch/arc/kernel/unwind.c endLoc = max_t(unsigned long, UNW_SP(frame), cfa); max_t 343 arch/arm64/mm/init.c memblock_remove(max_t(u64, memstart_addr + linear_region_size, max_t 386 arch/mips/cavium-octeon/executive/cvmx-spi.c stxx_spi4_dat.s.max_t = 0xFFFF; /*Minimum interval is 0x20 */ max_t 119 arch/mips/generic/yamon-dt.c phys_memsize = max_t(unsigned long, phys_memsize, memsize); max_t 250 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t max_t:16; max_t 252 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t max_t:16; max_t 1849 arch/mips/mm/c-r4k.c shm_align_mask = max_t( unsigned long, max_t 387 arch/mips/mm/c-tx39.c shm_align_mask = max_t(unsigned long, max_t 2590 arch/mips/mm/tlbex.c fillbits = max_t(int, (int)BITS_PER_LONG - pabits, 0); max_t 189 arch/mips/mti-malta/malta-dtshim.c physical_memsize = max_t(unsigned long, physical_memsize, memsize); max_t 24 arch/powerpc/include/asm/fadump-internal.h max_t(unsigned long, MAX_ORDER - 1, \ max_t 172 arch/powerpc/kernel/fadump.c start = max_t(u64, d_start, reg->base); max_t 1141 arch/powerpc/kernel/fadump.c tstart = max_t(u64, spfn, memblock_region_memory_base_pfn(reg)); max_t 2180 arch/powerpc/kernel/process.c base = max_t(unsigned long, mm->brk, 1UL << SID_SHIFT_1T); max_t 118 arch/powerpc/mm/init-common.c align = max_t(unsigned long, align, minalign); max_t 283 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); max_t 329 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); max_t 438 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); max_t 272 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned int table_shift = max_t(unsigned int, entries_shift + 3, max_t 285 arch/powerpc/platforms/powernv/pci-ioda-tce.c level_shift = max_t(unsigned int, level_shift, PAGE_SHIFT); max_t 2432 arch/powerpc/platforms/powernv/pci-ioda.c levels = max_t(unsigned int, levels, POWERNV_IOMMU_DEFAULT_LEVELS); max_t 2517 arch/powerpc/platforms/powernv/pci-ioda.c table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); max_t 2525 arch/powerpc/platforms/powernv/pci-ioda.c tce_table_size = max_t(unsigned long, max_t 3786 arch/powerpc/platforms/powernv/pci-ioda.c size = _ALIGN_UP(max_t(unsigned, phb->ioda.total_pe_num, 8) / 8, max_t 965 arch/powerpc/platforms/pseries/iommu.c max_addr = max_t(phys_addr_t, max_addr, start + size); max_t 320 arch/powerpc/platforms/pseries/vio.c max_t(size_t, viodev->cmo.allocated, max_t 346 arch/powerpc/platforms/pseries/vio.c max_t(size_t, viodev->cmo.allocated, max_t 413 arch/powerpc/platforms/pseries/vio.c avail -= max_t(size_t, viodev->cmo.allocated, VIO_CMO_MIN_ENT); max_t 698 arch/s390/kernel/setup.c low = max_t(unsigned long, crash_size, sclp.hsa_size); max_t 213 arch/s390/mm/init.c return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); max_t 324 arch/sh/kernel/cpu/init.c shm_align_mask = max_t(unsigned long, max_t 233 arch/sh/kernel/io_trapped.c max_t(unsigned long, cnt, max_t 256 arch/sh/kernel/io_trapped.c dst_addr, max_t(unsigned long, cnt, max_t 348 arch/sh/mm/init.c high_memory = max_t(void *, high_memory, max_t 1157 arch/x86/kernel/apic/x2apic_uv_x.c uv_cpuid.gnode_shift = max_t(unsigned int, uv_cpuid.gnode_shift, mn.n_val); max_t 1494 arch/x86/kernel/smpboot.c total_cpus = max_t(int, possible, num_processors + disabled_cpus); max_t 1515 arch/x86/kernel/smpboot.c possible, max_t(int, possible - num_processors, 0)); max_t 103 arch/x86/mm/pgtable.c max_t(size_t, KERNEL_PGD_BOUNDARY, PTRS_PER_PGD) max_t 956 block/bfq-iosched.c new_budget = max_t(unsigned long, max_t 957 block/bfq-iosched.c max_t(unsigned long, bfqq->max_budget, max_t 1499 block/bfq-iosched.c entity->budget = max_t(unsigned long, bfqq->max_budget, max_t 2980 block/bfq-iosched.c sl = max_t(u32, sl, 20ULL * NSEC_PER_MSEC); max_t 3058 block/bfq-iosched.c max_t(u64, bfqd->delta_from_first, max_t 3136 block/bfq-iosched.c bfqd->peak_rate = max_t(u32, 1, bfqd->peak_rate); max_t 3216 block/bfq-iosched.c max_t(u32, blk_rq_sectors(rq), bfqd->last_rq_max_size); max_t 3649 block/bfq-iosched.c budget = max_t(int, bfqq->entity.service, min_budget); max_t 3682 block/bfq-iosched.c bfqq->entity.budget = max_t(unsigned long, bfqq->max_budget, max_t 5559 block/bfq-iosched.c bfqd->max_rq_in_driver = max_t(int, bfqd->max_rq_in_driver, max_t 5861 block/bfq-iosched.c bfqq->inject_limit = max_t(unsigned int, 1, old_limit); max_t 527 block/bfq-wf2q.c return max_t(int, 0, max_t 900 block/bfq-wf2q.c max_t(int, 0, tot_serv_to_charge - entity->service)); max_t 1667 block/blk-cgroup.c sub = max_t(u64, sub, blkg->last_delay >> 1); max_t 1703 block/blk-cgroup.c delay_nsec = max_t(u64, delay_nsec, max_t 706 block/blk-iocost.c multi = max_t(u32, (MILLION - ppm) / 50000, 2); max_t 1001 block/blk-iocost.c iocg->hweight_active = max_t(u32, hwa, 1); max_t 1002 block/blk-iocost.c iocg->hweight_inuse = max_t(u32, hwi, 1); max_t 1640 block/blk-iocost.c u64 pages = max_t(u64, bio_sectors(bio) >> IOC_SECT_TO_PAGE_SHIFT, 1); max_t 756 block/blk-iolatency.c iolat->cur_win_nsec = max_t(u64, val << 4, BLKIOLATENCY_MIN_WIN_SIZE); max_t 625 block/kyber-iosched.c divisor = max_t(u64, target >> KYBER_LATENCY_SHIFT, 1); max_t 349 crypto/authenc.c max_t(unsigned int, max_t 367 crypto/authencesn.c max_t(unsigned int, max_t 1819 crypto/testmgr.c maxkeysize = max_t(unsigned int, maxkeysize, max_t 2226 crypto/testmgr.c maxkeysize = max_t(unsigned int, maxkeysize, max_t 112 drivers/ata/pata_bk3710.c cycletime = max_t(int, t->cycle, min_cycle); max_t 428 drivers/base/firmware_loader/fallback.c fw_priv->size = max_t(size_t, offset + count, fw_priv->size); max_t 456 drivers/block/drbd/drbd_nl.c fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing); max_t 2561 drivers/block/drbd/drbd_nl.c max_t(enum drbd_conns, C_WF_REPORT_PARAMS, device->state.conn); max_t 139 drivers/block/drbd/drbd_state.c max_t(enum drbd_conns, max_t 201 drivers/block/drbd/drbd_state.c max_t(enum drbd_conns, C_WF_REPORT_PARAMS, state.conn); max_t 376 drivers/block/drbd/drbd_state.c disk_state = max_t(enum drbd_disk_state, disk_state, device->state.disk); max_t 408 drivers/block/drbd/drbd_state.c disk_state = max_t(enum drbd_disk_state, disk_state, device->state.pdsk); max_t 2235 drivers/block/drbd/drbd_state.c ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); max_t 2236 drivers/block/drbd/drbd_state.c ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); max_t 2237 drivers/block/drbd/drbd_state.c ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); max_t 703 drivers/block/floppy.c #define INFBOUND(a, b) (a) = max_t(int, a, b) max_t 184 drivers/bluetooth/bcm203x.c size = max_t(uint, firmware->size, 4096); max_t 39 drivers/bluetooth/btmrvl_sdio.h #define ALLOC_BUF_SIZE (((max_t (int, MRVDRV_BT_RX_PACKET_BUFFER_SIZE, \ max_t 606 drivers/char/agp/generic.c max_t(u32,(*bridge_agpstat & AGPSTAT_ARQSZ),(*vga_agpstat & AGPSTAT_ARQSZ))); max_t 1415 drivers/char/random.c bytes = max_t(int, bytes, random_read_wakeup_bits / 8); max_t 61 drivers/char/tpm/tpm_tis_core.h #define TIS_TIMEOUT_A_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_A) max_t 62 drivers/char/tpm/tpm_tis_core.h #define TIS_TIMEOUT_B_MAX max_t(int, TIS_LONG_TIMEOUT, TPM2_TIMEOUT_B) max_t 63 drivers/char/tpm/tpm_tis_core.h #define TIS_TIMEOUT_C_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_C) max_t 64 drivers/char/tpm/tpm_tis_core.h #define TIS_TIMEOUT_D_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_D) max_t 953 drivers/clk/bcm/clk-bcm2835.c div = max_t(u32, div, mindiv); max_t 157 drivers/clk/bcm/clk-bcm63xx-gate.c maxbit = max_t(u8, maxbit, entry->bit); max_t 119 drivers/clk/clk-axi-clkgen.c d_min = max_t(unsigned long, DIV_ROUND_UP(fin, fpfd_max), 1); max_t 122 drivers/clk/clk-axi-clkgen.c m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min, fin) * d_min, 1); max_t 129 drivers/clk/ingenic/cgu.c n = max_t(unsigned, n, pll_info->n_offset); max_t 133 drivers/clk/ingenic/cgu.c m = max_t(unsigned, m, pll_info->m_offset); max_t 424 drivers/clk/ingenic/cgu.c div = max_t(unsigned, div, 1); max_t 439 drivers/cpufreq/cpufreq_governor.c dbs_data->sampling_rate = max_t(unsigned int, max_t 1314 drivers/crypto/chelsio/chtls/chtls_io.c wnd = max_t(unsigned int, wnd, tcp_full_space(sk)); max_t 1315 drivers/crypto/chelsio/chtls/chtls_io.c wnd = max_t(unsigned int, MIN_RCV_WND, wnd); max_t 3089 drivers/dma/pl330.c num_chan = max_t(int, pcfg->num_peri, pcfg->num_chan); max_t 112 drivers/edac/sb_edac.c (max_t(unsigned int, ARRAY_SIZE(sbridge_interleave_list), \ max_t 113 drivers/edac/sb_edac.c max_t(unsigned int, ARRAY_SIZE(ibridge_interleave_list), \ max_t 727 drivers/firmware/edd.c return max_t(unsigned char, max_t 1377 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); max_t 1378 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); max_t 1674 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); max_t 1675 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); max_t 3538 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); max_t 3539 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); max_t 1935 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 t_max = dte_data->max_t; max_t 2601 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); max_t 893 drivers/gpu/drm/amd/amdgpu/si_dpm.h u32 max_t; max_t 609 drivers/gpu/drm/armada/armada_crtc.c w = max_t(int, dcrtc->crtc.mode.hdisplay - dcrtc->cursor_x, 0); max_t 622 drivers/gpu/drm/armada/armada_crtc.c h = max_t(int, dcrtc->crtc.mode.vdisplay - dcrtc->cursor_y, 0); max_t 414 drivers/gpu/drm/drm_color_mgmt.c struct drm_prop_enum_list enum_list[max_t(int, DRM_COLOR_ENCODING_MAX, max_t 641 drivers/gpu/drm/drm_fb_helper.c clip->x2 = max_t(u32, clip->x2, x + width); max_t 642 drivers/gpu/drm/drm_fb_helper.c clip->y2 = max_t(u32, clip->y2, y + height); max_t 1615 drivers/gpu/drm/drm_fb_helper.c sizes.surface_width = max_t(u32, desired_mode->hdisplay + x, sizes.surface_width); max_t 1616 drivers/gpu/drm/drm_fb_helper.c sizes.surface_height = max_t(u32, desired_mode->vdisplay + y, sizes.surface_height); max_t 811 drivers/gpu/drm/drm_mipi_dbi.c max_chunk = max_t(size_t, 8, max_chunk & ~0x7); max_t 193 drivers/gpu/drm/i915/display/intel_bw.c ct = max_t(int, sp->t_rc, sp->t_rp + sp->t_rcd + max_t 6460 drivers/gpu/drm/i915/display/intel_dp.c vbt.t11_t12 = max_t(u16, vbt.t11_t12, 1300 * 10); max_t 421 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) max_t 584 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) max_t 466 drivers/gpu/drm/i915/gem/i915_gem_domain.c vma->display_alignment = max_t(u64, vma->display_alignment, alignment); max_t 52 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_segment = max_t(unsigned int, max_segment, max_t 3755 drivers/gpu/drm/i915/i915_debugfs.c sseu->eu_per_subslice = max_t(unsigned int, max_t 3809 drivers/gpu/drm/i915/i915_debugfs.c sseu->eu_per_subslice = max_t(unsigned int, max_t 3865 drivers/gpu/drm/i915/i915_debugfs.c sseu->eu_per_subslice = max_t(unsigned int, max_t 2690 drivers/gpu/drm/i915/i915_gem_gtt.c ggtt->pin_bias = max_t(u32, I915_GTT_PAGE_SIZE, max_t 21 drivers/gpu/drm/i915/i915_pmu.c #define PERIOD max_t(u64, 10000, NSEC_PER_SEC / FREQUENCY) max_t 556 drivers/gpu/drm/i915/i915_vma.c size = max_t(typeof(size), size, vma->fence_size); max_t 557 drivers/gpu/drm/i915/i915_vma.c alignment = max_t(typeof(alignment), max_t 3007 drivers/gpu/drm/i915/intel_pm.c wm[level] = max_t(u16, wm[level], DIV_ROUND_UP(min, 5)); max_t 7667 drivers/gpu/drm/i915/intel_pm.c return max_t(u32, val, 0xc0); max_t 237 drivers/gpu/drm/meson/meson_overlay.c vsc_startp = max_t(int, start, max_t 238 drivers/gpu/drm/meson/meson_overlay.c max_t(int, 0, video_top)); max_t 271 drivers/gpu/drm/meson/meson_overlay.c hsc_startp = max_t(int, start, max_t(int, 0, video_left)); max_t 160 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c src_width = max_t(u32, src_width, max_t 21 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c return max_t(s32, min_result, v - 1); max_t 23 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c return max_t(s32, min_result, v); max_t 76 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst = max_t(s32, 0, temp - 2); max_t 181 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); max_t 183 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); max_t 197 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); max_t 199 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); max_t 290 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); max_t 292 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); max_t 306 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); max_t 308 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); max_t 612 drivers/gpu/drm/nouveau/nouveau_svm.c start = max_t(u64, start, svmm->unmanaged.limit); max_t 626 drivers/gpu/drm/nouveau/nouveau_svm.c start = max_t(u64, start, vma->vm_start); max_t 1283 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c atarget = max_t(u32, gr->tpc_total * i / 32, 1); max_t 936 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c u32 atarget = max_t(u32, gr->tpc_total * i / 32, 1); max_t 376 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c max_t(u8,T(18), 1) << 16 | max_t 392 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c max_t(u8,T(RCDRD), T(RCDWR)) << 16 | max_t 393 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c max_t(u8, (T(CWL) + 6), (T(CL) + 2)) << 8 | max_t 396 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c max_t(u8, 1, (6 - T(CL) + T(CWL))) << 8 | max_t 105 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c max_t(s8, T(CWL) - 2, 1) << 8 | max_t 111 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c max_t(u8, T(18), 1) << 16 | max_t 126 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c max_t(u8, T(RCDRD), T(RCDWR)) << 16 | max_t 175 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c page = max_t(u8, page, PAGE_SHIFT); max_t 1681 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c align = max_t(u8, align, shift); max_t 1683 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c align = max_t(u8, align, 12); max_t 45 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c target = max_t(u8, target, fan->bios.min_duty); max_t 50 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); max_t 51 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); max_t 52 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); max_t 53 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2); max_t 2219 drivers/gpu/drm/omapdrm/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); max_t 2226 drivers/gpu/drm/omapdrm/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); max_t 167 drivers/gpu/drm/qxl/qxl_draw.c right = max_t(int, right, (int)clips_ptr->x2); max_t 169 drivers/gpu/drm/qxl/qxl_draw.c bottom = max_t(int, bottom, (int)clips_ptr->y2); max_t 1844 drivers/gpu/drm/radeon/si_dpm.c u32 t_max = dte_data->max_t; max_t 2505 drivers/gpu/drm/radeon/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); max_t 77 drivers/gpu/drm/radeon/si_dpm.h u32 max_t; max_t 245 drivers/gpu/drm/rcar-du/rcar_lvds.c m_min = max_t(unsigned int, 1, DIV_ROUND_UP(fin, 24000000)); max_t 262 drivers/gpu/drm/rcar-du/rcar_lvds.c n_min = max_t(unsigned int, 60, DIV_ROUND_UP(900000000, fpfd)); max_t 193 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c max_t(unsigned long, rounded_rate, rate) - max_t 374 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c return max_t(u16, delay, 1); max_t 600 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); max_t 145 drivers/gpu/drm/tegra/dc.c outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); max_t 158 drivers/gpu/drm/vboxvideo/vbox_mode.c width = max_t(u16, width, vbox_crtc->x_hint + max_t 160 drivers/gpu/drm/vboxvideo/vbox_mode.c height = max_t(u16, height, vbox_crtc->y_hint + max_t 1136 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h size.width = max_t(u32, base_level.width >> mip_level, 1); max_t 1137 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h size.height = max_t(u32, base_level.height >> mip_level, 1); max_t 1138 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h size.depth = max_t(u32, base_level.depth >> mip_level, 1); max_t 1254 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h total_size *= max_t(u32, 1, num_samples); max_t 264 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c rect->x2 = max_t(int, rect->x2, offs + 1); max_t 266 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c rect->y2 = max_t(int, rect->y2, diff->line + 1); max_t 1017 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c max_t(size_t, size, man->default_size), max_t 534 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c width = max_t(uint32_t, width, VMW_MIN_INITIAL_WIDTH); max_t 535 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c height = max_t(uint32_t, height, VMW_MIN_INITIAL_HEIGHT); max_t 220 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c dst_x1 = max_t(s32, dst_x1, 0); max_t 221 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c dst_y1 = max_t(s32, dst_y1, 0); max_t 229 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c w = max_t(s32, 0, w); max_t 230 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c h = max_t(s32, 0, h); max_t 2883 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.x2 = max_t(int, bb.x2, clip.x2); max_t 2884 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.y2 = max_t(int, bb.y2, clip.y2); max_t 1097 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty->right = max_t(s32, sdirty->right, dirty->unit_x2); max_t 1098 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty->bottom = max_t(s32, sdirty->bottom, dirty->unit_y2); max_t 477 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2); max_t 478 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); max_t 550 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2); max_t 551 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); max_t 773 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty->right = max_t(s32, sdirty->right, dirty->unit_x2); max_t 774 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty->bottom = max_t(s32, sdirty->bottom, dirty->unit_y2); max_t 439 drivers/gpu/ipu-v3/ipu-image-convert.c cols = num_stripes(max_t(u32, downsized_width, resized_width)); max_t 440 drivers/gpu/ipu-v3/ipu-image-convert.c rows = num_stripes(max_t(u32, downsized_height, resized_height)); max_t 507 drivers/gpu/ipu-v3/ipu-image-convert.c out_start = max_t(int, index * out_align, out_edge - 1024); max_t 515 drivers/gpu/ipu-v3/ipu-image-convert.c in_start = max_t(int, index * in_align, max_t 1958 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.height = max_t(__u32, out->pix.height, max_t 1960 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.width = max_t(__u32, out->pix.width, max_t 1963 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.width = max_t(__u32, out->pix.width, max_t 1965 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.height = max_t(__u32, out->pix.height, max_t 300 drivers/hid/hid-core.c usages = max_t(unsigned, parser->local.usage_index, max_t 255 drivers/hid/hid-magicmouse.c msc->scroll_accel = max_t(int, max_t 2016 drivers/hv/vmbus_drv.c size = max_t(__u32, screen_info.lfb_size, 0x800000); max_t 2018 drivers/hv/vmbus_drv.c size = max_t(__u32, screen_info.lfb_size, 0x4000000); max_t 1519 drivers/i2c/busses/i2c-qup.c max_rx_len = max_t(unsigned int, max_rx_len, max_t 1522 drivers/i2c/busses/i2c-qup.c max_tx_len = max_t(unsigned int, max_tx_len, max_t 174 drivers/i2c/busses/i2c-xlp9xx.c len = max_t(u32, priv->msg_len, len + 4); max_t 109 drivers/ide/palm_bk3710.c cycletime = max_t(int, t->cycle, min_cycle); max_t 660 drivers/ide/pmac.c cycleTime = max_t(int, id[ATA_ID_EIDE_DMA_TIME], cycleTime); max_t 37 drivers/ide/tx4938ide.c wt = max_t(int, wt, DIV_ROUND_UP(35, cycle)); max_t 116 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c *max_odr = max_t(u16, *max_odr, sensor->odr); max_t 148 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c ts_sip = max_t(u16, ts_sip, sensor->sip); max_t 258 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c fifo_watermark = max_t(u16, fifo_watermark, hw->sip); max_t 1000 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c return max_t(u16, ref->odr, odr); max_t 726 drivers/infiniband/core/umem_odp.c virt = max_t(u64, virt, ib_umem_start(umem_odp)); max_t 249 drivers/infiniband/hw/cxgb4/qp.c roundup_pow_of_two(max_t(u16, wq->rq.size, 16)); max_t 2699 drivers/infiniband/hw/cxgb4/qp.c rqsize = roundup_pow_of_two(max_t(u16, rqsize, 16)); max_t 68 drivers/infiniband/hw/hfi1/sdma.c #define SDMA_PAD max_t(size_t, MAX_16B_PADDING, sizeof(u32)) max_t 61 drivers/infiniband/hw/hfi1/tid_rdma.c #define MAX_REQ max_t(u16, TID_RDMA_MAX_READ_SEGS_PER_REQ, \ max_t 354 drivers/infiniband/hw/mlx4/qp.c qp->rq.wqe_shift = ilog2(max_t(u32, wqe_size, inl_recv_sz)); max_t 1514 drivers/infiniband/hw/mlx5/mr.c add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); max_t 270 drivers/infiniband/hw/mlx5/odp.c start = max_t(u64, ib_umem_start(umem_odp), start); max_t 361 drivers/infiniband/hw/mlx5/qp.c wq_size = max_t(int, wq_size, MLX5_SEND_WQE_BB); max_t 447 drivers/infiniband/hw/mlx5/qp.c ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB) < MLX5_SIG_WQE_SIZE) max_t 450 drivers/infiniband/hw/mlx5/qp.c return ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB); max_t 248 drivers/infiniband/hw/mlx5/srq.c desc_size = max_t(size_t, 32, desc_size); max_t 1027 drivers/infiniband/hw/mthca/mthca_qp.c size = max_t(int, size, max_t 1038 drivers/infiniband/hw/mthca/mthca_qp.c size = max_t(int, size, sizeof (struct mthca_bind_seg)); max_t 1280 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max_gs = max_t(int, cap->max_send_sge, max_t 2890 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd.hdr.pyld_len = max_t (u32, sizeof(struct ocrdma_get_dcbx_cfg_rsp), max_t 73 drivers/infiniband/hw/ocrdma/ocrdma_stats.c mem->size = max_t(u32, sizeof(struct ocrdma_rdma_stats_req), max_t 129 drivers/infiniband/hw/qedr/verbs.c attr->max_qp_wr = max_t(u32, qattr->max_sqe, qattr->max_rqe); max_t 585 drivers/infiniband/hw/qedr/verbs.c pbl_size = max_t(u32, MIN_FW_PBL_PAGE_SIZE, max_t 1851 drivers/infiniband/hw/qedr/verbs.c qp->rq.max_wr = (u16) max_t(u32, attrs->cap.max_recv_wr, 1); max_t 1867 drivers/infiniband/hw/qedr/verbs.c n_sq_entries = max_t(u32, n_sq_entries, 1); max_t 2259 drivers/infiniband/hw/qedr/verbs.c 1 << max_t(int, attr->timeout - 8, 0); max_t 252 drivers/infiniband/hw/qib/qib_init.c ppd->cc_supported_table_entries = min(max_t(int, qib_cc_table_size, max_t 114 drivers/infiniband/sw/rxe/rxe_comp.c return max_t(unsigned long, max_t 245 drivers/infiniband/sw/rxe/rxe_qp.c wqe_size = max_t(int, sizeof(struct rxe_send_wqe) + max_t 162 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c netdev->max_mtu = max_t(unsigned int, info->vesw.eth_mtu, max_t 3058 drivers/infiniband/ulp/srp/ib_srp.c timeout = max_t(unsigned, 30 * HZ, target->rq_tmo_jiffies); max_t 3901 drivers/infiniband/ulp/srp/ib_srp.c target->ch_count = max_t(unsigned, num_online_nodes(), max_t 339 drivers/input/keyboard/cros_ec_keyb.c msg = kzalloc(sizeof(*msg) + max_t(size_t, result_size, max_t 379 drivers/input/touchscreen/fsl-imx25-tcq.c ipg_div = max_t(unsigned int, 4, MX25_TGCR_GET_ADCCLK(tgcr)); max_t 371 drivers/input/touchscreen/s6sy761.c sdata->tx_channel = max_t(u8, buffer[8], 1); max_t 660 drivers/interconnect/qcom/sdm845.c qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); max_t 665 drivers/interconnect/qcom/sdm845.c *agg_peak = max_t(u32, *agg_peak, peak_bw); max_t 316 drivers/iommu/dma-iommu.c base_pfn = max_t(unsigned long, 1, base >> order); max_t 326 drivers/iommu/dma-iommu.c base_pfn = max_t(unsigned long, base_pfn, max_t 965 drivers/iommu/dmar.c map_size = max_t(int, ecap_max_iotlb_offset(iommu->ecap), max_t 35 drivers/iommu/intel-pasid.c min = max_t(int, start, PASID_MIN); max_t 50 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c nvec = max_t(int, 32, roundup_pow_of_two(nvec)); max_t 88 drivers/irqchip/irq-gic-v3-its-pci-msi.c nvec = max_t(int, minnvec, roundup_pow_of_two(nvec)); max_t 66 drivers/irqchip/irq-gic-v3-its-platform-msi.c nvec = max_t(int, 32, roundup_pow_of_two(nvec)); max_t 1921 drivers/irqchip/irq-gic-v3-its.c new_order = max_t(u32, get_order(esz << ids), new_order); max_t 1194 drivers/lightnvm/core.c exp_pool_size = max_t(int, PAGE_SIZE, max_t 1344 drivers/lightnvm/pblk.h max_t(int, sizeof(struct pblk_sec_meta), pblk->oob_meta_size) max_t 1350 drivers/lightnvm/pblk.h return max_t(int, sizeof(struct pblk_sec_meta), pblk->oob_meta_size) max_t 913 drivers/mailbox/omap-mailbox.c mbox_kfifo_size = max_t(unsigned int, mbox_kfifo_size, sizeof(u32)); max_t 625 drivers/md/bcache/bset.c f->exponent = max_t(int, f->exponent - BKEY_MANTISSA_BITS, 0); max_t 573 drivers/md/bcache/btree.c max_t(int, 0, c->btree_cache_used - mca_reserve(c)) max_t 602 drivers/md/bcache/btree.c max_t(unsigned int, max_t 1792 drivers/md/bcache/super.c c->btree_pages = max_t(int, c->btree_pages / 4, max_t 2960 drivers/md/dm-crypt.c max_t(unsigned short, limits->logical_block_size, cc->sector_size); max_t 2962 drivers/md/dm-crypt.c max_t(unsigned, limits->physical_block_size, cc->sector_size); max_t 2963 drivers/md/dm-crypt.c limits->io_min = max_t(unsigned, limits->io_min, cc->sector_size); max_t 2257 drivers/md/dm-integrity.c char test_tag[max_t(size_t, HASH_MAX_DIGESTSIZE, MAX_TAG_SIZE)]; max_t 1171 drivers/md/dm-zoned-metadata.c max_t(sector_t, 1, zmd->zone_bitmap_size >> DMZ_BLOCK_SHIFT); max_t 363 drivers/md/persistent-data/dm-space-map-common.c max_t(unsigned, begin, le32_to_cpu(ie_disk.none_free_before)), max_t 7072 drivers/md/raid5.c int stripes = max_t(int, max_t 406 drivers/media/common/saa7146/saa7146_hlp.c numdwords = max_t(int, (cnt_line+1), (cnt_pixel+1))*2; max_t 407 drivers/media/common/saa7146/saa7146_hlp.c numdwords = max_t(int, 4, numdwords); max_t 719 drivers/media/common/videobuf2/videobuf2-core.c num_buffers = max_t(unsigned int, *count, q->min_buffers_needed); max_t 1159 drivers/media/i2c/imx274.c hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); max_t 560 drivers/media/i2c/mt9p031.c max_t(unsigned int, __crop->width / 7, max_t 564 drivers/media/i2c/mt9p031.c max_t(unsigned int, __crop->height / 8, max_t 391 drivers/media/i2c/mt9t001.c max_t(unsigned int, __crop->width / 8, max_t 395 drivers/media/i2c/mt9t001.c max_t(unsigned int, __crop->height / 8, max_t 254 drivers/media/i2c/mt9v032.c min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, max_t 256 drivers/media/i2c/mt9v032.c hblank = max_t(unsigned int, mt9v032->hblank, min_hblank); max_t 511 drivers/media/i2c/mt9v032.c max_t(unsigned int, __crop->width / 4, max_t 515 drivers/media/i2c/mt9v032.c max_t(unsigned int, __crop->height / 4, max_t 1173 drivers/media/i2c/s5c73m3/s5c73m3-core.c fd->entry[1].length = max_t(u32, fd->entry[1].length, max_t 21 drivers/media/i2c/smiapp-pll.c return max_t(uint32_t, 1, a & ~1); max_t 298 drivers/media/i2c/smiapp-pll.c min_vt_div = max_t(uint32_t, min_vt_div, max_t 441 drivers/media/i2c/smiapp-pll.c max_t(uint16_t, limits->min_pre_pll_clk_div, max_t 454 drivers/media/i2c/smiapp-pll.c max_t(uint16_t, min_pre_pll_clk_div, max_t 896 drivers/media/i2c/smiapp/smiapp-core.c min = max_t(int, max_t 905 drivers/media/i2c/smiapp/smiapp-core.c min = max_t(int, max_t 2265 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = max_t(unsigned int, max_t 2268 drivers/media/i2c/smiapp/smiapp-core.c sel->r.height = max_t(unsigned int, max_t 1098 drivers/media/pci/bt8xx/bttv-driver.c (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3; max_t 1100 drivers/media/pci/bt8xx/bttv-driver.c max_t(unsigned int, 32, c->rect.height >> 4); max_t 369 drivers/media/platform/exynos4-is/fimc-capture.c sizes[i] = max_t(u32, size, frame->payload[i]); max_t 609 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, max_t 610 drivers/media/platform/exynos4-is/fimc-capture.c height, max_t(u32, *height, 32), max_t 863 drivers/media/platform/exynos4-is/fimc-lite.c reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); max_t 400 drivers/media/platform/omap3isp/ispccp2.c vpclk_div = max_t(unsigned int, DIV_ROUND_UP(l3_ick, pipe->max_rate), max_t 414 drivers/media/platform/omap3isp/ispccp2.c vpclk_div = max_t(unsigned int, l3_ick / value, vpclk_div); max_t 800 drivers/media/platform/omap3isp/ispresizer.c min_height = max_t(unsigned int, min_height, MIN_OUT_HEIGHT); max_t 828 drivers/media/platform/omap3isp/ispresizer.c min_width = max_t(unsigned int, min_width, MIN_OUT_WIDTH); max_t 738 drivers/media/platform/s3c-camif/camif-capture.c wmin = max_t(u32, pix_lim->min_out_width, crop->width / sc_hrmax); max_t 740 drivers/media/platform/s3c-camif/camif-capture.c hmin = max_t(u32, 8, crop->height / sc_vrmax); max_t 898 drivers/media/platform/s3c-camif/camif-capture.c rb->count = max_t(u32, CAMIF_REQ_BUFS_MIN, rb->count); max_t 961 drivers/media/platform/s3c-camif/camif-capture.c create->count = max_t(u32, 1, create->count); max_t 195 drivers/media/usb/uvc/uvc_video.c bandwidth = max_t(u32, bandwidth, 1024); max_t 1519 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); max_t 1520 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); max_t 1527 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); max_t 1528 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_rd_off + max_t 1538 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); max_t 1541 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_on + max_t 1549 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); max_t 1554 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); max_t 1569 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1571 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); max_t 1576 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_weasu, max_t 1582 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1584 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + max_t 1601 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1603 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1615 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1631 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); max_t 1637 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1642 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_iaa, /* XXX: remove t_iaa in async ? */ max_t 1644 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1646 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 1654 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_rd_cycle, max_t 1656 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez); max_t 1671 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); max_t 1677 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh); max_t 1678 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + max_t 1697 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_wr_cycle, max_t 1716 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_ces, dev_t->t_avds); max_t 1746 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, max_t 113 drivers/mfd/fsl-imx25-tsadc.c clk_div = max_t(unsigned, 4, clk_div); max_t 489 drivers/misc/mei/client.c length = max_t(size_t, length, mei_cl_mtu(cl)); max_t 55 drivers/misc/mic/scif/scif_peer_bus.c scif_info.maxid = max_t(u32, spdev->dnode, scif_info.maxid); max_t 1563 drivers/mmc/host/sdhci.c real_div = max_t(int, 1, div << 1); max_t 1892 drivers/mtd/mtdcore.c size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); max_t 443 drivers/mtd/nand/raw/cafe_nand.c max_bitflips = max_t(unsigned int, max_bitflips, n); max_t 429 drivers/mtd/nand/raw/denali.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 870 drivers/mtd/nand/raw/denali.c rdwr_en_lo_hi = max_t(int, rdwr_en_lo_hi, mult_x); max_t 241 drivers/mtd/nand/raw/fsl_ifc_nand.c nctrl->max_bitflips = max_t(unsigned int, max_t 728 drivers/mtd/nand/raw/fsmc_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 1414 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c max_bitflips = max_t(unsigned int, max_bitflips, max_t 1425 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c max_bitflips = max_t(unsigned int, max_bitflips, *status); max_t 541 drivers/mtd/nand/raw/hisi504_nand.c stat_max = max_t(int, stat_1, stat_2); max_t 544 drivers/mtd/nand/raw/hisi504_nand.c max_bitflips = max_t(int, max_bitflips, stat_max); max_t 931 drivers/mtd/nand/raw/marvell_nand.c *max_bitflips = max_t(unsigned int, *max_bitflips, bf); max_t 977 drivers/mtd/nand/raw/marvell_nand.c *max_bitflips = max_t(unsigned int, *max_bitflips, bf); max_t 2356 drivers/mtd/nand/raw/marvell_nand.c nfc_tmg.tWHR = TO_CYCLES(max_t(int, sdr->tWHR_min, sdr->tCCS_min), max_t 2358 drivers/mtd/nand/raw/marvell_nand.c nfc_tmg.tRHW = TO_CYCLES(max_t(int, sdr->tRHW_min, sdr->tCCS_min), max_t 456 drivers/mtd/nand/raw/meson_nand.c *bitflips = max_t(u32, *bitflips, ECC_ERR_CNT(*info)); max_t 463 drivers/mtd/nand/raw/meson_nand.c *bitflips = max_t(u32, *bitflips, max_t 813 drivers/mtd/nand/raw/meson_nand.c bitflips = max_t(u32, bitflips, ret); max_t 233 drivers/mtd/nand/raw/mtk_ecc.c bitflips = max_t(u32, bitflips, err); max_t 810 drivers/mtd/nand/raw/mxc_nand.c max_bitflips = max_t(unsigned int, max_bitflips, err); max_t 2731 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 2842 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 2912 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 2982 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 3065 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 3271 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, ret); max_t 3275 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, max_t 3522 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, ret); max_t 1504 drivers/mtd/nand/raw/omap2.c stat = max_t(unsigned int, stat, err_vec[i].error_count); max_t 1669 drivers/mtd/nand/raw/omap2.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 1713 drivers/mtd/nand/raw/qcom_nandc.c max_bitflips = max_t(unsigned int, max_bitflips, ret); max_t 2555 drivers/mtd/nand/raw/qcom_nandc.c nandc->max_cwperpage = max_t(unsigned int, nandc->max_cwperpage, max_t 775 drivers/mtd/nand/raw/stm32_fmc2_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 1139 drivers/mtd/nand/raw/stm32_fmc2_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); max_t 1467 drivers/mtd/nand/raw/stm32_fmc2_nand.c tar = max_t(unsigned long, hclkp, sdrt->tAR_min); max_t 1471 drivers/mtd/nand/raw/stm32_fmc2_nand.c tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); max_t 1483 drivers/mtd/nand/raw/stm32_fmc2_nand.c twait = max_t(unsigned long, hclkp, sdrt->tRP_min); max_t 1484 drivers/mtd/nand/raw/stm32_fmc2_nand.c twait = max_t(unsigned long, twait, sdrt->tWP_min); max_t 1485 drivers/mtd/nand/raw/stm32_fmc2_nand.c twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); max_t 1510 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_mem = max_t(unsigned long, hclkp, sdrt->tCH_min); max_t 1559 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_att = max_t(unsigned long, hclkp, sdrt->tALH_min); max_t 1560 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_att = max_t(unsigned long, thold_att, sdrt->tCH_min); max_t 1561 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_att = max_t(unsigned long, thold_att, sdrt->tCLH_min); max_t 1562 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_att = max_t(unsigned long, thold_att, sdrt->tCOH_min); max_t 1563 drivers/mtd/nand/raw/stm32_fmc2_nand.c thold_att = max_t(unsigned long, thold_att, sdrt->tDH_min); max_t 756 drivers/mtd/nand/raw/sunxi_nand.c *max_bitflips = max_t(unsigned int, *max_bitflips, ret); max_t 738 drivers/mtd/nand/raw/tegra_nand.c return max_t(unsigned int, max_corr_cnt, max_bitflips); max_t 516 drivers/mtd/nand/spi/core.c max_bitflips = max_t(unsigned int, max_bitflips, ret); max_t 97 drivers/mtd/parsers/bcm63xxpart.c cfe_erasesize = max_t(uint32_t, master->erasesize, max_t 1321 drivers/mtd/ubi/io.c dump_len = max_t(int, 128, len - i); max_t 137 drivers/net/ethernet/altera/altera_msgdma.c ready = max_t(int, max_t 547 drivers/net/ethernet/amd/a2065.c skblen = max_t(unsigned, skb->len, ETH_ZLEN); max_t 161 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c max_tc = max_t(u8, max_tc, ets->prio_tc[i]); max_t 163 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c max_tc = max_t(u8, max_tc, i); max_t 198 drivers/net/ethernet/amd/xgbe/xgbe-drv.c count = max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count); max_t 688 drivers/net/ethernet/arc/emac_main.c len = max_t(unsigned int, ETH_ZLEN, skb->len); max_t 836 drivers/net/ethernet/atheros/alx/main.c num_vec = max_t(int, num_txq, num_rxq) + 1; max_t 2597 drivers/net/ethernet/broadcom/b44.c dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc)); max_t 704 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MIN_RX_SIZE_TPA (max_t(u32, MIN_RX_SIZE_TPA_HW, MIN_RX_AVAIL)) max_t 705 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MIN_RX_SIZE_NONTPA (max_t(u32, MIN_RX_SIZE_NONTPA_HW,\ max_t 1425 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h max_t(u64, 1UL << BNX2X_RX_ALIGN_SHIFT, \ max_t 4524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c rx_ring_size = max_t(int, bp->disable_tpa ? MIN_RX_SIZE_NONTPA : max_t 190 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c ttp[llfc_traf_type] = max_t(u32, ttp[llfc_traf_type], pri); max_t 1430 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vf->fp_hsi = max_t(u8, acquire->vfdev_info.fp_hsi_ver, max_t 2741 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tpa = max_t(u16, bp->max_tpa_v2, MAX_TPA_P5); max_t 3298 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->tx_wake_thresh = max_t(int, bp->tx_ring_size / 2, max_t 6004 drivers/net/ethernet/broadcom/bnxt/bnxt.c cp = sh ? max_t(int, tx, rx_rings) : tx + rx_rings; max_t 7197 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tc = max_t(u8, j, 1); max_t 8075 drivers/net/ethernet/broadcom/bnxt/bnxt.c max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : max_t 10370 drivers/net/ethernet/broadcom/bnxt/bnxt.c cp = sh ? max_t(int, tx_rings_needed, rx) : tx_rings_needed + rx; max_t 10951 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : max_t 11576 drivers/net/ethernet/broadcom/bnxt/bnxt.c max_t(int, num_online_cpus() / bp->port_count, 1); max_t 879 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : max_t 313 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); max_t 9693 drivers/net/ethernet/broadcom/tg3.c host_rep_thresh = max_t(u32, tp->rx_pending / 8, 1); max_t 9706 drivers/net/ethernet/broadcom/tg3.c host_rep_thresh = max_t(u32, tp->rx_jumbo_pending / 8, 1); max_t 1832 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); max_t 1049 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qs->cq_cnt = max_t(u8, qs->rq_cnt, qs->sq_cnt); max_t 298 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = max_t(int, rxq_info->nciq, max_t 445 drivers/net/ethernet/cisco/enic/enic_main.c mtu = max_t(int, ENIC_MIN_MTU, max_t 78 drivers/net/ethernet/cisco/enic/enic_res.c max_t(u32, ENIC_MIN_WQ_DESCS, max_t 84 drivers/net/ethernet/cisco/enic/enic_res.c max_t(u32, ENIC_MIN_RQ_DESCS, max_t 91 drivers/net/ethernet/cisco/enic/enic_res.c max_t(u16, ENIC_MIN_MTU, max_t 723 drivers/net/ethernet/emulex/benet/be.h u16 num = max_t(u16, be_max_rss(adapter), 1); max_t 1219 drivers/net/ethernet/emulex/benet/be_ethtool.c u16 num_rx_irqs = max_t(u16, adapter->num_rss_qs, 1); max_t 2191 drivers/net/ethernet/emulex/benet/be_main.c eqd = max_t(u32, eqd, aic->min_eqd); max_t 3258 drivers/net/ethernet/emulex/benet/be_main.c max_t(u32, MAX_RX_POST, max_t 1355 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c bd_num = max_t(u32, mpf_bd_num, pf_bd_num); max_t 1899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c bd_num = max_t(u32, mpf_bd_num, pf_bd_num); max_t 1979 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c bd_num = max_t(u32, mpf_bd_num, pf_bd_num); max_t 1809 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c shared_std = roundup(max_t(u32, shared_buf_min, shared_buf_tc), max_t 1839 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps); max_t 9892 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c bd_num_max = max_t(int, bd_num_max, bd_num_list[i]); max_t 1049 drivers/net/ethernet/intel/e1000e/ich8lan.c max_ltr_enc = max_t(u16, max_snoop, max_nosnoop); max_t 559 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c i = max_t(int, interface->num_tx_queues, interface->num_rx_queues); max_t 1090 drivers/net/ethernet/intel/fm10k/fm10k_main.c first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 7130 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->rss_size = max_t(u16, num_qps, qcnt); max_t 14392 drivers/net/ethernet/intel/i40e/i40e_main.c q_max = max_t(int, pf->rss_size_max, num_online_cpus()); max_t 1403 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff_size = max_t(u32, aq_data_len, le16_to_cpu(aq_desc->datalen)); max_t 360 drivers/net/ethernet/intel/ice/ice_lib.c vsi->num_q_vectors = max_t(int, vsi->alloc_rxq, vsi->alloc_txq); max_t 2140 drivers/net/ethernet/intel/ice/ice_txrx.c first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 881 drivers/net/ethernet/intel/igb/igb_ethtool.c new_rx_count = max_t(u16, new_rx_count, IGB_MIN_RXD); max_t 885 drivers/net/ethernet/intel/igb/igb_ethtool.c new_tx_count = max_t(u16, new_tx_count, IGB_MIN_TXD); max_t 5484 drivers/net/ethernet/intel/igb/igb_main.c avg_wire_size = max_t(u32, avg_wire_size, max_t 203 drivers/net/ethernet/intel/igbvf/ethtool.c new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); max_t 207 drivers/net/ethernet/intel/igbvf/ethtool.c new_tx_count = max_t(u32, ring->tx_pending, IGBVF_MIN_TXD); max_t 496 drivers/net/ethernet/intel/igc/igc_ethtool.c new_rx_count = max_t(u16, new_rx_count, IGC_MIN_RXD); max_t 500 drivers/net/ethernet/intel/igc/igc_ethtool.c new_tx_count = max_t(u16, new_tx_count, IGC_MIN_TXD); max_t 3114 drivers/net/ethernet/intel/igc/igc_main.c avg_wire_size = max_t(u32, avg_wire_size, max_t 1074 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c i = max_t(int, adapter->num_tx_queues + adapter->num_xdp_queues, max_t 679 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c rss_i = max_t(u16, fcoe_i, rss_i); max_t 491 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c pf_max_frame = max_t(int, pf_max_frame, max_t 875 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c pf_max_frame = max_t(int, pf_max_frame, max_t 251 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD); max_t 255 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_rx_count = max_t(u32, ring->rx_pending, IXGBEVF_MIN_RXD); max_t 251 drivers/net/ethernet/mellanox/mlx4/en_rx.c num_of_eqs = max_t(int, MIN_RX_RINGS, max_t 1011 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 1157 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); max_t 301 drivers/net/ethernet/mellanox/mlx4/main.c max_t(int, max_t 157 drivers/net/ethernet/mellanox/mlx4/mr.c seg_order = max_t(int, order - log_mtts_per_seg, 0); max_t 223 drivers/net/ethernet/mellanox/mlx4/mr.c seg_order = max_t(int, order - log_mtts_per_seg, 0); max_t 1273 drivers/net/ethernet/mellanox/mlx4/port.c max_t(u16, master->max_mtu[port], max_t 1305 drivers/net/ethernet/mellanox/mlx4/port.c max_t(u16, master->max_user_mtu[port], max_t 106 drivers/net/ethernet/mellanox/mlx4/profile.c roundup_pow_of_two(max_t(unsigned, request->num_mtt, max_t 85 drivers/net/ethernet/mellanox/mlx5/core/en.h max_t(u32, MLX5_MPWRQ_MIN_LOG_STRIDE_SZ(mdev), req) max_t 56 drivers/net/ethernet/mellanox/mlx5/core/en/params.c frag_sz = max_t(u32, frag_sz, PAGE_SIZE); max_t 62 drivers/net/ethernet/mellanox/mlx5/core/en/params.c frag_sz = max_t(u32, frag_sz, xsk->chunk_size); max_t 137 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c speed = max_t(u32, speed, SPEED_40000); max_t 277 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c max_mtu = max_t(unsigned int, priv->netdev->max_mtu, MINIMUM_MAX_MTU); max_t 137 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h mode = max_t(u8, MLX5_INLINE_MODE_L2, mode); max_t 1222 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c max_t(u16, MLX5E_PFC_PREVEN_TOUT_MIN_MSEC, \ max_t 2122 drivers/net/ethernet/mellanox/mlx5/core/en_main.c info->wqe_bulk = max_t(u8, info->wqe_bulk, 8); max_t 3486 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->max_opened_tc = max_t(u8, priv->max_opened_tc, max_t 5265 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->max_nch = netdev->num_rx_queues / max_t(u8, profile->rq_groups, 1); max_t 833 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c params.log_data_size = max_t(u8, params.log_data_size, max_t 844 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c link_speed = max_t(u32, link_speed, 50000); max_t 3933 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c lastuse = max_t(u64, lastuse, lastuse2); max_t 3969 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c rate_mbps = rate ? max_t(u32, (rate * 8 + 500000) / 1000000, 1) : 0; max_t 300 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 623 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 2367 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return max_t(u32, max_guarantee / fw_max_bw_share, 1); max_t 57 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h min_t(u32, max_t(u32, (rate) / (divider), MLX5_MIN_BW_SHARE), limit) max_t 220 drivers/net/ethernet/mellanox/mlx5/core/main.c remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); max_t 223 drivers/net/ethernet/mellanox/mlx5/core/main.c remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); max_t 226 drivers/net/ethernet/mellanox/mlx5/core/main.c remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); max_t 229 drivers/net/ethernet/mellanox/mlx5/core/main.c remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); max_t 578 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->block_size = max_t(u16, MLXSW_I2C_BLK_DEF, max_t 201 drivers/net/ethernet/mellanox/mlxsw/spectrum.c *p_align_bits = max_t(u8, *p_align_bits, 2); max_t 1371 drivers/net/ethernet/netronome/nfp/flower/offload.c priv->stats[ctx_id].used = max_t(u64, used, max_t 775 drivers/net/ethernet/qlogic/qed/qed_cxt.c u32 local_max = max_t(u32, total, max_t 1731 drivers/net/ethernet/qlogic/qed/qed_cxt.c conn_max = max_t(u32, conn_num, SRC_MIN_NUM_ELEMS); max_t 2678 drivers/net/ethernet/qlogic/qed/qed_dev.c n_wids = max_t(u32, QED_MIN_WIDS, n_cpus); max_t 2685 drivers/net/ethernet/qlogic/qed/qed_dev.c min_dpis = max_t(u32, QED_MIN_DPIS, min_dpis); max_t 99 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c max_t(u32, \ max_t 111 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c #define QM_VP_RL_UPPER_BOUND(speed) ((u32)max_t(u32, \ max_t 398 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c pure_lb_blocks = max_t(u32, BTB_JUMBO_PKT_BLOCKS, max_t 98 drivers/net/ethernet/qlogic/qed/qed_l2.c p_l2_info->queues = max_t(u8, rx, tx); max_t 791 drivers/net/ethernet/qlogic/qed/qed_sriov.c current_max = max_t(u8, current_max, p_vf->num_sbs); max_t 250 drivers/net/ethernet/qlogic/qede/qede.h max_t(u64, 1UL << QEDE_RX_ALIGN_SHIFT, \ max_t 272 drivers/net/ethernet/qualcomm/qca_debug.c qca->txr.count = max_t(u32, ring->tx_pending, TX_RING_MIN_LEN); max_t 100 drivers/net/ethernet/sfc/falcon/tx.c max_descs += max_t(unsigned int, MAX_SKB_FRAGS, max_t 476 drivers/net/ethernet/sfc/falcon/tx.c max_t(int, num_tc, 1) * max_t 117 drivers/net/ethernet/sfc/tx.c max_descs += max_t(unsigned int, MAX_SKB_FRAGS, max_t 733 drivers/net/ethernet/sfc/tx.c max_t(int, num_tc, 1) * max_t 2090 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int status[max_t(u32, MTL_MAX_TX_QUEUES, MTL_MAX_RX_QUEUES)]; max_t 151 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count); max_t 403 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c order = max_t(int, PAGE_ALLOC_COSTLY_ORDER - 1, 0); max_t 548 drivers/net/ethernet/ti/cpmac.c len = max_t(unsigned int, skb->len, ETH_ZLEN); max_t 1723 drivers/net/ethernet/via/via-velocity.c size_t pktlen = max_t(size_t, skb->len, ETH_ZLEN); max_t 1727 drivers/net/ethernet/via/via-velocity.c pktlen = max_t(size_t, pktlen, max_t 2535 drivers/net/ethernet/via/via-velocity.c max_t(unsigned int, skb->len, ETH_ZLEN) : max_t 135 drivers/net/phy/mdio_device.c usleep_range(d, d + max_t(unsigned int, d / 10, 100)); max_t 1947 drivers/net/virtio_net.c stride = max_t(int, num_cpu / vi->curr_queue_pairs, 1); max_t 6323 drivers/net/wireless/ath/ath10k/mac.c nss = max_t(u32, 1, nss); max_t 242 drivers/net/wireless/ath/ath10k/spectral.c count = max_t(u8, 1, ar->spectral.config.count); max_t 621 drivers/net/wireless/ath/ath6kl/cfg80211.c interval = max_t(u16, vif->listen_intvl_t, max_t 3333 drivers/net/wireless/ath/ath6kl/cfg80211.c interval = max_t(u16, 1, request->scan_plans[0].interval); max_t 322 drivers/net/wireless/ath/ath9k/ani.c ofdm_nil = max_t(int, ATH9K_ANI_OFDM_DEF_LEVEL, max_t 324 drivers/net/wireless/ath/ath9k/ani.c cck_nil = max_t(int, ATH9K_ANI_CCK_DEF_LEVEL, max_t 276 drivers/net/wireless/ath/ath9k/eeprom_9287.c return max_t(u8, pModal->antennaGainCh[0], max_t 407 drivers/net/wireless/ath/ath9k/eeprom_def.c return max_t(u8, max_t(u8, max_t 559 drivers/net/wireless/ath/ath9k/xmit.c bar_index = max_t(int, bar_index, max_t 611 drivers/net/wireless/ath/ath9k/xmit.c bar_index = max_t(int, bar_index, max_t 1057 drivers/net/wireless/ath/carl9170/tx.c density = max_t(unsigned int, density + 1, 7u); max_t 700 drivers/net/wireless/broadcom/b43/phy_lp.c max_t(u8, lpphy->rc_cap - 4, 0x80)); max_t 735 drivers/net/wireless/broadcom/b43/xmit.c status.signal = max_t(__s8, max_t 771 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c nents = max_t(uint, BRCMF_DEFAULT_RXGLOM_SIZE, max_t 324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c head_delta = max_t(int, drvr->hdrlen - skb_headroom(skb), 0); max_t 3513 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c value = max_t(u32, value, ALIGNMENT); max_t 58 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c payload = max_t(unsigned int, ret_len, len) + 1; max_t 27246 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c max_t(u32, (est[0].i_pwr + max_t 27252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c max_t(u32, (est[1].i_pwr + max_t 4641 drivers/net/wireless/cisco/airo.c priv->writelen = max_t(int, priv->writelen, *offset); max_t 768 drivers/net/wireless/intel/iwlwifi/dvm/rx.c max_rssi = max_t(u32, rssi_a, rssi_b); max_t 769 drivers/net/wireless/intel/iwlwifi/dvm/rx.c max_rssi = max_t(u32, max_rssi, rssi_c); max_t 562 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c bcnint = max_t(int, bcnint, max_t 581 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * max_t 583 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c slot1 = max_t(int, DEFAULT_BEACON_INTERVAL, slot1); max_t 664 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c max_t(s8, data->max_tx_pwr_half_dbm, max_t 385 drivers/net/wireless/intel/iwlwifi/mvm/power.c skip = max_t(u8, 1, 306 / dtimper_tu); max_t 746 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int queue, size = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, max_t 751 drivers/net/wireless/intel/iwlwifi/mvm/sta.c size = max_t(u32, IWL_MGMT_QUEUE_SIZE, max_t 69 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c int cmdq_size = max_t(u32, IWL_CMD_QUEUE_SIZE, max_t 234 drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c int queue_size = max_t(u32, IWL_CMD_QUEUE_SIZE, max_t 111 drivers/net/wireless/intel/iwlwifi/pcie/trans.c alloc_size = max_t(u32, alloc_size, PCI_DUMP_SIZE + PREFIX_LEN); max_t 112 drivers/net/wireless/intel/iwlwifi/pcie/trans.c alloc_size = max_t(u32, alloc_size, PCI_MEM_DUMP_SIZE + PREFIX_LEN); max_t 113 drivers/net/wireless/intel/iwlwifi/pcie/trans.c alloc_size = max_t(u32, alloc_size, PCI_PARENT_DUMP_SIZE + PREFIX_LEN); max_t 992 drivers/net/wireless/intel/iwlwifi/pcie/tx.c slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, max_t 995 drivers/net/wireless/intel/iwlwifi/pcie/tx.c slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, max_t 1046 drivers/net/wireless/intel/iwlwifi/pcie/tx.c slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, max_t 1049 drivers/net/wireless/intel/iwlwifi/pcie/tx.c slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, max_t 288 drivers/net/wireless/intersil/p54/eeprom.c rawpower = max_t(u16, max_t 290 drivers/net/wireless/intersil/p54/eeprom.c rawpower = max_t(u16, max_t 292 drivers/net/wireless/intersil/p54/eeprom.c rawpower = max_t(u16, max_t 294 drivers/net/wireless/intersil/p54/eeprom.c rawpower = max_t(u16, max_t 334 drivers/net/wireless/intersil/p54/eeprom.c max_channel_num = max_t(unsigned int, priv->output_limit->entries, max_t 336 drivers/net/wireless/intersil/p54/eeprom.c max_channel_num = max_t(unsigned int, max_channel_num, max_t 1983 drivers/net/wireless/marvell/mwifiex/sdio.c rx_buf_size = max_t(u32, mpa_rx_buf_size, max_t 389 drivers/net/wireless/mediatek/mt76/mt7603/init.c delta_off = max_t(u8, *delay_off / 10, 1); max_t 390 drivers/net/wireless/mediatek/mt76/mt7603/init.c delta_on = max_t(u8, *delay_on / 10, 1); max_t 995 drivers/net/wireless/mediatek/mt76/mt7603/mac.c first_idx = max_t(int, 0, last_idx - (count + 1) / MT7603_RATE_RETRY); max_t 878 drivers/net/wireless/mediatek/mt76/mt7615/mac.c first_idx = max_t(int, 0, last_idx - (count + 1) / MT7615_RATE_RETRY); max_t 1194 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c tx_power = max_t(s8, tx_power, 0); max_t 687 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c data = max_t(int, 0, data); max_t 819 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c return max_t(int, -32, ret); max_t 539 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c max_seq_len = max_t(u16, max_seq_len, seq->count); max_t 427 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = max_t(int, nss - 1, 1); max_t 442 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rates[1].idx = max_t(int, rates[0].idx - 1, 0); max_t 485 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->status.rates[i].count = max_t(int, retry, 1); max_t 784 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c signal = max_t(s8, signal, status->chain_signal[1]); max_t 122 drivers/net/wireless/mediatek/mt76/mt76x02_util.c delta_off = max_t(u8, *delay_off / 10, 1); max_t 123 drivers/net/wireless/mediatek/mt76/mt76x02_util.c delta_on = max_t(u8, *delay_on / 10, 1); max_t 302 drivers/net/wireless/mediatek/mt76/usb.c urb->num_sgs = max_t(int, i, urb->num_sgs); max_t 81 drivers/net/wireless/mediatek/mt7601u/mac.c rate[i].idx = max_t(int, 0, cur_idx - i); max_t 1125 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c max_t(unsigned int, IEEE80211_TX_STATUS_HEADROOM, max_t 1007 drivers/net/wireless/ralink/rt2x00/rt73usb.c max_t(u8, qual->vgc_level - 4, low_bound)); max_t 318 drivers/net/wireless/realtek/rtw88/phy.c min_rssi = max_t(u8, dm_info->min_rssi, dig_min); max_t 764 drivers/nfc/trf7970a.c max_t(int, fifo_bytes, max_t 1969 drivers/nvme/host/pci.c chunk_size >= max_t(u32, dev->ctrl.hmminds * 4096, PAGE_SIZE * 2); max_t 32 drivers/nvme/target/rdma.c #define NVMET_RDMA_MAX_INLINE_DATA_SIZE max_t(int, SZ_16K, PAGE_SIZE) max_t 113 drivers/of/of_reserved_mem.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order); max_t 698 drivers/pci/controller/pci-mvebu.c return round_up(start, max_t(resource_size_t, SZ_64K, max_t 701 drivers/pci/controller/pci-mvebu.c return round_up(start, max_t(resource_size_t, SZ_1M, max_t 92 drivers/pci/controller/pcie-cadence-ep.c sz = max_t(size_t, epf_bar->size, CDNS_PCIE_EP_MIN_APERTURE); max_t 173 drivers/pci/controller/pcie-rockchip-ep.c sz = max_t(size_t, epf_bar->size, MIN_EP_APERTURE); max_t 558 drivers/pci/controller/vmd.c domain = max_t(int, domain, pci_domain_nr(bus)); max_t 472 drivers/pci/pcie/aspm.c latency = max_t(u32, link->latency_up.l1, link->latency_dw.l1); max_t 2844 drivers/pci/probe.c used_buses = max_t(unsigned int, available_buses, max_t 382 drivers/pinctrl/pxa/pinctrl-pxa2xx.c maxpin = max_t(int, ppins[i].pin.number, maxpin); max_t 125 drivers/power/avs/rockchip-io-domain.c uV = max_t(unsigned long, pvc_data->old_uV, pvc_data->max_uV); max_t 117 drivers/regulator/vctrl-regulator.c next_uV = max_t(int, req_min_uV, uV - max_drop_uV); max_t 674 drivers/s390/scsi/zfcp_dbf.c min_t(u16, max_t(u16, rec->pl_len, max_t 1634 drivers/scsi/arm/acornscsi.c period = max_t(unsigned int, message[3], sdtr_period / 4); max_t 5229 drivers/scsi/be2iscsi/be_main.c eqd = max_t(u32, eqd, BEISCSI_EQ_DELAY_MIN); max_t 700 drivers/scsi/fnic/fnic_main.c max_t(u32, FNIC_MIN_IO_REQ, max_t 75 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_WQ_DESCS_MIN, max_t 81 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MIN, max_t 87 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_RQ_DESCS_MIN, max_t 93 drivers/scsi/fnic/fnic_res.c max_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MIN, max_t 97 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_EDTOV_MIN, max_t 102 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_RATOV_MIN, max_t 110 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MIN, max_t 118 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MIN, max_t 123 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_IO_THROTTLE_COUNT_MIN, max_t 140 drivers/scsi/fnic/fnic_res.c max_t(u32, VNIC_FNIC_LUNS_PER_TARGET_MIN, max_t 233 drivers/scsi/gdth_proc.c size_t size = max_t(size_t, GDTH_SCRATCH, sizeof(gdth_hget_str)); max_t 1939 drivers/scsi/megaraid/megaraid_sas_base.c mr_nvme_pg_size = max_t(u32, instance->nvme_page_size, max_t 2046 drivers/scsi/megaraid/megaraid_sas_fusion.c mr_nvme_pg_size = max_t(u32, instance->nvme_page_size, max_t 2157 drivers/scsi/megaraid/megaraid_sas_fusion.c u32 mr_nvme_pg_size = max_t(u32, instance->nvme_page_size, max_t 2144 drivers/scsi/mpt3sas/mpt3sas_base.c nvme_pg_size = max_t(u32, ioc->page_size, NVME_PRP_PAGE_SIZE); max_t 4930 drivers/scsi/mpt3sas/mpt3sas_base.c sge_size = max_t(u16, ioc->sge_size, ioc->sge_size_ieee); max_t 1886 drivers/scsi/scsi_lib.c sgl_size = max_t(unsigned int, sizeof(struct scatterlist), max_t 790 drivers/scsi/scsi_scan.c max_t(size_t, sdev->inquiry_len, 36), max_t 512 drivers/scsi/snic/snic_main.c max_t(u32, SNIC_MIN_IO_REQ, max_ios)); max_t 65 drivers/scsi/snic/snic_res.c max_t(u32, max_t 73 drivers/scsi/snic/snic_res.c max_t(u32, max_t 79 drivers/scsi/snic/snic_res.c max_t(u32, max_t 93 drivers/scsi/snic/snic_res.c max_t(u32, max_t 820 drivers/scsi/sr.c cd->capacity = max_t(long, cd->capacity, last_written); max_t 607 drivers/scsi/ufs/ufs-qcom.c int gear = max_t(u32, p->gear_rx, p->gear_tx); max_t 608 drivers/scsi/ufs/ufs-qcom.c int lanes = max_t(u32, p->lane_rx, p->lane_tx); max_t 6521 drivers/scsi/ufs/ufshcd.c buff_len = max_t(size_t, hba->desc_size.dev_desc, max_t 1063 drivers/scsi/xen-scsifront.c nr_segs = max_t(unsigned int, nr_segs, VSCSIIF_SG_TABLESIZE); max_t 110 drivers/soundwire/bus_type.c slave->bus->clk_stop_timeout = max_t(u32, slave->bus->clk_stop_timeout, max_t 171 drivers/spi/spi-meson-spifc.c n = max_t(int, parent / speed - 1, 1); max_t 1839 drivers/spi/spi-pxa2xx.c controller->num_chipselect = max_t(int, count, max_t 1139 drivers/spi/spi-sh-msiof.c num_cs = max_t(unsigned int, ret, p->ctlr->num_chipselect); max_t 178 drivers/spi/spi-sifive.c mode = max_t(unsigned int, t->rx_nbits, t->tx_nbits); max_t 2252 drivers/spi/spi.c ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); max_t 2293 drivers/spi/spi.c ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); max_t 78 drivers/staging/fwserial/dma_fifo.c fifo->tx_limit = max_t(int, round_down(tx_limit, align), align); max_t 113 drivers/staging/fwserial/dma_fifo.h fifo->tx_limit = max_t(int, tx_limit, fifo->align); max_t 141 drivers/staging/greybus/sdio.c blksz = max_t(u32, 512, blksz); max_t 122 drivers/staging/media/imx/imx-media-fim.c fim->num_skip = max_t(int, fim->num_skip, 1); max_t 1589 drivers/staging/media/ipu3/ipu3-css.c u32 val = max_t(u32, IPU3_CSS_MIN_RES, res); max_t 254 drivers/staging/media/ipu3/ipu3-dmamap.c base_pfn = max_t(unsigned long, 1, imgu->mmu->aperture_start >> order); max_t 273 drivers/staging/media/soc_camera/soc_camera.c pix->bytesperline = max_t(u32, pix->bytesperline, ret); max_t 280 drivers/staging/media/soc_camera/soc_camera.c pix->sizeimage = max_t(u32, pix->sizeimage, ret); max_t 870 drivers/staging/media/soc_camera/soc_ov5642.c priv->total_height = max_t(int, rect.height + max_t 1674 drivers/staging/rtl8192e/rtllib_rx.c qos_param->aifs[aci] = max_t(u8, qos_param->aifs[aci], 2); max_t 1041 drivers/staging/rtl8712/rtl8712_recv.c alloc_sz = max_t(u16, tmp_len, 1658); max_t 1854 drivers/staging/unisys/visornic/visornic_main.c max_t(unsigned long, 3, ((devdata->num_rcv_bufs / 3) - 2)); max_t 1856 drivers/staging/unisys/visornic/visornic_main.c max_t(unsigned long, max_t 1859 drivers/staging/unisys/visornic/visornic_main.c max_t(unsigned long, max_t 212 drivers/staging/wusbcore/wusbhc.c wusbhc->retry_count = max_t(uint8_t, retry_count, max_t 1101 drivers/target/iscsi/cxgbit/cxgbit_cm.c len = max_t(u32, sizeof(struct cpl_abort_req), max_t 1258 drivers/target/iscsi/iscsi_target_nego.c tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); max_t 438 drivers/tty/mips_ejtag_fdc.c max_t(int, 0, word.bytes - sizes[0]), ptrs[1]); max_t 695 drivers/tty/serial/ar933x_uart.c up->min_baud = max_t(unsigned int, baud, AR933X_UART_MIN_BAUD); max_t 2830 drivers/tty/serial/atmel_serial.c atmel_port->rts_high = max_t(int, atmel_port->fifo_size >> 1, max_t 2832 drivers/tty/serial/atmel_serial.c atmel_port->rts_low = max_t(int, atmel_port->fifo_size >> 2, max_t 1917 drivers/tty/serial/samsung.c ourport->min_dma_size = max_t(int, ourport->port.fifosize, max_t 1620 drivers/tty/serial/sh-sci.c s->buf_len_rx = 2 * max_t(size_t, 16, port->fifosize); max_t 551 drivers/tty/tty_port.c timeout = max_t(long, timeout, HZ / 10); max_t 512 drivers/usb/core/hcd.c tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); max_t 896 drivers/usb/dwc2/hcd_queue.c middle_count = max_t(int, 4, other_data_bytes); max_t 1340 drivers/usb/dwc3/gadget.c test_frame_number += max_t(u32, 4, dep->interval); max_t 1387 drivers/usb/dwc3/gadget.c dep->frame_number += max_t(u32, 4, dep->interval); max_t 697 drivers/usb/gadget/function/f_uac2.c agdev->in_ep_maxpsize = max_t(u16, max_t 700 drivers/usb/gadget/function/f_uac2.c agdev->out_ep_maxpsize = max_t(u16, max_t 217 drivers/usb/gadget/function/u_ether.c size = max_t(size_t, size, dev->port_usb->fixed_out_len); max_t 258 drivers/usb/gadget/function/uvc_video.c * max_t(unsigned int, video->ep->maxburst, 1) max_t 2193 drivers/usb/gadget/udc/bcm63xx_udc.c max_t(int, iudma_defaults[ch_idx].ep_num, 0)); max_t 1346 drivers/usb/host/isp1362-hcd.c frame += max_t(u16, 8, ep->interval); max_t 249 drivers/usb/host/ohci-hcd.c frame += max_t (u16, 8, ed->interval); max_t 615 drivers/usb/host/uhci-q.c highest_load = max_t(int, highest_load, uhci->load[phase]); max_t 83 drivers/usb/musb/musb_core.c #define TA_WAIT_BCON(m) max_t(int, (m)->a_wait_bcon, OTG_TIME_A_WAIT_BCON) max_t 1771 drivers/usb/musb/musb_core.c musb->a_wait_bcon = val ? max_t(int, val, OTG_TIME_A_WAIT_BCON) : 0 ; max_t 2242 drivers/usb/musb/musb_host.c interval = max_t(u8, epd->bInterval, 1); max_t 282 drivers/usb/serial/generic.c period = max_t(unsigned long, (10 * HZ / bps), 1); max_t 755 drivers/usb/serial/usb-serial.c buffer_size = max_t(int, type->bulk_in_size, usb_endpoint_maxp(epd)); max_t 475 drivers/video/fbdev/atmel_lcdfb.c var->vsync_len = max_t(u32, var->vsync_len, 1); max_t 476 drivers/video/fbdev/atmel_lcdfb.c var->right_margin = max_t(u32, var->right_margin, 1); max_t 477 drivers/video/fbdev/atmel_lcdfb.c var->hsync_len = max_t(u32, var->hsync_len, 1); max_t 478 drivers/video/fbdev/atmel_lcdfb.c var->left_margin = max_t(u32, var->left_margin, 1); max_t 299 drivers/video/fbdev/ep93xx-fb.c var->xres = max_t(unsigned int, var->xres, EP93XXFB_MIN_XRES); max_t 303 drivers/video/fbdev/ep93xx-fb.c var->yres = max_t(unsigned int, var->yres, EP93XXFB_MIN_YRES); max_t 926 drivers/video/fbdev/imxfb.c info->fix.smem_len = max_t(size_t, info->fix.smem_len, max_t 2215 drivers/video/fbdev/omap2/omapfb/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); max_t 2222 drivers/video/fbdev/omap2/omapfb/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); max_t 417 drivers/video/fbdev/pxafb.c var->xres = max_t(int, var->xres, MIN_XRES); max_t 418 drivers/video/fbdev/pxafb.c var->yres = max_t(int, var->yres, MIN_YRES); max_t 1783 drivers/video/fbdev/pxafb.c fbi->video_mem_size = max_t(size_t, fbi->video_mem_size, max_t 1577 fs/afs/yfsclient.c max_t(size_t, max_t 66 fs/binfmt_flat.c #define FLAT_STACK_ALIGN max_t(unsigned long, sizeof(void *), ARCH_SLAB_MINALIGN) max_t 549 fs/binfmt_flat.c extra = max_t(unsigned long, bss_len + stack_len, max_t 2200 fs/btrfs/backref.c alloc_bytes = max_t(size_t, total_bytes, sizeof(*data)); max_t 510 fs/btrfs/block-group.c last = max_t(u64, block_group->key.objectid, BTRFS_SUPER_INFO_OFFSET); max_t 2837 fs/btrfs/block-group.c thresh = max_t(u64, SZ_64M, div_factor_fine(thresh, 1)); max_t 290 fs/btrfs/block-rsv.c num_bytes = max_t(u64, num_bytes, max_t 3653 fs/btrfs/ctree.c nr = max_t(u32, 1, min_slot); max_t 3540 fs/btrfs/extent-tree.c aligned_cluster = max_t(u64, max_t 3607 fs/btrfs/extent-tree.c ffe_ctl->total_free_space = max_t(u64, max_t 5591 fs/btrfs/extent-tree.c start = max_t(u64, start, SZ_1M); max_t 558 fs/btrfs/extent_map.c start = max_t(u64, start, em->start); max_t 862 fs/btrfs/file-item.c extend_nr = max_t(int, 1, (int)tmp); max_t 888 fs/btrfs/file-item.c tmp = max_t(u64, 1, tmp); max_t 3383 fs/btrfs/file.c start = max_t(loff_t, 0, *offset); max_t 1664 fs/btrfs/free-space-cache.c max_bitmaps = max_t(u64, max_bitmaps, 1); max_t 1768 fs/btrfs/free-space-cache.c max_t(u64, *offset, bitmap_info->offset)); max_t 2854 fs/btrfs/free-space-cache.c max_t(u64, offset, entry->offset)); max_t 551 fs/btrfs/inode-map.c *objectid = max_t(u64, found_key.objectid, max_t 1148 fs/btrfs/volumes.c fs_devices->latest_generation = max_t(u64, found_transid, max_t 1620 fs/btrfs/volumes.c search_start = max_t(u64, search_start, SZ_1M); max_t 162 fs/btrfs/zstd.c max_t(size_t, max_t 166 fs/btrfs/zstd.c max_size = max_t(size_t, max_size, level_size); max_t 1257 fs/cifs/cifsacl.c secdesclen = max_t(u32, secdesclen, DEFAULT_SEC_DESC_LEN); max_t 71 fs/coda/upcall.c #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag)) max_t 140 fs/coda/upcall.c insize = max_t(unsigned int, offset + length +1, OUTSIZE(lookup)); max_t 211 fs/coda/upcall.c insize = max_t(unsigned int, offset + length + 1, OUTSIZE(mkdir)); max_t 243 fs/coda/upcall.c insize = max_t(unsigned int, offset + new_length + old_length + 8, max_t 279 fs/coda/upcall.c insize = max_t(unsigned int, offset + length + 1, OUTSIZE(create)); max_t 311 fs/coda/upcall.c insize = max_t(unsigned int, offset + length + 1, OUTSIZE(rmdir)); max_t 333 fs/coda/upcall.c insize = max_t(unsigned int, offset + length + 1, OUTSIZE(remove)); max_t 356 fs/coda/upcall.c insize = max_t(unsigned int, max_t 388 fs/coda/upcall.c insize = max_t(unsigned int, offset + len + 1, OUTSIZE(link)); max_t 415 fs/coda/upcall.c insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); max_t 210 fs/crypto/fname.c max_t(u32, BASE64_CHARS(FSCRYPT_FNAME_MAX_UNDIGESTED_SIZE), max_t 374 fs/crypto/fname.c kmalloc(max_t(size_t, FSCRYPT_FNAME_MAX_UNDIGESTED_SIZE, max_t 2556 fs/dlm/lock.c hi = max_t(int, lkb->lkb_rqmode, hi); max_t 2569 fs/dlm/lock.c return max_t(int, high, hi); max_t 2583 fs/dlm/lock.c high = max_t(int, lkb->lkb_rqmode, high); max_t 679 fs/erofs/zdata.c clt->cl->nr_pages = max_t(pgoff_t, clt->cl->nr_pages, index + 1); max_t 478 fs/exec.c limit = max_t(unsigned long, limit, ARG_MAX); max_t 5644 fs/ext4/super.c buf->f_bfree = EXT4_C2B(sbi, max_t(s64, bfree, 0)); max_t 1366 fs/f2fs/file.c new_size = max_t(loff_t, new_size, offset + len); max_t 1374 fs/f2fs/file.c new_size = max_t(loff_t, new_size, max_t 1417 fs/f2fs/file.c new_size = max_t(loff_t, new_size, max_t 1426 fs/f2fs/file.c new_size = max_t(loff_t, new_size, offset + len); max_t 2848 fs/f2fs/segment.c cpc.trim_minlen = max_t(__u64, 1, F2FS_BYTES_TO_BLK(range->minlen)); max_t 721 fs/fat/fatent.c ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT); max_t 143 fs/fat/file.c range.minlen = max_t(unsigned int, range.minlen, max_t 120 fs/file.c data = kvmalloc(max_t(size_t, max_t 399 fs/file_table.c files_stat.max_files = max_t(unsigned long, n, NR_FILE); max_t 334 fs/fuse/cuse.c fc->max_read = max_t(unsigned, arg->max_read, 4096); max_t 335 fs/fuse/cuse.c fc->max_write = max_t(unsigned, arg->max_write, 4096); max_t 1200 fs/fuse/dev.c if (nbytes < max_t(size_t, FUSE_MIN_READ_BUFFER, max_t 1915 fs/fuse/file.c max_t(unsigned int, data->max_pages * 2, max_t 2783 fs/fuse/file.c out_size = max_t(size_t, out_size, PAGE_SIZE); max_t 952 fs/fuse/inode.c max_t(unsigned int, arg->max_pages, 1)); max_t 964 fs/fuse/inode.c fc->max_write = max_t(unsigned, 4096, fc->max_write); max_t 1182 fs/fuse/inode.c fc->max_read = max_t(unsigned, 4096, ctx->max_read); max_t 1425 fs/gfs2/rgrp.c minlen = max_t(u64, r.minlen, max_t 1577 fs/gfs2/rgrp.c extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target); max_t 307 fs/hfsplus/hfsplus_fs.h return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), max_t 334 fs/isofs/compress.c pages = kcalloc(max_t(unsigned int, zisofs_pages_per_cblock, 1), max_t 1796 fs/jbd2/transaction.c commit_time = max_t(u64, commit_time, max_t 141 fs/jfs/ioctl.c range.minlen = max_t(unsigned int, range.minlen, max_t 455 fs/nfs/direct.c size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); max_t 860 fs/nfs/direct.c size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); max_t 191 fs/nfs/flexfilelayout/flexfilelayoutdev.c end = max_t(u64, pnfs_end_offset(err->offset, err->length), max_t 8540 fs/nfs/nfs4proc.c args->bc_attrs.max_reqs = max_t(unsigned short, max_session_cb_slots, 1); max_t 95 fs/nfs_common/nfsacl.c int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; max_t 1600 fs/nfsd/nfs4state.c scale_factor = max_t(unsigned int, 8, nn->nfsd_serv->sv_nrthreads); max_t 1605 fs/nfsd/nfs4state.c num = max_t(int, num, 1); max_t 5325 fs/nfsd/nfs4state.c new_timeo = max_t(time_t, new_timeo, NFSD_LAUNDROMAT_MINTIMEOUT); max_t 2030 fs/nfsd/nfs4xdr.c ns = max_t(u32, NSEC_PER_SEC/HZ, inode->i_sb->s_time_gran); max_t 904 fs/nfsd/nfsctl.c bsize = max_t(int, bsize, 1024); max_t 1084 fs/nilfs2/ioctl.c range.minlen = max_t(u64, range.minlen, q->limits.discard_granularity); max_t 366 fs/nilfs2/the_nilfs.c return max_t(unsigned long, NILFS_MIN_NRSVSEGS, max_t 934 fs/ocfs2/ioctl.c range.minlen = max_t(u64, q->limits.discard_granularity, max_t 54 fs/squashfs/lz4_wrapper.c int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); max_t 30 fs/squashfs/lzo_wrapper.c int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); max_t 69 fs/squashfs/xz_wrapper.c opts->dict_size = max_t(int, msblk->block_size, max_t 35 fs/squashfs/zstd_wrapper.c wksp->window_size = max_t(size_t, max_t 107 fs/ubifs/lpt.c per_leb_wastage = max_t(int, c->pnode_sz, c->nnode_sz); max_t 1659 fs/ubifs/lpt.c int bufsiz = max_t(int, c->nnode_sz, c->pnode_sz); max_t 1785 fs/ubifs/lpt.c i = max_t(int, c->nnode_sz, c->pnode_sz); max_t 4507 fs/xfs/libxfs/xfs_bmap.c bma.length = max_t(xfs_filblks_t, bma.got.br_blockcount, MAXEXTLEN); max_t 448 fs/xfs/libxfs/xfs_btree.h #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b)) max_t 450 fs/xfs/libxfs/xfs_btree.h #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b)) max_t 452 fs/xfs/libxfs/xfs_btree.h #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b)) max_t 454 fs/xfs/libxfs/xfs_btree.h #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b)) max_t 2776 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_inos = max_t(uint16_t, XFS_INODES_PER_CHUNK, max_t 43 fs/xfs/scrub/attr.c sz = max_t(size_t, sz, value_size); max_t 1056 fs/xfs/xfs_bmap_util.c rounding = max_t(xfs_off_t, 1 << mp->m_sb.sb_blocklog, PAGE_SIZE); max_t 173 fs/xfs/xfs_discard.c range.minlen = max_t(u64, granularity, range.minlen); max_t 1119 fs/xfs/xfs_super.c statp->f_files = max_t(typeof(statp->f_files), max_t 1125 fs/xfs/xfs_super.c statp->f_ffree = max_t(int64_t, ffree, 0); max_t 184 include/crypto/if_alg.h return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - max_t 210 include/crypto/if_alg.h return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - max_t 1138 include/linux/blkdev.h return max_t(unsigned short, rq->nr_phys_segments, 1); max_t 1594 include/linux/jbd2.h return max_t(long, free, 0); max_t 954 include/linux/kernel.h #define clamp_t(type, val, lo, hi) min_t(type, max_t(type, val, lo), hi) max_t 2116 include/linux/netdevice.h return max_t(int, -dev->num_tc, 0); max_t 2827 include/linux/netdevice.h size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); max_t 355 include/linux/workqueue.h max_t(int, WQ_MAX_ACTIVE, num_possible_cpus() * WQ_MAX_UNBOUND_PER_CPU) max_t 267 include/net/flow_offload.h flow_stats->lastused = max_t(u64, flow_stats->lastused, lastused); max_t 310 include/net/fq_impl.h fq->flows_cnt = max_t(u32, flows_cnt, 1); max_t 592 include/net/sctp/sctp.h return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), max_t 554 include/net/sock.h off = max_t(s32, off - val, 0); max_t 2240 include/net/sock.h WRITE_ONCE(sk->sk_sndbuf, max_t(u32, val, SOCK_MIN_SNDBUF)); max_t 2332 include/net/sock.h int segs = max_t(u16, 1, skb_shinfo(skb)->gso_segs); max_t 641 include/net/tcp.h return max_t(int, cutoff, 68U - tp->tcp_header_len); max_t 781 include/net/tcp.h return max_t(s64, t1 - t0, 0); max_t 1302 include/net/tcp.h return max_t(unsigned long, inet_csk(sk)->icsk_rto, TCP_RTO_MIN); max_t 2113 include/net/tcp.h segs_in = max_t(u16, 1, skb_shinfo(skb)->gso_segs); max_t 1866 kernel/audit.c max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); max_t 836 kernel/bpf/btf.c expand_by = max_t(u32, btf->types_size >> 2, 16); max_t 1010 kernel/bpf/cgroup.c max_optlen = max_t(int, 16, *optlen); max_t 1630 kernel/bpf/core.c stack_depth = max_t(u32, stack_depth, 1); max_t 1692 kernel/bpf/core.c u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); max_t 928 kernel/bpf/verifier.c reg->smin_value = max_t(s64, reg->smin_value, max_t 947 kernel/bpf/verifier.c reg->smin_value = reg->umin_value = max_t(u64, reg->smin_value, max_t 967 kernel/bpf/verifier.c reg->smin_value = reg->umin_value = max_t(u64, reg->smin_value, max_t 2345 kernel/bpf/verifier.c max_t(u32, env->prog->aux->max_pkt_offset, max_t 2618 kernel/bpf/verifier.c depth += round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); max_t 2656 kernel/bpf/verifier.c depth -= round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); max_t 9601 kernel/events/core.c period = max_t(u64, 10000, event->hw.sample_period); max_t 9622 kernel/events/core.c period = max_t(u64, 10000, hwc->sample_period); max_t 807 kernel/fork.c int align = max_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN); max_t 236 kernel/irq/affinity.c nvectors = max_t(unsigned, 1, max_t 1956 kernel/kprobes.c rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); max_t 530 kernel/pid.c pid_max = min(pid_max_max, max_t(int, pid_max, max_t 532 kernel/pid.c pid_max_min = max_t(int, pid_max_min, max_t 290 kernel/sched/core.c delta = max_t(s64, delay, 10000LL); max_t 315 kernel/sched/core.c delay = max_t(u64, delay, 10000LL); max_t 1139 kernel/sched/fair.c return max_t(unsigned int, floor, scan); max_t 5570 kernel/sched/fair.c return max_t(long, capacity_of(cpu) - cpu_util_without(cpu, p), 0); max_t 8505 kernel/sched/fair.c env->imbalance = max_t(long, env->imbalance, max_t 2410 kernel/sched/sched.h util = max_t(unsigned long, util, max_t 63 lib/percpu-refcount.c size_t align = max_t(size_t, 1 << __PERCPU_REF_FLAG_BITS, max_t 1035 lib/rhashtable.c ht->p.min_size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); max_t 1056 lib/rhashtable.c size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); max_t 88 lib/ts_bm.c shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); max_t 1126 lib/vsprintf.c int nr_bits = max_t(int, spec.field_width, 0); max_t 1169 lib/vsprintf.c int nr_bits = max_t(int, spec.field_width, 0); max_t 193 mm/cma.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order); max_t 280 mm/cma.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order)); max_t 2364 mm/compaction.c rc = max_t(enum compact_result, COMPACT_DEFERRED, rc); max_t 150 mm/dmapool.c allocation = max_t(size_t, size, PAGE_SIZE); max_t 2419 mm/filemap.c ra->start = max_t(long, 0, offset - ra->ra_pages / 2); max_t 284 mm/memblock.c start = max_t(phys_addr_t, start, PAGE_SIZE); max_t 29 mm/mempool.c const int start = max_t(int, byte - (BITS_PER_LONG / 8), 0); max_t 147 mm/mm_init.c s32 batch = max_t(s32, nr*2, 32); max_t 152 mm/mm_init.c vm_committed_as_batch = max_t(s32, memsized_batch, batch); max_t 7791 mm/page_alloc.c tmp = max_t(u64, tmp >> 2, max_t 8307 mm/page_alloc.c return pfn & ~(max_t(unsigned long, MAX_ORDER_NR_PAGES, max_t 8313 mm/page_alloc.c return ALIGN(pfn, max_t(unsigned long, MAX_ORDER_NR_PAGES, max_t 2551 mm/percpu.c max_t(size_t, dyn_size, PERCPU_DYNAMIC_EARLY_SIZE)); max_t 2560 mm/percpu.c min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); max_t 2994 mm/percpu.c roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, max_t 236 mm/readahead.c max_pages = max_t(unsigned long, bdi->io_pages, ra->ra_pages); max_t 1802 mm/slab.c cachep->object_size = max_t(int, cachep->object_size, size); max_t 472 mm/slob.c int minalign = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); max_t 548 mm/slob.c int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); max_t 576 mm/slob.c align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); max_t 1327 mm/slub.c cmplen = max_t(size_t, len, (end - iter)); max_t 3001 mm/swapfile.c max_t(unsigned int, SWAP_CLUSTER_INFO_COLS, SWAP_CLUSTER_SPACE_COLS) max_t 222 net/batman-adv/bat_v_elp.c probe_len = max_t(int, sizeof(struct batadv_elp_packet), max_t 543 net/batman-adv/hard-interface.c lower_header_len = max_t(unsigned short, lower_header_len, max_t 546 net/batman-adv/hard-interface.c lower_headroom = max_t(unsigned short, lower_headroom, max_t 549 net/batman-adv/hard-interface.c lower_tailroom = max_t(unsigned short, lower_tailroom, max_t 357 net/batman-adv/main.c header_len = max_t(int, header_len, max_t 359 net/batman-adv/main.c header_len = max_t(int, header_len, max_t 361 net/batman-adv/main.c header_len = max_t(int, header_len, max_t 365 net/batman-adv/main.c header_len = max_t(int, header_len, max_t 612 net/batman-adv/netlink.c orig_interval = max_t(u32, orig_interval, 2 * BATADV_JITTER); max_t 129 net/batman-adv/tp_meter.c return max_t(u32, new_size, min); max_t 155 net/batman-adv/tp_meter.c tp_vars->dec_cwnd += max_t(u32, 1U << 3, max_t 364 net/bridge/br_fdb.c work_delay = max_t(unsigned long, work_delay, msecs_to_jiffies(10)); max_t 648 net/core/bpf_sk_storage.c nbuckets = max_t(u32, 2, nbuckets); max_t 4258 net/core/filter.c max_t(int, val * 2, SOCK_MIN_RCVBUF)); max_t 4264 net/core/filter.c max_t(int, val * 2, SOCK_MIN_SNDBUF)); max_t 1619 net/core/flow_dissector.c poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); max_t 728 net/core/net-sysfs.c map = kzalloc(max_t(unsigned int, max_t 2464 net/core/rtnetlink.c len = sizeof(sa_family_t) + max_t(size_t, dev->addr_len, max_t 3433 net/core/rtnetlink.c min_ifinfo_dump_size = max_t(u16, min_ifinfo_dump_size, max_t 789 net/core/sock.c max_t(int, val * 2, SOCK_MIN_SNDBUF)); max_t 836 net/core/sock.c max_t(int, val * 2, SOCK_MIN_RCVBUF)); max_t 1937 net/core/sock.c max_segs = max_t(u32, dst->dev->gso_max_segs, 1); max_t 436 net/dccp/ccids/ccid3.c hc->tx_t_rto = max_t(u32, 4 * hc->tx_rtt, max_t 700 net/dccp/ccids/lib/tfrc_equation.c return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); max_t 139 net/ethernet/eth.c return max_t(u32, keys.control.thoff, sizeof(*eth)); max_t 1529 net/ipv4/fib_frontend.c size = max_t(size_t, size, L1_CACHE_BYTES); max_t 96 net/ipv4/fou.c max_t(size_t, offset + sizeof(u16), start); max_t 728 net/ipv4/ip_gre.c dev->mtu = max_t(int, dev->mtu - len, 68); max_t 463 net/ipv4/ip_input.c max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); max_t 45 net/ipv4/proc.c #define TCPUDP_MIB_MAX max_t(u32, UDP_MIB_MAX, TCP_MIB_MAX) max_t 1296 net/ipv4/route.c unsigned int advmss = max_t(unsigned int, ipv4_mtu(dst) - header_size, max_t 3302 net/ipv4/tcp.c info->tcpi_notsent_bytes = max_t(int, 0, tp->write_seq - tp->snd_nxt); max_t 312 net/ipv4/tcp_bbr.c segs = max_t(u32, bytes / tp->mss_cache, bbr_min_tso_segs(sk)); max_t 490 net/ipv4/tcp_bbr.c cwnd = max_t(s32, cwnd - rs->losses, 1); max_t 29 net/ipv4/tcp_diag.c r->idiag_rqueue = max_t(int, READ_ONCE(tp->rcv_nxt) - max_t 38 net/ipv4/tcp_hybla.c ca->rho_3ls = max_t(u32, max_t 344 net/ipv4/tcp_input.c per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + max_t 351 net/ipv4/tcp_input.c nr_segs = max_t(u32, TCP_INIT_CWND, tp->snd_cwnd); max_t 352 net/ipv4/tcp_input.c nr_segs = max_t(u32, nr_segs, tp->reordering + 1); max_t 429 net/ipv4/tcp_input.c incr = max_t(int, incr, 2 * skb->len); max_t 1918 net/ipv4/tcp_input.c tp->delivered += max_t(int, acked - tp->sacked_out, 1); max_t 2495 net/ipv4/tcp_input.c max_t(int, tp->prr_delivered - tp->prr_out, max_t 3013 net/ipv4/tcp_input.c rto = usecs_to_jiffies(max_t(int, delta_us, 1)); max_t 3710 net/ipv4/tcp_input.c num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); max_t 4461 net/ipv4/tcp_input.c u32 gso_segs = max_t(u16, 1, skb_shinfo(to)->gso_segs) + max_t 4462 net/ipv4/tcp_input.c max_t(u16, 1, skb_shinfo(from)->gso_segs); max_t 4565 net/ipv4/tcp_input.c tp->rcv_ooopack += max_t(u16, 1, skb_shinfo(skb)->gso_segs); max_t 2462 net/ipv4/tcp_ipv4.c rx_queue = max_t(int, READ_ONCE(tp->rcv_nxt) - max_t 242 net/ipv4/tcp_output.c space = max_t(u32, space, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]); max_t 243 net/ipv4/tcp_output.c space = max_t(u32, space, sysctl_rmem_max); max_t 1743 net/ipv4/tcp_output.c segs = max_t(u32, bytes / mss_now, min_tso_segs); max_t 2268 net/ipv4/tcp_output.c limit = max_t(unsigned long, max_t 3651 net/ipv4/tcp_output.c int rtt = max_t(int, usecs_to_jiffies(tp->srtt_us >> 3), max_t 108 net/ipv4/tcp_recovery.c *reo_timeout = max_t(u32, *reo_timeout, remaining); max_t 140 net/ipv4/tcp_westwood.c if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { max_t 222 net/ipv4/tcp_westwood.c return max_t(u32, (w->bw_est * w->rtt_min) / tp->mss_cache, 2); max_t 224 net/ipv4/tcp_yeah.c return max_t(int, tp->snd_cwnd - reduction, 2); max_t 1639 net/ipv4/udp.c int amount = max_t(int, 0, first_packet_length(sk)); max_t 2260 net/ipv6/ip6_fib.c size = max_t(size_t, size, L1_CACHE_BYTES); max_t 173 net/ipv6/ip6_input.c max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); max_t 1388 net/ipv6/ip6_output.c pmtu = max_t(int, mtu - headersize + sizeof(struct ipv6hdr), 0); max_t 689 net/ipv6/ip6_vti.c dev->mtu = max_t(int, mtu, IPV4_MIN_MTU); max_t 30 net/ipv6/proc.c max_t(u32, max_t(u32, a, b), max_t(u32, c, d)) max_t 2750 net/ipv6/route.c mtu = max_t(u32, mtu, IPV6_MIN_MTU); max_t 1899 net/ipv6/tcp_ipv6.c rx_queue = max_t(int, READ_ONCE(tp->rcv_nxt) - max_t 1155 net/mac80211/main.c local->tx_headroom = max_t(unsigned int , local->hw.extra_tx_headroom, max_t 1544 net/mac80211/mlme.c max_t(int, 0, chan_pwr - pwr_reduction_80211h); max_t 305 net/mac80211/rc80211_minstrel.c retry = max_t(u8, 2, min(mr->stats.retry_count_rtscts, retry)); max_t 307 net/mac80211/rc80211_minstrel.c retry = max_t(u8, 2, min(mr->retry_count_cts, retry)); max_t 1964 net/mac80211/tx.c tail_need = max_t(int, tail_need, 0); max_t 2001 net/mac80211/tx.c headroom = max_t(int, 0, headroom); max_t 2810 net/mac80211/tx.c head_need = max_t(int, 0, head_need); max_t 3483 net/mac80211/tx.c max_t(int, extra_head + hw_headroom - max_t 1434 net/mac80211/util.c qparam->cw_min = max_t(u16, qparam->cw_min, wmm_ac->cw_min); max_t 1435 net/mac80211/util.c qparam->cw_max = max_t(u16, qparam->cw_max, wmm_ac->cw_max); max_t 1436 net/mac80211/util.c qparam->aifs = max_t(u8, qparam->aifs, wmm_ac->aifsn); max_t 497 net/mac80211/vht.c sta->sta.rx_nss = max_t(u8, 1, ht_rx_nss); max_t 856 net/mpls/af_mpls.c *max_via_alen = max_t(u16, *max_via_alen, max_t 866 net/mpls/af_mpls.c *max_labels = max_t(u8, *max_labels, n_labels); max_t 339 net/netfilter/ipvs/ip_vs_sync.c len = max_t(unsigned int, len + sizeof(struct ip_vs_sync_mesg), max_t 427 net/netfilter/ipvs/ip_vs_sync.c len = max_t(unsigned int, len + sizeof(struct ip_vs_sync_mesg_v0), max_t 2215 net/netlink/af_netlink.c alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); max_t 2728 net/packet/af_packet.c copylen = max_t(int, copylen, dev->hard_header_len); max_t 81 net/qrtr/qrtr.c #define QRTR_HDR_MAX_SIZE max_t(size_t, sizeof(struct qrtr_hdr_v1), \ max_t 107 net/rds/bind.c rover = max_t(u16, prandom_u32(), 2); max_t 513 net/rds/ib_send.c ret = max_t(int, RDS_CONG_MAP_BYTES, scat->length); max_t 229 net/rds/recv.c conn->c_npaths = max_t(int, conn->c_npaths, 1); max_t 1247 net/rds/send.c if (max_t(size_t, payload_len, rdma_payload_len) > RDS_MAX_MSG_SIZE) { max_t 86 net/rds/tcp_listen.c int npaths = max_t(int, 1, conn->c_npaths); max_t 53 net/rxrpc/input.c call->cong_ssthresh = max_t(unsigned int, max_t 124 net/rxrpc/input.c call->cong_ssthresh = max_t(unsigned int, max_t 924 net/sched/act_ct.c c->tcf_tm.lastuse = max_t(u64, c->tcf_tm.lastuse, lastuse); max_t 129 net/sched/act_gact.c gact->tcfg_pval = max_t(u16, 1, p_parm->pval); max_t 189 net/sched/act_gact.c tm->lastuse = max_t(u64, tm->lastuse, lastuse); max_t 325 net/sched/act_mirred.c tm->lastuse = max_t(u64, tm->lastuse, lastuse); max_t 301 net/sched/act_police.c tm->lastuse = max_t(u64, tm->lastuse, lastuse); max_t 314 net/sched/act_vlan.c tm->lastuse = max_t(u64, tm->lastuse, lastuse); max_t 764 net/sched/sch_api.c drops = max_t(int, n, 0); max_t 2270 net/sched/sch_cake.c b->tin_quantum_prio = max_t(u16, 1U, quantum1); max_t 2271 net/sched/sch_cake.c b->tin_quantum_band = max_t(u16, 1U, quantum2); max_t 2367 net/sched/sch_cake.c b->tin_quantum_prio = max_t(u16, 1U, quantum1); max_t 2368 net/sched/sch_cake.c b->tin_quantum_band = max_t(u16, 1U, quantum2); max_t 2513 net/sched/sch_cake.c q->buffer_limit = max_t(u32, t, 4U << 20); max_t 219 net/sched/sch_cbs.c q->credits = max_t(s64, credits, q->locredit); max_t 440 net/sched/sch_fq.c f->credit = max_t(u32, f->credit, q->quantum); max_t 523 net/sched/sch_fq.c u64 time_next_packet = max_t(u64, fq_skb_cb(skb)->time_to_send, max_t 1323 net/sched/sch_generic.c r->rate_bytes_ps = max_t(u64, conf->rate, rate64); max_t 572 net/sched/sch_netem.c delay = max_t(s64, 0, delay); max_t 1025 net/sched/sch_netem.c q->rate = max_t(u64, q->rate, max_t 356 net/sched/sch_taprio.c minimum_time = max_t(ktime_t, minimum_time, tcp_tstamp); max_t 386 net/sched/sch_taprio.c txtime = max_t(ktime_t, txtime, minimum_time); max_t 387 net/sched/sch_taprio.c txtime = max_t(ktime_t, txtime, interval_start); max_t 251 net/sched/sch_tbf.c now + max_t(long, -toks, -ptoks)); max_t 682 net/sctp/associola.c peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); max_t 1456 net/sctp/associola.c ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, max_t 629 net/sctp/socket.c trans->cwnd = min(4*asoc->pathmtu, max_t(__u32, max_t 634 net/sctp/transport.c return max_t(unsigned long, timeout, HZ / 5); max_t 647 net/sctp/transport.c t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); max_t 171 net/smc/smc_cdc.h return max_t(int, 0, max_t 174 net/smc/smc_cdc.h return max_t(int, 0, (new->count - old->count)); max_t 209 net/smc/smc_cdc.h return max_t(int, 0, (new->count - old->count)); max_t 1820 net/sunrpc/clnt.c max_t(size_t, proc->p_replen, 2); max_t 1616 net/sunrpc/xprt.c xprt->stat.max_slots = max_t(unsigned int, xprt->stat.max_slots, max_t 2302 net/tipc/link.c l->backlog[TIPC_LOW_IMPORTANCE].limit = max_t(u16, 50, win); max_t 2303 net/tipc/link.c l->backlog[TIPC_MEDIUM_IMPORTANCE].limit = max_t(u16, 100, win * 2); max_t 2304 net/tipc/link.c l->backlog[TIPC_HIGH_IMPORTANCE].limit = max_t(u16, 150, win * 3); max_t 2305 net/tipc/link.c l->backlog[TIPC_CRITICAL_IMPORTANCE].limit = max_t(u16, 200, win * 4); max_t 1830 net/unix/af_unix.c data_len = max_t(int, 0, size - SKB_MAX_HEAD(0)); max_t 356 net/vmw_vsock/hyperv_transport.c sndbuf = max_t(int, sk->sk_sndbuf, RINGBUFFER_HVS_SND_SIZE); max_t 359 net/vmw_vsock/hyperv_transport.c rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); max_t 1310 net/wireless/reg.c intersect->cw_min = max_t(u16, wmm_ac1->cw_min, wmm_ac2->cw_min); max_t 1311 net/wireless/reg.c intersect->cw_max = max_t(u16, wmm_ac1->cw_max, wmm_ac2->cw_max); max_t 1313 net/wireless/reg.c intersect->aifsn = max_t(u8, wmm_ac1->aifsn, wmm_ac2->aifsn); max_t 57 net/xdp/xdp_umem.c if (queue_id >= max_t(unsigned int, max_t 668 sound/firewire/dice/dice-stream.c dice->tx_midi_ports[i] = max_t(unsigned int, max_t 678 sound/firewire/dice/dice-stream.c dice->rx_midi_ports[i] = max_t(unsigned int, max_t 240 sound/soc/intel/skylake/skl-nhlt.c channels = max_t(u16, channels, max_t 766 tools/vm/page-types.c start = max_t(unsigned long, pg_start[i], index);