/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | asru.c | 75 nvlist_prtctl_t pctl) 99 if (pctl) 100 nvlist_prt(rp->rec_nvl, pctl); 118 nvlist_prtctl_t pctl; local 121 if ((pctl = nvlist_prtctl_alloc()) != NULL) { 122 nvlist_prtctl_setdest(pctl, fp); 123 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); 126 rc = asru_verb23_cmn(lp, rp, fp, pctl); 128 nvlist_prtctl_free(pctl); 74 asru_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, nvlist_prtctl_t pctl) argument
|
H A D | error.c | 60 nvlist_prtctl_t pctl) 67 if (pctl) 68 nvlist_prt(rp->rec_nvl, pctl); 85 nvlist_prtctl_t pctl; local 88 if ((pctl = nvlist_prtctl_alloc()) != NULL) { 89 nvlist_prtctl_setdest(pctl, fp); 90 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); 93 rc = err_verb23_cmn(lp, rp, fp, pctl); 95 nvlist_prtctl_free(pctl); 59 err_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, nvlist_prtctl_t pctl) argument
|
H A D | info.c | 60 nvlist_prtctl_t pctl) 70 if (pctl) 71 nvlist_prt(rp->rec_nvl, pctl); 88 nvlist_prtctl_t pctl; local 91 if ((pctl = nvlist_prtctl_alloc()) != NULL) { 92 nvlist_prtctl_setdest(pctl, fp); 93 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); 96 rc = info_verb23_cmn(lp, rp, fp, pctl); 98 nvlist_prtctl_free(pctl); 59 info_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, nvlist_prtctl_t pctl) argument
|
H A D | nvlrender.c | 46 fmdump_render_nvlist(nvlist_prtctl_t pctl, void *private, nvlist_t *nvl, argument 50 FILE *fp = nvlist_prtctl_getdest(pctl); 69 nvlist_prtctl_doindent(pctl, 1); 70 nvlist_prtctl_dofmt(pctl, NVLIST_FMT_MEMBER_NAME, name);
|
H A D | fault.c | 152 nvlist_prtctl_t pctl) 190 if (pctl) 191 nvlist_prt(rp->rec_nvl, pctl); 209 nvlist_prtctl_t pctl; local 212 if ((pctl = nvlist_prtctl_alloc()) != NULL) { 213 nvlist_prtctl_setdest(pctl, fp); 214 nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL); 217 rc = flt_verb23_cmn(lp, rp, fp, pctl); 219 nvlist_prtctl_free(pctl); 151 flt_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, nvlist_prtctl_t pctl) argument
|
/illumos-gate/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 104 #define DFLTPRTOP(pctl, type) \ 105 ((pctl)->nvprt_dfltops->print_##type.op) 107 #define DFLTPRTOPARG(pctl, type) \ 108 ((pctl)->nvprt_dfltops->print_##type.arg) 110 #define CUSTPRTOP(pctl, type) \ 111 ((pctl)->nvprt_custops->print_##type.op) 113 #define CUSTPRTOPARG(pctl, type) \ 114 ((pctl)->nvprt_custops->print_##type.arg) 116 #define RENDER(pctl, type, nvl, name, val) \ 119 if ((pctl) 155 indent(nvlist_prtctl_t pctl, int onemore) argument 259 nvprint_nvlist(nvlist_prtctl_t pctl, void *private, nvlist_t *nvl, const char *name, nvlist_t *value) argument 279 nvaprint_nvlist_array(nvlist_prtctl_t pctl, void *private, nvlist_t *nvl, const char *name, nvlist_t **valuep, uint_t count) argument 312 nvlist_prtctl_setdest(nvlist_prtctl_t pctl, FILE *fp) argument 318 nvlist_prtctl_getdest(nvlist_prtctl_t pctl) argument 325 nvlist_prtctl_setindent(nvlist_prtctl_t pctl, enum nvlist_indent_mode mode, int start, int inc) argument 343 nvlist_prtctl_doindent(nvlist_prtctl_t pctl, int onemore) argument 350 nvlist_prtctl_setfmt(nvlist_prtctl_t pctl, enum nvlist_prtctl_fmt which, const char *fmt) argument 383 nvlist_prtctl_dofmt(nvlist_prtctl_t pctl, enum nvlist_prtctl_fmt which, ...) argument 509 prtctl_defaults(FILE *fp, struct nvlist_prtctl *pctl, struct nvlist_printops *ops) argument 528 struct nvlist_prtctl *pctl; local 545 nvlist_prtctl_free(nvlist_prtctl_t pctl) argument 565 nvlist_print_with_indent(nvlist_t *nvl, nvlist_prtctl_t pctl) argument 765 nvlist_prt(nvlist_t *nvl, nvlist_prtctl_t pctl) argument [all...] |