Lines Matching defs:entry
718 zprop_list_t *entry;
736 zprop_list_t *entry = zfs_alloc(hdl,
738 entry->pl_prop = ZPROP_INVAL;
739 entry->pl_user_prop = zfs_asprintf(hdl, "feature@%s",
741 entry->pl_width = strlen(entry->pl_user_prop);
742 entry->pl_all = B_TRUE;
744 *last = entry;
745 last = &entry->pl_next;
754 zprop_list_t *entry;
767 entry = *plp;
768 while (entry != NULL) {
769 if (entry->pl_user_prop != NULL &&
770 strcmp(propname, entry->pl_user_prop) == 0) {
774 entry = entry->pl_next;
781 entry = zfs_alloc(hdl, sizeof (zprop_list_t));
782 entry->pl_prop = ZPROP_INVAL;
783 entry->pl_user_prop = propname;
784 entry->pl_width = strlen(entry->pl_user_prop);
785 entry->pl_all = B_TRUE;
787 *last = entry;
788 last = &entry->pl_next;
791 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
793 if (entry->pl_fixed)
796 if (entry->pl_prop != ZPROP_INVAL &&
797 zpool_get_prop(zhp, entry->pl_prop, buf, sizeof (buf),
799 if (strlen(buf) > entry->pl_width)
800 entry->pl_width = strlen(buf);
2821 * see if any entry in the schild array matches.
2824 * the index of that entry. Otherwise we return -1.
2917 int entry;
2957 /* find or add an entry for this top-level vdev */
2959 (entry = find_vdev_entry(zhp, mchild, mchildren,
2962 vdev = mchild[entry];