/freebsd-11-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-11-stable/contrib/ofed/libibverbs/ |
H A D | config.h | 21 #define min_t(type, x, y) ({ \ macro
|
/freebsd-11-stable/sys/contrib/xz-embedded/userspace/ |
H A D | xz_config.h | 53 #define min_t(type, x, y) min(x, y) macro
|
/freebsd-11-stable/sys/contrib/xz-embedded/freebsd/ |
H A D | xz_config.h | 68 #define min_t(type, x, y) min((x), (y)) macro
|
/freebsd-11-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-11-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
|
H A D | cudbg_lib.c | 1837 max_ctx_qid[CTXT_EGRESS] = min_t(u32, max_ctx_qid[CTXT_EGRESS], 1839 max_ctx_qid[CTXT_INGRESS] = min_t(u32, max_ctx_qid[CTXT_INGRESS], 1841 max_ctx_qid[CTXT_FLM] = min_t(u32, max_ctx_qid[CTXT_FLM], 1843 max_ctx_qid[CTXT_CNM] = min_t(u32, max_ctx_qid[CTXT_CNM], 1940 bytes = min_t(unsigned long, (unsigned long)total_size, 2615 bytes = min_t(unsigned long, bytes_left, (unsigned long)CUDBG_CHUNK_SIZE); 2904 bytes = min_t(unsigned long, bytes_left, (unsigned long)CUDBG_CHUNK_SIZE); 3385 tid->natids = min_t(u32, tid->ntids / 2, MAX_ATIDS_A);
|
/freebsd-11-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-11-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-11-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-11-stable/sys/dev/ena/ |
H A D | ena.c | 2496 io_rx_num = min_t(int, max_queue_ext->max_rx_sq_num, 2506 io_rx_num = min_t(int, io_tx_sq_num, io_tx_cq_num); 2513 max_num_io_queues = min_t(uint32_t, mp_ncpus, ENA_MAX_NUM_IO_QUEUES); 2514 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_rx_num); 2515 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_tx_sq_num); 2516 max_num_io_queues = min_t(uint32_t, max_num_io_queues, io_tx_cq_num); 2518 max_num_io_queues = min_t(uint32_t, max_num_io_queues, 2626 max_rx_queue_size = min_t(uint32_t, 2633 max_tx_queue_size = min_t(uint32_t, max_tx_queue_size, 2636 max_tx_queue_size = min_t(uint32_ [all...] |
H A D | ena.h | 489 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd-11-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-11-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-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | bcm_osal.h | 141 #define min_t(type, val1, val2) \ macro 448 #define OSAL_MIN_T(type, __max1, __max2) min_t(type, __max1, __max2)
|
/freebsd-11-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-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 453 #define min_t(type, x, y) ({ \ macro 463 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd-11-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);
|
H A D | xz_dec_lzma2.c | 354 left = min_t(size_t, dict->limit - dict->pos, *len); 1066 dict_limit(&s->dict, min_t(size_t,
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_cmd.c | 109 read = min_t(unsigned int, cap_size,
|
/freebsd-11-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
|