Searched refs:min_size (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-current/sys/dev/bhnd/bhndb/
H A Dbhndbvar.h114 bus_size_t min_size);
121 bus_size_t min_size);
128 bus_size_t min_size);
H A Dbhndb_subr.c1457 * @param min_size The minimum window size.
1464 bhndb_regwin_type_t type, bus_size_t min_size)
1470 if (rw->win_type == type && rw->win_size >= min_size)
1487 * @param min_size The required minimum readable size at @p offset.
1495 bus_size_t offset, bus_size_t min_size)
1532 if (rw->win_size - rw_offset < min_size)
1542 * Search @p windows for the best available window of at least @p min_size.
1555 * @param min_size The required minimum readable size at @p offset.
1563 u_int region, bus_size_t offset, bus_size_t min_size)
1569 port, region, offset, min_size);
1463 bhndb_regwin_find_type(const struct bhndb_regwin *table, bhndb_regwin_type_t type, bus_size_t min_size) argument
1493 bhndb_regwin_find_core(const struct bhndb_regwin *table, bhnd_devclass_t class, int unit, bhnd_port_type port_type, u_int port, u_int region, bus_size_t offset, bus_size_t min_size) argument
1561 bhndb_regwin_find_best(const struct bhndb_regwin *table, bhnd_devclass_t class, int unit, bhnd_port_type port_type, u_int port, u_int region, bus_size_t offset, bus_size_t min_size) argument
[all...]
/freebsd-current/sys/kern/
H A Dsubr_busdma_bufalloc.c68 bus_size_t min_size; member in struct:busdma_bufalloc
85 ba->min_size = MAX(MIN_ZONE_BUFSIZE, minimum_alignment);
95 for (i = 0, bz = ba->buf_zones, cursize = ba->min_size;
/freebsd-current/stand/kboot/kboot/
H A Dkboot.h49 uint64_t first_avail(uint64_t align, uint64_t min_size, uint64_t type);
H A Dseg.c175 first_avail(uint64_t align, uint64_t min_size, uint64_t memtype) argument
186 if (len >= min_size) {
/freebsd-current/contrib/ofed/opensm/complib/
H A Dcl_ptr_vector.c60 IN const size_t min_size,
78 if (min_size) {
79 status = cl_ptr_vector_set_size(p_vector, min_size);
242 IN const size_t min_size)
247 if (min_size > p_vector->size) {
249 return (cl_ptr_vector_set_size(p_vector, min_size));
59 cl_ptr_vector_init(IN cl_ptr_vector_t * const p_vector, IN const size_t min_size, IN const size_t grow_size) argument
241 cl_ptr_vector_set_min_size(IN cl_ptr_vector_t * const p_vector, IN const size_t min_size) argument
H A Dcl_pool.c68 IN const size_t min_size, IN const size_t max_size,
96 if (max_size && max_size < min_size)
153 if (!min_size)
156 status = cl_qcpool_grow(p_pool, min_size);
424 IN const size_t min_size, IN const size_t max_size,
439 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size,
521 IN const size_t min_size, IN const size_t max_size,
543 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size,
626 cl_status_t cl_pool_init(IN cl_pool_t * const p_pool, IN const size_t min_size, argument
650 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_siz
67 cl_qcpool_init(IN cl_qcpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t * const component_sizes, IN const uint32_t num_components, IN cl_pfn_qcpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_qcpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
423 cl_qpool_init(IN cl_qpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t object_size, IN cl_pfn_qpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_qpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
520 cl_cpool_init(IN cl_cpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN size_t * const component_sizes, IN const uint32_t num_components, IN cl_pfn_cpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_cpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
[all...]
H A Dcl_vector.c190 IN const size_t min_size, IN const size_t grow_size,
245 if (min_size) {
246 status = cl_vector_set_size(p_vector, min_size);
473 IN const size_t min_size)
478 if (min_size > p_vector->size) {
480 return (cl_vector_set_size(p_vector, min_size));
189 cl_vector_init(IN cl_vector_t * const p_vector, IN const size_t min_size, IN const size_t grow_size, IN const size_t element_size, IN cl_pfn_vec_init_t pfn_init OPTIONAL, IN cl_pfn_vec_dtor_t pfn_dtor OPTIONAL, IN const void *const context) argument
472 cl_vector_set_min_size(IN cl_vector_t * const p_vector, IN const size_t min_size) argument
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dtest_crypto_wrapping.c39 size_t min_size,
69 for (size = min_size; size < max_size; size += step) {
38 test_wrapping(krb5_context context, size_t min_size, size_t max_size, size_t step, krb5_enctype etype) argument
/freebsd-current/contrib/ofed/opensm/include/complib/
H A Dcl_ptr_vector.h251 IN const size_t min_size, IN const size_t grow_size);
257 * min_size
673 IN const size_t min_size);
679 * min_size
683 * CL_SUCCESS if the pointer vector size is greater than or equal to min_size.
685 * min_size or that the pointer vector was already of sufficient size.
691 * If min_size is smaller than the current size of the pointer vector,
H A Dcl_vector.h385 IN const size_t min_size,
396 * min_size
796 IN const size_t min_size);
802 * min_size
806 * CL_SUCCESS if the vector size is greater than or equal to min_size. This
807 * could indicate that the vector's capacity was increased to min_size or
814 * If min_size is smaller than the current size of the vector, the vector is
H A Dcl_comppool.h304 IN const size_t min_size,
317 * min_size
H A Dcl_qpool.h310 IN const size_t min_size,
322 * min_size
H A Dcl_qcomppool.h420 IN const size_t min_size,
433 * min_size
/freebsd-current/sys/ofed/include/rdma/
H A Duverbs_ioctl.h837 size_t min_size; local
842 min_size = min_t(size_t, size, attr->ptr_attr.len);
845 memcpy(to, &attr->ptr_attr.data, min_size);
847 min_size))
850 if (size > min_size)
851 memset((char *)to + min_size, 0, size - min_size);
/freebsd-current/tests/atf_python/sys/netpfil/ipfw/
H A Dioctl.py307 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-current/sys/contrib/dev/iwlwifi/fw/api/
H A Ddbg-tlv.h192 * @min_size: minimum buffer size
200 __le32 min_size; member in struct:iwl_fw_ini_allocation_tlv
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h147 void NOINLINE Recycle(uptr min_size, Callback cb)
171 while (cache_.Size() > min_size) {
/freebsd-current/usr.sbin/nscd/
H A Dcachelib.c77 size_t min_size; local
87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size :
89 result = memcmp(hp1->key, hp2->key, min_size);
103 size_t min_size; local
113 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size :
115 result = memcmp(hp1->key, hp2->key, min_size);
118 if (min_size == hp1->key_size)
/freebsd-current/sys/contrib/dev/iwlwifi/fw/
H A Dacpi.c840 u32 min_size; local
843 min_size = max_size;
845 min_size = hdr_size +
849 min_size, max_size,
/freebsd-current/sys/dev/irdma/
H A Dirdma_uk.c1485 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; local
1489 if (*sqdepth < min_size)
1490 *sqdepth = min_size;
1504 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; local
1508 if (*rqdepth < min_size)
1509 *rqdepth = min_size;
/freebsd-current/contrib/ofed/libirdma/
H A Dirdma_uk.c1591 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; local
1595 if (*sqdepth < min_size)
1596 *sqdepth = min_size;
1610 u32 min_size = (u32)uk_attrs->min_hw_wq_size << shift; local
1614 if (*rqdepth < min_size)
1615 *rqdepth = min_size;
/freebsd-current/sys/dev/virtio/pci/
H A Dvirtio_pci_modern.c927 int min_size, int alignment, struct vtpci_modern_resource_map *res)
955 if (min_size != -1 && length < min_size) {
957 cfg_type, length, min_size);
926 vtpci_modern_find_cap_resource(struct vtpci_modern_softc *sc, uint8_t cfg_type, int min_size, int alignment, struct vtpci_modern_resource_map *res) argument
/freebsd-current/sys/dev/ice/
H A Dice_nvm.c1213 u32 min_size = 0, max_size = ICE_AQC_NVM_MAX_OFFSET + 1; local
1222 while ((max_size - min_size) > 1) {
1223 u32 offset = (max_size + min_size) / 2;
1237 min_size = offset;
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_ioctl.c702 size_t min_size; local
707 min_size = min_t(size_t, attr->ptr_attr.len, size);
708 if (copy_to_user(u64_to_user_ptr(attr->ptr_attr.data), from, min_size))

Completed in 287 milliseconds

12