/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 65 static void utmp_frec2api(const struct futmp *, struct utmp *); 66 static void utmp_api2frec(const struct utmp *, struct futmp *); 67 struct utmp *_compat_getutent(void); 68 struct utmp *_compat_getutid(const struct utmp *); 69 struct utmp *_compat_getutline(const struct utmp *); 70 struct utmp *_compat_pututline(const struct utmp *); 73 void _compat_updwtmp(const char *, struct utmp *); 74 struct utmp *_compat_makeut(struct utmp *); 75 struct utmp *_compat_modut(struct utmp *); 96 static struct utmp ubuf; /* Last entry returned to client */ [all …]
|
H A D | getutx.c | 110 extern struct utmp *_compat_getutent(void); 111 extern struct utmp *_compat_getutid(const struct utmp *); 112 extern struct utmp *_compat_getutline(const struct utmp *); 113 extern struct utmp *_compat_pututline(const struct utmp *); 116 extern void _compat_updwtmp(const char *, struct utmp *); 117 extern struct utmp *_compat_makeut(struct utmp *); 133 static struct utmp utmpcompat; /* Buffer for returning utmp-format data */ 271 struct utmp * 386 struct utmp * 387 getutid(const struct utmp *entry) in getutid() [all …]
|
/titanic_41/usr/src/head/ |
H A D | utmp.h | 79 struct utmp { struct 155 extern struct utmp *getutent(void); 156 extern struct utmp *getutid(const struct utmp *); 157 extern struct utmp *getutline(const struct utmp *); 158 extern struct utmp *pututline(const struct utmp *);
|
H A D | utmpx.h | 141 extern void getutmp(const struct utmpx *, struct utmp *); 142 extern void getutmpx(const struct utmp *, struct utmpx *); 143 extern void updwtmp(const char *, struct utmp *);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 70 struct utmpx *utmp = NULL; variable 231 if (utmp) in onalrm() 232 utmp = (struct utmpx *)realloc(utmp, utmpsize); in onalrm() 234 utmp = (struct utmpx *)malloc(utmpsize); in onalrm() 235 if (! utmp) { in onalrm() 241 nutmp = read(uf, utmp, statbf.st_size)/sizeof (struct utmpx); in onalrm() 250 struct utmpx *utp = &utmp[nutmp]; 259 if (utmp == NULL || nutmp == 0) 271 while (--utp >= utmp) 273 (!strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name)))) [all …]
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 355 struct utmpx utmp; variable 357 struct utmp utmp; variable 383 SCPYN(utmp.ut_user, ""); 407 sprintf(utmp.ut_line, "uucp%.4d", pid); 408 SCPYN(utmp.ut_name, ""); 409 SCPYN(utmp.ut_host, ""); 410 (void) time(&utmp.ut_time); 414 (void) write(wtmp, (char *)&utmp, sizeof (utmp)); 490 SCPYN(utmp.ut_line, line); 491 SCPYN(utmp.ut_name, pw->pw_name); [all …]
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | bsd-cray.c | 83 void cray_retain_utmp(struct utmp *, int); 86 void cray_set_tmpdir(struct utmp *); 685 cray_retain_utmp(struct utmp *ut, int pid) in cray_retain_utmp() 688 struct utmp utmp; in cray_retain_utmp() local 691 while (read(fd, (char *)&utmp, sizeof(utmp)) == sizeof(utmp)) { in cray_retain_utmp() 692 if (pid == utmp.ut_pid) { in cray_retain_utmp() 693 ut->ut_jid = utmp.ut_jid; in cray_retain_utmp() 694 strncpy(ut->ut_tpath, utmp.ut_tpath, sizeof(utmp.ut_tpath)); in cray_retain_utmp() 695 strncpy(ut->ut_host, utmp.ut_host, sizeof(utmp.ut_host)); in cray_retain_utmp() 696 strncpy(ut->ut_name, utmp.ut_name, sizeof(utmp.ut_name)); in cray_retain_utmp() [all …]
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | loginrec.c | 185 void set_utmp_time(struct logininfo *li, struct utmp *ut); 186 void construct_utmp(struct logininfo *li, struct utmp *ut); 590 set_utmp_time(struct logininfo *li, struct utmp *ut) in set_utmp_time() 604 struct utmp *ut) in construct_utmp() 750 utmp_write_library(struct logininfo *li, struct utmp *ut) in utmp_write_library() 765 utmp_write_direct(struct logininfo *li, struct utmp *ut) in utmp_write_direct() 767 struct utmp old_ut; in utmp_write_direct() 797 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in utmp_write_direct() 810 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in utmp_write_direct() 826 struct utmp ut; in utmp_perform_login() [all …]
|
/titanic_41/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_die_deliv.c | 407 Dwarf_Unsigned utmp = 0; in _dwarf_next_die_info_ptr() local 411 DECODE_LEB128_UWORD(info_ptr, utmp); in _dwarf_next_die_info_ptr() 412 abbrev_code = (Dwarf_Word) utmp; in _dwarf_next_die_info_ptr() 552 Dwarf_Unsigned utmp = 0; in dwarf_siblingof() local 655 DECODE_LEB128_UWORD(die_info_ptr, utmp); in dwarf_siblingof() 656 abbrev_code = (Dwarf_Word) utmp; in dwarf_siblingof() 691 Dwarf_Unsigned utmp = 0; in dwarf_child() local 728 DECODE_LEB128_UWORD(die_info_ptr, utmp); in dwarf_child() 729 abbrev_code = (Dwarf_Word) utmp; in dwarf_child() 765 Dwarf_Unsigned utmp = 0; in dwarf_offdie() local [all …]
|
H A D | dwarf_abbrev.c | 63 Dwarf_Unsigned utmp = 0; in dwarf_get_abbrev() local 106 DECODE_LEB128_UWORD(abbrev_ptr, utmp); in dwarf_get_abbrev() 107 ret_abbrev->ab_code = (Dwarf_Word) utmp; in dwarf_get_abbrev() 117 DECODE_LEB128_UWORD(abbrev_ptr, utmp); in dwarf_get_abbrev() 118 ret_abbrev->ab_tag = utmp; in dwarf_get_abbrev()
|
H A D | dwarf_line.c | 1843 Dwarf_Unsigned utmp; in dwarf_read_line_table_prefix() local 1872 DECODE_LEB128_UWORD(line_ptr, utmp); in dwarf_read_line_table_prefix() 1873 dir_index = (Dwarf_Sword) utmp; in dwarf_read_line_table_prefix()
|
/titanic_41/usr/src/lib/libsecdb/common/ |
H A D | getexecattr.c | 123 userstr_t *utmp; in getexecuser() local 135 utmp = _getuserattr(&user, buf, NSS_BUFLEN_USERATTR, &err); in getexecuser() 136 if (utmp == NULL) { in getexecuser() 140 head = userprof((const char *)(utmp->name), type, id, in getexecuser() 143 head = userprof((const char *)(utmp->name), type, id, in getexecuser() 148 while ((utmp = _getuserattr(&user, in getexecuser() 151 userprof((const char *)(utmp->name), in getexecuser()
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_svc.c | 194 rdc_u_info_t *utmp; in rdc_allow_sec_sync() local 251 utmp = &rdc_u_info[ktmp->index]; in rdc_allow_sec_sync() 252 if (!IS_ENABLED(utmp)) in rdc_allow_sec_sync() 254 if (rdc_get_mflags(utmp) & RDC_RSYNC_NEEDED) { in rdc_allow_sec_sync() 255 rdc_clr_mflags(utmp, RDC_RSYNC_NEEDED); in rdc_allow_sec_sync() 256 rdc_write_state(utmp); in rdc_allow_sec_sync() 2470 rdc_u_info_t *utmp; in rdc_combywrite() local 2484 utmp = &rdc_u_info[ktmp->index]; in rdc_combywrite() 2486 if ((rdc_get_vflags(utmp) & RDC_PRIMARY) in rdc_combywrite() 2488 && IS_ENABLED(utmp)) in rdc_combywrite() [all …]
|
H A D | rdc_io.c | 609 rdc_u_info_t *utmp; in add_to_group() local 625 utmp = &rdc_u_info[index]; in add_to_group() 634 if (strncmp(utmp->group_name, urdc->group_name, in add_to_group() 637 if (strncmp(utmp->primary.intf, urdc->primary.intf, in add_to_group() 643 if (strncmp(utmp->secondary.intf, urdc->secondary.intf, in add_to_group() 677 urdc->autosync = utmp->autosync; /* Same as rest */ in add_to_group() 679 (void) strncpy(urdc->disk_queue, utmp->disk_queue, NSC_MAXPATH); in add_to_group() 738 rdc_u_info_t *utmp; in change_group() local 765 utmp = &rdc_u_info[index]; in change_group() 777 if (strncmp(utmp->group_name, urdc->group_name, in change_group() [all …]
|
H A D | rdc_dev.c | 2445 rdc_u_info_t *utmp; in _rdc_write() local 2448 utmp = &rdc_u_info[ktmp->index]; in _rdc_write() 2449 if (IS_ENABLED(utmp)) in _rdc_write() 2516 rdc_u_info_t *utmp; in _rdc_write() local 2519 utmp = &rdc_u_info[ktmp->index]; in _rdc_write() 2520 if (IS_ENABLED(utmp)) in _rdc_write() 2848 rdc_u_info_t *utmp; in _rdc_zero() local 2851 utmp = &rdc_u_info[ktmp->index]; in _rdc_zero() 2852 if (IS_ENABLED(utmp)) in _rdc_zero()
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | utmp.h | 37 struct utmp { struct
|
/titanic_41/usr/src/cmd/utmpd/ |
H A D | Makefile | 28 MANIFEST= utmp.xml
|
/titanic_41/usr/src/cmd/svc/seed/ |
H A D | inc.flg | 32 echo_file usr/src/cmd/utmpd/utmp.xml
|
H A D | Makefile | 80 ../../utmpd/utmp.xml \ 89 ../../utmpd/utmp.xml
|
/titanic_41/usr/src/man/man4/ |
H A D | Makefile | 200 utmp.4 \ 282 wtmp.4 := LINKSRC = utmp.4
|
/titanic_41/usr/src/cmd/power/ |
H A D | sys-suspend.c | 67 struct utmpx utmp; variable 68 #define NMAX (sizeof (utmp.ut_name))
|
/titanic_41/usr/src/lib/libc/port/ |
H A D | llib-lc | 562 struct utmp *getutent(void); 563 struct utmp *getutid(const struct utmp *entry); 564 struct utmp *getutline(const struct utmp *entry); 565 struct utmp *pututline(const struct utmp *entry); 569 void updwtmp(const char *file, struct utmp *ut); 570 void getutmp(const struct utmpx *utx, struct utmp *ut); 571 void getutmpx(const struct utmp *ut, struct utmpx *utx); 572 struct utmp *makeut(struct utmp *utmp); 583 struct utmpx *makeutx(const struct utmpx *utmp);
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | SUNWcs.man4.inc | 104 file path=usr/share/man/man4/utmp.4 119 link path=usr/share/man/man4/wtmp.4 target=utmp.4
|
/titanic_41/usr/src/cmd/ssh/doc/ |
H A D | OVERVIEW | 115 Logging in (updating utmp, lastlog, etc.) 118 login.c. This includes things such as updating the utmp, wtmp,
|
/titanic_41/usr/src/uts/common/io/usb/clients/usbms/ |
H A D | usbms.c | 1855 uint_t utmp, bitval, val; in usbms_get_coordinate() local 1859 utmp = 0; in usbms_get_coordinate() 1862 utmp = utmp * 2 + bitval; in usbms_get_coordinate() 1867 xyz = (int)(utmp - val); in usbms_get_coordinate()
|