Lines Matching defs:entry
726 struct extmnttab entry;
743 while ((ret = getextmntent(hdl->libzfs_mnttab, &entry, 0)) == 0) {
744 if (makedevice(entry.mnt_major, entry.mnt_minor) ==
755 statfs2mnttab(&sfs, &entry);
766 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) {
772 return (zfs_open(hdl, entry.mnt_special, ZFS_TYPE_FILESYSTEM));
1320 zprop_list_t *entry;
1328 * When no property table entry can be found, return failure if
1343 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL)
1346 entry->pl_prop = prop;
1348 if ((entry->pl_user_prop = zfs_strdup(hdl, propname)) ==
1350 free(entry);
1353 entry->pl_width = strlen(propname);
1355 entry->pl_width = zprop_width(prop, &entry->pl_fixed,
1359 *listp = entry;
1473 zprop_list_t *entry;
1476 if ((entry = zfs_alloc(edp->hdl, sizeof (zprop_list_t))) == NULL)
1479 entry->pl_prop = prop;
1480 entry->pl_width = zprop_width(prop, &entry->pl_fixed, edp->type);
1481 entry->pl_all = B_TRUE;
1483 *(edp->last) = entry;
1484 edp->last = &entry->pl_next;
1492 zprop_list_t *entry;
1516 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL)
1519 entry->pl_prop = (type == ZFS_TYPE_POOL) ? ZPOOL_PROP_NAME :
1521 entry->pl_width = zprop_width(entry->pl_prop,
1522 &entry->pl_fixed, type);
1523 entry->pl_all = B_TRUE;
1524 entry->pl_next = *plp;
1525 *plp = entry;