Lines Matching refs:unum
191 char *buf, *unum;
201 if (nvlist_lookup_string(in, FM_FMRI_MEM_UNUM, &unum) != 0) {
208 * PA then use that. Otherwise just format the unum element.
220 * If we have a well-formed unum we step over the hc:// and
223 if (strncmp(unum, "hc://", 5) == 0) {
224 unum += 5;
225 unum = strchr(unum, '/');
226 ++unum;
228 escunum = unum;
231 preunum = topo_mod_strdup(mod, unum);
258 if (escunum != unum)
273 mem_fmri(topo_mod_t *mod, uint64_t pa, uint64_t offset, char *unum, int flags)
282 * If we have a well-formed unum we step over the hc:/// and
285 if (strncmp(unum, "hc://", 5) == 0) {
288 tstr = strchr(unum, '/');
289 unum = ++tstr;
294 err |= nvlist_add_string(asru, FM_FMRI_MEM_UNUM, unum);
316 char *unum;
322 if (nvlist_lookup_string(in, FM_FMRI_MEM_UNUM, &unum) != 0)
325 asru = mem_fmri(mod, pa, offset, unum, flags);