Home | History | Annotate | Download | only in libvirtif

Lines Matching defs:sc_linkstr

64 	char *sc_linkstr;
87 if ((error = VIFHYPER_CREATE(sc->sc_linkstr,
134 sc->sc_linkstr = kmem_alloc(LINKSTRNUMLEN, KM_SLEEP);
135 if (sc->sc_linkstr == NULL) {
139 snprintf(sc->sc_linkstr, LINKSTRNUMLEN, "%d", sc->sc_num);
144 if (sc->sc_linkstr != NULL)
145 kmem_free(sc->sc_linkstr, LINKSTRNUMLEN);
210 if (!sc->sc_linkstr) {
214 linkstrlen = strlen(sc->sc_linkstr)+1;
226 rv = copyoutstr(sc->sc_linkstr,
242 } else if (sc->sc_linkstr) {
256 sc->sc_linkstr = kmem_alloc(ifd->ifd_len, KM_SLEEP);
257 rv = copyinstr(ifd->ifd_data, sc->sc_linkstr,
260 kmem_free(sc->sc_linkstr, ifd->ifd_len);
266 kmem_free(sc->sc_linkstr, ifd->ifd_len);
271 if (!sc->sc_linkstr)