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