Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_map.c71 int new_max = maxformat ? (maxformat << 1) : 1; in dt_strdata_add() local
72 size_t nsize = new_max * sizeof (void *); in dt_strdata_add()
85 *max = new_max; in dt_strdata_add()
119 dtrace_id_t new_max = max ? (max << 1) : 1; in dt_epid_add() local
120 size_t nsize = new_max * sizeof (void *); in dt_epid_add()
145 dtp->dt_maxprobe = new_max; in dt_epid_add()
321 dtrace_id_t new_max = max ? (max << 1) : 1; in dt_aggid_add() local
322 size_t nsize = new_max * sizeof (void *); in dt_aggid_add()
337 dtp->dt_maxagg = new_max; in dt_aggid_add()
H A Ddt_provider.c595 uint_t new_max = *maxoffs * 2; in dt_probe_define() local
596 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max); in dt_probe_define()
604 *maxoffs = new_max; in dt_probe_define()
/titanic_41/usr/src/cmd/svc/common/
H A Dmanifest_find.c89 int new_max; in add_pointer() local
93 new_max = (tsdp->tsd_max == 0) ? 16 : 2 * tsdp->tsd_max; in add_pointer()
95 new_max * sizeof (*tsdp->tsd_array)); in add_pointer()
101 tsdp->tsd_max = new_max; in add_pointer()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.c496 uint64_t new_max; in uri_kmc_reclaim() local
498 if ((new_max = nl7c_uri_max) == 0) { in uri_kmc_reclaim()
501 new_max = nl7c_uri_bytes; in uri_kmc_reclaim()
503 if (new_max > 1) { in uri_kmc_reclaim()
505 new_max >>= 1; /* 50% */ in uri_kmc_reclaim()
506 new_max += (new_max >> 1); /* 75% */ in uri_kmc_reclaim()
507 new_max += (new_max >> 2); /* 93% */ in uri_kmc_reclaim()
508 if (new_max < nl7c_uri_max) in uri_kmc_reclaim()
509 nl7c_uri_max = new_max; in uri_kmc_reclaim()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c2150 int new_max = max_preference(); in record_router() local
2151 if (new_max != IGNORE_PREFERENCE) { in record_router()
2154 if (tp->preference == new_max && in record_router()
2165 int new_max = max_preference(); in record_router() local
2168 if (tp->preference < new_max && tp->in_kernel) { in record_router()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c209 uint32_t new_min, new_max; in sctp_set_rtoinfo() local
236 new_max = (srto->srto_max != 0) ? srto->srto_max : sctp->sctp_rto_max; in sctp_set_rtoinfo()
237 if (new_max < new_min) { in sctp_set_rtoinfo()