| /src/external/mit/libuv/dist/test/ |
| test-handle-fileno.c | 55 uv_idle_t idle; local 61 r = uv_idle_init(loop, &idle); 63 r = uv_fileno((uv_handle_t*) &idle, &fd); 65 uv_close((uv_handle_t*) &idle, NULL);
|
| test-tcp-oob.c | 34 static uv_idle_t idle; variable 47 static void idle_cb(uv_idle_t* idle) { 54 uv_close((uv_handle_t*) idle, NULL); 66 ASSERT_OK(uv_idle_start(&idle, idle_cb)); 123 ASSERT_OK(uv_idle_init(loop, &idle));
|
| test-poll-oob.c | 37 static uv_idle_t idle; variable 55 static void idle_cb(uv_idle_t* idle) { 65 uv_close((uv_handle_t*) idle, NULL); 163 ASSERT_OK(uv_idle_start(&idle, idle_cb)); 178 ASSERT_OK(uv_idle_init(loop, &idle));
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
| nouveau_nvkm_engine_gr_g84.c | 126 bool idle, timeout = false; local 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/libexec/rpc.rusersd/ |
| rusers_proc.c | 145 long idle; local 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 244 int idle; local [all...] |
| /src/sys/dev/usb/ |
| umcpmio_spi.c | 225 uint16_t idle; local 245 idle = 0xffff; 248 set_req.idle_cs_value_lsb = (uint8_t)(idle & 0xff); 249 set_req.idle_cs_value_msb = (uint8_t)(idle >> 8); 791 /* Set all of the active and idle CS directions here. */
|
| irmce.c | 400 bool idle = false; local 425 idle = true; 434 if (!idle)
|
| /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 482 struct amdgpu_vmid *idle; local [all...] |
| /src/sys/kern/ |
| kern_lock.c | 86 bool idle; local 100 idle = CURCPU_IDLE_P(); 104 if (__predict_false(idle) && !cold) { 105 reason = "idle";
|
| /src/usr.bin/who/ |
| who.c | 78 static int show_idle; /* show idle time */ 285 time_t idle; local 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/external/bsd/top/dist/ |
| machine.h | 62 unsigned int idle : 1; member in struct:statics::__anon8162 102 int idle; /* show idle processes */ member in struct:process_select
|
| /src/lib/libc/isc/ |
| ev_timers.c | 497 struct timespec idle; local 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 */
|
| /src/sys/arch/macppc/dev/ |
| lightbar.c | 233 * bright, idle as off 241 int all, sys, idle, syst, i; local 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/dcn10/ |
| amdgpu_dcn10_mpc.c | 143 unsigned int idle; local 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/sys/net/ |
| ppp_tty.c | 543 int n, ndone, done, idle; local 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/usr.bin/rusers/ |
| rusers.c | 166 char date[26], idle[11]; local 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/external/bsd/libbind/dist/isc/ |
| ev_timers.c | 480 struct timespec idle; local 485 idle = evSubTime(ctx->lastEventTime, this->lastTouched); 486 if (evCmpTime(idle, this->max_idle) >= 0) { 497 this->timer->inter = evSubTime(this->max_idle, idle);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| zio_inject.c | 484 * idle the soonest, so we compare the soonest this 493 * lane that will become idle the soonest). This saves a 498 * lane is idle, we want to "submit" the request now so 503 * zi_timer milliseconds after the lane becomes idle. 505 * each lane will become idle, we use that value to 508 hrtime_t idle = handler->zi_record.zi_timer + gethrtime(); local 511 hrtime_t target = MAX(idle, busy); 540 * the lane that will become idle the soonest.
|
| /src/external/mit/libuv/dist/src/unix/ |
| tcp.c | 470 int idle; local 474 (void) &idle; 493 * - By default, the first keep-alive probe is sent out after a TCP connection is idle for two hours. 510 idle = delay; 512 if (idle < 10) 513 idle = 10; 515 if (idle > 10*24*60*60) 516 idle = 10*24*60*60; 518 UV_KEEPALIVE_FACTOR(idle); 523 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &idle, sizeof(idle)) [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| timer.c | 68 isc_time_t idle; member in struct:isc_timer 131 if (isc_time_isepoch(&timer->idle)) { 134 due = timer->idle; 135 } else if (isc_time_compare(&timer->idle, &timer->expires) < 0) 137 due = timer->idle; 296 result = isc_time_add(&now, interval, &timer->idle); 302 isc_time_settoepoch(&timer->idle); 413 result = isc_time_add(&now, interval, &timer->idle); 415 isc_time_settoepoch(&timer->idle); 470 result = isc_time_add(&now, &timer->interval, &timer->idle); 535 bool idle; local [all...] |
| /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/miscfs/procfs/ |
| procfs_linux.c | 584 u_int64_t idle; local 590 idle = curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]; 594 idle / hz, (((idle % hz) * 100) / hz) % 100);
|
| /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 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...] |