• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/lib/libnvpair/

Lines Matching defs:nvl

115 #define	RENDER(pctl, type, nvl, name, val) \
120 CUSTPRTOPARG(pctl, type), nvl, name, val); \
124 DFLTPRTOPARG(pctl, type), nvl, name, val); \
129 #define ARENDER(pctl, type, nvl, name, arrp, count) \
134 CUSTPRTOPARG(pctl, type), nvl, name, arrp, count); \
138 DFLTPRTOPARG(pctl, type), nvl, name, arrp, count); \
191 nvlist_t *nvl, const char *name, vtype value) \
195 NOTE(ARGUNUSED(nvl)) \
224 nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
229 NOTE(ARGUNUSED(nvl)) \
259 nvlist_t *nvl, const char *name, nvlist_t *value)
279 nvlist_t *nvl, const char *name, nvlist_t **valuep, uint_t count)
564 nvlist_print_with_indent(nvlist_t *nvl, nvlist_prtctl_t pctl)
571 if (nvl == NULL)
575 (void) fprintf(fp, "nvlist version: %d\n", NVL_VERSION(nvl));
577 nvp = nvlist_next_nvpair(nvl, NULL);
587 RENDER(pctl, boolean, nvl, name, 1);
593 RENDER(pctl, boolean_value, nvl, name, val);
599 RENDER(pctl, byte, nvl, name, val);
605 RENDER(pctl, int8, nvl, name, val);
611 RENDER(pctl, uint8, nvl, name, val);
617 RENDER(pctl, int16, nvl, name, val);
623 RENDER(pctl, uint16, nvl, name, val);
629 RENDER(pctl, int32, nvl, name, val);
635 RENDER(pctl, uint32, nvl, name, val);
641 RENDER(pctl, int64, nvl, name, val);
647 RENDER(pctl, uint64, nvl, name, val);
653 RENDER(pctl, double, nvl, name, val);
659 RENDER(pctl, string, nvl, name, val);
665 ARENDER(pctl, boolean_array, nvl, name, val, nelem);
671 ARENDER(pctl, byte_array, nvl, name, val, nelem);
677 ARENDER(pctl, int8_array, nvl, name, val, nelem);
683 ARENDER(pctl, uint8_array, nvl, name, val, nelem);
689 ARENDER(pctl, int16_array, nvl, name, val, nelem);
695 ARENDER(pctl, uint16_array, nvl, name, val, nelem);
701 ARENDER(pctl, int32_array, nvl, name, val, nelem);
707 ARENDER(pctl, uint32_array, nvl, name, val, nelem);
713 ARENDER(pctl, int64_array, nvl, name, val, nelem);
719 ARENDER(pctl, uint64_array, nvl, name, val, nelem);
725 ARENDER(pctl, string_array, nvl, name, val, nelem);
731 RENDER(pctl, hrtime, nvl, name, val);
737 RENDER(pctl, nvlist, nvl, name, val);
743 ARENDER(pctl, nvlist_array, nvl, name, val, nelem);
750 nvp = nvlist_next_nvpair(nvl, nvp);
755 nvlist_print(FILE *fp, nvlist_t *nvl)
760 nvlist_print_with_indent(nvl, &pc);
764 nvlist_prt(nvlist_t *nvl, nvlist_prtctl_t pctl)
766 nvlist_print_with_indent(nvl, pctl);