Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregcmp.c140 int max_count; in regcmp() local
804 max_count = min_count; in regcmp()
810 max_count = UNLIMITED; in regcmp()
813 &max_count, regexp); in regcmp()
831 ((max_count != UNLIMITED) && in regcmp()
832 (min_count > max_count))) { in regcmp()
838 *compilep = (unsigned char)max_count; in regcmp()
/illumos-gate/usr/src/contrib/zlib/
H A Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
786 max_count = 138, min_count = 3;
788 max_count = 6, min_count = 3;
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c444 int i, j, k = 0, max_count; in crypto_get_dev_info() local
464 max_count = 0; in crypto_get_dev_info()
466 max_count += provider_array[i]->pd_mech_list_count; in crypto_get_dev_info()
468 if (max_count == 0) { in crypto_get_dev_info()
474 mech_names = kmem_alloc(max_count * sizeof (crypto_mech_name_t), in crypto_get_dev_info()
492 if (k != max_count) { in crypto_get_dev_info()
498 max_count * sizeof (crypto_mech_name_t)); in crypto_get_dev_info()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_macro.c209 unsigned long max_count = (unsigned long) maximum_count; in dwarf_get_macro_details() local
242 max_count = ULONG_MAX; in dwarf_get_macro_details()
259 for (count = 0; !done && count < max_count; ++count) { in dwarf_get_macro_details()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_object.c346 crypto_object_id_t *handles, uint_t *count, uint_t max_count, in crypto_object_find() argument
367 max_count, count, KCF_SWFP_RHNDL(crq)); in crypto_object_find()
371 0, NULL, 0, handles, 0, NULL, cookie, max_count, count); in crypto_object_find()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_print.c224 unsigned short max_count, start_ix; in smb_com_get_print_queue() local
226 if (smbsr_decode_vwv(sr, "ww", &max_count, &start_ix) != 0) in smb_com_get_print_queue()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dinterrupt.test159 set max_count [expr {1000000-$sqlite_interrupt_count}]
160 for {set i 1} {$i<$max_count-5} {incr i 1} {
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_cxt.c222 u32 max_count; member
1180 p_mngr->acquired[type].max_count = 0; in ecore_cid_map_free()
1186 p_mngr->acquired_vf[type][vf].max_count = 0; in ecore_cid_map_free()
1207 p_map->max_count = cid_count; in ecore_cid_map_alloc_single()
1212 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single()
1373 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1384 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1981 p_map->max_count); in _ecore_cxt_acquire_cid()
1983 if (rel_cid >= p_map->max_count) { in _ecore_cxt_acquire_cid()
2025 cid < (*pp_map)->start_cid + (*pp_map)->max_count) { in ecore_cxt_test_cid_acquired()
H A Decore_roce.h94 u32 max_count; member
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c895 ibcm_dinfo_t *dinfo, uint8_t *max_count) in ibcm_saa_path_rec() argument
897 uint8_t num_path = *max_count; in ibcm_saa_path_rec()
905 p_arg, sl, dinfo, p_arg->flags, *max_count); in ibcm_saa_path_rec()
919 extra = (*max_count % dinfo->num_dest); in ibcm_saa_path_rec()
958 if (rec_found == *max_count) in ibcm_saa_path_rec()
968 num_path_plus = *max_count - rec_found; in ibcm_saa_path_rec()
1018 } else if (rec_found != *max_count) in ibcm_saa_path_rec()
3046 ibcm_ip_dinfo_t *dinfo, uint8_t *max_count) in ibcm_saa_ip_pr() argument
3048 uint8_t num_path = *max_count; in ibcm_saa_ip_pr()
3054 p_arg, sl, dinfo, p_arg->flags, *max_count); in ibcm_saa_ip_pr()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c2074 int max_count = 7; /* max repeat count */ local
2077 if (nextlen == 0) max_count = 138, min_count = 3;
2082 if (++count < max_count && curlen == nextlen) {
2096 max_count = 138, min_count = 3;
2098 max_count = 6, min_count = 3;
2100 max_count = 7, min_count = 4;
2119 int max_count = 7; /* max repeat count */ local
2123 if (nextlen == 0) max_count = 138, min_count = 3;
2147 max_count = 138, min_count = 3;
2149 max_count = 6, min_count = 3;
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c1257 int max_count; in mutex_trylock_adaptive() local
1289 max_count = (max_spinners != 0)? self->ul_adaptive_spin : 0; in mutex_trylock_adaptive()
1290 if (max_count == 0) in mutex_trylock_adaptive()
1311 if (count == max_count) in mutex_trylock_adaptive()
1445 int max_count; in mutex_trylock_process() local
1496 max_count = (max_spinners != 0)? self->ul_adaptive_spin : 0; in mutex_trylock_process()
1497 if (max_count == 0) in mutex_trylock_process()
1528 if (count == max_count) in mutex_trylock_process()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c2908 int max_count = 7; /* max repeat count */ local
2911 if (nextlen == 0) max_count = 138, min_count = 3;
2916 if (++count < max_count && curlen == nextlen) {
2930 max_count = 138, min_count = 3;
2932 max_count = 6, min_count = 3;
2934 max_count = 7, min_count = 4;
2955 int max_count = 7; /* max repeat count */ local
2963 if (++count < max_count && curlen == nextlen) {
2987 max_count = 138, min_count = 3;
2989 max_count = 6, min_count = 3;
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Dmc-opl.c1336 int max_count; in do_rewrite() local
1340 max_count = 1; in do_rewrite()
1342 max_count = mc_max_rewrite_loop; in do_rewrite()
1353 while (count++ < max_count) { in do_rewrite()
1361 if (count >= max_count) in do_rewrite()
1372 if (count++ > max_count) { in do_rewrite()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_init.c1985 int max_count = 1000; in pqi_hba_reset() local
1995 if (max_count-- == 0) in pqi_hba_reset()
2001 max_count); in pqi_hba_reset()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c1786 uint32_t max_count; in emlxs_fcio_get_dev_list() local
1799 max_count = fcio->fcio_olen / sizeof (fc_port_dev32_t); in emlxs_fcio_get_dev_list()
1817 if (nport_count > max_count) { in emlxs_fcio_get_dev_list()
1864 uint32_t max_count; in emlxs_fcio_get_dev_list() local
1877 max_count = fcio->fcio_olen / sizeof (fc_port_dev_t); in emlxs_fcio_get_dev_list()
1895 if (nport_count > max_count) { in emlxs_fcio_get_dev_list()
3284 uint32_t max_count; in emlxs_dfc_get_vportinfo() local
3305 max_count = 0; in emlxs_dfc_get_vportinfo()
3339 max_count++; in emlxs_dfc_get_vportinfo()
3342 max_count *= sizeof (dfc_vportinfo_t); in emlxs_dfc_get_vportinfo()
[all …]
H A Demlxs_solaris.c4526 uint32_t max_count; in emlxs_fca_port_manage() local
4536 max_count = pm->pm_stat_len / sizeof (emlxs_parm_t); in emlxs_fca_port_manage()
4540 for (i = 0; i < NUM_CFG_PARAM && max_count; i++, in emlxs_fca_port_manage()
4553 max_count--; in emlxs_fca_port_manage()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c5224 uint_t count, max_count; in object_find_update() local
5241 max_count = STRUCT_FGET(find_update, fu_max_count); in object_find_update()
5242 if (max_count > CRYPTO_MAX_FIND_COUNT) { in object_find_update()
5248 len = max_count * sizeof (crypto_object_id_t); in object_find_update()
5270 NULL, sp->sd_find_init_cookie, max_count, &count); in object_find_update()
5276 if (count > max_count) { in object_find_update()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ndp.c1041 uint_t reclaim_count, max_count, reclaimed = 0; in nce_too_many_mcast() local
1054 max_count = ip_max_ill_mcast_nces; in nce_too_many_mcast()
1055 reclaim_count = min(ip_ill_mcast_reclaim, max_count); in nce_too_many_mcast()
1058 if (ill->ill_mcast_nces < max_count) in nce_too_many_mcast()
H A Dip_if.c2551 ill_frag_prune(ill_t *ill, uint_t max_count) in ill_frag_prune() argument
2597 while (ill->ill_frag_count > max_count) { in ill_frag_prune()
2617 if (count <= max_count) in ill_frag_prune()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c9294 uint32_t max_count, cycles; in sata_build_lsense_page_0e() local
9315 max_count = value - thresh; in sata_build_lsense_page_0e()
9352 (max_count >> (8 * (3 - i))) & 0xff; in sata_build_lsense_page_0e()