Searched refs:pctl (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 104 #define DFLTPRTOP(pctl, type) \ argument 105 ((pctl)->nvprt_dfltops->print_##type.op) 107 #define DFLTPRTOPARG(pctl, type) \ argument 108 ((pctl)->nvprt_dfltops->print_##type.arg) 110 #define CUSTPRTOP(pctl, type) \ argument 111 ((pctl)->nvprt_custops->print_##type.op) 113 #define CUSTPRTOPARG(pctl, type) \ argument 114 ((pctl)->nvprt_custops->print_##type.arg) 116 #define RENDER(pctl, type, nvl, name, val) \ argument 119 if ((pctl)->nvprt_custops && CUSTPRTOP(pctl, type)) { \ [all …]
|
/titanic_44/usr/src/cmd/fm/fmdump/common/ |
H A D | error.c | 60 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 D | info.c | 60 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 D | asru.c | 75 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 D | nvlrender.c | 46 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 D | fault.c | 152 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()
|