Searched refs:nsh (Results 1 – 2 of 2) sorted by relevance
107 share_t *nsh; in sharedup() local109 nsh = (share_t *)calloc(1, sizeof (*nsh)); in sharedup()110 if (nsh == NULL) in sharedup()113 nsh->sh_path = strdup(sh->sh_path); in sharedup()114 if (nsh->sh_path == NULL) in sharedup()116 nsh->sh_res = strdup(sh->sh_res); in sharedup()117 if (nsh->sh_res == NULL) in sharedup()119 nsh->sh_fstype = strdup(sh->sh_fstype); in sharedup()120 if (nsh->sh_fstype == NULL) in sharedup()122 nsh->sh_opts = strdup(sh->sh_opts); in sharedup()[all …]
107 share_t *nsh; in sharedup() local109 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()[all …]