Home
last modified time | relevance | path

Searched refs:be_nodes (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c58 be_node_list_t *be_nodes; member
125 be_list(char *be_name, be_node_list_t **be_nodes, uint64_t flags) in be_list() argument
142 ret = _be_list(be_name, be_nodes, flags); in be_list()
164 be_sort(be_node_list_t **be_nodes, int order) in be_sort() argument
168 if (be_nodes == NULL) in be_sort()
197 return (be_sort_list(be_nodes, compar)); in be_sort()
222 _be_list(char *be_name, be_node_list_t **be_nodes, uint64_t flags) in _be_list() argument
231 if (be_nodes == NULL) in _be_list()
272 cb.be_nodes = NULL; in _be_list()
287 *be_nodes = cb.be_nodes_head; in _be_list()
[all …]
H A Dbe_utils.c115 be_node_list_t *node, *be_nodes = NULL; in be_get_boot_args() local
145 ret = _be_list(NULL, &be_nodes, BE_LIST_DEFAULT); in be_get_boot_args()
155 for (node = be_nodes; node != NULL; node = node->be_next_node) { in be_get_boot_args()
166 be_free_list(be_nodes); in be_get_boot_args()
176 be_free_list(be_nodes); in be_get_boot_args()
283 be_free_list(be_nodes); in be_get_boot_args()
3722 be_node_list_t *be_nodes = NULL; in be_get_auto_name() local
3759 &be_nodes) != BE_SUCCESS) { in be_get_auto_name()
3764 } else if (_be_list(NULL, &be_nodes, BE_LIST_DEFAULT) != BE_SUCCESS) { in be_get_auto_name()
3769 for (cur_be = be_nodes; cur_be != NULL; cur_be = cur_be->be_next_node) { in be_get_auto_name()
[all …]
H A Dbe_activate.c237 be_node_list_t *be_nodes = NULL; in _be_activate() local
301 if ((ret = _be_list(cb.obe_name, &be_nodes, BE_LIST_DEFAULT)) in _be_activate()
306 if ((ret = set_canmount(be_nodes, "noauto")) != BE_SUCCESS) { in _be_activate()
315 if ((ret = lzbe_set_boot_device(be_nodes->be_rpool, in _be_activate()
323 if ((ret = lzbe_set_boot_device(be_nodes->be_rpool, in _be_activate()
331 if ((ret = set_bootfs(be_nodes->be_rpool, in _be_activate()
438 be_free_list(be_nodes); in _be_activate()
571 set_canmount(be_node_list_t *be_nodes, char *value) in set_canmount() argument
575 be_node_list_t *list = be_nodes; in set_canmount()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c258 menu_active_on_boot(be_node_list_t *be_nodes, const char *bootfs) in menu_active_on_boot() argument
263 for (be_node = be_nodes; be_node != NULL; in menu_active_on_boot()
278 menu_active_next(be_node_list_t *be_nodes, const char *bootfs) in menu_active_next() argument
283 for (be_node = be_nodes; be_node != NULL; in menu_active_next()
298 be_node_list_t *be_nodes; in menu_read() local
312 if (be_list(NULL, &be_nodes, BE_LIST_DEFAULT) != BE_SUCCESS) in menu_read()
313 be_nodes = NULL; in menu_read()
367 mp->me_active = menu_active_on_boot(be_nodes, bootfs); in menu_read()
368 mp->me_active_next = menu_active_next(be_nodes, bootfs); in menu_read()
381 be_free_list(be_nodes); in menu_read()
[all …]
H A Dbootadm.c1087 be_node_list_t *be_nodes, *node; in install_bootloader() local
1138 if (be_list(NULL, &be_nodes, BE_LIST_DEFAULT) != BE_SUCCESS) { in install_bootloader()
1142 for (node = be_nodes; node != NULL; node = node->be_next_node) in install_bootloader()
1152 be_free_list(be_nodes); in install_bootloader()
1159 be_free_list(be_nodes); in install_bootloader()
1198 if (be_list(NULL, &be_nodes, BE_LIST_DEFAULT) != BE_SUCCESS) { in install_bootloader()
1208 for (node = be_nodes; node != NULL; node = node->be_next_node) { in install_bootloader()
1216 be_free_list(be_nodes); in install_bootloader()
1224 be_free_list(be_nodes); in install_bootloader()
1242 be_free_list(be_nodes); in install_bootloader()
[all …]
/illumos-gate/usr/src/cmd/beadm/
H A Dbeadm.c256 count_widths(enum be_fmt be_fmt, struct hdr_info *hdr, be_node_list_t *be_nodes) in count_widths() argument
266 for (cur_be = be_nodes; cur_be != NULL; cur_be = cur_be->be_next_node) { in count_widths()
533 boolean_t parsable, be_node_list_t *be_nodes) in print_nodes() argument
545 count_widths(be_fmt, &hdr, be_nodes); in print_nodes()
550 print_be_nodes(be_name, parsable, &hdr, be_nodes); in print_nodes()
552 print_fmt_nodes(be_name, be_fmt, parsable, &hdr, be_nodes); in print_nodes()
1124 be_node_list_t *be_nodes = NULL; in be_do_list() local
1215 err = be_list(be_name, &be_nodes, in be_do_list()
1225 err = be_sort(&be_nodes, order); in be_do_list()
1235 print_nodes(be_name, dsets, snaps, parsable, be_nodes); in be_do_list()
[all …]