/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_pool.c | 68 IN const size_t min_size, IN const size_t max_size, in cl_qcpool_init() argument 96 if (max_size && max_size < min_size) in cl_qcpool_init() 153 if (!min_size) in cl_qcpool_init() 156 status = cl_qcpool_grow(p_pool, min_size); in cl_qcpool_init() 424 IN const size_t min_size, IN const size_t max_size, in cl_qpool_init() argument 439 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_qpool_init() 521 IN const size_t min_size, IN const size_t max_size, in cl_cpool_init() argument 543 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_cpool_init() 626 cl_status_t cl_pool_init(IN cl_pool_t * const p_pool, IN const size_t min_size, in cl_pool_init() argument 650 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_pool_init()
|
H A D | cl_ptr_vector.c | 60 IN const size_t min_size, in cl_ptr_vector_init() argument 78 if (min_size) { in cl_ptr_vector_init() 79 status = cl_ptr_vector_set_size(p_vector, min_size); in cl_ptr_vector_init() 242 IN const size_t min_size) in cl_ptr_vector_set_min_size() argument 247 if (min_size > p_vector->size) { in cl_ptr_vector_set_min_size() 249 return (cl_ptr_vector_set_size(p_vector, min_size)); in cl_ptr_vector_set_min_size()
|
H A D | cl_vector.c | 190 IN const size_t min_size, IN const size_t grow_size, in cl_vector_init() argument 245 if (min_size) { in cl_vector_init() 246 status = cl_vector_set_size(p_vector, min_size); in cl_vector_init() 473 IN const size_t min_size) in cl_vector_set_min_size() argument 478 if (min_size > p_vector->size) { in cl_vector_set_min_size() 480 return (cl_vector_set_size(p_vector, min_size)); in cl_vector_set_min_size()
|
/freebsd/sys/kern/ |
H A D | subr_busdma_bufalloc.c | 68 bus_size_t min_size; member 85 ba->min_size = MAX(MIN_ZONE_BUFSIZE, minimum_alignment); in busdma_bufalloc_create() 95 for (i = 0, bz = ba->buf_zones, cursize = ba->min_size; in busdma_bufalloc_create()
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndbvar.h | 114 bus_size_t min_size); 121 bus_size_t min_size); 128 bus_size_t min_size);
|
H A D | bhndb_subr.c | 1464 bhndb_regwin_type_t type, bus_size_t min_size) in bhndb_regwin_find_type() argument 1470 if (rw->win_type == type && rw->win_size >= min_size) in bhndb_regwin_find_type() 1495 bus_size_t offset, bus_size_t min_size) in bhndb_regwin_find_core() argument 1532 if (rw->win_size - rw_offset < min_size) in bhndb_regwin_find_core() 1563 u_int region, bus_size_t offset, bus_size_t min_size) in bhndb_regwin_find_best() argument 1569 port, region, offset, min_size); in bhndb_regwin_find_best() 1574 return (bhndb_regwin_find_type(table, BHNDB_REGWIN_T_DYN, min_size)); in bhndb_regwin_find_best()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | uverbs_ioctl.h | 837 size_t min_size; in _uverbs_copy_from_or_zero() local 842 min_size = min_t(size_t, size, attr->ptr_attr.len); in _uverbs_copy_from_or_zero() 845 memcpy(to, &attr->ptr_attr.data, min_size); in _uverbs_copy_from_or_zero() 847 min_size)) in _uverbs_copy_from_or_zero() 850 if (size > min_size) in _uverbs_copy_from_or_zero() 851 memset((char *)to + min_size, 0, size - min_size); in _uverbs_copy_from_or_zero()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | test_crypto_wrapping.c | 39 size_t min_size, in test_wrapping() argument 69 for (size = min_size; size < max_size; size += step) { in test_wrapping()
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_ptr_vector.h | 251 IN const size_t min_size, IN const size_t grow_size); 673 IN const size_t min_size);
|
H A D | cl_vector.h | 385 IN const size_t min_size, 796 IN const size_t min_size);
|
H A D | cl_qpool.h | 310 IN const size_t min_size,
|
H A D | cl_comppool.h | 304 IN const size_t min_size,
|
H A D | cl_qcomppool.h | 420 IN const size_t min_size,
|
/freebsd/usr.sbin/nscd/ |
H A D | cachelib.c | 77 size_t min_size; in ht_items_cmp_func() local 87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_cmp_func() 89 result = memcmp(hp1->key, hp2->key, min_size); in ht_items_cmp_func() 103 size_t min_size; in ht_items_fixed_size_left_cmp_func() local 113 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_fixed_size_left_cmp_func() 115 result = memcmp(hp1->key, hp2->key, min_size); in ht_items_fixed_size_left_cmp_func() 118 if (min_size == hp1->key_size) in ht_items_fixed_size_left_cmp_func()
|
/freebsd/stand/kboot/kboot/ |
H A D | kboot.h | 49 uint64_t first_avail(uint64_t align, uint64_t min_size, uint64_t type);
|
H A D | seg.c | 175 first_avail(uint64_t align, uint64_t min_size, uint64_t memtype) in first_avail() argument 186 if (len >= min_size) { in first_avail()
|
/freebsd/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ioctl.py | 307 min_size = sizeof(IpFwRule) 308 if len(data) < min_size: 310 rule = IpFwRule.from_buffer_copy(data[:min_size]) 311 if len(data) != min_size + rule.cmd_len * 4:
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_quarantine.h | 147 void NOINLINE Recycle(uptr min_size, Callback cb) in Recycle() argument 171 while (cache_.Size() > min_size) { in Recycle()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_ioctl.c | 702 size_t min_size; in uverbs_copy_to() local 707 min_size = min_t(size_t, attr->ptr_attr.len, size); in uverbs_copy_to() 708 if (copy_to_user(u64_to_user_ptr(attr->ptr_attr.data), from, min_size)) in uverbs_copy_to()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | dbg-tlv.h | 224 * @min_size: minimum buffer size 232 __le32 min_size; 200 __le32 min_size; global() member
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | acpi.c | 703 u32 min_size; in iwl_sar_get_ewrd_table() 706 min_size = max_size; in iwl_sar_get_ewrd_table() 708 min_size = hdr_size + in iwl_sar_get_ewrd_table() 712 min_size, max_size, in iwl_sar_get_ewrd_table() 840 u32 min_size; iwl_sar_get_wgds_table() local
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_uk.c | 1591 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; in irdma_get_sqdepth() local 1595 if (*sqdepth < min_size) in irdma_get_sqdepth() 1596 *sqdepth = min_size; in irdma_get_sqdepth() 1610 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; in irdma_get_rqdepth() local 1614 if (*rqdepth < min_size) in irdma_get_rqdepth() 1615 *rqdepth = min_size; in irdma_get_rqdepth()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_uk.c | 1485 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; in irdma_get_sqdepth() local 1489 if (*sqdepth < min_size) in irdma_get_sqdepth() 1490 *sqdepth = min_size; in irdma_get_sqdepth() 1504 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; in irdma_get_rqdepth() local 1508 if (*rqdepth < min_size) in irdma_get_rqdepth() 1509 *rqdepth = min_size; in irdma_get_rqdepth()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | ops.c | 315 * @min_size: minimum size to expect for the notification 320 u16 cmd_id, min_size; 331 .context = _context, .min_size = sizeof(_struct), } 334 .context = _context, .min_size = sizeof(_struct), } 1748 if (IWL_FW_CHECK(mvm, pkt_len < rx_h->min_size, in iwl_mvm_queue_state_change() 1750 rx_h->cmd_id, pkt_len, rx_h->min_size)) in iwl_mvm_queue_state_change() 301 u16 cmd_id, min_size; global() member
|
/freebsd/sys/dev/ice/ |
H A D | ice_nvm.c | 1226 u32 min_size = 0, max_size = ICE_AQC_NVM_MAX_OFFSET + 1; in ice_discover_flash_size() 1235 while ((max_size - min_size) > 1) { in ice_discover_flash_size() 1236 u32 offset = (max_size + min_size) / 2; in ice_discover_flash_size() 1250 min_size = offset; in ice_discover_flash_size() 1212 u32 min_size = 0, max_size = ICE_AQC_NVM_MAX_OFFSET + 1; ice_discover_flash_size() local
|