Lines Matching defs:entry

796 	struct mnttab entry;
799 while (getmntent(hdl->libzfs_mnttab, &entry) == 0) {
802 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0)
805 mtn->mtn_mt.mnt_special = zfs_strdup(hdl, entry.mnt_special);
806 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, entry.mnt_mountp);
807 mtn->mtn_mt.mnt_fstype = zfs_strdup(hdl, entry.mnt_fstype);
808 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, entry.mnt_mntopts);
838 struct mnttab *entry)
851 if (getmntany(hdl->libzfs_mnttab, entry, &srch) == 0)
863 *entry = mtn->mtn_mt;
1962 * the contents of the /etc/mnttab entry, searching for the appropriate options.
2027 struct mnttab entry;
2029 if (libzfs_mnttab_find(hdl, zhp->zfs_name, &entry) == 0) {
2031 entry.mnt_mntopts);
4171 zprop_list_t *entry;
4183 entry = *plp;
4184 if (entry->pl_all && nvlist_next_nvpair(userprops, NULL) != NULL) {
4210 if ((entry = zfs_alloc(hdl,
4212 ((entry->pl_user_prop = zfs_strdup(hdl,
4214 free(entry);
4218 entry->pl_prop = ZPROP_INVAL;
4219 entry->pl_width = strlen(nvpair_name(elem));
4220 entry->pl_all = B_TRUE;
4221 *last = entry;
4229 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
4230 if (entry->pl_fixed && !literal)
4233 if (entry->pl_prop != ZPROP_INVAL) {
4234 if (zfs_prop_get(zhp, entry->pl_prop,
4236 if (strlen(buf) > entry->pl_width)
4237 entry->pl_width = strlen(buf);
4240 zfs_prop_to_name(entry->pl_prop),
4242 if (strlen(buf) > entry->pl_recvd_width)
4243 entry->pl_recvd_width = strlen(buf);
4245 if (nvlist_lookup_nvlist(userprops, entry->pl_user_prop,
4249 if (strlen(strval) > entry->pl_width)
4250 entry->pl_width = strlen(strval);
4253 entry->pl_user_prop,
4255 if (strlen(buf) > entry->pl_recvd_width)
4256 entry->pl_recvd_width = strlen(buf);