/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 108 * FCS update cfg - reset the pwwn/nwwn of fabric base logical port 114 struct bfa_fcs_fabric_s *fabric = &fcs->fabric; local 115 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; 116 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; 168 bfa_fcs_fabric_psymb_init(&fcs->fabric); 169 bfa_fcs_fabric_nsymb_init(&fcs->fabric); 212 if (fabric->fab_type == BFA_FCS_FABRIC_SWITCHED) \ 223 static void bfa_fcs_fabric_init(struct bfa_fcs_fabric_s *fabric); 224 static void bfa_fcs_fabric_login(struct bfa_fcs_fabric_s *fabric); 274 bfa_fcs_fabric_sm_uninit(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 300 bfa_fcs_fabric_sm_created(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 348 bfa_fcs_fabric_sm_linkdown(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 394 bfa_fcs_fabric_sm_flogi(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 455 bfa_fcs_fabric_sm_flogi_retry(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 487 bfa_fcs_fabric_sm_auth(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 527 bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 553 bfa_fcs_fabric_sm_loopback(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 579 bfa_fcs_fabric_sm_nofabric(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 615 bfa_fcs_fabric_sm_online(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 661 bfa_fcs_fabric_sm_evfp(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 685 bfa_fcs_fabric_sm_evfp_done(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 696 bfa_fcs_fabric_sm_isolated(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 717 bfa_fcs_fabric_sm_deleting(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 745 bfa_fcs_fabric_sm_stopping(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 782 bfa_fcs_fabric_sm_cleanup(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument 812 bfa_fcs_fabric_init(struct bfa_fcs_fabric_s *fabric) argument 825 bfa_fcs_fabric_psymb_init(struct bfa_fcs_fabric_s *fabric) argument 886 bfa_fcs_fabric_nsymb_init(struct bfa_fcs_fabric_s *fabric) argument 926 struct bfa_fcs_fabric_s *fabric = uarg; local 1003 bfa_fcs_fabric_login(struct bfa_fcs_fabric_s *fabric) argument 1017 bfa_fcs_fabric_notify_online(struct bfa_fcs_fabric_s *fabric) argument 1039 bfa_fcs_fabric_notify_offline(struct bfa_fcs_fabric_s *fabric) argument 1064 struct bfa_fcs_fabric_s *fabric = cbarg; local 1073 bfa_fcs_fabric_stop(struct bfa_fcs_fabric_s *fabric) argument 1095 bfa_fcs_fabric_delete(struct bfa_fcs_fabric_s *fabric) argument 1112 struct bfa_fcs_fabric_s *fabric = cbarg; local 1120 struct bfa_fcs_fabric_s *fabric = cbarg; local 1135 struct bfa_fcs_fabric_s *fabric; local 1173 struct bfa_fcs_fabric_s *fabric; local 1191 struct bfa_fcs_fabric_s *fabric; local 1204 struct bfa_fcs_fabric_s *fabric; local 1216 bfa_fcs_fabric_link_up(struct bfa_fcs_fabric_s *fabric) argument 1226 bfa_fcs_fabric_link_down(struct bfa_fcs_fabric_s *fabric) argument 1244 bfa_fcs_fabric_addvport(struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport) argument 1263 bfa_fcs_fabric_delvport(struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport) argument 1276 bfa_fcs_fabric_vport_lookup(struct bfa_fcs_fabric_s *fabric, wwn_t pwwn) argument 1303 bfa_fcs_fabric_get_switch_oui(struct bfa_fcs_fabric_s *fabric) argument 1320 bfa_fcs_fabric_uf_recv(struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, u16 len) argument 1389 bfa_fcs_fabric_process_uf(struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, u16 len) argument 1413 bfa_fcs_fabric_process_flogi(struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, u16 len) argument 1446 bfa_fcs_fabric_send_flogi_acc(struct bfa_fcs_fabric_s *fabric) argument 1483 struct bfa_fcs_fabric_s *fabric = cbarg; local 1519 bfa_fcs_fabric_set_fabric_name(struct bfa_fcs_fabric_s *fabric, wwn_t fabric_name) argument 1550 struct bfa_fcs_fabric_s *fabric = uarg; local 1660 struct bfa_fcs_fabric_s *fabric; local [all...] |
H A D | bfa_fcs.h | 145 struct bfa_fcs_fabric_s *fabric; /* parent fabric */ member in struct:bfa_fcs_lport_s 153 union bfa_fcs_lport_topo_u port_topo; /* fabric/loop/n2n details */ 187 enum bfa_fcs_fabric_type fab_type; /* fabric type */ 189 u8 is_vf; /* is virtual fabric? */ 192 u16 bb_credit; /* BB credit from fabric */ 193 u16 vf_id; /* virtual fabric ID */ 200 wwn_t fabric_name; /* attached fabric name */ 207 struct bfa_vf_stats_s stats; /* fabric/vf stats */ 210 /* attached fabric' 704 struct bfa_fcs_fabric_s fabric; /* base fabric state machine */ member in struct:bfa_fcs_s [all...] |
H A D | bfa_fcs_lport.c | 169 bfa_wc_down(&(port->fabric->stop_wc)); 198 __port_action[port->fabric->fab_type].offline(port); 206 bfa_wc_down(&(port->fabric->stop_wc)); 218 __port_action[port->fabric->fab_type].offline(port); 264 bfa_wc_down(&(port->fabric->stop_wc)); 311 bfa_wc_down(&(port->fabric->stop_wc)); 352 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; 359 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; 393 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, 427 bfa_fcxp_send(fcxp, bfa_rport, port->fabric 5034 struct bfa_fcs_fabric_s *fabric = port->fabric; local 5551 struct bfa_fcs_fabric_s *fabric = port->fabric; local 6884 struct bfa_fcs_fabric_s *fabric; local [all...] |
H A D | bfa_fcs_rport.c | 647 if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { 1159 if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { 1232 if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { 1730 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 1852 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 1882 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 1952 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 2103 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 2137 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, 2207 bfa_fcxp_send(fcxp, NULL, port->fabric 3156 struct bfa_fcs_fabric_s *fabric = &rport->fcs->fabric; local [all...] |
H A D | bfa_fcs_fcpim.c | 436 aen_entry->aen_data.itnim.vf_id = rport->port->fabric->vf_id; 472 bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, port->lp_tag,
|
H A D | bfad_attr.c | 128 bfa_fcs_lport_get_attr(&bfad->bfa_fcs.fabric.bport, &port_attr); 844 bfa_fcs_lport_get_attr(&bfad->bfa_fcs.fabric.bport, &port_attr);
|
/drivers/target/loopback/ |
H A D | tcm_loop.c | 44 /* Local pointer to allocated TCM configfs fabric module */ 614 * Based upon tl_proto_id, TCM_Loop emulates the requested fabric 717 * Used for handling SCSI fabric dependent TransportIDs in SPC-3 and above 751 * based upon the incoming fabric dependent SCSI Initiator Port 1132 * the fabric protocol_id set in tcm_loop_make_scsi_hba(), and call 1432 struct target_fabric_configfs *fabric; local 1441 fabric = target_fabric_configfs_init(THIS_MODULE, "loopback"); 1442 if (IS_ERR(fabric)) { 1444 return PTR_ERR(fabric); 1447 * Setup the fabric AP [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 1965 struct target_fabric_configfs *fabric; local 1969 fabric = target_fabric_configfs_init(THIS_MODULE, "iscsi"); 1970 if (IS_ERR(fabric)) { 1973 return PTR_ERR(fabric); 1976 * Setup the fabric API of function pointers used by target_core_mod.. 1978 fabric->tf_ops.get_fabric_name = &iscsi_get_fabric_name; 1979 fabric->tf_ops.get_fabric_proto_ident = &iscsi_get_fabric_proto_ident; 1980 fabric->tf_ops.tpg_get_wwn = &lio_tpg_get_endpoint_wwn; 1981 fabric->tf_ops.tpg_get_tag = &lio_tpg_get_tag; 1982 fabric [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_conf.c | 4 * This file contains the configfs implementation for TCM_fc fabric node. 559 struct target_fabric_configfs *fabric; local 565 fabric = target_fabric_configfs_init(THIS_MODULE, "fc"); 566 if (IS_ERR(fabric)) { 569 return PTR_ERR(fabric); 571 fabric->tf_ops = ft_fabric_ops; 574 * Setup default attribute lists for various fabric->tf_cit_tmpl 576 fabric->tf_cit_tmpl.tfc_wwn_cit.ct_attrs = ft_wwn_attrs; 577 fabric->tf_cit_tmpl.tfc_tpg_base_cit.ct_attrs = NULL; 578 fabric [all...] |
/drivers/xen/ |
H A D | xen-scsiback.c | 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; local 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 [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 386 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 387 fmin = lat->_name.fabric.min * adapter->timer_ticks; \ 388 fmax = lat->_name.fabric.max * adapter->timer_ticks; \ 416 lat->_name.fabric.sum = 0; \ 417 lat->_name.fabric.min = 0xFFFFFFFF; \ 418 lat->_name.fabric.max = 0; \
|
H A D | zfcp_scsi.c | 156 zfcp_sdev->latencies.write.fabric.min = 0xFFFFFFFF; 158 zfcp_sdev->latencies.read.fabric.min = 0xFFFFFFFF; 160 zfcp_sdev->latencies.cmd.fabric.min = 0xFFFFFFFF;
|
H A D | zfcp_def.h | 133 struct fsf_latency_record fabric; member in struct:latency_cont 247 * @latencies: FSF channel and fabric latencies
|
/drivers/scsi/qla2xxx/ |
H A D | tcm_qla2xxx.c | 2 * This file contains tcm implementation using v4 configfs fabric infrastructure 10 * the TCM_FC / Open-FCoE.org fabric module. 56 /* Local pointer to allocated TCM configfs fabric module */ 429 * fabric descriptor @se_cmd command to release 804 * table mapping for this initiator's fabric S_ID and LOOP_ID entries. 1590 * mappings for fabric S_ID and LOOP_ID. 1927 "TCM QLOGIC QLA2XXX NPIV capable fabric module %s on %s/%s on " 2042 struct target_fabric_configfs *fabric, *npiv_fabric; local 2045 pr_debug("TCM QLOGIC QLA2XXX fabric module %s on %s/%s on " 2051 fabric [all...] |
/drivers/target/sbp/ |
H A D | sbp_target.c | 45 /* Local pointer to allocated TCM configfs fabric module */ 1919 * Used for handling SCSI fabric dependent TransportIDs in SPC-3 and above 2280 return sprintf(page, "FireWire SBP fabric module %s\n", SBP_VERSION); 2551 struct target_fabric_configfs *fabric; local 2554 fabric = target_fabric_configfs_init(THIS_MODULE, "sbp"); 2555 if (IS_ERR(fabric)) { 2557 return PTR_ERR(fabric); 2560 fabric->tf_ops = sbp_ops; 2563 * Setup default attribute lists for various fabric->tf_cit_tmpl 2565 fabric [all...] |
/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 1260 /* Start fabric.c code */ 1633 return sprintf(page, "usb-gadget fabric module\n"); 1914 struct target_fabric_configfs *fabric; local 1917 fabric = target_fabric_configfs_init(THIS_MODULE, "usb_gadget"); 1918 if (IS_ERR(fabric)) { 1920 return PTR_ERR(fabric); 1923 fabric->tf_ops = usbg_ops; 1924 fabric->tf_cit_tmpl.tfc_wwn_cit.ct_attrs = usbg_wwn_attrs; 1925 fabric->tf_cit_tmpl.tfc_tpg_base_cit.ct_attrs = usbg_base_attrs; 1926 fabric [all...] |
H A D | Kconfig | 254 This fabric is an USB gadget. Two USB protocols are supported that is
|
/drivers/vhost/ |
H A D | scsi.c | 2 * Vhost kernel TCM fabric driver for virtio SCSI initiators 213 /* Local pointer to allocated TCM configfs fabric module */ 2031 * the fabric protocol_id set in tcm_vhost_make_tport(), and call 2234 return sprintf(page, "TCM_VHOST fabric module %s on %s/%s" 2294 struct target_fabric_configfs *fabric; local 2297 pr_debug("TCM_VHOST fabric module %s on %s/%s" 2303 fabric = target_fabric_configfs_init(THIS_MODULE, "vhost"); 2304 if (IS_ERR(fabric)) { 2306 return PTR_ERR(fabric); 2309 * Setup fabric [all...] |
/drivers/rapidio/ |
H A D | Kconfig | 65 This option includes basic RapidIO fabric enumeration and discovery
|
/drivers/scsi/csiostor/ |
H A D | csio_lnode.h | 74 uint8_t fabric[8]; member in struct:csio_fcf_info
|
H A D | t4fw_api_stor.h | 518 u8 fabric[8]; member in struct:fw_fcoe_fcf_cmd
|
H A D | csio_lnode.c | 797 memcpy(fcf_info->fabric, rsp->fabric, sizeof(fcf_info->fabric)); 1560 /* Translate all the fabric events to lnode SM events */
|
/drivers/scsi/ |
H A D | ipr.c | 241 "4101: Soft device bus fabric error"}, 321 "4100: Hard device bus fabric error"}, 447 "4102: Device bus fabric performance degradation"}, 1983 * ipr_log_fabric_path - Log a fabric path error 1985 * @fabric: fabric descriptor 1991 struct ipr_hostrcb_fabric_desc *fabric) 1994 u8 path_state = fabric->path_state; 2006 if (fabric->cascaded_expander == 0xff && fabric 1990 ipr_log_fabric_path(struct ipr_hostrcb *hostrcb, struct ipr_hostrcb_fabric_desc *fabric) argument 2039 ipr_log64_fabric_path(struct ipr_hostrcb *hostrcb, struct ipr_hostrcb64_fabric_desc *fabric) argument 2236 struct ipr_hostrcb_fabric_desc *fabric; local 2329 struct ipr_hostrcb64_fabric_desc *fabric; local [all...] |
H A D | ipr.h | 1094 #define for_each_fabric_cfg(fabric, cfg) \ 1095 for (cfg = (fabric)->elem; \ 1096 cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
|
/drivers/char/ |
H A D | Kconfig | 585 fabric. Upon loading, the driver exports a sysfs directory,
|