Home
last modified time | relevance | path

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

/titanic_44/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()
/titanic_44/usr/src/uts/common/zmod/
H A Dtrees.c717 int max_count = 7; /* max repeat count */ local
720 if (nextlen == 0) max_count = 138, min_count = 3;
725 if (++count < max_count && curlen == nextlen) {
739 max_count = 138, min_count = 3;
741 max_count = 6, min_count = 3;
743 max_count = 7, min_count = 4;
762 int max_count = 7; /* max repeat count */ local
766 if (nextlen == 0) max_count = 138, min_count = 3;
770 if (++count < max_count && curlen == nextlen) {
790 max_count = 138, min_count = 3;
[all …]
/titanic_44/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c435 int i, j, k = 0, max_count; in crypto_get_dev_info() local
455 max_count = 0; in crypto_get_dev_info()
457 max_count += provider_array[i]->pd_mech_list_count; in crypto_get_dev_info()
459 if (max_count == 0) { in crypto_get_dev_info()
465 mech_names = kmem_alloc(max_count * sizeof (crypto_mech_name_t), in crypto_get_dev_info()
483 if (k != max_count) { in crypto_get_dev_info()
489 max_count * sizeof (crypto_mech_name_t)); in crypto_get_dev_info()
/titanic_44/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_macro.c220 unsigned long max_count = (unsigned long) maximum_count; in dwarf_get_macro_details() local
247 max_count = ULONG_MAX; in dwarf_get_macro_details()
264 for (count = 0; !done && count < max_count; ++count) { in dwarf_get_macro_details()
/titanic_44/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()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_print.c225 unsigned short max_count, start_ix; in smb_com_get_print_queue() local
227 if (smbsr_decode_vwv(sr, "ww", &max_count, &start_ix) != 0) in smb_com_get_print_queue()
/titanic_44/usr/src/lib/libsqlite/test/
H A Dinterrupt.test161 set max_count [expr {1000000-$sqlite_interrupt_count}]
162 for {set i 1} {$i<$max_count-5} {incr i 1} {
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c894 ibcm_dinfo_t *dinfo, uint8_t *max_count) in ibcm_saa_path_rec() argument
896 uint8_t num_path = *max_count; in ibcm_saa_path_rec()
904 p_arg, sl, dinfo, p_arg->flags, *max_count); in ibcm_saa_path_rec()
918 extra = (*max_count % dinfo->num_dest); in ibcm_saa_path_rec()
957 if (rec_found == *max_count) in ibcm_saa_path_rec()
967 num_path_plus = *max_count - rec_found; in ibcm_saa_path_rec()
1017 } else if (rec_found != *max_count) in ibcm_saa_path_rec()
1023 "Found %d/%d Paths", retval, rec_found, *max_count); in ibcm_saa_path_rec()
1025 *max_count = rec_found; /* Update the return count. */ in ibcm_saa_path_rec()
3045 ibcm_ip_dinfo_t *dinfo, uint8_t *max_count) in ibcm_saa_ip_pr() argument
[all …]
/titanic_44/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;
2127 if (++count < max_count && curlen == nextlen) {
2147 max_count = 138, min_count = 3;
[all …]
/titanic_44/usr/src/lib/libc/port/threads/
H A Dsynch.c1255 int max_count; in mutex_trylock_adaptive() local
1287 max_count = (max_spinners != 0)? self->ul_adaptive_spin : 0; in mutex_trylock_adaptive()
1288 if (max_count == 0) in mutex_trylock_adaptive()
1309 if (count == max_count) in mutex_trylock_adaptive()
1443 int max_count; in mutex_trylock_process() local
1494 max_count = (max_spinners != 0)? self->ul_adaptive_spin : 0; in mutex_trylock_process()
1495 if (max_count == 0) in mutex_trylock_process()
1526 if (count == max_count) in mutex_trylock_process()
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c2910 int max_count = 7; /* max repeat count */ local
2913 if (nextlen == 0) max_count = 138, min_count = 3;
2918 if (++count < max_count && curlen == nextlen) {
2932 max_count = 138, min_count = 3;
2934 max_count = 6, min_count = 3;
2936 max_count = 7, min_count = 4;
2957 int max_count = 7; /* max repeat count */ local
2961 if (nextlen == 0) max_count = 138, min_count = 3;
2965 if (++count < max_count && curlen == nextlen) {
2989 max_count = 138, min_count = 3;
[all …]
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c1767 uint32_t max_count; in emlxs_fcio_get_dev_list() local
1780 max_count = fcio->fcio_olen / sizeof (fc_port_dev32_t); in emlxs_fcio_get_dev_list()
1798 if (nport_count > max_count) { in emlxs_fcio_get_dev_list()
1845 uint32_t max_count; in emlxs_fcio_get_dev_list() local
1858 max_count = fcio->fcio_olen / sizeof (fc_port_dev_t); in emlxs_fcio_get_dev_list()
1876 if (nport_count > max_count) { in emlxs_fcio_get_dev_list()
3233 uint32_t max_count; in emlxs_dfc_get_vportinfo() local
3254 max_count = 0; in emlxs_dfc_get_vportinfo()
3288 max_count++; in emlxs_dfc_get_vportinfo()
3291 max_count *= sizeof (dfc_vportinfo_t); in emlxs_dfc_get_vportinfo()
[all …]
H A Demlxs_solaris.c4513 uint32_t max_count; in emlxs_fca_port_manage() local
4523 max_count = pm->pm_stat_len / sizeof (emlxs_parm_t); in emlxs_fca_port_manage()
4527 for (i = 0; i < NUM_CFG_PARAM && max_count; i++, in emlxs_fca_port_manage()
4540 max_count--; in emlxs_fca_port_manage()
/titanic_44/usr/src/uts/common/crypto/io/
H A Dcrypto.c5137 uint_t count, max_count; in object_find_update() local
5154 max_count = STRUCT_FGET(find_update, fu_max_count); in object_find_update()
5155 if (max_count > CRYPTO_MAX_FIND_COUNT) { in object_find_update()
5161 len = max_count * sizeof (crypto_object_id_t); in object_find_update()
5183 NULL, sp->sd_find_init_cookie, max_count, &count); in object_find_update()
5189 if (count > max_count) { in object_find_update()
/titanic_44/usr/src/uts/common/inet/ip/
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()
/titanic_44/usr/src/uts/common/io/sata/impl/
H A Dsata.c9222 uint32_t max_count, cycles; in sata_build_lsense_page_0e() local
9243 max_count = value - thresh; in sata_build_lsense_page_0e()
9280 (max_count >> (8 * (3 - i))) & 0xff; in sata_build_lsense_page_0e()