Lines Matching refs:headp
58 fs_free_share_list(fs_sharelist_t *headp)
62 while (headp != NULL) {
63 tmp = headp->next;
64 free(headp->path);
65 free(headp->resource);
66 free(headp->fstype);
67 free(headp->options);
68 free(headp->description);
69 headp->next = NULL;
70 free(headp);
72 headp = tmp;
83 fs_sharelist_t *headp;
87 headp = NULL;
101 fs_free_share_list(headp);
107 if (headp == NULL) {
108 headp = newp;
125 return (headp);