/freebsd/usr.bin/last/ |
H A D | last.c | 270 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 D | utmpx_login.c | 46 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 D | utmp_login.c | 113 utmp->ut_type = USER_PROCESS; in prepare_utmp()
|
/freebsd/contrib/ntp/libntp/ |
H A D | systime.c | 426 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 D | who.c | 188 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 D | logwtmp.c | 128 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 D | utxdb.c | 51 (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 D | getutxent.c | 175 switch (id->ut_type) { in getutxid() 187 if (fu.fu_type == id->ut_type) in getutxid()
|
/freebsd/libexec/ftpd/ |
H A D | logwtmp.c | 54 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 D | pam_lastlog.c | 108 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 D | ac.c | 322 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 D | ulog_login.c | 68 utx.ut_type = USER_PROCESS; in ulog_login() 81 utx.ut_type = DEAD_PROCESS; in ulog_logout()
|
/freebsd/usr.sbin/utx/ |
H A D | utx.c | 54 struct utmpx utx = { .ut_type = DEAD_PROCESS }; in rm() 84 struct utmpx utx = { .ut_type = type }; in boot()
|
/freebsd/contrib/tcsh/ |
H A D | tc.who.c | 295 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 D | sys_term.c | 1157 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 D | loginrec.c | 651 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 D | users.cc | 61 if (ut->ut_type == USER_PROCESS) in main()
|
/freebsd/include/ |
H A D | utmpx.h | 42 short ut_type; /* Type of entry. */ member
|
/freebsd/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 162 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 D | finger.c | 232 if (user->ut_type != USER_PROCESS) in loginlist() 375 if (user->ut_type != USER_PROCESS) in userlist()
|
/freebsd/include/rpcsvc/ |
H A D | rnusers.x | 64 int ut_type; /* type of entry */ member
|
/freebsd/usr.bin/write/ |
H A D | write.c | 193 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 D | getent.c | 630 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 D | date.c | 344 utx.ut_type = OLD_TIME; in setthetime() 350 utx.ut_type = NEW_TIME; in setthetime()
|
/freebsd/usr.sbin/lastlogin/ |
H A D | lastlogin.c | 130 if (u->ut_type != USER_PROCESS) in main()
|