Searched refs:sharetab_entry (Results 1 – 2 of 2) sorted by relevance
53 fs_sharelist_t *create_sharelist_entry(struct share *sharetab_entry,94 struct share *sharetab_entry; in fs_get_share_list() local97 while (getshare(fp, &sharetab_entry) > 0) { in fs_get_share_list()99 newp = create_sharelist_entry(sharetab_entry, errp); in fs_get_share_list()282 create_sharelist_entry(struct share *sharetab_entry, int *errp) in create_sharelist_entry() argument298 newp->path = strdup(sharetab_entry->sh_path); in create_sharelist_entry()308 newp->resource = strdup(sharetab_entry->sh_res); in create_sharelist_entry()318 newp->fstype = strdup(sharetab_entry->sh_fstype); in create_sharelist_entry()328 newp->options = strdup(sharetab_entry->sh_opts); in create_sharelist_entry()338 newp->description = strdup(sharetab_entry->sh_descr); in create_sharelist_entry()
1374 struct share *sharetab_entry; in get_share_list() local1379 while (getshare(fp, &sharetab_entry) > 0) { in get_share_list()1399 newp->path = strdup(sharetab_entry->sh_path); in get_share_list()1400 newp->resource = strdup(sharetab_entry->sh_res); in get_share_list()1401 newp->fstype = strdup(sharetab_entry->sh_fstype); in get_share_list()1402 newp->options = strdup(sharetab_entry->sh_opts); in get_share_list()1403 newp->description = strdup(sharetab_entry->sh_descr); in get_share_list()