/freebsd-12-stable/contrib/ofed/libmlx5/ |
H A D | config.h | 3 #define min_t(type, x, y) ({ \ macro
|
H A D | srq.c | 61 copy = min_t(long, size, be32toh(scat->byte_count));
|
/freebsd-12-stable/contrib/ofed/libibverbs/ |
H A D | config.h | 21 #define min_t(type, x, y) ({ \ macro
|
/freebsd-12-stable/sys/contrib/xz-embedded/freebsd/ |
H A D | xz_config.h | 68 #define min_t(type, x, y) min((x), (y)) macro
|
/freebsd-12-stable/sys/contrib/xz-embedded/userspace/ |
H A D | xz_config.h | 53 #define min_t(type, x, y) min(x, y) macro
|
/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mem.c | 79 m = min_t(unsigned long, m, find_first_bit(&tmp, BITS_PER_LONG)); 100 m = min_t(unsigned long, ilog2(roundup_pow_of_two(i)), m);
|
/freebsd-12-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.h | 33 #ifndef min_t 34 #define min_t(type, _a, _b) (((type)(_a) < (type)(_b)) ? (type)(_a) : (type)(_b)) macro
|
/freebsd-12-stable/sys/dev/mlxfw/ |
H A D | mlxfw_fsm.c | 125 comp_max_size = min_t(u32, comp_max_size, MLXFW_FSM_MAX_COMPONENT_SIZE); 152 block_size = (u16) min_t(u32, comp->data_size - offset,
|
H A D | mlxfw_mfa2.c | 476 dec_buf.out_size = min_t(size_t, size, off - curr_off);
|
/freebsd-12-stable/sys/dev/axgbe/ |
H A D | xgbe_osdep.h | 185 #define min_t(t, a, b) MIN((t)(a), (t)(b)) macro
|
H A D | xgbe-dev.c | 389 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); 415 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); 1384 q_fifo_size = min_t(unsigned int, XGBE_FIFO_MAX, q_fifo_size); 1452 prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_profile.c | 110 min_t(unsigned, dev_cap->max_eqs, MAX_MSIX); 201 min_t(unsigned,
|
H A D | mlx4_mr.c | 736 chunk = min_t(int, max_mtts_first_page, npages); 746 chunk = min_t(int, mtts_per_page, npages); 770 chunk = min_t(int, MLX4_MAILBOX_SIZE / sizeof(u64) - 2,
|
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_umem_odp.c | 568 min_t(size_t, ALIGN(bcnt, PAGE_SIZE) / PAGE_SIZE, 587 bcnt -= min_t(size_t, npages << PAGE_SHIFT, bcnt); 632 bound = min_t(u64, bound, ib_umem_end(umem));
|
H A D | ib_umem.c | 184 min_t(unsigned long, npages,
|
/freebsd-12-stable/sys/dev/ena/ |
H A D | ena.c | 2501 io_rx_num = min_t(int, max_queue_ext->max_rx_sq_num, 2511 io_rx_num = min_t(int, io_tx_sq_num, io_tx_cq_num); 2518 max_num_io_queues = min_t(uint32_t, mp_ncpus, ENA_MAX_NUM_IO_QUEUES); 2519 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_rx_num); 2520 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_tx_sq_num); 2521 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_tx_cq_num); 2523 max_num_io_queues = min_t(uint32_t, max_num_io_queues, 2636 max_rx_queue_size = min_t(uint32_t, 2643 max_tx_queue_size = min_t(uint32_t, max_tx_queue_size, 2646 max_tx_queue_size = min_t(uint32_ [all...] |
H A D | ena.h | 488 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_main.c | 81 params->num_tx_rings_p_up = min_t(int, mp_ncpus,
|
/freebsd-12-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 751 dump_len = min_t(int, 1044 delta = min_t(size_t, size, sizeof(to->first.data)); 1054 delta = min_t(size_t, size, MLX5_CMD_DATA_BLOCK_SIZE); 1070 delta = min_t(size_t, size, sizeof(from->first.data)); 1080 delta = min_t(size_t, size, MLX5_CMD_DATA_BLOCK_SIZE); 1096 blen = size - min_t(size_t, sizeof(msg->first.data), size);
|
/freebsd-12-stable/sys/dev/bnxt/ |
H A D | bnxt.h | 227 #define min_t(type, x, y) ({ \ macro 237 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 475 #define min_t(type, x, y) ({ \ macro 488 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd-12-stable/sys/dev/qlnx/qlnxe/ |
H A D | bcm_osal.h | 138 #define min_t(type, val1, val2) \ macro 445 #define OSAL_MIN_T(type, __max1, __max2) min_t(type, __max1, __max2)
|
/freebsd-12-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos);
|
/freebsd-12-stable/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_cmd.c | 109 read = min_t(unsigned int, cap_size,
|
/freebsd-12-stable/sys/contrib/ena-com/ |
H A D | ena_plat.h | 202 #define min_t(type, _x, _y) ((type)(_x) < (type)(_y) ? (type)(_x) : (type)(_y)) macro
|