Home
last modified time | relevance | path

Searched refs:be_name (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/cmd/beadm/
H A Dbeadm.c290 const char *be_name = cur_be->be_node_name; in count_widths() local
307 pos = strstr(name, be_name); in count_widths()
359 print_be_nodes(const char *be_name, boolean_t parsable, struct hdr_info *hdr, in print_be_nodes() argument
377 if (be_name != NULL && strcmp(be_name, name) != 0) in print_be_nodes()
435 const char *be_name = be->be_node_name; in print_be_snapshots() local
444 pos = strstr(name, be_name); in print_be_snapshots()
453 be_name, in print_be_snapshots()
462 be_name, in print_be_snapshots()
487 print_fmt_nodes(const char *be_name, enum be_fmt be_fmt, boolean_t parsable, in print_fmt_nodes() argument
504 if (be_name != NULL && strcmp(be_name, name) != 0) in print_fmt_nodes()
[all …]
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_snapshot.c87 char *be_name = NULL; in be_create_snapshot() local
99 BE_ATTR_ORIG_BE_NAME, DATA_TYPE_STRING, &be_name, NULL) != 0) { in be_create_snapshot()
107 if (be_name != NULL && !be_valid_be_name(be_name)) { in be_create_snapshot()
109 "invalid BE name %s\n"), be_name); in be_create_snapshot()
140 if ((ret = _be_create_snapshot(be_name, &snap_name, policy)) in be_create_snapshot()
185 char *be_name = NULL; in be_destroy_snapshot() local
195 BE_ATTR_ORIG_BE_NAME, DATA_TYPE_STRING, &be_name, NULL) != 0) { in be_destroy_snapshot()
202 if (be_name != NULL && !be_valid_be_name(be_name)) { in be_destroy_snapshot()
204 "invalid BE name %s\n"), be_name); in be_destroy_snapshot()
216 ret = _be_destroy_snapshot(be_name, snap_name); in be_destroy_snapshot()
[all …]
H A Dbe_list.c53 char *be_name; member
117 be_list(char *be_name, be_node_list_t **be_nodes) in be_list() argument
126 if (be_name != NULL) { in be_list()
127 if (!be_valid_be_name(be_name)) { in be_list()
129 "invalid BE name %s\n"), be_name); in be_list()
134 ret = _be_list(be_name, be_nodes); in be_list()
214 _be_list(char *be_name, be_node_list_t **be_nodes) in _be_list() argument
246 if (be_name != NULL) in _be_list()
247 cb.be_name = strdup(be_name); in _be_list()
254 free(cb.be_name); in _be_list()
[all …]
H A Dbe_utils.c227 be_make_root_ds(const char *zpool, const char *be_name, char *be_root_ds, in be_make_root_ds() argument
237 "%s/%s", zpool, be_name); in be_make_root_ds()
240 "%s/%s/%s", zpool, BE_CONTAINER_DS_NAME, be_name); in be_make_root_ds()
249 dirname(root_ds), be_name); in be_make_root_ds()
398 be_append_menu(char *be_name, char *be_root_pool, char *boot_pool, in be_append_menu() argument
421 if (be_name == NULL || be_root_pool == NULL) in be_append_menu()
468 be_make_root_ds(be_root_pool, be_name, be_root_ds, sizeof (be_root_ds)); in be_append_menu()
534 description ? description : be_name); in be_append_menu()
587 char *new_title = description ? description : be_name; in be_append_menu()
593 if (be_remove_menu(be_name, be_root_pool, in be_append_menu()
[all …]
H A Dbe_mount.c108 char *be_name = NULL; in be_mount() local
118 if (nvlist_lookup_string(be_attrs, BE_ATTR_ORIG_BE_NAME, &be_name) in be_mount()
126 if (!be_valid_be_name(be_name)) { in be_mount()
128 be_name); in be_mount()
148 ret = _be_mount(be_name, &mountpoint, flags); in be_mount()
173 char *be_name = NULL; in be_unmount() local
184 if (nvlist_lookup_string(be_attrs, BE_ATTR_ORIG_BE_NAME, &be_name) in be_unmount()
192 if (be_name[0] == '/') { in be_unmount()
193 if ((ds = be_get_ds_from_dir(be_name)) != NULL) { in be_unmount()
195 be_name = be_name_mnt + 1; in be_unmount()
[all …]
H A Dbe_activate.c92 char *be_name = NULL; in be_activate() local
99 if (nvlist_lookup_string(be_attrs, BE_ATTR_ORIG_BE_NAME, &be_name) in be_activate()
108 if (!be_valid_be_name(be_name)) { in be_activate()
110 be_name); in be_activate()
115 ret = _be_activate(be_name); in be_activate()
139 _be_activate(char *be_name) in _be_activate() argument
156 if (be_name == NULL) in _be_activate()
160 cb.obe_name = be_name; in _be_activate()
388 be_is_active_on_boot(char *be_name) in be_is_active_on_boot() argument
392 if (be_name == NULL) { in be_is_active_on_boot()
[all …]
H A Dbe_create.c1266 char *be_name = data; in be_exists_callback() local
1272 be_make_root_ds(zpool, be_name, be_root_ds, sizeof (be_root_ds)); in be_exists_callback()
1611 be_destroy_zones(char *be_name, char *be_root_ds, be_destroy_data_t *dd) in be_destroy_zones() argument
1651 if ((ret = _be_mount(be_name, &mp, in be_destroy_zones()
1655 be_name); in be_destroy_zones()
1675 if ((ret = _be_unmount(be_name, force_umnt)) != BE_SUCCESS) { in be_destroy_zones()
1677 "unmount the BE (%s)\n"), be_name); in be_destroy_zones()
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dbuffer_list.c177 bep->be_name = strdup(lep->le_buffer); in buildbuffer_list()
178 if (bep->be_name == NULL) { in buildbuffer_list()
279 (void) printf("freeing %s\n", bep->be_name); in free_buffer_ent()
280 if (bep->be_name != NULL) in free_buffer_ent()
281 free(bep->be_name); in free_buffer_ent()
336 (void) printf("%s\n", bep->be_name); in printbuffer_list()
357 if (strcmp(bep->be_name, name) == 0) in findbuffer()
H A Dbuffer_list.h44 char *be_name; /* work buffer path */ member
H A Dnfslogd.c446 bep->be_name); in main()
453 bep->be_name, in main()
467 bep->be_name); in main()
562 if (error = logtab_rement(fd, (*bep)->be_name, sep->se_name, in nfslogtab_remove()
H A Dprocess_buffer.c93 char *bufferpath = bep->be_name; in process_buffer()