Lines Matching refs:be_attrs
640 nvlist_t *be_attrs; in set_option() local
671 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0) { in set_option()
675 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME, in set_option()
678 nvlist_free(be_attrs); in set_option()
681 ret = be_activate(be_attrs); in set_option()
682 nvlist_free(be_attrs); in set_option()
738 nvlist_t *be_attrs = NULL; in bam_mount_be() local
754 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0) { in bam_mount_be()
774 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME, in bam_mount_be()
780 if (nvlist_add_string(be_attrs, BE_ATTR_MOUNTPOINT, *dir) != 0) { in bam_mount_be()
785 ret = be_mount(be_attrs); in bam_mount_be()
797 nvlist_free(be_attrs); in bam_mount_be()
804 nvlist_t *be_attrs; in bam_umount_be() local
810 if (nvlist_alloc(&be_attrs, NV_UNIQUE_NAME, 0) != 0) in bam_umount_be()
813 if (nvlist_add_string(be_attrs, BE_ATTR_ORIG_BE_NAME, dir) != 0) { in bam_umount_be()
818 ret = be_unmount(be_attrs); in bam_umount_be()
820 nvlist_free(be_attrs); in bam_umount_be()