Searched refs:sh_res (Results 1 – 9 of 9) sorted by relevance
87 sh->sh_res = (char *)strtok_r(NULL, w, &lasts); in getshare()88 if (sh->sh_res == NULL) in getshare()119 if (sh->sh_res) { in sharedup()120 nsh->sh_res = strdup(sh->sh_res); in sharedup()121 if (nsh->sh_res == NULL) in sharedup()151 if (sh->sh_res != NULL) in sharefree()152 free(sh->sh_res); in sharefree()
87 sh->sh_res = strtok(NULL, w); in getshare()88 if (sh->sh_res == NULL) in getshare()116 nsh->sh_res = strdup(sh->sh_res); in sharedup()117 if (nsh->sh_res == NULL) in sharedup()142 if (sh->sh_res != NULL) in sharefree()143 free(sh->sh_res); in sharefree()
44 char *sh_res; member55 caddr32_t sh_res; member
59 j = (sh->sh_res ? strlen(sh->sh_res) : 0); in _sharefs()
1400 newp->resource = strdup(sharetab_entry->sh_res); in get_share_list()2017 sh->sh_res = buff; in sa_fillshare()2023 sh->sh_res = strdup("-"); in sa_fillshare()2068 if (sh->sh_res != NULL) in sa_emptyshare()2069 free(sh->sh_res); in sa_emptyshare()2070 sh->sh_res = NULL; in sa_emptyshare()
1332 j = (sh->sh_res ? strlen(sh->sh_res) : 0); in sa_share_zfs()
308 newp->resource = strdup(sharetab_entry->sh_res); in create_sharelist_entry()
116 sh->sh_res, in sharefs_snap_create()
242 strlen(sh->sh_res) + strlen(sh->sh_fstype) + in sharefs_add()