Lines Matching full:props
60 static void print_headers(nvlist_t *props, struct printc *pc);
155 nvlist_t *props, *sprops; in print_snapshots() local
157 if (be_prop_list_alloc(&props) != 0) { in print_snapshots()
161 if (be_get_dataset_snapshots(be, dsname, props) != 0) { in print_snapshots()
165 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_snapshots()
166 cur = nvlist_next_nvpair(props, cur)) { in print_snapshots()
291 print_headers(nvlist_t *props, struct printc *pc) in print_headers() argument
304 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_headers()
305 cur = nvlist_next_nvpair(props, cur)) { in print_headers()
342 prop_list_sort(nvlist_t *props, char *property, bool reverse) in prop_list_sort() argument
351 nvlist_dup(props, &nvl, 0); in prop_list_sort()
392 * The 'props' nvlist has been created to only have unique names. in prop_list_sort()
397 nvlist_add_nvlist(props, sc_prev.name, sc_prev.nvl); in prop_list_sort()
411 nvlist_t *dsprops, *props; in bectl_cmd_list() local
417 props = NULL; in bectl_cmd_list()
461 if (be_prop_list_alloc(&props) != 0) { in bectl_cmd_list()
465 if (be_get_bootenv_props(be, props) != 0) { in bectl_cmd_list()
475 prop_list_sort(props, column, reverse); in bectl_cmd_list()
481 print_headers(props, &pc); in bectl_cmd_list()
484 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in bectl_cmd_list()
485 cur = nvlist_next_nvpair(props, cur)) { in bectl_cmd_list()
496 be_prop_list_free(props); in bectl_cmd_list()