| /dragonfly/sys/netinet/ |
| HD | tcp_timer.h | 76 #define TCPTV_MSL ( 30*hz) /* max seg lifetime (hah!) */ 79 #define TCPTV_RTOBASE3 ( 3*hz) /* assumed RTO if no info */ 80 #define TCPTV_RTOBASE1 ( 1*hz) /* assumed RTO (RFC 6298) */ 81 #define TCPTV_SRTTDFLT ( 3*hz) /* assumed RTT if no info */ 83 #define TCPTV_PERSMIN ( 5*hz) /* retransmit persistence */ 84 #define TCPTV_PERSMAX ( 60*hz) /* maximum persist interval */ 86 #define TCPTV_KEEP_INIT ( 75*hz) /* initial connect keepalive */ 87 #define TCPTV_KEEP_IDLE (120*60*hz) /* dflt time before probing */ 88 #define TCPTV_KEEPINTVL ( 75*hz) /* default probe interval */ 110 #define TCPTV_MIN ( hz/33 ) /* minimum allowable value */ [all …]
|
| /dragonfly/contrib/openbsd_libm/src/ |
| HD | e_fmodf.c | 30 int32_t n,hx,hy,hz,ix,iy,sx,i; in fmodf() local 73 hz=hx-hy; in fmodf() 74 if(hz<0){hx = hx+hx;} in fmodf() 76 if(hz==0) /* return sign(x)*0 */ in fmodf() 78 hx = hz+hz; in fmodf() 81 hz=hx-hy; in fmodf() 82 if(hz>=0) {hx=hz;} in fmodf()
|
| HD | e_fmod.c | 29 int32_t n,hx,hy,hz,ix,iy,sx,i; in fmod() local 95 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmod() 96 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;} in fmod() 98 if((hz|lz)==0) /* return sign(x)*0 */ in fmod() 100 hx = hz+hz+(lz>>31); lx = lz+lz; in fmod() 103 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmod() 104 if(hz>=0) {hx=hz;lx=lz;} in fmod()
|
| HD | s_remquo.c | 31 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local 104 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo() 105 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;} in remquo() 106 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} in remquo() 109 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo() 110 if(hz>=0) {hx=hz;lx=lz;q++;} in remquo()
|
| HD | s_remquof.c | 29 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local 78 hz=hx-hy; in remquof() 79 if(hz<0) hx = hx << 1; in remquof() 80 else {hx = hz << 1; q++;} in remquof() 83 hz=hx-hy; in remquof() 84 if(hz>=0) {hx=hz;q++;} in remquof()
|
| HD | k_sincos.h | 33 double hz, r, v, w, z; in __kernel_sincos() local 46 hz = z / 2; in __kernel_sincos() 47 w = 1 - hz; in __kernel_sincos() 48 *cs = w + (((1 - w) - hz) + (z * r - x * y)); in __kernel_sincos()
|
| HD | k_cosf.c | 31 float a,hz,z,r,qx; in __kernel_cosf() local 48 hz = (float)0.5*z-qx; in __kernel_cosf() 50 return a - (hz - (z*r-x*y)); in __kernel_cosf()
|
| HD | k_cos.c | 63 double a,hz,z,r,qx; in __kernel_cos() local 80 hz = 0.5*z-qx; in __kernel_cos() 82 return a - (hz - (z*r-x*y)); in __kernel_cos()
|
| /dragonfly/contrib/openbsd_libm/src/ld80/ |
| HD | e_fmodl.c | 60 int64_t hx,hz; /* We need a carry bit even if LDBL_MANH_SIZE is 32. */ in fmodl() local 114 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() 115 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in fmodl() 117 if ((hz|lz)==0) /* return sign(x)*0 */ in fmodl() 119 hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; in fmodl() 122 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() 123 if(hz>=0) {hx=hz;lx=lz;} in fmodl()
|
| HD | s_remquol.c | 59 int64_t hx,hz; /* We need a carry bit even if LDBL_MANH_SIZE is 32. */ in remquol() local 121 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 122 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in remquol() 123 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol() 126 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 127 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol()
|
| HD | k_cosl.c | 69 long double hz,z,r,w; in __kernel_cosl() local 73 hz = 0.5*z; in __kernel_cosl() 74 w = one-hz; in __kernel_cosl() 75 return w + (((one-w)-hz) + (z*r-x*y)); in __kernel_cosl()
|
| HD | k_sincosl.h | 49 long double hz, r, v, w, z; in __kernel_sincosl() local 64 hz = z / 2; in __kernel_sincosl() 65 w = 1 - hz; in __kernel_sincosl() 68 *cs = w + (((1 - w) - hz) + (z * r - x * y)); in __kernel_sincosl()
|
| /dragonfly/sys/kern/ |
| HD | subr_param.c | 69 int hz; variable 199 hz = HZ_DEFAULT; in init_param1() 200 TUNABLE_INT_FETCH("kern.hz", &hz); in init_param1() 201 stathz = hz + 1; in init_param1() 204 ustick = 1000000 / hz; in init_param1() 205 nstick = 1000000000 / hz; in init_param1() 207 ntp_default_tick_delta = howmany(30000000, 60 * hz); in init_param1() 328 if (ncallout > 5*60*hz) in init_param2() 329 ncallout = 5*60*hz; in init_param2()
|
| HD | subr_autoconf.c | 89 waiting = (ticks - save_ticks + 1) / hz; in run_interrupt_driven_config_hooks() 109 0, "conifhk", hz); in run_interrupt_driven_config_hooks() 122 while (ticks - save_ticks < 5*hz) in run_interrupt_driven_config_hooks() 123 tsleep(&intr_config_hook_list, 0, "delay", hz / 10); in run_interrupt_driven_config_hooks()
|
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | jiffies.h | 36 #define HZ hz 40 #define jiffies_to_msecs(x) (((int64_t)(x)) * 1000 / hz) 41 #define msecs_to_jiffies(x) (((int64_t)(x)) * hz / 1000) 58 result = ((unsigned long)hz * ts->tv_sec) + (ts->tv_nsec / NSEC_PER_SEC); in timespec_to_jiffies() 70 jiffies = (u * hz) / 1000000; in usecs_to_jiffies() 84 return (n * hz) / NSEC_PER_SEC; in nsecs_to_jiffies()
|
| /dragonfly/sys/bus/u4b/net/ |
| HD | if_axe.c | 581 hz / 32); in axe_ax88178_init() 583 hz / 32); in axe_ax88178_init() 584 AXE_GPIO_WRITE(AXE_GPIO0_EN | AXE_GPIO2_EN, hz / 4); in axe_ax88178_init() 586 hz / 32); in axe_ax88178_init() 589 AXE_GPIO1_EN, hz / 3); in axe_ax88178_init() 591 AXE_GPIO_WRITE(AXE_GPIO1_EN, hz / 3); in axe_ax88178_init() 593 hz / 3); in axe_ax88178_init() 596 AXE_GPIO2 | AXE_GPIO2_EN, hz / 32); in axe_ax88178_init() 598 AXE_GPIO2_EN, hz / 4); in axe_ax88178_init() 600 AXE_GPIO2 | AXE_GPIO2_EN, hz / 32); in axe_ax88178_init() [all …]
|
| /dragonfly/contrib/openbsd_libm/src/ld128/ |
| HD | k_sincosl.h | 46 long double hz, r, v, w, z; in __kernel_sincosl() local 62 hz = z / 2; in __kernel_sincosl() 63 w = 1 - hz; in __kernel_sincosl() 67 *cs = w + (((1 - w) - hz) + (z * r - x * y)); in __kernel_sincosl()
|
| /dragonfly/contrib/binutils-2.27/gprof/ |
| HD | hist.c | 124 hz = profrate; in read_histogram_header() 263 || gmon_io_write_32 (ofp, hz) in hist_write_hist() 475 100.0 / total_time, total_time / hz, hist_dimension); in print_header() 480 printf (_("\nEach sample counts as %g %s.\n"), 1.0 / hz, hist_dimension); in print_header() 511 accum_time / hz, sym->hist.time / hz); in print_line() 515 accum_time / hz, sym->hist.time / hz); in print_line() 519 sym->ncalls, scale * sym->hist.time / hz / sym->ncalls, in print_line() 520 scale * (sym->hist.time + sym->cg.child_time) / hz / sym->ncalls); in print_line() 634 top_time /= hz; in hist_print()
|
| HD | gmon_io.c | 432 hz = profrate; in gmon_out_read() 433 else if (hz != (int) profrate) in gmon_out_read() 553 if (hz == HZ_WRONG) in gmon_out_read() 557 hz = hertz (); in gmon_out_read() 559 if (hz == HZ_WRONG) in gmon_out_read() 561 hz = 1; in gmon_out_read() 648 || hz != hertz()) in gmon_out_write() 695 || hz != hertz()) in gmon_out_write() 698 || gmon_io_write_32 (ofp, (unsigned int) hz)) in gmon_out_write()
|
| /dragonfly/contrib/binutils-2.34/gprof/ |
| HD | hist.c | 124 hz = profrate; in read_histogram_header() 263 || gmon_io_write_32 (ofp, hz) in hist_write_hist() 475 100.0 / total_time, total_time / hz, hist_dimension); in print_header() 480 printf (_("\nEach sample counts as %g %s.\n"), 1.0 / hz, hist_dimension); in print_header() 511 accum_time / hz, sym->hist.time / hz); in print_line() 515 accum_time / hz, sym->hist.time / hz); in print_line() 519 sym->ncalls, scale * sym->hist.time / hz / sym->ncalls, in print_line() 520 scale * (sym->hist.time + sym->cg.child_time) / hz / sym->ncalls); in print_line() 634 top_time /= hz; in hist_print()
|
| HD | gmon_io.c | 432 hz = profrate; in gmon_out_read() 433 else if (hz != (int) profrate) in gmon_out_read() 553 if (hz == HZ_WRONG) in gmon_out_read() 557 hz = hertz (); in gmon_out_read() 559 if (hz == HZ_WRONG) in gmon_out_read() 561 hz = 1; in gmon_out_read() 648 || hz != hertz()) in gmon_out_write() 695 || hz != hertz()) in gmon_out_write() 698 || gmon_io_write_32 (ofp, (unsigned int) hz)) in gmon_out_write()
|
| /dragonfly/sys/netgraph7/bluetooth/common/ |
| HD | ng_bluetooth.c | 183 return (bluetooth_hci_command_timeout_value * hz); in bluetooth_hci_command_timeout() 189 return (bluetooth_hci_connect_timeout_value * hz); in bluetooth_hci_connect_timeout() 201 return (bluetooth_l2cap_rtx_timeout_value * hz); in bluetooth_l2cap_rtx_timeout() 207 return (bluetooth_l2cap_ertx_timeout_value * hz); in bluetooth_l2cap_ertx_timeout()
|
| /dragonfly/sys/bus/u4b/ |
| HD | usb_dynamic.c | 113 tsleep(usb_quirk_unload, 0, "WAIT", hz); in usb_quirk_unload() 129 tsleep(usb_quirk_unload, 0, "WAIT", hz); in usb_temp_unload() 143 tsleep(usb_quirk_unload, 0, "WAIT", hz); in usb_bus_unload()
|
| /dragonfly/sys/dev/disk/nvme/ |
| HD | nvme_dragonfly.c | 199 slpticks = hz * ms / 1000 + 1; in nvme_os_sleep() 212 if (hz >= 1000) { in nvme_os_softsleep() 213 tsleep(&slpticks, 0, "nvslp", hz / 1000); in nvme_os_softsleep() 217 return(1000 / hz); in nvme_os_softsleep()
|
| /dragonfly/lib/libkcore/ |
| HD | kcore_sched.c | 103 kcore_get_sched_hz(struct kcore_data *kc, int *hz) in kcore_get_sched_hz() argument 110 return(kcore_get_generic(kc, nl, hz, sizeof(*hz))); in kcore_get_sched_hz()
|