/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 62 struct utmpx *up = &utmpx; /* and a pointer to it */ in account() local 64 (void) memset(up, '\0', sizeof (utmpx)); in account() 65 up->ut_user[0] = '.'; in account() 66 (void) strncpy(&up->ut_user[1], Tag, sizeof (up->ut_user)-1); in account() 67 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line)); in account() 68 up->ut_pid = getpid(); in account() 69 up->ut_type = USER_PROCESS; in account() 70 up->ut_id[0] = 't'; in account() 71 up->ut_id[1] = 'm'; in account() 72 up->ut_id[2] = SC_WILDC; in account() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 85 # define UDB_REMOTE 2 /* look up in remote database */ 86 # define UDB_DBFETCH 3 /* look up in local database */ 88 # define UDB_HESIOD 5 /* look up via hesiod */ 107 ** UDBEXPAND -- look up user in database and expand 138 register struct udbent *up; local 187 for (up = UdbEnts; !breakout; up++) 212 switch (up->udb_type) 222 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 227 (errno = (*up->udb_dbp->cursor)(up->udb_dbp, 230 (errno = (*up->udb_dbp->cursor)(up->udb_dbp, [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | Resample.cc | 33 * Then the input signal is up-sampled to fm by inserting (L -1) zero valued 91 * convolution of coef[order + 1] and data[length] up-sampled by a factor 99 int inc_coef, // 1-to-L up-sample for data[length] in poly_conv() 129 if (up <= 1) in updateState() 149 up = rate_out / commonfactor; in ResampleFilter() 152 int fold = (up > down)? up : down; // take the bigger rate change in ResampleFilter() 157 if (up > 1) { // need (order/up) states in ResampleFilter() 158 num_state = (order + up - 1) / up; in ResampleFilter() 243 // 1-to-up interpolation 253 else if (up <= 1) // regular filter in interpolate_noadjust() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | getdents.c | 80 register struct dirent* up; /* user */ 92 up = (struct dirent*)buf; 102 up->d_fileno = i; 103 u = up->d_name; 104 while ((*u = *sp++) && u < up->d_name + MAXNAMLEN) u++; 106 … up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - up->d_name) + 1; 107 up->d_reclen = roundof(up->d_reclen, 8); 108 up = (struct dirent*)((char*)up + up->d_reclen); 111 return((char*)up - (char*)buf); 120 #define MAXREC roundof(sizeof(*up)-sizeof(up->d_name)+sizeof(sp->d_name)+1,8) [all …]
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 187 struct uproc *up, *parent, *pgrp; in main() local 207 * After setting up privilege bracketing, we can further reduce the in main() 327 "up %d day(s), %d hr(s), " in main() 390 up = findhash(info.pr_pid); in main() 391 up->p_ttyd = info.pr_ttydev; in main() 392 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); in main() 393 up->p_time = 0; in main() 394 up->p_ctime = 0; in main() 395 up->p_igintr = 0; in main() 396 (void) strlcpy(up->p_comm, info.pr_fname, in main() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 234 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu() local 236 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_pre_attach_cpu() 244 if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) { in dr_pre_attach_cpu() 246 up->sbc_cm.sbdev_path); in dr_pre_attach_cpu() 290 dr_cpu_unit_t *up = (dr_cpu_unit_t *)cp; in dr_attach_cpu() local 291 up->sbc_cpu_id = cpuid; in dr_attach_cpu() 311 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu() local 314 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_post_attach_cpu() 316 cp = cpu_get(up->sbc_cpu_id); in dr_post_attach_cpu() 319 f, up->sbc_cpu_id); in dr_post_attach_cpu() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | typesign.c | 6 static signed int * u_to_s_return(unsigned int *up) in u_to_s_return() argument 8 return up; in u_to_s_return() 13 unsigned int *up = sp; in s_to_u_init() local 14 return up; in s_to_u_init() 17 static signed int * u_to_s_init(unsigned int *up) in u_to_s_init() argument 19 signed int *sp = up; in u_to_s_init() 25 unsigned int *up; in s_to_u_assign() local 26 up = sp; in s_to_u_assign() 27 return up; in s_to_u_assign() 30 static signed int * u_to_s_assign(unsigned int *up) in u_to_s_assign() argument [all …]
|
H A D | restrict.c | 7 void * up; variable 12 void f03(typeof(&up) dst) { } /* check-should-fail */ in f03() 16 rp = up; /* check-should-pass */ in foo() 17 up = rp; /* check-should-pass */ in foo() 23 void * up; in ref() local 28 pqp = &up; /* check-should-pass */ in ref() 31 pup = &up; /* check-should-pass */ in ref() 43 prp = &up; /* check-should-pass */ in bar() 46 pup = &up; /* check-should-pass */ in bar() 55 extern typeof(&up) pup; in baz() [all …]
|
/illumos-gate/usr/src/lib/librpcsvc/common/ |
H A D | rusersxdr.c | 45 xdr_ru_utmp(xdrsp, up) in xdr_ru_utmp() argument 47 struct ru_utmp *up; 58 len = (int)sizeof (up->ut_line); 61 if (len != sizeof (up->ut_line)) { 64 if (!xdr_opaque(xdrsp, (char *)up->ut_line, len)) { 67 len = (int)sizeof (up->ut_name); 70 if (len != sizeof (up->ut_name)) { 73 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) { 76 len = (int)sizeof (up->ut_host); 79 if (len != sizeof (up->ut_host)) { [all …]
|
H A D | rusers_simple.c | 45 struct utmpidlearr up; local 54 up.uia_cnt = 0; 55 up.uia_arr = NULL; 56 if (rusers(host, &up) != 0) 63 uap->utmp_array_val = (rusers_utmp *)malloc(up.uia_cnt 66 xdr_free(xdr_utmpidlearr, (char *)&up); 69 uap->utmp_array_len = up.uia_cnt; 71 i < up.uia_cnt; rutp++, i++) { 88 xdr_free(xdr_utmpidlearr, (char *)&up); 92 up.uia_arr[i]->ui_utmp.ut_line, [all …]
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 279 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu() local 281 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_pre_attach_cpu() 289 curr_cpu = DR_UNUM2SBD_UNUM(up->sbc_cm.sbdev_unum, in dr_pre_attach_cpu() 293 up->sbc_cm.sbdev_path); in dr_pre_attach_cpu() 297 if (up->sbc_cm.sbdev_state == DR_STATE_UNCONFIGURED) { in dr_pre_attach_cpu() 305 up->sbc_cpu_id); in dr_pre_attach_cpu() 367 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu() local 370 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_post_attach_cpu() 372 cp = cpu_get(up->sbc_cpu_id); in dr_post_attach_cpu() 375 f, up->sbc_cpu_id); in dr_post_attach_cpu() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | getoptl.c | 37 static Sfio_t* up; variable 49 if (!up || optstring != lastoptstring || longopts != lastlongopts) in golly() 51 if (!up && !(up = sfstropen()) || !(t = strdup(optstring))) in golly() 53 sfprintf(up, "[-1p%d]", flags); in golly() 57 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name); in golly() 60 sfprintf(up, "\n[%c:%s]", o->val, o->name); in golly() 74 sfputc(up, ':'); in golly() 76 sfputc(up, '?'); in golly() 77 sfprintf(up, "[string]"); in golly() 84 sfprintf(up, "\n[%c]", c); in golly() [all …]
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc1.c | 171 * read ctmp file, build up urec-srec data structures for 178 struct urec *up; in readctmp() local 187 up = NULL; in readctmp() 197 if (up == NULL || cb.ct_uid != up->ur_uid || in readctmp() 198 !EQN(cb.ct_name, up->ur_name)) { in readctmp() 199 if (up == NULL) in readctmp() 200 up = ur; in readctmp() 201 if (++up >= &ur[a_usize]) { in readctmp() 208 up = &ur[a_usize - A_USIZE]; in readctmp() 210 up->ur_uid = cb.ct_uid; in readctmp() [all …]
|
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | link.c | 42 int left, up; in link_col_major() local 55 Up(i) = r ? IthItem(m, n-1) : (ITEM *) NULL; in link_col_major() 67 /* Set up left and right links at edge of menu */ in link_col_major() 79 /* Setup up and down links at edge of menu */ in link_col_major() 82 up = n + Rows(m) - 1; in link_col_major() 83 if (up >= Nitems(m)) { in link_col_major() 84 Up(IthItem(m, n)) = IthItem(m, n-1); in link_col_major() 86 Up(IthItem(m, n)) = IthItem(m, up); in link_col_major() 87 Down(IthItem(m, up)) = IthItem(m, n); in link_col_major() 99 int left, up; in link_row_major() local [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getnet.c | 71 uchar_t *up; in netaddr_getlogstr() local 74 up = (uchar_t *)&net; in netaddr_getlogstr() 76 if (up[0]) in netaddr_getlogstr() 79 up[0], up[1], up[2], up[3]); in netaddr_getlogstr() 80 else if (up[1]) in netaddr_getlogstr() 83 up[1], up[2], up[3]); in netaddr_getlogstr() 84 else if (up[2]) in netaddr_getlogstr() 87 up[2], up[3]); in netaddr_getlogstr() 91 up[3]); in netaddr_getlogstr()
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetnet.c | 46 u_char *up = (u_char *)&addr; in inet_nettoa() local 50 if (up[0]) { in inet_nettoa() 52 up[0], up[1], up[2], up[3]); in inet_nettoa() 53 } else if (up[1]) { in inet_nettoa() 54 (void) sprintf(result, "%d.%d.%d", up[1], up[2], up[3]); in inet_nettoa() 55 } else if (up[2]) { in inet_nettoa() 56 (void) sprintf(result, "%d.%d", up[2], up[3]); in inet_nettoa() 58 (void) sprintf(result, "%d", up[3]); in inet_nettoa()
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | grub.info-2 | 33 File: grub.info, Node: Diskless, Prev: General usage of network support, Up: Network 42 up the network card installed into the machine, and downloads a second 48 they set up a network automatically, and try to load a configuration 81 File: grub.info, Node: Serial terminal, Next: Preset Menu, Prev: Network, Up: Top 98 As for GRUB, the instruction to set up a serial terminal is quite 104 Then, initialize your serial terminal after GRUB starts up. Here is 130 File: grub.info, Node: Preset Menu, Next: Security, Prev: Serial terminal, Up: Top 138 critical to set up the serial terminal as soon as possible, since you 141 (*note terminal::) before anything else at the start-up time. 170 the preset menu yourself, because diskless images don't set it up [all …]
|
H A D | grub.info | 34 File: grub.info, Node: Top, Next: Introduction, Up: (dir) 73 File: grub.info, Node: Introduction, Next: Naming convention, Prev: Top, Up: Top 86 File: grub.info, Node: Overview, Next: History, Up: Introduction 131 File: grub.info, Node: Overview-Footnotes, Up: Overview 138 File: grub.info, Node: History, Next: Features, Prev: Overview, Up: Introduction 156 from keeping up with the demands of its quickly-expanding user base. In 163 File: grub.info, Node: Features, Next: Role of a boot loader, Prev: History, Up: Introduction 290 File: grub.info, Node: Features-Footnotes, Up: Features 297 File: grub.info, Node: Role of a boot loader, Prev: Features, Up: Introduction 328 File: grub.info, Node: Role of a boot loader-Footnotes, Up: Role of a boot loader [all …]
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 153 struct uproc *up; in main() local 175 * After setting up privilege bracketing, we can further reduce the in main() 303 PRINTF((gettext("up"))); in main() 413 up = calloc(1, sizeof (*up)); in main() 414 if (up == NULL) in main() 416 up->p_upid = info.pr_pid; in main() 417 up->p_ttyd = info.pr_ttydev; in main() 418 up->p_time = in main() 421 up->p_ctime = in main() 424 up->p_igintr = in main() [all …]
|
/illumos-gate/usr/src/man/man5/ |
H A D | d_passwd.5 | 9 d_passwd \- dial-up password file 19 A dial-up password is an additional password required of users who access the 20 computer through a modem or dial-up port. The correct password must be entered 25 programs (typically shells) that require a dial-up password and the associated 30 entries determine whether the user will be required to supply a dial-up 52 The name of the login program that will require an additional dial-up password. 61 An encrypted password. Users accessing the computer through a dial-up port or 78 any entry in \fBd_passwd\fR will not be prompted for a dial-up password. 81 Dial-up logins are disabled if \fBd_passwd\fR has only the following entry: 155 dial-up password file [all …]
|
H A D | dialups.5 | 8 dialups \- list of terminal devices requiring a dial-up password 19 that require a dial-up password. A dial-up password is an additional password 20 required of users who access the computer through a modem or dial-up port. The 22 computer. The set of ports that require a dial-up password are listed in the 44 The full path name of the terminal device that will require a dial-up password 45 for users accessing the computer through a modem or dial-up port. 77 dial-up password file 86 list of dial-up ports requiring dial-up passwords
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 285 * monitors (only called during a recover start up). Note: 288 * will clean up). This is mainly for stuck processes, 326 * up the entry if it dies. in readutmpx() 421 * clean up old utmpx if its there in startpm() 439 /* ok to take signals now that the table is up-to-table */ in startpm() 461 struct utmpx *up; in cleanutx() local 463 char user[sizeof (up->ut_user) + 1]; in cleanutx() 464 char ttyn[sizeof (up->ut_line) + 1]; in cleanutx() 465 char rhost[sizeof (up->ut_host) + 1]; in cleanutx() 467 * check to see if there is a utmpx entry to clean up (indicated by a non in cleanutx() [all …]
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mc_amd.h | 279 #define _MCREG_FIELD(up, revsuffix, field) ((up)->_fmt_##revsuffix.field) argument 281 #define MCREG_VAL32(up) ((up)->_val32) argument 286 #define MCREG_FIELD_CMN(up, field) _MCREG_FIELD(up, cmn, field) argument 291 #define MCREG_FIELD_F_preF(up, field) _MCREG_FIELD(up, f_preF, field) argument 296 #define MCREG_FIELD_F_revFG(up, field) _MCREG_FIELD(up, f_revFG, field) argument 301 #define MCREG_FIELD_10_revAB(up, field) _MCREG_FIELD(up, 10_revAB, field) argument 342 #define HT_COHERENTNODES(up) (MCREG_FIELD_CMN(up, NodeCnt) + 1) argument 343 #define HT_SYSTEMCORECOUNT(up) (MCREG_FIELD_CMN(up, CpuCnt) + 1) argument 377 #define MC_DRAMBASE(up) ((uint64_t)MCREG_FIELD_CMN(up, DRAMBasei) << 24) argument 395 #define MC_DRAMLIM(up) \ argument [all …]
|
/illumos-gate/usr/src/man/man8/ |
H A D | ifparse.8 | 62 example# \fBifparse -f inet 1.2.3.4 up group one addif 1.2.3.5 -failover up\fR 63 set 1.2.3.4 up 78 example# \fBifparse -s inet 1.2.3.4 up group one addif 1.2.3.5 -failover up\fR 80 addif 1.2.3.5 -failover up 95 example# \fBifparse inet 1.2.3.4 up group one addif 1.2.3.5 -failover up\fR 97 set 1.2.3.4 up 98 addif 1.2.3.5 -failover up
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_unix.c | 50 unsigned char *up, *fp; in unix0() local 68 up = (unsigned char *)uxb; in unix0() 75 if ((up + len) >= (unsigned char *)&uxb[UXBSIZE]) { in unix0() 79 strncpy(up, multic, len); in unix0() 80 up += len; in unix0() 103 if (up >= (unsigned char *)&uxb[UXBSIZE]) { in unix0() 116 *up++ = c; in unix0() 120 if (up != (unsigned char *)uxb && *puxb != 0) { in unix0() 130 if (up >= (unsigned char *)&uxb[UXBSIZE]) in unix0() 132 *up++ = *fp++; in unix0() [all …]
|