/freebsd/tools/test/stress2/tools/ |
H A D | iwatch.sh | 34 imax=0 41 if [ $i -gt $imax -o $k -gt $kmax ]; then 42 imax=$i 44 printf "%s %d %dk (%d %dk)\n" `date '+%T'` $i $k $((imax - istart)) $((kmax - kstart))
|
H A D | rwatch.sh | 40 imax=0 50 if [ $i -gt $imax -o $k -gt $kmax ]; then 51 imax=$i 56 printf "Disk usage: %d inodes and %dk\n" $((imax - istart)) $((kmax - kstart))
|
/freebsd/bin/df/ |
H A D | df.c | 82 imax(int a, int b) in imax() function 468 mwp->mntfrom = imax(mwp->mntfrom, (int)strlen("Filesystem")); in prtstat() 469 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat() 483 mwp->total = imax(mwp->total, headerlen); in prtstat() 485 mwp->used = imax(mwp->used, (int)strlen("Used")); in prtstat() 486 mwp->avail = imax(mwp->avail, (int)strlen("Avail")); in prtstat() 495 mwp->iused = imax(hflag ? 0 : mwp->iused, in prtstat() 497 mwp->ifree = imax(hflag ? 0 : mwp->ifree, in prtstat() 590 mwp->mntfrom = imax(mwp->mntfrom, (int)strlen(sfsp->f_mntfromname)); in update_maxwidths() 591 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths() [all …]
|
/freebsd/sys/dev/syscons/ |
H A D | schistory.c | 104 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 114 min_lines = imax(SC_HISTORY_SIZE, prev_ysize); in sc_alloc_history_buffer() 120 min_lines = imax(SC_HISTORY_SIZE, scp->ysize); in sc_alloc_history_buffer() 199 min_lines = imax(SC_HISTORY_SIZE, prev_ysize); in sc_free_history_buffer() 309 imax(*(int *)data, scp->ysize), in sc_hist_ioctl()
|
H A D | sysmouse.c | 314 x = imax(imin(x, 255), -256); in sysmouse_event() 317 y = -imax(imin(y, 255), -256); in sysmouse_event() 324 z = imax(imin(z, 127), -128); in sysmouse_event()
|
/freebsd/contrib/ntp/clockstuff/ |
H A D | chutest.c | 544 int imax; in chufilter() local 806 imin = imax = 0; in chufilter() 808 if (L_ISGEQ(&off[i], &off[imax])) { in chufilter() 809 imax = i; in chufilter() 816 if (imin != imax) in chufilter() 817 L_ADD(&off[imax], &offset_fudge); in chufilter() 820 lfptoa(&off[imax], 8)); in chufilter()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_rsa_fips186_4.c | 250 int i, imax; in ossl_bn_rsa_fips186_4_derive_prime() local 313 imax = 20 * bits; /* max = 20/2 * nbits */ in ossl_bn_rsa_fips186_4_derive_prime() 352 if (++i >= imax) { in ossl_bn_rsa_fips186_4_derive_prime()
|
/freebsd/sys/kern/ |
H A D | subr_sfbuf.c | 130 nsfbufspeak = imax(nsfbufspeak, nsfbufsused); in sf_buf_alloc() 160 nsfbufspeak = imax(nsfbufspeak, nsfbufsused); in sf_buf_alloc()
|
H A D | sched_4bsd.c | 204 sched_slice = imax(1, (new_val + period / 2) / period); in sysctl_kern_quantum() 205 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / in sysctl_kern_quantum() 655 hogticks = imax(1, (2 * hz * sched_slice + realstathz / 2) / in sched_initticks() 701 return (imax(1, (sched_slice * hz + realstathz / 2) / realstathz)); in sched_rr_interval()
|
H A D | subr_param.c | 318 maxfiles = imax(MAXFILES, physpages / 8); in init_param2()
|
/freebsd/sys/dev/vt/ |
H A D | vt_sysmouse.c | 265 x = imax(imin(x, 255), -256); in sysmouse_process_event() 268 iy = -imax(imin(y, 255), -256); in sysmouse_process_event() 272 z = imax(imin(z, 127), -128); in sysmouse_process_event()
|
/freebsd/contrib/lua/src/ |
H A D | lmathlib.c | 222 int imax = 1; /* index of current maximum value */ in math_max() local 226 if (lua_compare(L, imax, i, LUA_OPLT)) in math_max() 227 imax = i; in math_max() 229 lua_pushvalue(L, imax); in math_max()
|
/freebsd/sys/cam/ |
H A D | cam_queue.c | 262 new_size = imax(64, 1 << fls(new_size + new_size / 2)); in cam_ccbq_resize() 274 imax(64, 1 << fls(openings + openings / 2))) != 0) in cam_ccbq_init()
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | dlg,da7280.txt | 34 - dlg,imax-microamp: Actuator max current rating. 91 dlg,imax-microamp = <170000>;
|
/freebsd/sys/netinet/cc/ |
H A D | cc_chd.c | 251 chd_data->maxrtt_in_rtt = imax(e_t->rtt, chd_data->maxrtt_in_rtt); in chd_ack_received() 349 qdly = imax(e_t->rtt, chd_data->maxrtt_in_rtt) - e_t->minrtt; in chd_cong_signal()
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid5.c | 266 no += imax(0, pno + pdisks - vol->v_disks_count); in g_raid_tr_iostart_raid5_read() 318 no += imax(0, pno + pdisks - vol->v_disks_count); in g_raid_tr_iostart_raid5_read()
|
/freebsd/libexec/rtld-elf/ |
H A D | rtld_printf.c | 98 imax(int a, int b) in imax() function 390 width -= tmp + imax(dwidth, n); in kvprintf()
|
/freebsd/contrib/arm-optimized-routines/math/test/rtest/ |
H A D | dotest.c | 1432 uint32 imin, imax; in pow_cases() local 1434 imin = 0x40000 / (0x3FE - e), imax = 0x43200 / (0x3FE - e); in pow_cases() 1436 imin = 0x43200 / (e - 0x3FF), imax = 0x40000 / (e - 0x3FF); in pow_cases() 1439 dmax = doubletop(imax, -8); in pow_cases() 1522 uint32 imin, imax; in pow_cases_float() local 1524 imin = 0x8000 / (0x7e - e), imax = 0x9500 / (0x7e - e); in pow_cases_float() 1526 imin = 0x9500 / (e - 0x7f), imax = 0x8000 / (e - 0x7f); in pow_cases_float() 1529 dmax = floatval(imax, -8); in pow_cases_float()
|
/freebsd/sys/powerpc/powermac/ |
H A D | powermac_thermal.c | 152 max_excess_zone = imax(max_excess_zone, in pmac_therm_manage_fans()
|
/freebsd/sys/netinet/ |
H A D | ip_reass.c | 709 V_ipreass_maxbucketsize = imax(max / (V_ipq_hashsize / 2), 1); in ipreass_vnet_init() 839 V_ipreass_maxbucketsize = imax(max / (V_ipq_hashsize / 2), 1); in ipreass_zone_change() 871 V_ipreass_maxbucketsize = imax(max / (V_ipq_hashsize / 2), 1); in sysctl_maxfragpackets()
|
H A D | tcp_input.c | 1973 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in tcp_do_segment() 2663 tp->snd_cwnd += imax(maxseg, in tcp_do_segment() 2672 tp->snd_cwnd += imax(maxseg, in tcp_do_segment() 3700 imax(0, rtt * 1000 / hz)); in tcp_xmit_timer() 4100 pipe = imax(0, tp->snd_max - tp->snd_una - in tcp_do_prr_ack() 4110 imax(1, tp->snd_nxt - tp->snd_una); in tcp_do_prr_ack() 4129 limit = imax(tp->sackhint.prr_delivered - in tcp_do_prr_ack() 4135 snd_cnt = imax(snd_cnt, 0) / maxseg; in tcp_do_prr_ack() 4151 tp->snd_cwnd = imax(maxseg, tp->snd_cwnd); in tcp_do_prr_ack() 4210 return (imax(pipe, 0)); in tcp_compute_pipe()
|
H A D | tcp_output.c | 300 cwin = imax(sendwin - tcp_compute_pipe(tp), 0); in tcp_default_output() 302 cwin = imax(sendwin - off, 0); in tcp_default_output() 424 len = imax( in tcp_default_output() 426 imax(tcp_compute_pipe(tp), off), 0); in tcp_default_output()
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdaa.h | 257 imax(imin((((qdb) + (ctl)->size / 2 * ((qdb) > 0 ? 1 : -1)) / \
|
/freebsd/sys/dev/amdtemp/ |
H A D | amdtemp.c | 662 temp = imax(auxtemp[0], auxtemp[1]); in amdtemp_sysctl() 667 temp = imax(auxtemp[0], auxtemp[1]); in amdtemp_sysctl()
|
/freebsd/sys/i386/i386/ |
H A D | elan-mmcr.c | 379 u = imax(u - 5, 24); in elan_watchdog()
|