Searched defs:fraction (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c277 char *fraction; local
314 fraction = p;
323 (fraction != NULL && (*fraction == '\0' || !isnumber(fraction))))
345 if (fraction == NULL) {
349 if (strlen(fraction) > 9)
350 fraction[9] = '\0';
351 nanoseconds = atoi(fraction);
353 switch (strlen(fraction)) {
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfstrtof.h210 int fraction; local
244 fraction = -1;
268 fraction = digits;
307 if (fraction >= 0)
308 m -= 4 * (digits - fraction);
332 fraction = 0;
413 fraction = digits;
437 if (fraction >= 0)
438 digits = fraction;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_dce.c126 * Reclaim a fraction of dce's in the dcb.
130 dcb_reclaim(dcb_t *dcb, ip_stack_t *ipst, uint_t fraction) argument
132 uint_t fraction_pmtu = fraction*4;
165 if (hash % fraction != 0) {
H A Dip_ire.c2170 * ire_walk routine to delete a fraction of redirect IREs and IRE_CLONE_IF IREs.
2171 * The fraction argument tells us what fraction of the IREs to delete.
2179 uint_t fraction = *(uint_t *)arg; local
2190 if ((rand/fraction)*fraction == rand) {
2201 * Free a fraction (ips_ip_ire_reclaim_fraction) of things IP added dynamically
2207 uint_t fraction = ipst->ips_ip_ire_reclaim_fraction; local
2211 ire_walk(ire_delete_reclaim, &fraction, ipst);
H A Dip_ndp.c3400 * Free a fraction of the NCE cache entries.
3411 uint_t fraction = *(uint_t *)arg; local
3421 if ((rand/fraction)*fraction == rand) {
3430 * For now we just delete a fixed fraction.
3435 uint_t fraction = ipst->ips_ip_nce_reclaim_fraction; local
3439 ncec_walk(NULL, (pfi_t)ncec_cache_reclaim, (uchar_t *)&fraction, ipst);
/illumos-gate/usr/src/cmd/truss/
H A Dramdata.h122 int seconds; /* seconds, fraction for timestamps */
123 int fraction; /* fraction in 1/10 milliseconds */ member in struct:__anon1902
H A Dmain.c1898 int fraction; local
1904 fraction = Lsp->pr_tstamp.tv_nsec - Cp->basetime.tv_nsec;
1905 if (fraction < 0) {
1907 fraction += NANOSEC;
1909 /* fraction in 1/10 milliseconds, rounded up */
1910 fraction = (fraction + 50000) / 100000;
1911 if (fraction >= (MILLISEC * 10)) {
1913 fraction -= (MILLISEC * 10);
1917 (void) printf("%2d.%4.4d\t", seconds, fraction);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dntp.h240 ulong_t fraction; member in struct:l_fixedpt
245 ushort_t fraction; member in struct:s_fixedpt

Completed in 72 milliseconds