Lines Matching defs:link
691 sdev_getlink(struct vnode *linkvp, char **link)
719 *link = i_ddi_strdup(buf, KM_SLEEP);
727 * Place the link into dv->sdev_symlink
734 char *link = NULL;
740 err = sdev_getlink(linkvp, &link);
746 ASSERT(link != NULL);
747 dv->sdev_symlink = link;
1014 * in SDEV_INIT state, they have their link counts incremented only
1053 * link. However, if we're a directory, we don't remove our reference to
1059 * sdev_inactive expects nodes to have a link to themselves when we're
1061 * zombie and not via ready, then we're not going to have this link that
1063 * our link count by one to account for this.
1124 char *link = NULL;
1191 link = i_ddi_strdup(odv->sdev_symlink, KM_SLEEP);
1274 NULL, (void *)link, cred, SDEV_READY);
1276 if (link != NULL) {
1277 kmem_free(link, strlen(link) + 1);
1278 link = NULL;
1328 if (link != NULL) {
1329 kmem_free(link, strlen(link) + 1);
1330 link = NULL;
1443 char *link = NULL;
1507 error = sdev_getlink(vp, &link);
1511 ASSERT(link != NULL);
1518 error = sdev_mknode(ddv, nm, &dv, &vattr, vp, link,
1522 if (link != NULL) {
1523 kmem_free(link, strlen(link) + 1);
1524 link = NULL;
1730 * Implicit reconfig for nodes constructed by a link generator
1870 char *link = NULL;
2012 error = sdev_getlink(rvp, &link);
2024 ASSERT(link != NULL);
2032 rvp, link, cred, SDEV_READY);
2035 if (link != NULL) {
2036 kmem_free(link, strlen(link) + 1);
2037 link = NULL;
2729 * symbolic link, can be either relative and absolute