Home
last modified time | relevance | path

Searched refs:fmri_packsz (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_fmri.c46 (errno = nvlist_size(nvl, &fmri->fmri_packsz, in cmd_fmri_init()
50 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); in cmd_fmri_init()
52 if ((errno = nvlist_pack(nvl, &fmri->fmri_packbuf, &fmri->fmri_packsz, in cmd_fmri_init()
65 fmd_hdl_free(hdl, fmri->fmri_packbuf, fmri->fmri_packsz); in cmd_fmri_fini()
78 fmri->fmri_packsz)) == NULL) { in cmd_fmri_restore()
83 if (nvlist_unpack(fmri->fmri_packbuf, fmri->fmri_packsz, in cmd_fmri_restore()
96 fmri->fmri_packsz && sz != 0) in cmd_fmri_write()
100 fmri->fmri_packsz); in cmd_fmri_write()
H A Dcmd_fmri.h68 size_t fmri_packsz; /* Size of packed nvlist buffer */ member
/titanic_50/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_fmri.c44 (errno = nvlist_size(nvl, &fmri->fmri_packsz, in gmem_fmri_init()
48 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); in gmem_fmri_init()
50 if ((errno = nvlist_pack(nvl, &fmri->fmri_packbuf, &fmri->fmri_packsz, in gmem_fmri_init()
63 fmd_hdl_free(hdl, fmri->fmri_packbuf, fmri->fmri_packsz); in gmem_fmri_fini()
76 fmri->fmri_packsz)) == NULL) { in gmem_fmri_restore()
81 if (nvlist_unpack(fmri->fmri_packbuf, fmri->fmri_packsz, in gmem_fmri_restore()
94 fmri->fmri_packsz && sz != 0) in gmem_fmri_write()
98 fmri->fmri_packsz); in gmem_fmri_write()
H A Dgmem_fmri.h65 size_t fmri_packsz; /* Size of packed nvlist buffer */ member