Lines Matching refs:nsh
107 share_t *nsh;
109 nsh = (share_t *)calloc(1, sizeof (*nsh));
110 if (nsh == NULL)
114 nsh->sh_path = strdup(sh->sh_path);
115 if (nsh->sh_path == NULL)
120 nsh->sh_res = strdup(sh->sh_res);
121 if (nsh->sh_res == NULL)
125 nsh->sh_fstype = strdup(sh->sh_fstype);
126 if (nsh->sh_fstype == NULL)
130 nsh->sh_opts = strdup(sh->sh_opts);
131 if (nsh->sh_opts == NULL)
135 nsh->sh_descr = strdup(sh->sh_descr);
136 if (nsh->sh_descr == NULL)
139 return (nsh);
142 sharefree(nsh);