di_bytes_get
if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &buf) == 0 &&
if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &slotbuf) < 0)
if (di_bytes_get(mp, src, DI_DEVTYPPROP, &sz, &buf) == 0) {
if (di_bytes_get(did_mod(pd), did_dinode(pd), dpnm, &sz, &typbuf) < 0)
if (di_bytes_get(did_mod(pd), did_dinode(pd), dpnm, &sz, &typbuf) < 0)
extern int di_bytes_get(topo_mod_t *, di_node_t, const char *, int *,