| /dragonfly/usr.bin/w/ |
| HD | pr_time.c | 86 pr_idle(time_t idle) in pr_idle() argument 89 if (idle >= 36 * 3600) { in pr_idle() 90 int days = idle / 86400; in pr_idle() 99 else if (idle >= 3600) in pr_idle() 101 (int)(idle / 3600), (int)((idle % 3600) / 60)); in pr_idle() 103 else if (idle / 60 == 0) in pr_idle() 108 (void)printf(" %2d ", (int)(idle / 60)); in pr_idle()
|
| HD | w.c | 108 time_t idle; /* idle time of terminal in seconds */ member 340 (*nextp) && from->idle >= (*nextp)->idle; in main() 432 longidle = pr_idle(ep->idle); in main() 560 ep->idle = (time_t)-1; in process() 587 if ((ep->idle = now - touched) < 0) in process() 588 ep->idle = 0; in process()
|
| /dragonfly/usr.bin/rusers/ |
| HD | rusers.c | 92 int idle; in rusers_reply() local 122 idle = up->utmpidlearr_val[x].ui_idle; in rusers_reply() 123 sprintf(idle_time, " :%02d", idle); in rusers_reply() 124 if (idle == MAX_INT) in rusers_reply() 126 else if (idle == 0) in rusers_reply() 129 seconds = idle; in rusers_reply() 136 if (idle > 60) in rusers_reply() 138 if (idle >= (60 * 60)) in rusers_reply() 141 if (idle >= (24 * 60 * 60)) in rusers_reply()
|
| /dragonfly/libexec/rpc.rusersd/ |
| HD | rusers_proc.c | 112 u_long idle; in getidle() local 119 if (display && *display && (idle = XqueryIdle(display)) >= 0) in getidle() 120 return(idle); in getidle() 122 idle = 0; in getidle() 131 idle = (kbd_idle < mouse_idle)?kbd_idle:mouse_idle; in getidle() 145 idle = now - st.st_atime; in getidle() 146 idle = (idle + 30) / 60; /* secs->mins */ in getidle() 149 return(idle); in getidle()
|
| /dragonfly/sys/dev/drm/amd/amdgpu/ |
| HD | amdgpu_ids.c | 203 struct amdgpu_vmid **idle) in amdgpu_vmid_grab_idle() argument 221 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle() 222 fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, ring); in amdgpu_vmid_grab_idle() 229 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle() 235 *idle = NULL; in amdgpu_vmid_grab_idle() 413 struct amdgpu_vmid *idle = NULL; in amdgpu_vmid_grab() local 418 r = amdgpu_vmid_grab_idle(vm, ring, sync, &idle); in amdgpu_vmid_grab() 419 if (r || !idle) in amdgpu_vmid_grab() 435 id = idle; in amdgpu_vmid_grab() 472 struct amdgpu_vmid *idle; in amdgpu_vmid_alloc_reserved() local [all …]
|
| HD | amdgpu_amdkfd.c | 502 void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle) in amdgpu_amdkfd_set_compute_idle() argument 510 !idle); in amdgpu_amdkfd_set_compute_idle()
|
| HD | amdgpu_amdkfd.h | 122 void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle);
|
| /dragonfly/usr.bin/who/ |
| HD | who.c | 286 time_t idle; in print() local 291 idle = 0; in print() 305 idle = now - sb.st_atime; in print() 319 if (idle < 60) in print() 321 else if (idle < (24 * 60 * 60)) in print() 323 (long)(idle / (60 * 60)), in print() 324 (long)(idle % (60 * 60)) / 60); in print()
|
| /dragonfly/usr.sbin/ppp/ |
| HD | bundle.c | 239 != bundle->phys_type.open && bundle->idle.timer.state == TIMER_STOPPED) in bundle_LinkAdded() 826 bundle.cfg.idle.timeout = NCP_IDLE_TIMEOUT; in bundle_Create() 827 bundle.cfg.idle.min_timeout = 0; in bundle_Create() 879 memset(&bundle.idle.timer, '\0', sizeof bundle.idle.timer); in bundle_Create() 880 bundle.idle.done = 0; in bundle_Create() 912 timer_Stop(&bundle->idle.timer); in bundle_Destroy() 1101 if (arg->bundle->cfg.idle.timeout) { in bundle_ShowStatus() 1102 prompt_Printf(arg->prompt, "%us", arg->bundle->cfg.idle.timeout); in bundle_ShowStatus() 1103 if (arg->bundle->cfg.idle.min_timeout) in bundle_ShowStatus() 1105 arg->bundle->cfg.idle.min_timeout); in bundle_ShowStatus() [all …]
|
| HD | bundle.h | 103 } idle; member 129 } idle; member
|
| /dragonfly/sys/net/altq/ |
| HD | altq_rio.c | 209 prec->idle = 1; in rio_alloc() 312 if (prec->idle) { in rio_addq() 313 prec->idle = 0; in rio_addq() 416 if (rp->rio_precstate[i].idle == 0) { in rio_getq() 417 rp->rio_precstate[i].idle = 1; in rio_getq()
|
| HD | altq_rio.h | 66 int idle; /* queue was empty */ member
|
| HD | altq_rmclass.c | 1272 int idle, avgidle, pktlen; in rmc_update_class_util() local 1336 TV_DELTA(&ifd->ifnow_, &cl->last_, idle); in rmc_update_class_util() 1337 if (idle >= 2000000) in rmc_update_class_util() 1351 idle -= pkt_time; in rmc_update_class_util() 1354 avgidle += idle - (avgidle >> RM_FILTER_GAIN); in rmc_update_class_util()
|
| /dragonfly/usr.bin/top/ |
| HD | machine.h | 61 unsigned int idle : 1; member 101 int idle; /* show idle processes */ member
|
| HD | commands.c | 642 gstate->pselect.idle = !gstate->pselect.idle; in cmd_idle() 644 gstate->pselect.idle ? "D" : "Not d"); in cmd_idle()
|
| HD | top.c | 426 gstate->pselect.idle = !gstate->pselect.idle; in do_arguments() 766 gstate->pselect.idle = Yes; in main()
|
| /dragonfly/lib/libc/isc/ |
| HD | ev_timers.c | 486 struct timespec idle; in idle_timeout() local 491 idle = evSubTime(ctx->lastEventTime, this->lastTouched); in idle_timeout() 492 if (evCmpTime(idle, this->max_idle) >= 0) { in idle_timeout() 503 this->timer->inter = evSubTime(this->max_idle, idle); in idle_timeout()
|
| /dragonfly/sys/dev/drm/amd/display/dc/dcn10/ |
| HD | dcn10_mpc.c | 131 unsigned int idle; in mpc1_is_mpcc_idle() local 135 REG_GET(MPCC_STATUS[mpcc_id], MPCC_IDLE, &idle); in mpc1_is_mpcc_idle() 136 if (top_sel == 0xf && opp_id == 0xf && idle) in mpc1_is_mpcc_idle() 427 REG_GET_2(MPCC_STATUS[mpcc_inst], MPCC_IDLE, &s->idle, in mpc1_read_mpcc_state()
|
| /dragonfly/contrib/file/magic/Magdir/ |
| HD | gnome | 23 >>>>>>>&0 ubelong x \b, locked if idle for %u seconds 24 >>>>>>&16 ubelong ^1 \b, not locked if idle
|
| /dragonfly/usr.bin/systat/ |
| HD | vmmeter.c | 137 CPUD(d, i, idle); in showvmm() 149 DRAW_ROW(n, CPU_START + i, 6, "%*.1f", CPUV(d, idle)); in showvmm() 202 DRAW_ROW(n, TOT_START, 6, "%*.1f", CPUVTOT(idle)); /* idle */ in showvmm()
|
| /dragonfly/test/sysperf/ |
| HD | ipitest | 40 sysctl machdep.mwait.CX.idle=$mode
|
| /dragonfly/sys/dev/drm/amd/display/dc/inc/hw/ |
| HD | mpc.h | 116 uint32_t idle; member
|
| /dragonfly/sbin/ipfw3/ |
| HD | ipfw3dummynet.c | 397 double s, idle, weight, w_q; in config_dummynet() local 455 idle = s * 3. / w_q; in config_dummynet() 456 pipe.fs.lookup_step = (int)idle / lookup_depth; in config_dummynet()
|
| /dragonfly/sys/netinet/ |
| HD | tcp_output.c | 188 int idle; in tcp_output() local 226 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output() 227 if (idle && (tp->t_flags & TF_MORETOCOME)) in tcp_output() 580 (idle || (tp->t_flags & TF_NODELAY)) && in tcp_output()
|
| /dragonfly/sys/dev/disk/sym/ |
| HD | sym_fw.h | 73 SYM_GEN_A(s, idle) SYM_GEN_A(s, ungetjob) \
|