Lines Matching refs:fabric
207 /* Local pointer to allocated TCM configfs fabric module */
1770 * the fabric protocol_id set in scsiback_make_tport(), and call
1838 return sprintf(page, "xen-pvscsi fabric module %s on %s/%s on "
2000 struct target_fabric_configfs *fabric;
2003 pr_debug("xen-pvscsi: fabric module %s on %s/%s on "UTS_RELEASE"\n",
2008 fabric = target_fabric_configfs_init(THIS_MODULE, "xen-pvscsi");
2009 if (IS_ERR(fabric))
2010 return PTR_ERR(fabric);
2013 * Setup fabric->tf_ops from our local scsiback_ops
2015 fabric->tf_ops = scsiback_ops;
2017 * Setup default attribute lists for various fabric->tf_cit_tmpl
2019 fabric->tf_cit_tmpl.tfc_wwn_cit.ct_attrs = scsiback_wwn_attrs;
2020 fabric->tf_cit_tmpl.tfc_tpg_base_cit.ct_attrs = scsiback_tpg_attrs;
2021 fabric->tf_cit_tmpl.tfc_tpg_attrib_cit.ct_attrs = NULL;
2022 fabric->tf_cit_tmpl.tfc_tpg_param_cit.ct_attrs = scsiback_param_attrs;
2023 fabric->tf_cit_tmpl.tfc_tpg_np_base_cit.ct_attrs = NULL;
2024 fabric->tf_cit_tmpl.tfc_tpg_nacl_base_cit.ct_attrs = NULL;
2025 fabric->tf_cit_tmpl.tfc_tpg_nacl_attrib_cit.ct_attrs = NULL;
2026 fabric->tf_cit_tmpl.tfc_tpg_nacl_auth_cit.ct_attrs = NULL;
2027 fabric->tf_cit_tmpl.tfc_tpg_nacl_param_cit.ct_attrs = NULL;
2029 * Register the fabric for use within TCM
2031 ret = target_fabric_configfs_register(fabric);
2033 target_fabric_configfs_free(fabric);
2037 * Setup our local pointer to *fabric
2039 scsiback_fabric_configfs = fabric;
2040 pr_debug("xen-pvscsi: Set fabric -> scsiback_fabric_configfs\n");