/linux-master/include/linux/ |
H A D | minmax.h | 164 * max_t - return maximum of two values, using the specified type 169 #define max_t(type, x, y) __careful_cmp(max, (type)(x), (type)(y)) macro
|
/linux-master/lib/ |
H A D | group_cpus.c | 238 ngroups = max_t(unsigned, 1,
|
H A D | dynamic_queue_limits.c | 74 dql->stall_max = max_t(unsigned short, dql->stall_max, now - t);
|
/linux-master/drivers/nvmem/ |
H A D | brcm_nvram.c | 56 to_copy = max_t(ssize_t, (ssize_t)priv->data_len - offset, 0);
|
/linux-master/kernel/dma/ |
H A D | pool.c | 198 atomic_pool_size = max_t(size_t, pages << PAGE_SHIFT, SZ_128K);
|
/linux-master/net/rds/ |
H A D | tcp_listen.c | 70 int npaths = max_t(int, 1, conn->c_npaths);
|
/linux-master/drivers/net/ethernet/qualcomm/ |
H A D | qca_debug.c | 265 qca->txr.count = max_t(u32, ring->tx_pending, QCASPI_TX_RING_MIN_LEN);
|
/linux-master/arch/x86/kernel/apic/ |
H A D | x2apic_cluster.c | 208 slots = max_t(u32, L1_CACHE_BYTES/sizeof(u32), nr_cpu_ids);
|
/linux-master/net/ipv4/ |
H A D | tcp_diag.c | 29 r->idiag_rqueue = max_t(int, READ_ONCE(tp->rcv_nxt) -
|
/linux-master/net/rxrpc/ |
H A D | input.c | 36 call->cong_ssthresh = max_t(unsigned int, 105 call->cong_ssthresh = max_t(unsigned int, 198 call->cong_ssthresh = max_t(unsigned int, call->cong_ssthresh, 200 call->cong_cwnd = max_t(unsigned int, call->cong_cwnd / 2, RXRPC_MIN_CWND);
|
/linux-master/arch/s390/mm/ |
H A D | init.c | 184 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm);
|
/linux-master/arch/arm64/mm/ |
H A D | init.c | 224 memblock_remove(max_t(u64, memstart_addr + linear_region_size,
|
/linux-master/fs/xfs/ |
H A D | xfs_discard.c | 401 range.minlen = max_t(u64, granularity, range.minlen);
|
/linux-master/drivers/soundwire/ |
H A D | bus_type.c | 143 slave->bus->clk_stop_timeout = max_t(u32, slave->bus->clk_stop_timeout,
|
/linux-master/drivers/media/i2c/ |
H A D | mt9v032.c | 255 min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, 257 hblank = max_t(unsigned int, mt9v032->hblank, min_hblank); 515 max_t(unsigned int, __crop->width / 4, 519 max_t(unsigned int, __crop->height / 4,
|
/linux-master/fs/bcachefs/ |
H A D | alloc_background.h | 241 u64 free = max_t(s64, 0,
|
H A D | replicas.c | 198 .entry_size = max_t(unsigned, old->entry_size, 531 max_t(unsigned, c->replicas_gc.entry_size, 659 entry_size = max_t(unsigned, entry_size, 688 entry_size = max_t(unsigned, entry_size,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | rqt.c | 175 u32 rqt_size = max_t(u32, MLX5E_INDIR_MIN_RQT_SIZE,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | reg_bounds.c | 78 static __always_inline u64 max_t(enum num_t t, u64 x, u64 y) function 85 default: printf("max_t!\n"); exit(1); 427 return range(t, max_t(t, old.a, new.a), min_t(t, old.b, new.b)); 504 case OP_EQ: return (T)max_t(t, x.a, y.a) <= (T)min_t(t, x.b, y.b); \ 574 *newy = range(t, max_t(t, x.a + 1, y.a), y.b); 578 *newy = range(t, max_t(t, x.a, y.a), y.b); 581 *newx = range(t, max_t(t, x.a, y.a + 1), x.b); 585 *newx = range(t, max_t(t, x.a, y.a), x.b); 589 *newx = range(t, max_t(t, x.a, y.a), min_t(t, x.b, y.b)); 590 *newy = range(t, max_t( [all...] |
/linux-master/drivers/memory/tegra/ |
H A D | tegra210-emc-cc-r21021.c | 914 deltaTWATM = max_t(u32, div_o3(7500, src_clk_period), 8); 926 max_t(u32, div_o3(7500, src_clk_period), 8) + tRPST + 1425 max_t(s32, 0, zq_latch_dvfs_wait_time)); 1445 max_t(s32, 0, zq_latch_dvfs_wait_time)); 1455 max_t(s32, 0, zq_latch_dvfs_wait_time) + 1480 max_t(s32, 0, zq_latch_dvfs_wait_time));
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 404 clip->x2 = max_t(u32, clip->x2, clip_copy.x2); 405 clip->y2 = max_t(u32, clip->y2, clip_copy.y2); 623 clip->x2 = max_t(u32, clip->x2, x + width); 624 clip->y2 = max_t(u32, clip->y2, y + height); 1590 max_t(u32, desired_mode->hdisplay + x, sizes->surface_width); 1592 max_t(u32, desired_mode->vdisplay + y, sizes->surface_height);
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | tx.c | 100 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, 477 max_t(int, num_tc, 1) *
|
/linux-master/drivers/usb/misc/ |
H A D | ldusb.c | 719 dev->interrupt_in_interval = max_t(int, min_interrupt_in_interval, 722 dev->interrupt_out_interval = max_t(int, min_interrupt_out_interval,
|
/linux-master/sound/firewire/dice/ |
H A D | dice-stream.c | 655 dice->tx_midi_ports[i] = max_t(unsigned int, 665 dice->rx_midi_ports[i] = max_t(unsigned int,
|
/linux-master/drivers/clk/ |
H A D | clk-axi-clkgen.c | 143 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); 150 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min_fract, fin) * d_min, 1);
|