Home
last modified time | relevance | path

Searched refs:pri (Results 1 – 25 of 215) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/truss/
H A Dprint.c111 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_dec()
114 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_dec()
124 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_uns()
127 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_uns()
147 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_oct()
150 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_oct()
160 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_hex()
163 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_hex()
174 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_hhx()
177 pri->sys_leng += sprintf(pri->sys_string + pri->sys_leng, in prt_hhx()
[all …]
H A Dexpound.c468 show_uname(pri, (long)pri->sys_args[0]); in show_utssys()
471 show_ustat(pri, (long)pri->sys_args[0]); in show_utssys()
487 show_uname(pri, (long)pri->sys_args[0]); in show_utssys32()
1850 prt_ffg(pri, 0, pri->Rval1); in show_ffg()
2354 show_msgbuf(pri, pri->sys_args[2], in show_msgsys()
2357 show_msgbuf32(pri, pri->sys_args[2], in show_msgsys()
2400 show_msgbuf(pri, pri->sys_args[2], in show_msgsys()
5197 show_ioctl(pri, pri->sys_args[1], in expound()
5529 show_cladm(pri, pri->sys_args[0], pri->sys_args[1], in expound()
5546 show_msghdr(pri, pri->sys_args[1]); in expound()
[all …]
H A Dactions.c79 pri->Rval1 = pri->Rval2 = 0; in report_sleeping()
84 pri->length += printf("%s", pri->sys_string); in report_sleeping()
92 for (; pri->length < 4; pri->length++) in report_sleeping()
178 sysname(pri, sys, getsubcode(pri))); in jobcontrol()
256 sysname(pri, sys, getsubcode(pri))); in signalled()
475 pri->sys_leng = snprintf(pri->sys_string, pri->sys_ssize, in sysentry()
487 escape_string(pri, pri->sys_path); in sysentry()
626 for (; pri->length < 6; pri->length++) in sysexit()
820 pri->child = pri->Rval1; in sysexit()
845 pri->pname, pri->sys_args[1], in sysexit()
[all …]
H A Dmain.c118 pri = my_malloc(sizeof (*pri), NULL); in get_private()
119 (void) memset(pri, 0, sizeof (*pri)); in get_private()
142 free(pri); in free_private()
516 pri->exec_string = my_realloc(pri->exec_string, in main()
518 (void) strcpy(pri->exec_pname, pri->pname); in main()
520 pri->length += strlen(pri->sys_string); in main()
521 pri->exec_lwpid = pri->lwpstat->pr_lwpid; in main()
981 if (pri->exec_string && *pri->exec_string) { in worker_thread()
993 pri->pname, pri->sys_path); in worker_thread()
1148 pri->length += strlen(pri->sys_string); in worker_thread()
[all …]
H A Dstat.c54 show_stat64(pri, offset); in show_stat()
56 show_stat32(pri, offset); in show_stat()
58 show_stat32(pri, offset); in show_stat()
72 pri->pname, in show_stat32()
91 prtimestruc(pri, "at = ", &ts); in show_stat32()
93 prtimestruc(pri, "mt = ", &ts); in show_stat32()
99 pri->pname, in show_stat32()
117 pri->pname, in show_stat64_32()
143 pri->pname, in show_stat64_32()
161 pri->pname, in show_stat64()
[all …]
H A Dprocset.c49 show_procset(private_t *pri, long offset) in show_procset() argument
56 pri->pname, idop_enum(pri, psp->p_op)); in show_procset()
58 idtype_enum(pri, psp->p_lidtype), (long)psp->p_lid); in show_procset()
65 idop_enum(private_t *pri, idop_t arg) in idop_enum() argument
75 (void) sprintf(pri->code_buf, "%d", arg); in idop_enum()
76 str = (const char *)pri->code_buf; in idop_enum()
84 idtype_enum(private_t *pri, long arg) in idtype_enum() argument
103 (void) sprintf(pri->code_buf, "%ld", arg); in idtype_enum()
104 str = (const char *)pri->code_buf; in idtype_enum()
112 woptions(private_t *pri, int arg) in woptions() argument
[all …]
H A Dcodes.c1743 ioctl_ioccom(pri->code_buf, sizeof (pri->code_buf), in ioctlname()
1888 char *s = pri->code_buf; in rctl_local_action()
1921 char *s = pri->code_buf; in rctl_local_flags()
1968 char *str = pri->code_buf; in openarg()
2054 char *str = pri->code_buf; in ipcflags()
2081 str = ipcflags(pri, arg); in msgflags()
2099 str = ipcflags(pri, arg); in semflags()
2117 str = ipcflags(pri, arg); in shmflags()
2225 char *str = pri->code_buf; in strevents()
2250 char *str = pri->code_buf; in tiocflush()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dcollate.c209 return (p->pri); in substsearch()
284 *pri = *t; in _collate_lookup()
295 *pri = *sptr; in _collate_lookup()
316 *pri = p; in _collate_lookup()
324 *pri = lcc->lc_char_table[*t].pri[which]; in _collate_lookup()
332 *pri = match->pri.pri[which]; in _collate_lookup()
377 int pri; in _collate_wxfrm() local
435 if (pri <= 0) { in _collate_wxfrm()
444 *xf++ = pri; in _collate_wxfrm()
464 *xf++ = pri; in _collate_wxfrm()
[all …]
H A Dcollatefile.h90 int32_t pri[COLLATE_WEIGHTS_MAX]; member
95 int32_t pri[COLLATE_WEIGHTS_MAX]; member
100 collate_char_t pri; member
105 int32_t pri[COLLATE_STR_LEN]; member
/illumos-gate/usr/src/cmd/localedef/
H A Dcollate.c123 int32_t pri; member
130 int32_t pri; member
300 pri->pri = v; in set_pri()
319 if ((pri->pri < 0) || (pri->pri >= numpri)) { in resolve_pri()
324 pri = &prilist[pri->pri]; in resolve_pri()
333 return (pri->pri); in resolve_pri()
568 int32_t pri; in end_order() local
1023 w->pri = srch.pri; in add_weight()
1041 int32_t pri; in get_weight() local
1050 srch.pri = pri; in get_weight()
[all …]
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c73 #define CHANIDX(priv, pri) (2 * ((priv) != 0) + (pri == FMEV_HIPRI)) argument
75 #define CHAN_NAME(priv, pri) (chaninfo[CHANIDX(priv, pri)].name) argument
76 #define CHAN_BINDING(priv, pri) (chaninfo[CHANIDX(priv, pri)].binding) argument
77 #define CHAN_FLAGS(priv, pri) (chaninfo[CHANIDX(priv, pri)].flags) argument
157 vrfy_pri(fmev_pri_t pri) in vrfy_pri() argument
159 return (pri == FMEV_LOPRI || pri == FMEV_HIPRI ? in vrfy_pri()
168 if (vrfy_pri(pri) != FMEV_OK) in fmev_pri_string()
465 fmev_pri_t pri, in _i_fmev_publish() argument
479 pri, NULL, ntuples, ap); in _i_fmev_publish()
506 pri, NULL, ntuples, ap); in _fmev_publish()
[all …]
H A Dlibfmevent.h518 #define fmev_publish_nvl(cl1, cl2, pri, nvl) \ argument
522 pri, nvl)
527 #define fmev_rspublish_nvl(ruleset, cl1, cl2, pri, nvl) \ argument
531 pri, nvl)
538 #define fmev_publish(cl1, cl2, pri, ntuples, ...) \ argument
542 pri, \
549 #define fmev_rspublish(ruleset, cl1, cl2, pri, ntuples, ...) \ argument
553 pri, \
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dloadpri.c39 static long pri; variable
110 pri = strtol(line, &p, 10); in ld_priority_file()
113 if (pri < PRI_MIN || pri > PRI_MAX) in ld_priority_file()
116 pri_tbl.deflt = pri; in ld_priority_file()
131 opri = pri; in ld_priority_file()
137 if (pri == -1) break; in ld_priority_file()
151 add_user (&pri_tbl, user, pri); in ld_priority_file()
155 while (pri != -1); in ld_priority_file()
216 pri = temp; in next_user()
233 pri = -1; in next_user()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dloglevel.c17 int fac, pri; local
21 pri = 0;
37 pri = pri_findname(s);
38 if (pri == -1) {
44 pri = pri_findname(*cpp);
45 if (pri == -1) {
51 *facpri = fac|pri;
H A Dfacpri.c142 int i, pri; local
144 pri = facpri & LOG_PRIMASK;
145 if (pris[pri].value == pri)
146 return pris[pri].name;
148 if (pri == pris[i].value)
/illumos-gate/usr/src/uts/common/syscall/
H A Dstrcalls.c69 unsigned char pri = 0; in getmsg() local
110 unsigned char pri = 0; in putmsg() local
146 unsigned char pri; in getpmsg() local
155 pri = (unsigned char)intpri; in getpmsg()
161 intpri = (int)pri; in getpmsg()
171 unsigned char pri; in putpmsg() local
298 unsigned char pri = 0; in getmsg32() local
339 unsigned char pri = 0; in putmsg32() local
375 unsigned char pri; in getpmsg32() local
390 intpri = (int)pri; in getpmsg32()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_syslog.c33 smb_svc_log(int pri, const char *fmt, va_list ap) in smb_svc_log() argument
42 pri &= LOG_PRIMASK; in smb_svc_log()
43 if (smbd.s_debug == 0 && pri == LOG_DEBUG) in smb_svc_log()
57 (void) fprintf(stdout, "smbd.%s: ", pri_name[pri]); in smb_svc_log()
73 smb_vsyslog(int pri, const char *fmt, va_list ap) in smb_vsyslog() argument
78 smb_svc_log(pri, fmt, tap); in smb_vsyslog()
81 vsyslog(pri, fmt, ap); in smb_vsyslog()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c141 char *pri; in logger_emit() local
157 pri = "[T]"; in logger_emit()
160 pri = "[D]"; in logger_emit()
163 pri = "[I]"; in logger_emit()
166 pri = "[W]"; in logger_emit()
170 pri = "[E]"; in logger_emit()
181 …ogmsg), "[%d]: %s.%03d %s %s:%d: %s\n", pid, tbuf, (int)(tnow.tv_usec/1000), pri, file, line, buf); in logger_emit()
183 …snprintf (logmsg, sizeof(logmsg), "%s.%03d %s %s:%d: %s\n", tbuf, (int)(tnow.tv_usec/1000), pri, f… in logger_emit()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl262 my ($pub, $pri, $obs, $evo, $vers, $new_path);
268 $pri = '';
281 output($path, $pub, $pri, $obs, $evo);
284 $pri = '';
300 $pri .= $vers . ":";
317 output($path, $pub, $pri, $obs, $evo);
327 my ($path, $pub, $pri, $obs, $evo) = @_;
333 $pri =~ s/:$//;
341 if ($pri && ! $pub && ! $obs && ! $evo) {
357 } elsif (! $pri && ! $pub && ! $obs && ! $evo) {
/illumos-gate/usr/src/cmd/bhyve/
H A Dconsole.c89 console_kbd_register(kbd_event_func_t event_cb, void *arg, int pri) in console_kbd_register() argument
91 if (pri > console.kbd_priority) { in console_kbd_register()
94 console.kbd_priority = pri; in console_kbd_register()
99 console_ptr_register(ptr_event_func_t event_cb, void *arg, int pri) in console_ptr_register() argument
101 if (pri > console.ptr_priority) { in console_ptr_register()
104 console.ptr_priority = pri; in console_ptr_register()
/illumos-gate/usr/src/cmd/expr/
H A Dexpr.c100 static int pri[] = { variable
546 if (pri[op1-OR] <= prior) in expres()
570 r1 = match(r1, expres(pri[op1-OR], 0)); in expres()
601 rb = expres(pri[op1-OR], 0); in expres()
602 ra = expres(pri[op1-OR], 0); in expres()
605 rc = expres(pri[op1-OR], 0); in expres()
606 rb = expres(pri[op1-OR], 0); in expres()
607 ra = expres(pri[op1-OR], 0); in expres()
610 ra = expres(pri[op1-OR], 0); in expres()
613 rb = expres(pri[op1-OR], 0); in expres()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dsyslog.h75 #define LOG_MASK(pri) (1 << (pri)) /* mask for one priority */ argument
76 #define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /* all priorities through pri */ argument
H A Dsobject.h72 #define SOBJ_CHANGE_PRI(sobj_ops, t, pri) \ argument
73 (*(sobj_ops->sobj_change_pri))(t, pri, &t->t_pri)
74 #define SOBJ_CHANGE_EPRI(sobj_ops, t, pri) \ argument
75 (*(sobj_ops->sobj_change_pri))(t, pri, &t->t_epri)
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_syslog.c29 smb_vsyslog(int pri, const char *fmt, va_list ap) in smb_vsyslog() argument
31 vsyslog(pri, fmt, ap); in smb_vsyslog()
38 smb_syslog(int pri, const char *fmt, ...) in smb_syslog() argument
43 smb_vsyslog(pri, fmt, ap); in smb_syslog()
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_log.c39 smb_vsyslog(int pri, const char *fmt, va_list ap) in smb_vsyslog() argument
45 pri &= LOG_PRIMASK; in smb_vsyslog()
47 if (smbd.s_debug == 0 && pri > LOG_INFO) in smb_vsyslog()
53 (void) fprintf(stdout, "fksmbd.%s: ", pri_name[pri]); in smb_vsyslog()

123456789