/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_g84.c | 126 bool idle, timeout = false; local in function:g84_gr_tlb_flush 137 idle = true; 139 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { 141 idle = false; 144 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { 146 idle = false; 149 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { 151 idle = false; 153 } while (!idle && 157 nvkm_error(subdev, "PGRAPH TLB flush idle timeout fail\n") [all...] |
/src/sys/kern/ |
kern_lock.c | 73 bool idle; local in function:assert_sleepable 87 idle = CURCPU_IDLE_P(); 91 if (__predict_false(idle) && !cold) { 92 reason = "idle";
|
/src/libexec/rpc.rusersd/ |
rusers_proc.c | 145 long idle; local in function:getidle 147 idle = 0; 159 idle = (kbd_idle < mouse_idle) ? kbd_idle : mouse_idle; 171 idle = now - st.st_atime; 172 idle = (idle + 30) / 60; /* secs->mins */ 174 if (idle < 0) 175 idle = 0; 177 return idle; 197 int idle; local in function:do_names_3 244 int idle; local in function:do_names_2 [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_ids.c | 197 * amdgpu_vm_grab_idle - grab idle VMID 202 * @idle: resulting idle VMID 204 * Try to find an idle VMID, if none is idle add a fence to wait to the sync 210 struct amdgpu_vmid **idle) 226 /* Check if we have an idle VMID */ 228 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { 229 fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, ring); 235 /* If we can't find a idle VMID to use, wait till one becomes available * 424 struct amdgpu_vmid *idle = NULL; local in function:amdgpu_vmid_grab 482 struct amdgpu_vmid *idle; local in function:amdgpu_vmid_alloc_reserved [all...] |
amdgpu_vm.h | 266 struct list_head idle; member in struct:amdgpu_vm
|
/src/usr.bin/who/ |
who.c | 78 static int show_idle; /* show idle time */ 285 time_t idle; local in function:print 291 idle = 0; 305 idle = now - sb.st_atime; 320 if (idle < 60) 322 else if (idle < (24 * 60 * 60)) 324 (long)(idle / (60 * 60)), 325 (long)(idle % (60 * 60)) / 60); 358 (void)printf("IDLE ");
|
/src/lib/libc/isc/ |
ev_timers.c | 497 struct timespec idle; local in function:idle_timeout 502 idle = evSubTime(ctx->lastEventTime, this->lastTouched); 503 if (evCmpTime(idle, this->max_idle) >= 0) { 514 this->timer->inter = evSubTime(this->max_idle, idle);
|
/src/sys/altq/ |
altq_rio.h | 106 int idle; /* queue was empty */ member in struct:rio::dropprec_state 108 struct timeval last; /* timestamp when queue becomes idle */ 116 used for idle calibration */
|
altq_rmclass.c | 161 * maxidle max value allowed for class 'idle' time estimate (this 185 * not nanoseconds.) Also note that the 'idle' filter computation keeps 1261 int64_t idle, avgidle, pktlen; local in function:rmc_update_class_util 1327 TS_DELTA(&ifd->ifnow_, &cl->last_, idle); 1328 if (idle >= 2000000000) 1330 * this class is idle enough, reset avgidle. 1342 idle -= pkt_time; 1345 avgidle += idle - (avgidle >> RM_FILTER_GAIN); 1359 /* set next idle to make avgidle 0 */
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
amdgpu_dcn10_mpc.c | 143 unsigned int idle; local in function:mpc1_is_mpcc_idle 147 REG_GET(MPCC_STATUS[mpcc_id], MPCC_IDLE, &idle); 148 if (top_sel == 0xf && opp_id == 0xf && idle) 457 REG_GET_2(MPCC_STATUS[mpcc_inst], MPCC_IDLE, &s->idle,
|
/src/usr.bin/rusers/ |
rusers.c | 166 char date[26], idle[11]; local in function:rusers_reply 187 strcpy(idle, "??"); 189 strcpy(idle, ""); 199 snprintf(idle, sizeof(idle), "%d d ", days); 201 snprintf(idle, sizeof(idle), "%2d:%02d", 204 snprintf(idle, sizeof(idle), ":%02d", minutes); 216 date, idle, remote) [all...] |
/src/sys/net/ |
ppp_tty.c | 543 int n, ndone, done, idle; local in function:pppasyncstart 548 idle = 0; 561 idle = 1; 568 * the line may have been idle for some time. 699 if (!idle && (sc->sc_flags & SC_TIMEOUT) == 0) {
|
/src/sys/arch/macppc/dev/ |
lightbar.c | 233 * bright, idle as off 241 int all, sys, idle, syst, i; local in function:lightbar_update 245 idle = (int)(cp_time[CP_IDLE] - prev[CP_IDLE]); 247 all = (total - idle) * 8 / total;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
mpc.h | 137 uint32_t idle; member in struct:mpcc_state
|
/src/sys/netinet/ |
dccp_tfrc.h | 94 u_int8_t idle; member in struct:tfrc_send_ccb
|
tcp_output.c | 522 int idle, sendalot, txsegsize, rxsegsize; local in function:tcp_output 555 idle = (tp->snd_max == tp->snd_una); 606 * been acknowledged (i.e. transmission is idle). 614 if (idle && (tcp_now - tp->t_rcvtime) >= tp->t_rxtcur) { 616 * We have been idle for "a while" and no acks are 874 * TODO: Shrink send buffer during idle periods together 917 * Sender silly window avoidance. If connection is idle 930 ((idle || tp->t_flags & TF_NODELAY) && 1010 * idle not doing retransmits or persists 1020 * The output side is idle when both timers are zero [all...] |
/src/sys/dev/usb/ |
irmce.c | 400 bool idle = false; local in function:irmce_rc6_decode 425 idle = true; 434 if (!idle)
|
/src/sys/miscfs/procfs/ |
procfs_linux.c | 584 u_int64_t idle; local in function:procfs_douptime 590 idle = curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]; 594 idle / hz, (((idle % hz) * 100) / hz) % 100);
|
/src/usr.bin/w/ |
w.c | 98 int sortidle; /* sort by idle time */ 115 time_t idle; /* idle time of terminal in seconds */ member in struct:entry 363 argwidth = printf("%-*s TTY %-*s %*s IDLE WHAT\n", 373 /* sort by idle time */ 380 (*nextp) && from->idle >= (*nextp)->idle; 427 pr_idle(ep->idle); 555 ep->idle = (time_t)-1; 595 if ((ep->idle = now - touched) < 0 [all...] |
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_cmdbuf.c | 104 * @idle_queue: Wait queue for processes waiting for command buffer idle. 638 * vmw_cmdbuf_man idle - Check whether the command buffer manager is idle. 648 bool idle = false; local in function:vmw_cmdbuf_man_idle 661 idle = list_empty(&man->error); 664 return idle; 724 * vmw_cmdbuf_idle - Wait for command buffer manager idle.
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_engine_cs.c | 873 * leave the engine idle. So they should not be caught unaware by 898 ENGINE_TRACE(engine, "timed out on STOP_RING -> IDLE\n"); 1037 bool idle = true; local in function:ring_is_idle 1048 idle = false; 1050 /* No bit for gen2, so assume the CS parser is idle */ 1053 idle = false; 1057 return idle; 1092 * to hardware, and that the engine is idle. 1137 /* Already parked (and passed an idleness test); must still be idle */ 1306 ENGINE_READ(engine, RING_MI_MODE) & (MODE_IDLE) ? " [idle]" : "") [all...] |
/src/sys/external/bsd/drm/dist/shared-core/ |
r128_drm.h | 249 int idle; member in struct:drm_r128_cce_stop
|
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
r128_drm.h | 257 int idle; member in struct:drm_r128_cce_stop
|
/src/sys/arch/sgimips/dev/ |
crmfb.c | 863 /* writes to CRIME_DE_MODE_* only take effect when the engine is idle */ 907 int bail = 100000, idle; local in function:crmfb_wait_dma_idle 910 idle = ((bus_space_read_4(sc->sc_iot, sc->sc_ioh, 916 if (!idle) 919 } while ((!idle) && (bail > 0)); 920 return idle;
|
/src/sbin/atactl/ |
atactl.c | 195 { "setidle", "idle-timer", device_setidle }, 198 { "idle", "", device_idle }, 1505 * device idle: 1507 * issue the IDLE IMMEDIATE command to the drive 1520 if (strcmp(cmdname, "idle") == 0) 1567 * Set the idle timer on the disk. Set it for either idle mode or 1574 unsigned long idle; local in function:device_setidle 1582 idle = strtoul(argv[0], &end, 0); 1585 fprintf(stderr, "Invalid idle time: \"%s\"\n", argv[0]) [all...] |