/src/lib/libc/compat/sys/ |
compat_select.c | 68 struct timespec tim, *timp; variable in typeref:struct:timespec 71 timespec50_to_timespec(tim50, timp = &tim); 81 struct timeval tim, *timp; local in function:select 84 timeval50_to_timeval(tim50, timp = &tim); 95 struct timespec tim, *timp; local in function:pselect 98 timespec50_to_timespec(tim50, timp = &tim);
|
compat_clock.c | 63 struct timespec tim, *timp; variable in typeref:struct:timespec 67 timespec50_to_timespec(tim50, timp = &tim); 79 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_gettime 91 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_getres
|
compat_itimer.c | 55 struct itimerval tim, *timp; variable in typeref:struct:itimerval 61 itimerval50_to_itimerval(tim50, timp = &tim); 75 struct itimerval tim, *timp = tim50 ? &tim : NULL; local in function:getitimer
|
compat_timer.c | 56 struct itimerspec tim, *timp; variable in typeref:struct:itimerspec 62 itimerspec50_to_itimerspec(tim50, timp = &tim); 76 struct itimerspec tim, *timp = tim50 ? &tim : NULL; local in function:timer_gettime
|
/src/lib/libresolv/ |
ns_date.c | 55 struct tm tim; local in function:ns_datetosecs 67 memset(&tim, 0, sizeof tim); 68 tim.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; 69 tim.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; 70 tim.tm_mday = datepart(cp + 6, 2, 01, 31, errp); 71 tim.tm_hour = datepart(cp + 8, 2, 00, 23, errp); 72 tim.tm_min = datepart(cp + 10, 2, 00, 59, errp); 73 tim.tm_sec = datepart(cp + 12, 2, 00, 59, errp); 85 result = tim.tm_sec; /*%< Seconds * [all...] |
/src/sys/dev/pci/ |
iteide.c | 172 pcireg_t tim; local in function:ite_setup_channel 176 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, IT_TIM(channel)); 177 ATADEBUG_PRINT(("%s:%d: tim=0x%x\n", 179 channel, tim), DEBUG_PROBE); 214 tim |= IT_TIM_UDMA5(drive); 216 tim &= ~IT_TIM_UDMA5(drive); 251 ATADEBUG_PRINT(("%s: tim=0x%x\n", 252 device_xname(sc->sc_wdcdev.sc_atac.atac_dev), tim), DEBUG_PROBE); 256 pci_conf_write(sc->sc_pc, sc->sc_tag, IT_TIM(channel), tim);
|
schide.c | 173 u_int32_t tim, timaddr, idedma_ctl; local in function:sch_setup_channel 192 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, timaddr); 193 tim &= ~SCH_TIM_MASK; 203 tim |= (drvp->UDMA_mode << 16) | SCH_TIM_SYNCDMA; 209 tim &= ~SCH_TIM_SYNCDMA; 215 tim |= (drvp->DMA_mode << 8) | (drvp->PIO_mode); 216 pci_conf_write(sc->sc_pc, sc->sc_tag, timaddr, tim);
|
nside.c | 163 uint8_t tim; local in function:natsemi_setup_channel 176 tim = natsemi_pio_pulse[drvp->PIO_mode] | 189 tim = natsemi_dma_pulse[drvp->DMA_mode] | 195 NATSEMI_RTREG(chp->ch_channel, drive), tim); 197 NATSEMI_WTREG(chp->ch_channel, drive), tim);
|
cmdide.c | 394 u_int8_t tim; local in function:cmd0643_9_setup_channel 410 tim = cmd0643_9_data_tim_pio[drvp->PIO_mode]; 456 tim = cmd0643_9_data_tim_dma[drvp->DMA_mode]; 461 CMD_DATA_TIM(chp->ch_channel, drive), tim);
|
if_wpireg.h | 428 uint16_t tim; member in struct:wpi_cmd_beacon
|
/src/usr.sbin/rdate/ |
rdate.c | 77 time_t tim; local in function:main 150 tim = ntohl(data) - DIFFERENCE; 156 tv.tv_sec = tim; 165 adjustment = tv.tv_sec = tim - tv_current.tv_sec; 173 (void) fputs(ctime(&tim), stdout);
|
/src/usr.sbin/rpc.lockd/ |
test.c | 335 struct timeval tim; local in function:main 347 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim); 349 (long long)tim.tv_sec, tim.tv_usec); 350 tim.tv_usec = -1; 351 tim.tv_sec = -1; 352 clnt_control(cli, CLSET_TIMEOUT, (void *)&tim); 353 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim); 354 printf("timeout now %lld.%u\n", (long long)tim.tv_sec, tim.tv_usec) [all...] |
/src/usr.bin/timeout/ |
timeout.c | 172 struct itimerval tim; local in function:set_interval 174 memset(&tim, 0, sizeof(tim)); 175 tim.it_value.tv_sec = (time_t)iv; 176 iv -= (double)tim.it_value.tv_sec; 177 tim.it_value.tv_usec = (suseconds_t)(iv * 1000000UL); 179 if (setitimer(ITIMER_REAL, &tim, NULL) == -1)
|
/src/tests/lib/libc/sys/ |
t_timer_create.c | 66 struct itimerspec tim, rtim, otim; local in function:timer_signal_create 77 (void)memset(&tim, 0, sizeof(struct itimerspec)); 112 tim.it_value.tv_sec = -1; 115 tim.it_value.tv_sec = 1; 118 tim.it_value.tv_sec = 5; 121 tim.it_value.tv_nsec = 0; 127 rtim = tim; 130 timespecadd(&t0, &tim.it_value, &tim.it_value); 135 (long long)tim.it_value.tv_sec, (int)tim.it_value.tv_nsec) [all...] |
/src/lib/libc/gmon/ |
gmon.c | 530 struct itimerspec tim; local in function:hertz 534 tim.it_interval.tv_sec = 0; 535 tim.it_interval.tv_nsec = 1; 536 tim.it_value.tv_sec = 0; 537 tim.it_value.tv_nsec = 0; 542 if (timer_settime(t, 0, &tim, NULL) == -1) 545 if (timer_gettime(t, &tim) == -1) 548 if (tim.it_interval.tv_nsec < 2) 551 rv = (int)(1000000000LL / tim.it_interval.tv_nsec);
|
/src/sys/compat/linux/common/ |
linux_time.c | 387 syscallarg(const struct linux_itimerspec *) tim; 391 struct linux_itimerspec tim, otim; local in function:linux_sys_timer_settime 394 error = copyin(SCARG(uap, tim), &tim, sizeof(tim)); 398 linux_to_native_itimerspec(&value, &tim); 428 syscallarg(struct linux_itimerspec *) tim; 437 error = copyout(&lits, SCARG(uap, tim), sizeof(lits)); 489 syscallarg(struct linux_itimerspec *) tim; 498 error = copyout(&lits, SCARG(uap, tim), sizeof(lits)) [all...] |
/src/sys/compat/linux32/common/ |
linux32_time.c | 442 syscallarg(const struct linux32_itimerspec *) tim; 446 struct linux32_itimerspec tim, otim; local in function:linux32_sys_timer_settime 449 error = copyin(SCARG(uap, tim), &tim, sizeof(tim)); 453 linux32_to_native_itimerspec(&value, &tim); 483 syscallarg(struct linux32_itimerspec *) tim; 492 error = copyout(&lits, SCARG(uap, tim), sizeof(lits)); 513 syscallarg(struct linux32_itimerspec *) tim; 522 error = copyout(&lits, SCARG(uap, tim), sizeof(lits)) [all...] |
/src/usr.sbin/arp/ |
arp.c | 446 struct timeval tim; local in function:dump 507 (void)gettimeofday(&tim, 0); 510 if (nbi->expire > tim.tv_sec) { 512 sec2str(nbi->expire - tim.tv_sec));
|
/src/usr.sbin/ndp/ |
ndp.c | 322 struct timeval tim; local in function:set 324 (void)gettimeofday(&tim, 0); 325 expire_time = tim.tv_sec + 20 * 60; 466 struct timeval tim; local in function:do_foreach 561 (void)gettimeofday(&tim, 0); 563 ts_print(&tim); 586 if (nbi->expire > tim.tv_sec) { 588 sec2str(nbi->expire - tim.tv_sec));
|
/src/sys/arch/usermode/usermode/ |
thunk.c | 329 struct itimerspec tim; local in function:thunk_timer_start 331 tim.it_interval.tv_sec = 0; 332 tim.it_interval.tv_nsec = 1000000000 / freq; 333 tim.it_value = tim.it_interval; 335 return timer_settime(timerid, TIMER_RELTIME, &tim, NULL);
|
/src/sys/netinet/ |
sctp_input.c | 1930 u_int32_t tim; local in function:sctp_handle_cookie_echo 1953 tim = (now.tv_sec - time_expires.tv_sec) * 1000000; 1955 if (tim == 0) 1956 tim = now.tv_usec - cookie->time_entered.tv_usec; 1957 scm->time_usec = htonl(tim);
|