Lines Matching refs:be_attrs
570 nvlist_t *be_attrs;
598 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0) {
602 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME,
605 nvlist_free(be_attrs);
608 ret = be_activate(be_attrs);
609 nvlist_free(be_attrs);
665 nvlist_t *be_attrs = NULL;
681 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0) {
696 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME,
702 if (nvlist_add_string(be_attrs, BE_ATTR_MOUNTPOINT, *dir) != 0) {
707 ret = be_mount(be_attrs);
719 nvlist_free(be_attrs);
726 nvlist_t *be_attrs;
732 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0)
735 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME, dir) != 0) {
740 ret = be_unmount(be_attrs);
742 nvlist_free(be_attrs);