Home
last modified time | relevance | path

Searched refs:erunum (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_unum.c295 unum_contains_bypat(const char *erunum, const char *eeunum) in unum_contains_bypat() argument
301 if (mem_unum_burst(erunum, &ernms, &nernms) < 0) in unum_contains_bypat()
351 unum_contains_bysubstr(const char *erunum, const char *eeunum) in unum_contains_bysubstr() argument
360 if ((strncmp(erunum, "/N", 2) != 0 && strncmp(erunum, "/IO", 3) != 0 && in unum_contains_bysubstr()
361 strncmp(erunum, "/SB", 3) != 0) || in unum_contains_bysubstr()
364 if (ISHCUNUM(erunum) && ISHCUNUM(eeunum)) { in unum_contains_bysubstr()
366 erlen = strlen(erunum); in unum_contains_bysubstr()
374 erlen = unum_strip_one_jnum(erunum, &erlen) ? in unum_contains_bysubstr()
375 erlen : strlen(erunum); in unum_contains_bysubstr()
380 return (strncmp(erunum, eeunum, MIN(erlen, eelen)) == 0); in unum_contains_bysubstr()
[all …]
H A Dmem.c419 char *erunum, *eeunum; in fmd_fmri_contains() local
432 if (mem_fmri_get_unum(er, &erunum) < 0 || in fmd_fmri_contains()
436 if (mem_unum_contains(erunum, eeunum) <= 0) in fmd_fmri_contains()