Searched refs:prp (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Drestrict.c39 extern void *restrict *prp;
42 prp = &rp; /* check-should-pass */
43 prp = &up; /* check-should-pass */
44 prp = pup;
49 pup = prp; /* check-should-fail */
54 extern typeof(&rp) prp;
57 prp = &rp; /* check-should-pass */
58 prp = &up; /* check-should-pass */
59 prp = pup;
64 pup = prp; /* chec
[all...]
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dgetprinter.c59 PRINTER *prp; local
140 prp = calloc(sizeof (*prp), 1);
141 prp->name = Strdup(name);
144 prp->printer_types = getlist(NAME_UNKNOWN, LP_WS, LP_SEP);
145 prp->input_types = getlist(NAME_SIMPLE, LP_WS, LP_SEP);
147 prp->modules = getlist(NAME_DEFAULT, LP_WS, LP_SEP);
188 prp->banner = BAN_OPTIONAL;
190 prp->banner = BAN_NEVER;
192 prp
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dpgrp.c82 register proc_t *prp; local
85 for (prp = pidp->pid_pglink; prp; prp = prp->p_pglink) {
86 mutex_enter(&prp->p_lock);
87 sigtoproc(prp, NULL, sig);
88 mutex_exit(&prp->p_lock);
102 register proc_t *prp; local
106 for (prp
251 register proc_t *prp; local
[all...]
H A Dsched.c154 proc_t *prp; local
201 for (prp = practive; prp != NULL; prp = prp->p_next) {
202 if (not_swappable(prp))
208 if (prp->p_swapcnt) {
215 mutex_enter(&prp->p_lock);
217 t = prp->p_tlist;
231 } while ((t = t->t_forw) != prp
[all...]
H A Dpid.c160 pid_allocate(proc_t *prp, pid_t pid, int flags) argument
212 pep->pe_proc = prp;
213 prp->p_pidp = pidp;
214 prp->p_lockp = &proc_lock[pid_getlockslot(pidp->pid_prslot)];
270 pid_exit(proc_t *prp, struct task *tk) argument
273 zone_t *zone = prp->p_zone;
281 ASSERT(prp->p_pgidp != NULL || prp->p_stat == SIDL);
282 if (prp->p_pgidp != NULL)
283 pgexit(prp);
556 proc_t *prp; local
579 proc_t *prp; local
[all...]
H A Dprocset.c86 proc_t *prp; /* A process from the set */ local
134 if (((prp = prfind((pid_t)pid)) == NULL) ||
135 (prp->p_stat == SIDL || prp->p_stat == SZOMB ||
136 prp->p_tlist == NULL || prp->p_flag & SSYS)) {
150 error = (*funcp)(prp, arg);
161 for (prp = practive; prp != NULL; prp
[all...]
H A Dklpd.c849 pfexec_reply_t pr, *prp; local
913 prp = (pfexec_reply_t *)da.rbuf;
919 prp->pfr_ioff > da.rsize - sizeof (priv_set_t) ||
920 prp->pfr_loff > da.rsize - sizeof (priv_set_t) ||
921 (prp->pfr_loff & (sizeof (priv_chunk_t) - 1)) != 0 ||
922 (prp->pfr_ioff & (sizeof (priv_chunk_t) - 1)) != 0)
936 if (!prp->pfr_allowed) {
940 if (!prp->pfr_setcred) {
952 if (crsetresuid(ncr, prp->pfr_ruid, prp
[all...]
/illumos-gate/usr/src/uts/sparc/fs/proc/
H A Dprmachdep.c93 prgetprregs(klwp_t *lwp, prgregset_t prp) argument
100 bzero(prp, sizeof (prp));
106 prp[R_G1] = gr[REG_G1];
107 prp[R_G2] = gr[REG_G2];
108 prp[R_G3] = gr[REG_G3];
109 prp[R_G4] = gr[REG_G4];
110 prp[R_G5] = gr[REG_G5];
111 prp[R_G6] = gr[REG_G6];
112 prp[R_G
155 prsetprregs(klwp_t *lwp, prgregset_t prp, int initial) argument
312 prgetprregs32(klwp_t *lwp, prgregset32_t prp) argument
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_provider.c240 dt_probe_t *prp; local
309 if ((prp = dt_probe_create(dtp, idp, 2,
315 dt_probe_declare(pvp, prp);
319 * cached argument descriptions and assign types to prp->pr_nargv[]
320 * and prp->pr_xargv[] and assign mappings to prp->pr_mapping[].
334 dt_node_type_assign(prp->pr_nargv[adp->dtargd_mapping],
341 dt_node_type_propagate(prp->pr_nargv[
342 adp->dtargd_mapping], prp->pr_xargv[i]);
354 dt_node_type_assign(prp
413 dt_probe_t *prp; local
487 dt_probe_declare(dt_provider_t *pvp, dt_probe_t *prp) argument
501 dt_probe_destroy(dt_probe_t *prp) argument
530 dt_probe_define(dt_provider_t *pvp, dt_probe_t *prp, const char *fname, const char *rname, uint32_t offset, int isenabled) argument
625 dt_probe_tag(dt_probe_t *prp, uint_t argn, dt_node_t *dnp) argument
682 dt_probe_t *prp = NULL; local
823 const dt_probe_t *prp = idp->di_data; local
[all...]
H A Ddt_program.c403 dt_probe_t *prp = idp->di_data; local
410 p = prp->pr_name;
414 fname = alloca(strlen(prp->pr_name) + 1 + i);
415 dt_header_fmt_func(fname, prp->pr_name);
421 for (dnp = prp->pr_nargs, i = 0; dnp != NULL; dnp = dnp->dn_list, i++) {
427 if (i + 1 != prp->pr_nargc &&
456 dt_probe_t *prp = idp->di_data; local
461 p = prp->pr_name;
465 mname = alloca(strlen(prp->pr_name) + 1);
466 dt_header_fmt_macro(mname, prp
[all...]
H A Ddt_dof.c398 dt_probe_t *prp = idp->di_data; local
409 dofpr.dofpr_name = dof_add_string(ddo, prp->pr_name);
412 for (dnp = prp->pr_nargs; dnp != NULL; dnp = dnp->dn_list) {
419 for (dnp = prp->pr_xargs; dnp != NULL; dnp = dnp->dn_list) {
426 for (i = 0; i < prp->pr_xargc; i++) {
427 dt_buf_write(dtp, &ddo->ddo_args, &prp->pr_mapping[i],
431 dofpr.dofpr_nargc = prp->pr_nargc;
432 dofpr.dofpr_xargc = prp->pr_xargc;
436 for (pip = prp->pr_inst; pip != NULL; pip = pip->pi_next) {
438 prp
[all...]
H A Ddt_ident.c315 dt_probe_t *prp = yypcb->pcb_probe; local
342 if (prp == NULL) {
349 if (ap->dn_value >= prp->pr_argc) {
362 xnp = prp->pr_xargv[ap->dn_value];
363 nnp = prp->pr_nargv[prp->pr_mapping[ap->dn_value]];
385 prp->pr_argv[ap->dn_value].dtt_ctfp,
386 prp->pr_argv[ap->dn_value].dtt_type,
387 prp->pr_argv[ap->dn_value].dtt_flags & DTT_FL_USER ?
392 dxp = dt_xlator_lookup(dtp, dt_probe_tag(prp, a
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c151 lbp->prp = NULL;
275 struct processed_records *prp, *tprp; local
278 if (lbp->prp) {
279 if (lbp->last_record_offset == lbp->prp->start_offset) {
283 lbp->prp->start_offset + lbp->prp->len;
289 prp = lbp->prp;
291 tprp = prp->next;
292 free(prp);
636 struct processed_records *prp, *tp; local
[all...]
H A Dnfslogd.h130 struct processed_records *prp; /* list of processed chunks */ member in struct:nfslog_buf
/illumos-gate/usr/src/uts/common/syscall/
H A Dutssys.c315 proc_t *prp; local
339 for (npids = 0, prp = practive; prp != NULL; prp = prp->p_next) {
340 if (inglobal || prp->p_zone == zone)
341 pidlist[npids++] = prp->p_pid;
357 * grab prp->p_lock using sprlock()
360 prp = sprlock(pid);
361 if (prp
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Derror.c44 prp();
53 prp();
H A Dprint.c61 prp() function
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c380 prompt_t *prp,
399 ret = quiesce_confirm(apidp, MSG_RMDEV, prp, &proceed, &do_quiesce,
443 ret = dev_hotplug(apidp, prp, flags, do_quiesce, errstring);
491 prompt_t *prp,
509 ret = quiesce_confirm(apidp, MSG_INSDEV, prp, &proceed, &do_quiesce,
521 ret = dev_hotplug(apidp, prp, flags, do_quiesce, errstring);
545 prompt_t *prp,
564 ret = quiesce_confirm(apidp, MSG_REPLDEV, prp, &proceed, &do_quiesce,
603 ret = dev_hotplug(apidp, prp, flags, do_quiesce, errstring);
634 prompt_t *prp,
376 dev_remove( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
487 dev_insert( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
541 dev_replace( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
630 dev_led( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
653 reset_common( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
786 quiesce_confirm( apid_t *apidp, msgid_t cmd_msg, prompt_t *prp, int *okp, int *quiesce, int *l_errnop) argument
[all...]
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c656 const psinfo_t *prp = Ppsinfo(P); local
675 if (prp != NULL && WIFSIGNALED(prp->pr_wstat)) {
677 proc_signame(WTERMSIG(prp->pr_wstat),
679 } else if (prp != NULL && WEXITSTATUS(prp->pr_wstat) != 0) {
681 pid, WEXITSTATUS(prp->pr_wstat));
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_dds.c877 vdds_ranges_t *prp; local
965 prp = &prng[rnum];
966 if (prp->child_hi == HVCOOKIE(cba->cookie)) {
973 prp = &prng[rnum];
974 if (prp->child_hi == 0) {
988 prp->child_hi = HVCOOKIE(cba->cookie);
989 prp->child_lo = 0;
990 prp->parent_hi = 0x80000000 | (start >> 32);
991 prp->parent_lo = start & 0x00000000FFFFFFFF;
992 prp
1183 vdds_ranges_t *prp; local
[all...]
/illumos-gate/usr/src/uts/intel/fs/proc/
H A Dprmachdep.c94 prgetprregs(klwp_t *lwp, prgregset_t prp) argument
98 getgregs(lwp, prp);
106 prsetprregs(klwp_t *lwp, prgregset_t prp, int initial) argument
110 (void) setgregs(lwp, prp);
154 prgetprregs32(klwp_t *lwp, prgregset32_t prp) argument
157 getgregs32(lwp, prp);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c287 struct driver_properties *prp; local
336 prp = &sc->props;
337 (void)init_driver_props(sc, prp);
409 if (prp->wc) {
531 pi->tmr_idx = prp->tmr_idx_10g;
532 pi->pktc_idx = prp->pktc_idx_10g;
535 pi->tmr_idx = prp->tmr_idx_10g;
536 pi->pktc_idx = prp->pktc_idx_10g;
539 pi->tmr_idx = prp->tmr_idx_10g;
540 pi->pktc_idx = prp
[all...]
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c751 const psinfo_t *prp = Ppsinfo(P); local
770 if (prp != NULL && WIFSIGNALED(prp->pr_wstat)) {
772 proc_signame(WTERMSIG(prp->pr_wstat),
774 } else if (prp != NULL && WEXITSTATUS(prp->pr_wstat) != 0) {
776 pid, WEXITSTATUS(prp->pr_wstat));
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c294 typedef_parse(char *defn, const char *name, parse_root_t **prp) argument
401 *prp = pr;
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c441 proc_t *prp = thing; local
443 *prp = *p;
445 if (copyout(prp, cmaddr, sizeof (proc_t)))
447 kmem_free(prp, sizeof (proc_t));
2004 proc_t *prp = thing; local
2006 *prp = *p;
2008 if (copyout(prp, cmaddr, sizeof (proc_t)))
2010 kmem_free(prp, sizeof (proc_t));
3061 prsetrun(kthread_t *t, prrun_t *prp) argument
3065 long flags = prp
[all...]

Completed in 282 milliseconds

12