Home
last modified time | relevance | path

Searched refs:ut_type (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/usr.bin/last/
H A Dlast.c270 if (bp->ut_type == BOOT_TIME || bp->ut_type == SHUTDOWN_TIME) { in doentry()
277 crmsg = bp->ut_type != SHUTDOWN_TIME ? in doentry()
297 if (bp->ut_type == OLD_TIME || bp->ut_type == NEW_TIME) { in doentry()
303 if (bp->ut_type != USER_PROCESS && bp->ut_type != DEAD_PROCESS) in doentry()
325 if (bp->ut_type == USER_PROCESS && (want(bp) || in doentry()
360 switch (bp->ut_type) { in printentry()
431 if (bp->ut_type == BOOT_TIME || in want()
432 bp->ut_type == SHUTDOWN_TIME) in want()
/freebsd/crypto/heimdal/appl/login/
H A Dutmpx_login.c46 ut->ut_type = USER_PROCESS; in utmpx_update()
85 && ( ut->ut_type == INIT_PROCESS in utmpx_login()
86 || ut->ut_type == LOGIN_PROCESS in utmpx_login()
87 || ut->ut_type == USER_PROCESS)) { in utmpx_login()
H A Dutmp_login.c113 utmp->ut_type = USER_PROCESS; in prepare_utmp()
/freebsd/contrib/ntp/libntp/
H A Dsystime.c426 ut.ut_type = OLD_TIME; in update_uwtmp()
431 ut.ut_type = NEW_TIME; in update_uwtmp()
445 utx.ut_type = OLD_TIME; in update_uwtmp()
450 utx.ut_type = NEW_TIME; in update_uwtmp()
468 ut.ut_type = OLD_TIME; in update_uwtmp()
473 ut.ut_type = NEW_TIME; in update_uwtmp()
487 utx.ut_type = OLD_TIME; in update_uwtmp()
497 utx.ut_type = NEW_TIME; in update_uwtmp()
/freebsd/usr.bin/who/
H A Dwho.c188 if (ut->ut_type == BOOT_TIME) in row()
231 if ((aflag || !bflag) && utx->ut_type == USER_PROCESS) { in process_utmp()
234 } else if (bflag && utx->ut_type == BOOT_TIME) in process_utmp()
248 if (utx->ut_type != USER_PROCESS) in quick()
279 if ((utx = getutxline(&ut)) != NULL && utx->ut_type == USER_PROCESS) { in whoami()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c128 ut.ut_type = USER_PROCESS; in ftpd_logwtmp_wtmp()
130 ut.ut_type = DEAD_PROCESS; in ftpd_logwtmp_wtmp()
161 utx.ut_type = USER_PROCESS; in ftpd_logwtmp_wtmp()
163 utx.ut_type = DEAD_PROCESS; in ftpd_logwtmp_wtmp()
/freebsd/lib/libc/gen/
H A Dutxdb.c51 (fu)->fu_type = (ut)->ut_type; \
66 switch (ut->ut_type) { in utx_to_futx()
116 (ut)->ut_type = (fu)->fu_type; \
167 ut->ut_type = EMPTY; in futx_to_utx()
H A Dgetutxent.c175 switch (id->ut_type) { in getutxid()
187 if (fu.fu_type == id->ut_type) in getutxid()
/freebsd/libexec/ftpd/
H A Dlogwtmp.c54 ut.ut_type = USER_PROCESS; in ftpd_logwtmp()
61 ut.ut_type = DEAD_PROCESS; in ftpd_logwtmp()
/freebsd/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c108 if (utx != NULL && utx->ut_type == USER_PROCESS) { in pam_sm_open_session()
135 utl.ut_type = USER_PROCESS; in pam_sm_open_session()
166 utl.ut_type = DEAD_PROCESS; in pam_sm_close_session()
/freebsd/usr.sbin/ac/
H A Dac.c322 if (up->ut_type == BOOT_TIME || up->ut_type == SHUTDOWN_TIME || in log_out()
323 (up->ut_type == DEAD_PROCESS && in log_out()
442 switch(usr->ut_type) { in ac()
479 usht.ut_type = SHUTDOWN_TIME; in ac()
/freebsd/lib/libulog/
H A Dulog_login.c68 utx.ut_type = USER_PROCESS; in ulog_login()
81 utx.ut_type = DEAD_PROCESS; in ulog_logout()
/freebsd/usr.sbin/utx/
H A Dutx.c54 struct utmpx utx = { .ut_type = DEAD_PROCESS }; in rm()
84 struct utmpx utx = { .ut_type = type }; in boot()
/freebsd/contrib/tcsh/
H A Dtc.who.c295 if (utmp.ut_type != USER_PROCESS)
299 if (utmp.ut_type != USER_PROCESS && utmp.ut_type != DEAD_PROCESS)
307 if (utmp.ut_type == DEAD_PROCESS && utmp.ut_line[0] == '\0')
318 if (utmp.ut_type == DEAD_PROCESS) {
369 if (utmp.ut_type == DEAD_PROCESS)
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1157 wtmp.ut_type = LOGIN_PROCESS; in startslave()
1306 utmpx.ut_type = LOGIN_PROCESS; in start_login()
1428 utmpx.ut_type = LOGIN_PROCESS; in rmut()
1439 utxp->ut_type = DEAD_PROCESS; in rmut()
1551 utmp.ut_type = USER_PROCESS; in rmut()
1557 utptr->ut_type = DEAD_PROCESS; in rmut()
1768 if ( (cur->ut_type != NULL) && (jid == cur->ut_jid) ) {
1813 if (utp->ut_type != USER_PROCESS || utp->ut_jid == 0)
/freebsd/crypto/openssh/
H A Dloginrec.c651 ut->ut_type = USER_PROCESS; in construct_utmp()
654 ut->ut_type = DEAD_PROCESS; in construct_utmp()
738 utx->ut_type = USER_PROCESS; in construct_utmpx()
741 utx->ut_type = DEAD_PROCESS; in construct_utmpx()
1037 utx.ut_type = DEAD_PROCESS; in utmpx_perform_logout()
1155 if (ut->ut_type & USER_PROCESS) in wtmp_islogin()
1319 if (utx->ut_type == USER_PROCESS) in wtmpx_islogin()
/freebsd/usr.bin/users/
H A Dusers.cc61 if (ut->ut_type == USER_PROCESS) in main()
/freebsd/include/
H A Dutmpx.h42 short ut_type; /* Type of entry. */ member
/freebsd/libexec/rpc.rusersd/
H A Drusers_proc.c162 if (usr->ut_type != USER_PROCESS) in do_names_2()
192 if (usr->ut_type != USER_PROCESS) in rusers_num()
/freebsd/usr.bin/finger/
H A Dfinger.c232 if (user->ut_type != USER_PROCESS) in loginlist()
375 if (user->ut_type != USER_PROCESS) in userlist()
/freebsd/include/rpcsvc/
H A Drnusers.x64 int ut_type; /* type of entry */ member
/freebsd/usr.bin/write/
H A Dwrite.c193 if (u->ut_type == USER_PROCESS && in utmp_chk()
225 if (u->ut_type == USER_PROCESS && in search_utmp()
/freebsd/usr.bin/getent/
H A Dgetent.c630 if (ut->ut_type == EMPTY) in utmpxprint()
637 switch (ut->ut_type) { in utmpxprint()
673 printf("unknown record type %hu\n", ut->ut_type); in utmpxprint()
/freebsd/bin/date/
H A Ddate.c344 utx.ut_type = OLD_TIME; in setthetime()
350 utx.ut_type = NEW_TIME; in setthetime()
/freebsd/usr.sbin/lastlogin/
H A Dlastlogin.c130 if (u->ut_type != USER_PROCESS) in main()

12