Home
last modified time | relevance | path

Searched refs:pctl (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libnvpair/
H A Dlibnvpair.c120 done = CUSTPRTOP(pctl, type)(pctl, \
124 (void) DFLTPRTOP(pctl, type)(pctl, \
127 (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \
134 done = CUSTPRTOP(pctl, type)(pctl, \
138 (void) DFLTPRTOP(pctl, type)(pctl, \
141 (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \
267 pctl->nvprt_indent += pctl->nvprt_indentinc; in nvprint_nvlist()
269 pctl->nvprt_indent -= pctl->nvprt_indentinc; in nvprint_nvlist()
292 pctl->nvprt_indent += pctl->nvprt_indentinc; in nvaprint_nvlist_array()
294 pctl->nvprt_indent -= pctl->nvprt_indentinc; in nvaprint_nvlist_array()
[all …]
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Derror.c60 nvlist_prtctl_t pctl) in err_verb23_cmn() argument
67 if (pctl) in err_verb23_cmn()
68 nvlist_prt(rp->rec_nvl, pctl); in err_verb23_cmn()
85 nvlist_prtctl_t pctl; in err_pretty() local
88 if ((pctl = nvlist_prtctl_alloc()) != NULL) { in err_pretty()
89 nvlist_prtctl_setdest(pctl, fp); in err_pretty()
90 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); in err_pretty()
93 rc = err_verb23_cmn(lp, rp, fp, pctl); in err_pretty()
95 nvlist_prtctl_free(pctl); in err_pretty()
H A Dinfo.c60 nvlist_prtctl_t pctl) in info_verb23_cmn() argument
70 if (pctl) in info_verb23_cmn()
71 nvlist_prt(rp->rec_nvl, pctl); in info_verb23_cmn()
88 nvlist_prtctl_t pctl; in info_pretty() local
91 if ((pctl = nvlist_prtctl_alloc()) != NULL) { in info_pretty()
92 nvlist_prtctl_setdest(pctl, fp); in info_pretty()
93 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); in info_pretty()
96 rc = info_verb23_cmn(lp, rp, fp, pctl); in info_pretty()
98 nvlist_prtctl_free(pctl); in info_pretty()
H A Dasru.c75 nvlist_prtctl_t pctl) in asru_verb23_cmn() argument
99 if (pctl) in asru_verb23_cmn()
100 nvlist_prt(rp->rec_nvl, pctl); in asru_verb23_cmn()
118 nvlist_prtctl_t pctl; in asru_pretty() local
121 if ((pctl = nvlist_prtctl_alloc()) != NULL) { in asru_pretty()
122 nvlist_prtctl_setdest(pctl, fp); in asru_pretty()
123 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); in asru_pretty()
126 rc = asru_verb23_cmn(lp, rp, fp, pctl); in asru_pretty()
128 nvlist_prtctl_free(pctl); in asru_pretty()
H A Dnvlrender.c46 fmdump_render_nvlist(nvlist_prtctl_t pctl, void *private, nvlist_t *nvl, in fmdump_render_nvlist() argument
50 FILE *fp = nvlist_prtctl_getdest(pctl); in fmdump_render_nvlist()
69 nvlist_prtctl_doindent(pctl, 1); in fmdump_render_nvlist()
70 nvlist_prtctl_dofmt(pctl, NVLIST_FMT_MEMBER_NAME, name); in fmdump_render_nvlist()
H A Dfault.c152 nvlist_prtctl_t pctl) in flt_verb23_cmn() argument
190 if (pctl) in flt_verb23_cmn()
191 nvlist_prt(rp->rec_nvl, pctl); in flt_verb23_cmn()
209 nvlist_prtctl_t pctl; in flt_pretty() local
212 if ((pctl = nvlist_prtctl_alloc()) != NULL) { in flt_pretty()
213 nvlist_prtctl_setdest(pctl, fp); in flt_pretty()
214 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); in flt_pretty()
217 rc = flt_verb23_cmn(lp, rp, fp, pctl); in flt_pretty()
219 nvlist_prtctl_free(pctl); in flt_pretty()