Home
last modified time | relevance | path

Searched refs:mtn (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c813 mnttab_node_t *mtn; in libzfs_mnttab_update() local
817 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_update()
818 mtn->mtn_mt.mnt_special = zfs_strdup(hdl, entry.mnt_special); in libzfs_mnttab_update()
819 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, entry.mnt_mountp); in libzfs_mnttab_update()
820 mtn->mtn_mt.mnt_fstype = zfs_strdup(hdl, entry.mnt_fstype); in libzfs_mnttab_update()
821 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, entry.mnt_mntopts); in libzfs_mnttab_update()
822 avl_add(&hdl->libzfs_mnttab_cache, mtn); in libzfs_mnttab_update()
830 mnttab_node_t *mtn; in libzfs_mnttab_fini() local
832 while (mtn = avl_destroy_nodes(&hdl->libzfs_mnttab_cache, &cookie)) { in libzfs_mnttab_fini()
833 free(mtn->mtn_mt.mnt_special); in libzfs_mnttab_fini()
[all …]