Home
last modified time | relevance | path

Searched refs:utp (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c158 restore_tlb(struct sun4u_tlb *utp, int cpu_id) in restore_tlb() argument
165 if (utp == mdinfo.dtte) { in restore_tlb()
168 } else if (utp == mdinfo.itte) { in restore_tlb()
173 for (tail = utp + CPR_MAX_TLB; utp < tail; utp++) { in restore_tlb()
174 if (utp->va_tag == NULL) in restore_tlb()
176 virt = (caddr_t)utp->va_tag; in restore_tlb()
177 (*tfunc)(utp->index, virt, &utp->tte); in restore_tlb()
181 cpu_id, tname, utp->index, utp->va_tag, in restore_tlb()
182 TTEBYTES(utp->tte.tte_size)); in restore_tlb()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetut.c457 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 Dgetutx.c911 modutx(const struct utmpx *utp) in modutx() argument
920 if ((unsigned char)utp->ut_id[i] == SC_WILDC) in modutx()
927 (void) memcpy(&utmp, utp, sizeof (utmp)); in modutx()
958 modut(struct utmp *utp) in modut() argument
963 getutmpx(utp, &utmpx); in modut()
967 getutmp(utmpx2, utp); in modut()
968 return (utp); in modut()
1147 struct utmpx *utp; in makeutx() local
1224 utp = pututxline(utmp); in makeutx()
1225 if (utp) in makeutx()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c127 void notify(struct utmpx *utp, int offset);
250 struct utmpx *utp = &utmp[nutmp]; local
271 while (--utp >= utmp)
272 if ((utp->ut_type == USER_PROCESS) &&
273 (!strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name))))
274 notify(utp, offset);
280 notify(utp, offset) in notify() argument
281 struct utmpx *utp; in notify()
294 strncat(tty, utp->ut_line, sizeof (utp->ut_line));
295 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty);
[all …]
H A Din.rwhod.c368 struct utmpx *utp; in onalrm() local
397 while (cnt++ < utmpxent && (utp = getutxent()) != NULL) in onalrm()
398 (void) memcpy(utmpxbegin++, utp, sizeof (struct utmpx)); in onalrm()
/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dtrans_log.c404 mt_unit_t **utp = &ul->un_utlist; in ldl_utdel() local
407 for (utp = &ul->un_utlist; in ldl_utdel()
408 *utp && (*utp != un); in ldl_utdel()
409 utp = &(*utp)->un_next); in ldl_utdel()
410 if (*utp) in ldl_utdel()
411 *utp = un->un_next; in ldl_utdel()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dexit.c92 handler(int sig, siginfo_t *sip, void *utp) in handler() argument
/titanic_41/usr/src/cmd/w/
H A Dw.c161 struct utmpx *utp; in main() local
257 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) in main()
258 (void) memcpy(ut++, utp, sizeof (*ut)); in main()
/titanic_41/usr/src/cmd/whodo/
H A Dwhodo.c165 struct utmpx *utp; in main() local
253 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) in main()
254 (void) memcpy(ut++, utp, sizeof (*ut)); in main()
/titanic_41/usr/src/cmd/iscsid/
H A Discsid.c681 signone(int sig, siginfo_t *sip, void *utp) in signone() argument
/titanic_41/usr/src/lib/libc/port/
H A Dllib-lc584 struct utmpx *modutx(const struct utmpx *utp);
/titanic_41/usr/src/cmd/syslogd/
H A Dsyslogd.c4515 signull(int sig, siginfo_t *sip, void *utp) in signull() argument