/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 157 restore_tlb(struct sun4u_tlb *utp, int cpu_id) in restore_tlb() argument 164 if (utp == mdinfo.dtte) { in restore_tlb() 167 } else if (utp == mdinfo.itte) { in restore_tlb() 172 for (tail = utp + CPR_MAX_TLB; utp < tail; utp++) { in restore_tlb() 173 if (utp->va_tag == 0) in restore_tlb() 175 virt = (caddr_t)utp->va_tag; in restore_tlb() 176 (*tfunc)(utp->index, virt, &utp->tte); in restore_tlb() 180 cpu_id, tname, utp->index, utp->va_tag, in restore_tlb() 181 TTEBYTES(utp->tte.tte_size)); in restore_tlb()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 457 struct utmp *utp; /* "current" utmp entry being examined */ in _compat_makeut() local 488 while ((utp = _compat_getutent()) != 0) { in _compat_makeut() 489 if (idcmp(utmp->ut_id, utp->ut_id)) in _compat_makeut() 491 if (utp->ut_type == DEAD_PROCESS) in _compat_makeut() 493 (void) memcpy(saveid, utp->ut_id, IDLEN); in _compat_makeut() 496 if (utp) { in _compat_makeut() 500 (void) memcpy(utmp->ut_id, utp->ut_id, IDLEN); in _compat_makeut() 501 utp = _compat_pututline(utmp); in _compat_makeut() 502 if (utp) in _compat_makeut() 503 _compat_updwtmp(WTMP_FILE, utp); in _compat_makeut() [all …]
|
H A D | getutx.c | 910 modutx(const struct utmpx *utp) in modutx() argument 919 if ((unsigned char)utp->ut_id[i] == SC_WILDC) in modutx() 926 (void) memcpy(&utmp, utp, sizeof (utmp)); in modutx() 957 modut(struct utmp *utp) in modut() argument 962 getutmpx(utp, &utmpx); in modut() 966 getutmp(utmpx2, utp); in modut() 967 return (utp); in modut() 1146 struct utmpx *utp; in makeutx() local 1223 utp = pututxline(utmp); in makeutx() 1224 if (utp) in makeutx() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 122 void notify(struct utmpx *utp, int offset); 242 struct utmpx *utp = &utmp[nutmp]; in mailfor() local 263 while (--utp >= utmp) in mailfor() 264 if (utp->ut_type == USER_PROCESS && in mailfor() 265 strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name)) == 0) in mailfor() 266 notify(utp, offset); in mailfor() 272 notify(struct utmpx *utp, int offset) in notify() argument 285 strncat(tty, utp->ut_line, sizeof (utp->ut_line)); in notify() 286 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty); in notify() 300 strncpy(name, utp->ut_name, sizeof (utp->ut_name)); in notify()
|
H A D | in.rwhod.c | 366 struct utmpx *utp; in onalrm() local 395 while (cnt++ < utmpxent && (utp = getutxent()) != NULL) in onalrm() 396 (void) memcpy(utmpxbegin++, utp, sizeof (struct utmpx)); in onalrm()
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 152 struct utmpx *utp; in main() local 282 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) in main() 283 (void) memcpy(ut++, utp, sizeof (*ut)); in main()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | exit.c | 92 handler(int sig, siginfo_t *sip, void *utp) in handler() argument
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 185 struct utmpx *utp; in main() local 305 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) in main() 306 (void) memcpy(ut++, utp, sizeof (*ut)); in main()
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 680 signone(int sig, siginfo_t *sip, void *utp) in signone() argument
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 4500 signull(int sig, siginfo_t *sip, void *utp) in signull() argument
|