Home
last modified time | relevance | path

Searched refs:ut_tv (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/usr.bin/last/
H A Dlast.c241 if (t > ut->ut_tv.tv_sec) in wtmp()
242 t = ut->ut_tv.tv_sec; in wtmp()
276 currentout = -bp->ut_tv.tv_sec; in doentry()
326 (bp->ut_tv.tv_sec < snaptime && in doentry()
331 tt->logout = bp->ut_tv.tv_sec; in doentry()
355 t = bp->ut_tv.tv_sec; in printentry()
395 delta = tt->logout - bp->ut_tv.tv_sec; in printentry()
/freebsd/usr.sbin/lastlogin/
H A Dlastlogin.c74 t1 = ((const struct utmpx *)u1)->ut_tv.tv_sec; in utcmp_time()
75 t2 = ((const struct utmpx *)u2)->ut_tv.tv_sec; in utcmp_time()
159 time_t t = u->ut_tv.tv_sec; in output()
/freebsd/usr.sbin/ac/
H A Dac.c325 timersub(&up->ut_tv, &lp->time, &secs); in log_out()
374 up->ut_tv = FirstTime; in log_in()
399 lp->time = up->ut_tv; in log_in()
418 ut_timecopy = usr->ut_tv; in ac()
476 usht.ut_tv = ut_timecopy; in ac()
478 usht.ut_tv = now; in ac()
/freebsd/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c109 t = utx->ut_tv.tv_sec; in pam_sm_open_session()
142 gettimeofday(&utl.ut_tv, NULL); in pam_sm_open_session()
169 gettimeofday(&utl.ut_tv, NULL); in pam_sm_close_session()
/freebsd/usr.sbin/utx/
H A Dutx.c58 (void)gettimeofday(&utx.ut_tv, NULL); in rm()
86 (void)gettimeofday(&utx.ut_tv, NULL); in boot()
/freebsd/crypto/heimdal/appl/login/
H A Dutmpx_login.c48 ut->ut_tv.tv_sec = tmp.tv_sec; in utmpx_update()
49 ut->ut_tv.tv_usec = tmp.tv_usec; in utmpx_update()
/freebsd/contrib/ntp/libntp/
H A Dsystime.c447 utx.ut_tv = tvlast; in update_uwtmp()
452 utx.ut_tv = timetv; in update_uwtmp()
488 utx.ut_tv = tvlast; in update_uwtmp()
498 utx.ut_tv = timetv; in update_uwtmp()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c156 utx.ut_tv.tv_sec = tv.tv_sec; in ftpd_logwtmp_wtmp()
157 utx.ut_tv.tv_usec = tv.tv_usec; in ftpd_logwtmp_wtmp()
/freebsd/crypto/openssh/
H A Dloginrec.c628 ut->ut_tv.tv_sec = li->tv_sec; in set_utmp_time()
629 ut->ut_tv.tv_usec = li->tv_usec; in set_utmp_time()
723 utx->ut_tv.tv_sec = li->tv_sec; in set_utmpx_time()
724 utx->ut_tv.tv_usec = li->tv_usec; in set_utmpx_time()
1217 li->tv_sec = ut.ut_tv.tv_sec; in wtmp_get_entry()
1379 li->tv_sec = utx.ut_tv.tv_sec; in wtmpx_get_entry()
1693 li->tv_sec = utx->ut_tv.tv_sec; in utmpx_get_entry()
1694 li->tv_usec = utx->ut_tv.tv_usec; in utmpx_get_entry()
/freebsd/lib/libc/gen/
H A Dutxdb.c121 (ut)->ut_tv.tv_sec = t / 1000000; \
122 (ut)->ut_tv.tv_usec = t % 1000000; \
/freebsd/usr.bin/finger/
H A Dutil.c112 w->loginat < ut->ut_tv.tv_sec) in enter_lastlog()
129 w->loginat = ut->ut_tv.tv_sec; in enter_lastlog()
143 w->loginat = ut->ut_tv.tv_sec; in enter_where()
/freebsd/usr.bin/who/
H A Dwho.c192 t = ut->ut_tv.tv_sec; in row()
291 gettimeofday(&ut.ut_tv, NULL); in whoami()
/freebsd/include/
H A Dutmpx.h43 struct timeval ut_tv; /* Time entry was made. */ member
/freebsd/libexec/ftpd/
H A Dlogwtmp.c
/freebsd/lib/libulog/
H A Dulog_login.c51 gettimeofday(&utx->ut_tv, NULL); in ulog_fill()
/freebsd/usr.bin/w/
H A Dw.c247 if (touched < ep->utmp.ut_tv.tv_sec) { in main()
249 touched = ep->utmp.ut_tv.tv_sec; in main()
453 t = ep->utmp.ut_tv.tv_sec; in main()
/freebsd/usr.bin/getent/
H A Dgetent.c634 (intmax_t)ut->ut_tv.tv_sec, (unsigned int)ut->ut_tv.tv_usec, in utmpxprint()
635 ctime(&ut->ut_tv.tv_sec)); in utmpxprint()
/freebsd/bin/date/
H A Ddate.c352 (void)gettimeofday(&utx.ut_tv, NULL); in setthetime()
357 (void)gettimeofday(&utx.ut_tv, NULL); in setthetime()
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1309 utmpx.ut_tv.tv_sec = tv.tv_sec; in start_login()
1310 utmpx.ut_tv.tv_usec = tv.tv_usec; in start_login()
1453 utxp->ut_tv.tv_sec = tv.tv_sec; in rmut()
1454 utxp->ut_tv.tv_usec = tv.tv_usec; in rmut()
/freebsd/contrib/tcsh/
H A Dtc.who.c76 # define ut_time ut_tv.tv_sec
89 # define ut_time ut_tv.tv_sec
/freebsd/libexec/rpc.rusersd/
H A Drusers_proc.c166 utmp_idle[nusers].ui_utmp.ut_time = usr->ut_tv.tv_sec; in do_names_2()
/freebsd/sbin/reboot/
H A Dreboot.c441 gettimeofday(&utx.ut_tv, NULL); in main()
/freebsd/usr.sbin/ppp/
H A Dphysical.c340 gettimeofday(&ut.ut_tv, NULL); in physical_Close()
905 gettimeofday(&ut.ut_tv, NULL); in physical_Login()
/freebsd/usr.sbin/rwhod/
H A Drwhod.c466 htonl(_time_to_time32(ut->ut_tv.tv_sec)); in sender_process()
/freebsd/crypto/heimdal/appl/telnet/
H A DChangeLog46 * telnetd/sys_term.c: GLIBC made the choice that ut_tv should be
49 pointer (gettimeofday for example) since ut_tv is now not a struct

12