Home
last modified time | relevance | path

Searched refs:up (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/titanic_52/usr/src/cmd/ttymon/
H A Dtmutmp.c67 struct utmpx *up = &utmpx; /* and a pointer to it */ local
69 (void) memset(up, '\0', sizeof (utmpx));
70 up->ut_user[0] = '.';
71 (void) strncpy(&up->ut_user[1], Tag, sizeof (up->ut_user)-1);
72 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line));
73 up->ut_pid = getpid();
74 up->ut_type = USER_PROCESS;
75 up
128 struct utmpx *up; global() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/dir/
H A Dgetdents.c80 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
[all...]
/titanic_52/usr/src/cmd/sendmail/src/
H A Dudb.c87 # define UDB_REMOTE 2 /* look up in remote database */
88 # define UDB_DBFETCH 3 /* look up in local database */
90 # define UDB_HESIOD 5 /* look up via hesiod */
109 ** UDBEXPAND -- look up user in database and expand
140 register struct udbent *up; local
189 for (up = UdbEnts; !breakout; up++)
214 switch (up->udb_type)
224 i = (*up->udb_dbp->seq)(up
600 register struct udbent *up; global() local
903 register struct udbent *up; global() local
1204 struct udbent *up; _udbx_close() local
[all...]
/titanic_52/usr/src/cmd/whodo/
H A Dwhodo.c167 struct uproc *up, *parent, *pgrp; in main() local
275 "up %d day(s), %d hr(s), " in main()
338 up = findhash(info.pr_pid); in main()
339 up->p_ttyd = info.pr_ttydev; in main()
340 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); in main()
341 up->p_time = 0; in main()
342 up->p_ctime = 0; in main()
343 up->p_igintr = 0; in main()
344 (void) strncpy(up->p_comm, info.pr_fname, in main()
346 up in main()
510 showproc(struct uproc * up) showproc() argument
550 showtotals(struct uproc * up) showtotals() argument
582 calctotals(struct uproc * up) calctotals() argument
700 struct uproc *up, *tp; findhash() local
[all...]
/titanic_52/usr/src/lib/librpcsvc/common/
H A Drusersxdr.c47 xdr_ru_utmp(xdrsp, up) in xdr_ru_utmp() argument
49 struct ru_utmp *up;
60 len = (int)sizeof (up->ut_line);
63 if (len != sizeof (up->ut_line)) {
66 if (!xdr_opaque(xdrsp, (char *)up->ut_line, len)) {
69 len = (int)sizeof (up->ut_name);
72 if (len != sizeof (up->ut_name)) {
75 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) {
78 len = (int)sizeof (up->ut_host);
81 if (len != sizeof (up
105 xdr_utmpidleptr(xdrsp,up) xdr_utmpidleptr() argument
116 xdr_utmpidlearr(xdrsp,up) xdr_utmpidlearr() argument
[all...]
H A Drusers_simple.c42 struct utmpidlearr up; local
51 up.uia_cnt = 0;
52 up.uia_arr = NULL;
53 if (rusers(host, &up) != 0)
60 uap->utmp_array_val = (rusers_utmp *)malloc(up.uia_cnt
63 xdr_free(xdr_utmpidlearr, (char *)&up);
66 uap->utmp_array_len = up.uia_cnt;
68 i < up.uia_cnt; rutp++, i++) {
85 xdr_free(xdr_utmpidlearr, (char *)&up);
89 up
126 rusers(host,up) rusers() argument
[all...]
/titanic_52/usr/src/cmd/audio/utilities/
H A DResample.cc35 * Then the input signal is up-sampled to fm by inserting (L -1) zero valued
93 * convolution of coef[order + 1] and data[length] up-sampled by a factor
101 int inc_coef, // 1-to-L up-sample for data[length] in poly_conv()
131 if (up <= 1) in updateState()
151 up = rate_out / commonfactor; in ResampleFilter()
154 int fold = (up > down)? up : down; // take the bigger rate change in ResampleFilter()
159 if (up > 1) { // need (order/up) states in ResampleFilter()
160 num_state = (order + up in ResampleFilter()
[all...]
H A Ddevice_ctl.c152 unsigned *up; in audio__setval() local
163 up = NULL; in audio__setval()
166 up = &prinfo->port; break; in audio__setval()
168 up = &prinfo->samples; break; in audio__setval()
172 up = &prinfo->eof; break; in audio__setval()
180 up = &prinfo->gain; break; in audio__setval()
182 up = &info.monitor_gain; break; in audio__setval()
192 if (up != NULL) { in audio__setval()
193 *up = *valp; in audio__setval()
202 if (up ! in audio__setval()
[all...]
/titanic_52/usr/src/cmd/w/
H A Dw.c162 struct uproc *up, *parent, *pgrp; in main() local
278 PRINTF((gettext("up"))); in main()
357 up = findhash(info.pr_pid); in main()
358 up->p_ttyd = info.pr_ttydev; in main()
359 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); in main()
360 up->p_time = 0; in main()
361 up->p_ctime = 0; in main()
362 up->p_igintr = 0; in main()
363 (void) strncpy(up->p_comm, info.pr_fname, in main()
365 up in main()
525 showtotals(struct uproc * up) showtotals() argument
558 calctotals(struct uproc * up) calctotals() argument
611 struct uproc *up, *tp; findhash() local
[all...]
/titanic_52/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c229 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu() local
231 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_pre_attach_cpu()
239 if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) { in dr_pre_attach_cpu()
241 up->sbc_cm.sbdev_path); in dr_pre_attach_cpu()
285 dr_cpu_unit_t *up = (dr_cpu_unit_t *)cp; in dr_attach_cpu() local
286 up->sbc_cpu_id = cpuid; in dr_attach_cpu()
306 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu() local
309 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_post_attach_cpu()
311 cp = cpu_get(up->sbc_cpu_id); in dr_post_attach_cpu()
314 f, up in dr_post_attach_cpu()
358 dr_cpu_unit_t *up; dr_pre_release_cpu() local
485 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; dr_pre_detach_cpu() local
557 dr_cpu_unit_t *up = (dr_cpu_unit_t *)cp; dr_detach_cpu() local
804 dr_cancel_cpu(dr_cpu_unit_t * up) dr_cancel_cpu() argument
856 dr_disconnect_cpu(dr_cpu_unit_t * up) dr_disconnect_cpu() argument
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/comp/
H A Dgetoptl.c37 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, "[strin in golly()
[all...]
/titanic_52/usr/src/cmd/getent/
H A Ddogetnet.c46 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[ in inet_nettoa()
[all...]
/titanic_52/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c285 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu() local
287 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_pre_attach_cpu()
295 curr_cpu = DR_UNUM2SBD_UNUM(up->sbc_cm.sbdev_unum, in dr_pre_attach_cpu()
299 up->sbc_cm.sbdev_path); in dr_pre_attach_cpu()
303 if (up->sbc_cm.sbdev_state == DR_STATE_UNCONFIGURED) { in dr_pre_attach_cpu()
311 up->sbc_cpu_id); in dr_pre_attach_cpu()
313 CPU_SGN_MAPOUT(up->sbc_cpu_id); in dr_pre_attach_cpu()
375 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu() local
378 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); in dr_post_attach_cpu()
380 cp = cpu_get(up in dr_post_attach_cpu()
427 dr_cpu_unit_t *up; dr_pre_release_cpu() local
553 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; dr_pre_detach_cpu() local
871 dr_cancel_cpu(dr_cpu_unit_t * up) dr_cancel_cpu() argument
923 dr_disconnect_cpu(dr_cpu_unit_t * up) dr_disconnect_cpu() argument
[all...]
/titanic_52/usr/src/uts/intel/sys/
H A Dmc_amd.h275 #define _MCREG_FIELD(up, revsuffix, field) ((up)->_fmt_##revsuffix.field) argument
277 #define MCREG_VAL32(up) ((up)->_val32) argument
282 #define MCREG_FIELD_CMN(up, field) _MCREG_FIELD(up, cmn, field) argument
287 #define MCREG_FIELD_F_preF(up, field) _MCREG_FIELD(up, f_preF, field) argument
292 #define MCREG_FIELD_F_revFG(up, field) _MCREG_FIELD(up, f_revF argument
297 MCREG_FIELD_10_revAB(up,field) global() argument
338 HT_COHERENTNODES(up) global() argument
339 HT_SYSTEMCORECOUNT(up) global() argument
373 MC_DRAMBASE(up) global() argument
391 MC_DRAMLIM(up) global() argument
410 MC_DRAMHOLE_SIZE(up) global() argument
443 MC_CSBASE(up,rev) global() argument
485 MC_CSMASK(up,rev) global() argument
531 MC_CSBANKMODE(up,csnum) global() argument
825 _MCMSR_FIELD(up,revsuffix,field) global() argument
827 MCMSR_VAL(up) global() argument
829 MCMSR_FIELD_CMN(up,field) global() argument
830 MCMSR_FIELD_F_preF(up,field) global() argument
831 MCMSR_FIELD_F_revFG(up,field) global() argument
832 MCMSR_FIELD_10_revAB(up,field) global() argument
[all...]
/titanic_52/usr/src/cmd/nscd/
H A Dgetnet.c73 uchar_t *up; in netaddr_getlogstr() local
76 up = (uchar_t *)&net; in netaddr_getlogstr()
78 if (up[0]) in netaddr_getlogstr()
81 up[0], up[1], up[2], up[3]); in netaddr_getlogstr()
82 else if (up[1]) in netaddr_getlogstr()
85 up[1], up[ in netaddr_getlogstr()
[all...]
/titanic_52/usr/src/cmd/acct/
H A Dacctprc1.c172 * read ctmp file, build up urec-srec data structures for
179 struct urec *up; in readctmp() local
188 up = NULL; in readctmp()
198 if (up == NULL || cb.ct_uid != up->ur_uid || in readctmp()
199 !EQN(cb.ct_name, up->ur_name)) { in readctmp()
200 if (up == NULL) in readctmp()
201 up = ur; in readctmp()
202 if (++up >= &ur[a_usize]) { in readctmp()
209 up in readctmp()
252 struct urec *up; getnamc() local
[all...]
/titanic_52/usr/src/cmd/acct/lib/
H A Duidtonam.c31 * convert uid to login name; interface to getpwuid that keeps up to USIZE1
55 register struct ulist *up; local
59 for (up = ul; up < &ul[usize1]; up++)
60 if (uid == up->uuid)
61 return(up->uname);
67 up->uuid = uid;
68 CPYN(up->uname, pp->pw_name);
H A Dnamtouid.c51 register struct ulist *up; local
55 for (up = ul; up < &ul[usize]; up++)
56 if (strncmp(name, up->uname, NSZ) == 0)
57 return(up->uuid);
65 CPYN(up->uname, name);
66 up->uuid = tuid;
/titanic_52/usr/src/cmd/vi/port/
H A Dex_unix.c51 unsigned char *up, *fp; in unix0() local
69 up = (unsigned char *)uxb; in unix0()
76 if ((up + len) >= (unsigned char *)&uxb[UXBSIZE]) { in unix0()
80 strncpy(up, multic, len); in unix0()
81 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 in unix0()
262 unixex(opt,up,newstdin,mode) unixex() argument
[all...]
/titanic_52/usr/src/cmd/saf/
H A Dsac.c287 * monitors (only called during a recover start up). Note:
290 * will clean up). This is mainly for stuck processes,
328 * up the entry if it dies. in readutmpx()
424 * clean up old utmpx if its there in startpm()
442 /* ok to take signals now that the table is up-to-table */ in startpm()
464 struct utmpx *up; in cleanutx() local
466 char user[sizeof (up->ut_user) + 1]; in cleanutx()
467 char ttyn[sizeof (up->ut_line) + 1]; in cleanutx()
468 char rhost[sizeof (up->ut_host) + 1]; in cleanutx()
470 * check to see if there is a utmpx entry to clean up (indicate in cleanutx()
538 struct utmpx *up = &utmpx; /* and a pointer to it */ account() local
[all...]
/titanic_52/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c290 struct username *up; in prquota() local
298 up = lookup(uid); in prquota()
299 if (up) in prquota()
300 (void) printf("%-10s", up->u_name); in prquota()
389 struct username *up; in lookup() local
391 for (up = uhead[uid % UHASH]; up != 0; up = up->u_next) in lookup()
392 if (up in lookup()
408 struct username *up, **uhp; adduid() local
[all...]
/titanic_52/usr/src/cmd/csh/
H A Dsh.misc.c91 blkend(tchar **up) in blkend() argument
94 while (*up) in blkend()
95 up++; in blkend()
96 return (up); in blkend()
131 blkcat(tchar **up, tchar **vp) in blkcat() argument
134 (void) blkcpy(blkend(up), vp); in blkcat()
135 return (up); in blkcat()
190 blkspl(tchar **up, tchar **vp) in blkspl() argument
193 (tchar **)xcalloc((unsigned)(blklen(up) + blklen(vp) + 1), in blkspl()
196 (void) blkcpy(wp, up); in blkspl()
387 blkend_(char ** up) blkend_() argument
416 blkcat_(char ** up,char ** vp) blkcat_() argument
424 blkspl_(char ** up,char ** vp) blkspl_() argument
[all...]
/titanic_52/usr/src/lib/libsocket/inet/
H A Dnetmasks.c67 uchar_t *up = (uchar_t *)&addr; in inet_nettoa() local
73 if (up[0]) { in inet_nettoa()
75 up[0], up[1], up[2], up[3]); in inet_nettoa()
76 } else if (up[1]) { in inet_nettoa()
77 (void) snprintf(result, len, "%d.%d.%d", up[1], up[2], up[ in inet_nettoa()
[all...]
/titanic_52/usr/src/lib/libipmi/common/
H A Dipmi_user.c185 ipmi_user_t *up; in ipmi_user_iter() local
225 up = &uip->iu_user; in ipmi_user_iter()
227 up->iu_enabled = resp->igua_enabled_uid; in ipmi_user_iter()
228 up->iu_uid = i; in ipmi_user_iter()
229 up->iu_ipmi_msg_enable = resp->igua_ipmi_msg_enable; in ipmi_user_iter()
230 up->iu_link_auth_enable = resp->igua_link_auth_enable; in ipmi_user_iter()
231 up->iu_priv = resp->igua_privilege_level; in ipmi_user_iter()
251 if ((up->iu_name = ipmi_strdup(ihp, name)) == NULL) in ipmi_user_iter()
271 ipmi_user_callback(ipmi_user_t *up, void *data) in ipmi_user_callback() argument
278 if (up in ipmi_user_callback()
[all...]
/titanic_52/usr/src/cmd/rexd/
H A Dunix_login.c417 struct utmpx *up; in LogoutUser() local
434 while (up = getutxent()) { in LogoutUser()
435 if (up->ut_pid == pid) { in LogoutUser()
436 if (up->ut_type == DEAD_PROCESS) { in LogoutUser()
438 * Cleaned up elsewhere. in LogoutUser()
443 strncpy(user, up->ut_user, sizeof (up->ut_user)); in LogoutUser()
444 user[sizeof (up->ut_user)] = '\0'; in LogoutUser()
445 strncpy(ttyn, up->ut_line, sizeof (up in LogoutUser()
[all...]

12345678910>>...24