• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:roles

275  * Define roles that are specific to port_id. Values are relative to ROLE_MASK.
884 /* identify any roles that are port_id specific */
903 if (rport->roles == FC_PORT_ROLE_UNKNOWN)
905 return get_fc_port_roles_names(rport->roles, buf);
908 static FC_DEVICE_ATTR(rport, roles, S_IRUGO,
1223 if (vport->roles == FC_PORT_ROLE_UNKNOWN)
1225 return get_fc_port_roles_names(vport->roles, buf);
1227 static FC_DEVICE_ATTR(vport, roles, S_IRUGO, show_fc_vport_roles, NULL);
1787 vid.roles = FC_PORT_ROLE_FCP_INITIATOR;
2190 SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(roles);
2207 SETUP_PRIVATE_VPORT_ATTRIBUTE_RD(roles);
2499 * roles for the remote port.
2532 rport->roles = ids->roles;
2548 if (rport->roles & FC_PORT_ROLE_FCP_TARGET)
2576 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) {
2600 * roles for the remote port.
2604 * of the port, it's FC address (port_id), and the FC4 roles that are
2683 rport->roles = ids->roles;
2707 /* was a target, not in roles */
2709 (!(ids->roles & FC_PORT_ROLE_FCP_TARGET)))
2789 rport->roles = ids->roles;
2797 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) {
2911 if (rport->roles & FC_PORT_ROLE_FCP_INITIATOR &&
2929 * fc_remote_port_rolechg - notifies the fc transport that the roles on a remote may have changed.
2931 * @roles: New roles for this port.
2934 * roles on a remote port may have changed. The largest effect of this is
2949 fc_remote_port_rolechg(struct fc_rport *rport, u32 roles)
2958 if (roles & FC_PORT_ROLE_FCP_TARGET) {
2962 } else if (!(rport->roles & FC_PORT_ROLE_FCP_TARGET))
2972 rport->roles = roles;
3041 !(rport->roles & FC_PORT_ROLE_FCP_TARGET)) {
3091 rport->roles = FC_PORT_ROLE_UNKNOWN;
3183 (rport->roles & FC_PORT_ROLE_FCP_TARGET) &&
3235 * @ids: The world wide names, FC4 port roles, etc for
3273 vport->roles = ids->roles;
3363 * @ids: The world wide names, FC4 port roles, etc for