Lines Matching defs:entry
730 zprop_list_t *entry;
748 zprop_list_t *entry = zfs_alloc(hdl,
750 entry->pl_prop = ZPROP_INVAL;
751 entry->pl_user_prop = zfs_asprintf(hdl, "feature@%s",
753 entry->pl_width = strlen(entry->pl_user_prop);
754 entry->pl_all = B_TRUE;
756 *last = entry;
757 last = &entry->pl_next;
766 zprop_list_t *entry;
779 entry = *plp;
780 while (entry != NULL) {
781 if (entry->pl_user_prop != NULL &&
782 strcmp(propname, entry->pl_user_prop) == 0) {
786 entry = entry->pl_next;
793 entry = zfs_alloc(hdl, sizeof (zprop_list_t));
794 entry->pl_prop = ZPROP_INVAL;
795 entry->pl_user_prop = propname;
796 entry->pl_width = strlen(entry->pl_user_prop);
797 entry->pl_all = B_TRUE;
799 *last = entry;
800 last = &entry->pl_next;
803 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
805 if (entry->pl_fixed)
808 if (entry->pl_prop != ZPROP_INVAL &&
809 zpool_get_prop(zhp, entry->pl_prop, buf, sizeof (buf),
811 if (strlen(buf) > entry->pl_width)
812 entry->pl_width = strlen(buf);
2851 * see if any entry in the schild array matches.
2854 * the index of that entry. Otherwise we return -1.
2948 int entry;
2988 /* find or add an entry for this top-level vdev */
2990 (entry = find_vdev_entry(zhp, mchild, mchildren,
2993 vdev = mchild[entry];