Lines Matching full:order
84 * options determine what data should be displayed and in what order. An
96 * Based on these parameters, an order list is created that tells
97 * fssnap_display_info() what info to display and in what order.
106 int *order, orderlen = MAX_INFO_DESCRIPTORS+1; in fssnap_show_status() local
139 order = (int *)malloc(orderlen * sizeof (int)); in fssnap_show_status()
140 if (order == NULL) { in fssnap_show_status()
142 gettext("cannot allocate order list.\n")); in fssnap_show_status()
151 order[i++] = getsubopt(&suboptions, infosubopts, &v); in fssnap_show_status()
153 order = (int *)realloc(order, in fssnap_show_status()
155 if (order == NULL) { in fssnap_show_status()
157 gettext("cannot reallocate order " in fssnap_show_status()
164 order[i] = MAX_INFO_DESCRIPTORS; in fssnap_show_status()
166 order = (int *)malloc(orderlen * sizeof (int)); in fssnap_show_status()
167 if (order == NULL) { in fssnap_show_status()
169 gettext("cannot allocate order list.\n")); in fssnap_show_status()
173 order[i] = i; in fssnap_show_status()
203 fssnap_display_info(i, order, labels); in fssnap_show_status()
208 fssnap_display_info(ulong_t snapnum, int *order, int labels) in fssnap_display_info() argument
227 for (i = 0; order[i] != MAX_INFO_DESCRIPTORS; i++) { in fssnap_display_info()
228 switch (order[i]) { in fssnap_display_info()
444 printf(gettext("No such data type %d.\n"), order[i]); in fssnap_display_info()