Lines Matching defs:order
141 * A comparison function we can use to order indexes into property tables.
171 zprop_desc_t **order;
178 order = kmem_alloc(size, KM_SLEEP);
180 if ((order = malloc(size)) == NULL)
185 order[j] = &prop_tbl[j];
188 qsort((void *)order, num_props, sizeof (zprop_desc_t *),
194 if ((order[i]->pd_visible || show_all) &&
195 (func(order[i]->pd_propnum, cb) != ZPROP_CONT)) {
196 prop = order[i]->pd_propnum;
202 kmem_free(order, size);
204 free(order);