Lines Matching refs:entry

904 	struct extmnttab entry;
928 while ((ret = getextmntent(hdl->libzfs_mnttab, &entry, 0)) == 0) {
929 if (makedevice(entry.mnt_major, entry.mnt_minor) ==
937 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) {
946 zhp = zfs_open_quiet(hdl, entry.mnt_special, type);
948 zhp = zfs_open(hdl, entry.mnt_special, type);
1001 struct extmnttab entry;
1028 while ((ret = getextmntent(hdl->libzfs_mnttab, &entry, 0)) == 0) {
1029 if (makedevice(entry.mnt_major, entry.mnt_minor) ==
1037 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) {
1043 get_mnttab_info((struct mnttab *)&entry, mntpnt, mplen, dataset,
1670 zprop_list_t *entry;
1681 entry = zfs_alloc(hdl, sizeof (zprop_list_t));
1682 entry->pl_prop = zpd;
1683 entry->pl_width = 0;
1685 *listp = entry;
1694 zfs_attach_aliases(libzfs_handle_t *hdl, zprop_list_t *entry, zfs_type_t type,
1699 if (entry->pl_prop->zpd_zfs_types == ZFS_TYPE_POOL)
1702 switch (zprop_id(entry->pl_prop)) {
1715 alias->pl_all = entry->pl_all;
1716 alias->pl_group = entry->pl_group;
1718 * We would set alias->pl_next = entry->pl_next, except that
1719 * entry->pl_next is still NULL and stays that way until
1720 * addlist() appends the next entry.
1725 entry->pl_alias = alias;
1733 zprop_list_t *entry;
1756 entry = zfs_alloc(hdl, sizeof (zprop_list_t));
1759 entry->pl_prop = NULL;
1760 if ((entry->pl_user_prop = zfs_strdup(hdl, propname)) == NULL) {
1761 free(entry);
1764 entry->pl_width = (showtype == ZPROP_SHOWTYPE_GET ? 0 :
1767 entry->pl_prop = zpd;
1768 entry->pl_width = (showtype == ZPROP_SHOWTYPE_GET ? 0 :
1770 zc_prop_width(zprop_propnum(zpd), &entry->pl_fixed, type)));
1771 zfs_attach_aliases(hdl, entry, type, showtype);
1774 *listp = entry;
2137 * Link aliases to the next entry, which we could not do in addlist()
2138 * because the next entry was not yet appended. This second pass only
2187 zprop_list_t *entry;
2213 entry = zfs_alloc(edp->hdl, sizeof (zprop_list_t));
2214 entry->pl_all = entry->pl_group = B_TRUE;
2215 entry->pl_prop = zpd;
2218 entry->pl_width = (edp->showtype == ZPROP_SHOWTYPE_GET ? 0 :
2221 entry->pl_width = (edp->showtype == ZPROP_SHOWTYPE_GET ? 0 :
2222 zc_prop_width(prop, &entry->pl_fixed, edp->type));
2225 *(edp->last) = entry;
2226 edp->last = &entry->pl_next;
2238 zprop_list_t *entry;
2269 entry = zfs_alloc(hdl, sizeof (zprop_list_t));
2270 entry->pl_prop = (type == ZFS_TYPE_POOL)
2273 entry->pl_width = (showtype == ZPROP_SHOWTYPE_GET ? 0 :
2274 zc_prop_width(zprop_propnum(entry->pl_prop),
2275 &entry->pl_fixed, type));
2276 entry->pl_all = entry->pl_group = B_TRUE;
2277 entry->pl_next = *plp;
2278 *plp = entry;
2289 int entry;
2307 (void) fprintf(fp, "%-*s ", width, cpp->table[cpp->entry].name);
2308 ++cpp->entry;
2482 cp.entry = 0;