Lines Matching refs:hr_now

164 last_disk_activity(hrtime_t *hr_now, int threshold)  in last_disk_activity()  argument
166 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now, in last_disk_activity()
171 last_tty_activity(hrtime_t *hr_now, int threshold) in last_tty_activity() argument
173 return (check_activity(tty_act_start, info->pd_ttychars_sum, hr_now, in last_tty_activity()
178 last_load_ave_activity(hrtime_t *hr_now) in last_load_ave_activity() argument
180 return ((*hr_now - last_load_ave_change) / NANOSEC); in last_load_ave_activity()
184 last_nfs_activity(hrtime_t *hr_now, int threshold) in last_nfs_activity() argument
186 return (check_activity(nfs_act_start, info->pd_nfsreqs_sum, hr_now, in last_nfs_activity()
270 check_disks(hrtime_t *hr_now, int threshold) in check_disks() argument
293 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now, in check_disks()
362 check_tty(hrtime_t *hr_now, int threshold) in check_tty() argument
375 return (check_activity(tty_act_start, info->pd_ttychars_sum, hr_now, in check_tty()
401 check_load_ave(hrtime_t *hr_now, float threshold) in check_load_ave() argument
413 return ((*hr_now - last_load_ave_change) / NANOSEC); in check_load_ave()
507 check_nfs(hrtime_t *hr_now, int threshold) in check_nfs() argument
539 return (check_activity(nfs_act_start, info->pd_nfsreqs_sum, hr_now, in check_nfs()
651 hrtime_t hr_now; in keep_activity_data() local
672 hr_now = gethrtime(); in keep_activity_data()
674 while ((int)((hr_now - node->snaptime) / NANOSEC) > idle_time && in keep_activity_data()