Lines Matching defs:entry

749 	struct mnttab entry;
752 while (getmntent(hdl->libzfs_mnttab, &entry) == 0) {
755 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0)
758 mtn->mtn_mt.mnt_special = zfs_strdup(hdl, entry.mnt_special);
759 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, entry.mnt_mountp);
760 mtn->mtn_mt.mnt_fstype = zfs_strdup(hdl, entry.mnt_fstype);
761 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, entry.mnt_mntopts);
790 struct mnttab *entry)
803 if (getmntany(hdl->libzfs_mnttab, entry, &srch) == 0)
815 *entry = mtn->mtn_mt;
1805 * the contents of the /etc/mnttab entry, searching for the appropriate options.
1867 struct mnttab entry;
1869 if (libzfs_mnttab_find(hdl, zhp->zfs_name, &entry) == 0) {
1871 entry.mnt_mntopts);
3996 zprop_list_t *entry;
4008 entry = *plp;
4009 if (entry->pl_all && nvlist_next_nvpair(userprops, NULL) != NULL) {
4035 if ((entry = zfs_alloc(hdl,
4037 ((entry->pl_user_prop = zfs_strdup(hdl,
4039 free(entry);
4043 entry->pl_prop = ZPROP_INVAL;
4044 entry->pl_width = strlen(nvpair_name(elem));
4045 entry->pl_all = B_TRUE;
4046 *last = entry;
4054 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
4055 if (entry->pl_fixed && !literal)
4058 if (entry->pl_prop != ZPROP_INVAL) {
4059 if (zfs_prop_get(zhp, entry->pl_prop,
4061 if (strlen(buf) > entry->pl_width)
4062 entry->pl_width = strlen(buf);
4065 zfs_prop_to_name(entry->pl_prop),
4067 if (strlen(buf) > entry->pl_recvd_width)
4068 entry->pl_recvd_width = strlen(buf);
4070 if (nvlist_lookup_nvlist(userprops, entry->pl_user_prop,
4074 if (strlen(strval) > entry->pl_width)
4075 entry->pl_width = strlen(strval);
4078 entry->pl_user_prop,
4080 if (strlen(buf) > entry->pl_recvd_width)
4081 entry->pl_recvd_width = strlen(buf);