Lines Matching defs:utp
127 void notify(struct utmpx *utp, int offset);
250 struct utmpx *utp = &utmp[nutmp];
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)
281 struct utmpx *utp;
294 strncat(tty, utp->ut_line, sizeof (utp->ut_line));
295 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty);
309 strncpy(name, utp->ut_name, sizeof (utp->ut_name));