Lines Matching refs:attr

127 show_transport_handle(struct device *dev, struct device_attribute *attr,  in show_transport_handle()  argument
142 struct device_attribute *attr,char *buf) \
152 &dev_attr_handle.attr,
153 &dev_attr_caps.attr,
188 show_ep_handle(struct device *dev, struct device_attribute *attr, char *buf) in show_ep_handle() argument
196 &dev_attr_ep_handle.attr,
321 show_##type##_##name(struct device *dev, struct device_attribute *attr, \
442 struct attribute *attr, int i) in iscsi_iface_attr_is_visible() argument
449 if (attr == &dev_attr_iface_def_taskmgmt_tmo.attr) in iscsi_iface_attr_is_visible()
451 else if (attr == &dev_attr_iface_header_digest.attr) in iscsi_iface_attr_is_visible()
453 else if (attr == &dev_attr_iface_data_digest.attr) in iscsi_iface_attr_is_visible()
455 else if (attr == &dev_attr_iface_immediate_data.attr) in iscsi_iface_attr_is_visible()
457 else if (attr == &dev_attr_iface_initial_r2t.attr) in iscsi_iface_attr_is_visible()
459 else if (attr == &dev_attr_iface_data_seq_in_order.attr) in iscsi_iface_attr_is_visible()
461 else if (attr == &dev_attr_iface_data_pdu_in_order.attr) in iscsi_iface_attr_is_visible()
463 else if (attr == &dev_attr_iface_erl.attr) in iscsi_iface_attr_is_visible()
465 else if (attr == &dev_attr_iface_max_recv_dlength.attr) in iscsi_iface_attr_is_visible()
467 else if (attr == &dev_attr_iface_first_burst_len.attr) in iscsi_iface_attr_is_visible()
469 else if (attr == &dev_attr_iface_max_outstanding_r2t.attr) in iscsi_iface_attr_is_visible()
471 else if (attr == &dev_attr_iface_max_burst_len.attr) in iscsi_iface_attr_is_visible()
473 else if (attr == &dev_attr_iface_chap_auth.attr) in iscsi_iface_attr_is_visible()
475 else if (attr == &dev_attr_iface_bidi_chap.attr) in iscsi_iface_attr_is_visible()
477 else if (attr == &dev_attr_iface_discovery_auth_optional.attr) in iscsi_iface_attr_is_visible()
479 else if (attr == &dev_attr_iface_discovery_logout.attr) in iscsi_iface_attr_is_visible()
481 else if (attr == &dev_attr_iface_strict_login_comp_en.attr) in iscsi_iface_attr_is_visible()
483 else if (attr == &dev_attr_iface_initiator_name.attr) in iscsi_iface_attr_is_visible()
489 if (attr == &dev_attr_iface_enabled.attr) in iscsi_iface_attr_is_visible()
491 else if (attr == &dev_attr_iface_vlan_id.attr) in iscsi_iface_attr_is_visible()
493 else if (attr == &dev_attr_iface_vlan_priority.attr) in iscsi_iface_attr_is_visible()
495 else if (attr == &dev_attr_iface_vlan_enabled.attr) in iscsi_iface_attr_is_visible()
497 else if (attr == &dev_attr_iface_mtu.attr) in iscsi_iface_attr_is_visible()
499 else if (attr == &dev_attr_iface_port.attr) in iscsi_iface_attr_is_visible()
501 else if (attr == &dev_attr_iface_ipaddress_state.attr) in iscsi_iface_attr_is_visible()
503 else if (attr == &dev_attr_iface_delayed_ack_en.attr) in iscsi_iface_attr_is_visible()
505 else if (attr == &dev_attr_iface_tcp_nagle_disable.attr) in iscsi_iface_attr_is_visible()
507 else if (attr == &dev_attr_iface_tcp_wsf_disable.attr) in iscsi_iface_attr_is_visible()
509 else if (attr == &dev_attr_iface_tcp_wsf.attr) in iscsi_iface_attr_is_visible()
511 else if (attr == &dev_attr_iface_tcp_timer_scale.attr) in iscsi_iface_attr_is_visible()
513 else if (attr == &dev_attr_iface_tcp_timestamp_en.attr) in iscsi_iface_attr_is_visible()
515 else if (attr == &dev_attr_iface_cache_id.attr) in iscsi_iface_attr_is_visible()
517 else if (attr == &dev_attr_iface_redirect_en.attr) in iscsi_iface_attr_is_visible()
520 if (attr == &dev_attr_ipv4_iface_ipaddress.attr) in iscsi_iface_attr_is_visible()
522 else if (attr == &dev_attr_ipv4_iface_gateway.attr) in iscsi_iface_attr_is_visible()
524 else if (attr == &dev_attr_ipv4_iface_subnet.attr) in iscsi_iface_attr_is_visible()
526 else if (attr == &dev_attr_ipv4_iface_bootproto.attr) in iscsi_iface_attr_is_visible()
528 else if (attr == in iscsi_iface_attr_is_visible()
529 &dev_attr_ipv4_iface_dhcp_dns_address_en.attr) in iscsi_iface_attr_is_visible()
531 else if (attr == in iscsi_iface_attr_is_visible()
532 &dev_attr_ipv4_iface_dhcp_slp_da_info_en.attr) in iscsi_iface_attr_is_visible()
534 else if (attr == &dev_attr_ipv4_iface_tos_en.attr) in iscsi_iface_attr_is_visible()
536 else if (attr == &dev_attr_ipv4_iface_tos.attr) in iscsi_iface_attr_is_visible()
538 else if (attr == &dev_attr_ipv4_iface_grat_arp_en.attr) in iscsi_iface_attr_is_visible()
540 else if (attr == in iscsi_iface_attr_is_visible()
541 &dev_attr_ipv4_iface_dhcp_alt_client_id_en.attr) in iscsi_iface_attr_is_visible()
543 else if (attr == &dev_attr_ipv4_iface_dhcp_alt_client_id.attr) in iscsi_iface_attr_is_visible()
545 else if (attr == in iscsi_iface_attr_is_visible()
546 &dev_attr_ipv4_iface_dhcp_req_vendor_id_en.attr) in iscsi_iface_attr_is_visible()
548 else if (attr == in iscsi_iface_attr_is_visible()
549 &dev_attr_ipv4_iface_dhcp_use_vendor_id_en.attr) in iscsi_iface_attr_is_visible()
551 else if (attr == &dev_attr_ipv4_iface_dhcp_vendor_id.attr) in iscsi_iface_attr_is_visible()
553 else if (attr == in iscsi_iface_attr_is_visible()
554 &dev_attr_ipv4_iface_dhcp_learn_iqn_en.attr) in iscsi_iface_attr_is_visible()
556 else if (attr == in iscsi_iface_attr_is_visible()
557 &dev_attr_ipv4_iface_fragment_disable.attr) in iscsi_iface_attr_is_visible()
559 else if (attr == in iscsi_iface_attr_is_visible()
560 &dev_attr_ipv4_iface_incoming_forwarding_en.attr) in iscsi_iface_attr_is_visible()
562 else if (attr == &dev_attr_ipv4_iface_ttl.attr) in iscsi_iface_attr_is_visible()
567 if (attr == &dev_attr_ipv6_iface_ipaddress.attr) in iscsi_iface_attr_is_visible()
569 else if (attr == &dev_attr_ipv6_iface_link_local_addr.attr) in iscsi_iface_attr_is_visible()
571 else if (attr == &dev_attr_ipv6_iface_router_addr.attr) in iscsi_iface_attr_is_visible()
573 else if (attr == &dev_attr_ipv6_iface_ipaddr_autocfg.attr) in iscsi_iface_attr_is_visible()
575 else if (attr == &dev_attr_ipv6_iface_link_local_autocfg.attr) in iscsi_iface_attr_is_visible()
577 else if (attr == &dev_attr_ipv6_iface_link_local_state.attr) in iscsi_iface_attr_is_visible()
579 else if (attr == &dev_attr_ipv6_iface_router_state.attr) in iscsi_iface_attr_is_visible()
581 else if (attr == in iscsi_iface_attr_is_visible()
582 &dev_attr_ipv6_iface_grat_neighbor_adv_en.attr) in iscsi_iface_attr_is_visible()
584 else if (attr == &dev_attr_ipv6_iface_mld_en.attr) in iscsi_iface_attr_is_visible()
586 else if (attr == &dev_attr_ipv6_iface_flow_label.attr) in iscsi_iface_attr_is_visible()
588 else if (attr == &dev_attr_ipv6_iface_traffic_class.attr) in iscsi_iface_attr_is_visible()
590 else if (attr == &dev_attr_ipv6_iface_hop_limit.attr) in iscsi_iface_attr_is_visible()
592 else if (attr == &dev_attr_ipv6_iface_nd_reachable_tmo.attr) in iscsi_iface_attr_is_visible()
594 else if (attr == &dev_attr_ipv6_iface_nd_rexmit_time.attr) in iscsi_iface_attr_is_visible()
596 else if (attr == &dev_attr_ipv6_iface_nd_stale_tmo.attr) in iscsi_iface_attr_is_visible()
598 else if (attr == &dev_attr_ipv6_iface_dup_addr_detect_cnt.attr) in iscsi_iface_attr_is_visible()
600 else if (attr == &dev_attr_ipv6_iface_router_adv_link_mtu.attr) in iscsi_iface_attr_is_visible()
613 &dev_attr_iface_enabled.attr,
614 &dev_attr_iface_vlan_id.attr,
615 &dev_attr_iface_vlan_priority.attr,
616 &dev_attr_iface_vlan_enabled.attr,
617 &dev_attr_ipv4_iface_ipaddress.attr,
618 &dev_attr_ipv4_iface_gateway.attr,
619 &dev_attr_ipv4_iface_subnet.attr,
620 &dev_attr_ipv4_iface_bootproto.attr,
621 &dev_attr_ipv6_iface_ipaddress.attr,
622 &dev_attr_ipv6_iface_link_local_addr.attr,
623 &dev_attr_ipv6_iface_router_addr.attr,
624 &dev_attr_ipv6_iface_ipaddr_autocfg.attr,
625 &dev_attr_ipv6_iface_link_local_autocfg.attr,
626 &dev_attr_iface_mtu.attr,
627 &dev_attr_iface_port.attr,
628 &dev_attr_iface_ipaddress_state.attr,
629 &dev_attr_iface_delayed_ack_en.attr,
630 &dev_attr_iface_tcp_nagle_disable.attr,
631 &dev_attr_iface_tcp_wsf_disable.attr,
632 &dev_attr_iface_tcp_wsf.attr,
633 &dev_attr_iface_tcp_timer_scale.attr,
634 &dev_attr_iface_tcp_timestamp_en.attr,
635 &dev_attr_iface_cache_id.attr,
636 &dev_attr_iface_redirect_en.attr,
637 &dev_attr_iface_def_taskmgmt_tmo.attr,
638 &dev_attr_iface_header_digest.attr,
639 &dev_attr_iface_data_digest.attr,
640 &dev_attr_iface_immediate_data.attr,
641 &dev_attr_iface_initial_r2t.attr,
642 &dev_attr_iface_data_seq_in_order.attr,
643 &dev_attr_iface_data_pdu_in_order.attr,
644 &dev_attr_iface_erl.attr,
645 &dev_attr_iface_max_recv_dlength.attr,
646 &dev_attr_iface_first_burst_len.attr,
647 &dev_attr_iface_max_outstanding_r2t.attr,
648 &dev_attr_iface_max_burst_len.attr,
649 &dev_attr_iface_chap_auth.attr,
650 &dev_attr_iface_bidi_chap.attr,
651 &dev_attr_iface_discovery_auth_optional.attr,
652 &dev_attr_iface_discovery_logout.attr,
653 &dev_attr_iface_strict_login_comp_en.attr,
654 &dev_attr_iface_initiator_name.attr,
655 &dev_attr_ipv4_iface_dhcp_dns_address_en.attr,
656 &dev_attr_ipv4_iface_dhcp_slp_da_info_en.attr,
657 &dev_attr_ipv4_iface_tos_en.attr,
658 &dev_attr_ipv4_iface_tos.attr,
659 &dev_attr_ipv4_iface_grat_arp_en.attr,
660 &dev_attr_ipv4_iface_dhcp_alt_client_id_en.attr,
661 &dev_attr_ipv4_iface_dhcp_alt_client_id.attr,
662 &dev_attr_ipv4_iface_dhcp_req_vendor_id_en.attr,
663 &dev_attr_ipv4_iface_dhcp_use_vendor_id_en.attr,
664 &dev_attr_ipv4_iface_dhcp_vendor_id.attr,
665 &dev_attr_ipv4_iface_dhcp_learn_iqn_en.attr,
666 &dev_attr_ipv4_iface_fragment_disable.attr,
667 &dev_attr_ipv4_iface_incoming_forwarding_en.attr,
668 &dev_attr_ipv4_iface_ttl.attr,
669 &dev_attr_ipv6_iface_link_local_state.attr,
670 &dev_attr_ipv6_iface_router_state.attr,
671 &dev_attr_ipv6_iface_grat_neighbor_adv_en.attr,
672 &dev_attr_ipv6_iface_mld_en.attr,
673 &dev_attr_ipv6_iface_flow_label.attr,
674 &dev_attr_ipv6_iface_traffic_class.attr,
675 &dev_attr_ipv6_iface_hop_limit.attr,
676 &dev_attr_ipv6_iface_nd_reachable_tmo.attr,
677 &dev_attr_ipv6_iface_nd_rexmit_time.attr,
678 &dev_attr_ipv6_iface_nd_stale_tmo.attr,
679 &dev_attr_ipv6_iface_dup_addr_detect_cnt.attr,
680 &dev_attr_ipv6_iface_router_adv_link_mtu.attr,
809 show_##type##_##name(struct device *dev, struct device_attribute *attr, \
871 &dev_attr_fnode_auto_snd_tgt_disable.attr,
872 &dev_attr_fnode_discovery_session.attr,
873 &dev_attr_fnode_portal_type.attr,
874 &dev_attr_fnode_entry_enable.attr,
875 &dev_attr_fnode_immediate_data.attr,
876 &dev_attr_fnode_initial_r2t.attr,
877 &dev_attr_fnode_data_seq_in_order.attr,
878 &dev_attr_fnode_data_pdu_in_order.attr,
879 &dev_attr_fnode_chap_auth.attr,
880 &dev_attr_fnode_discovery_logout.attr,
881 &dev_attr_fnode_bidi_chap.attr,
882 &dev_attr_fnode_discovery_auth_optional.attr,
883 &dev_attr_fnode_erl.attr,
884 &dev_attr_fnode_first_burst_len.attr,
885 &dev_attr_fnode_def_time2wait.attr,
886 &dev_attr_fnode_def_time2retain.attr,
887 &dev_attr_fnode_max_outstanding_r2t.attr,
888 &dev_attr_fnode_isid.attr,
889 &dev_attr_fnode_tsid.attr,
890 &dev_attr_fnode_max_burst_len.attr,
891 &dev_attr_fnode_def_taskmgmt_tmo.attr,
892 &dev_attr_fnode_targetalias.attr,
893 &dev_attr_fnode_targetname.attr,
894 &dev_attr_fnode_tpgt.attr,
895 &dev_attr_fnode_discovery_parent_idx.attr,
896 &dev_attr_fnode_discovery_parent_type.attr,
897 &dev_attr_fnode_chap_in_idx.attr,
898 &dev_attr_fnode_chap_out_idx.attr,
899 &dev_attr_fnode_username.attr,
900 &dev_attr_fnode_username_in.attr,
901 &dev_attr_fnode_password.attr,
902 &dev_attr_fnode_password_in.attr,
903 &dev_attr_fnode_is_boot_target.attr,
908 struct attribute *attr, in iscsi_flashnode_sess_attr_is_visible() argument
917 if (attr == &dev_attr_fnode_auto_snd_tgt_disable.attr) { in iscsi_flashnode_sess_attr_is_visible()
919 } else if (attr == &dev_attr_fnode_discovery_session.attr) { in iscsi_flashnode_sess_attr_is_visible()
921 } else if (attr == &dev_attr_fnode_portal_type.attr) { in iscsi_flashnode_sess_attr_is_visible()
923 } else if (attr == &dev_attr_fnode_entry_enable.attr) { in iscsi_flashnode_sess_attr_is_visible()
925 } else if (attr == &dev_attr_fnode_immediate_data.attr) { in iscsi_flashnode_sess_attr_is_visible()
927 } else if (attr == &dev_attr_fnode_initial_r2t.attr) { in iscsi_flashnode_sess_attr_is_visible()
929 } else if (attr == &dev_attr_fnode_data_seq_in_order.attr) { in iscsi_flashnode_sess_attr_is_visible()
931 } else if (attr == &dev_attr_fnode_data_pdu_in_order.attr) { in iscsi_flashnode_sess_attr_is_visible()
933 } else if (attr == &dev_attr_fnode_chap_auth.attr) { in iscsi_flashnode_sess_attr_is_visible()
935 } else if (attr == &dev_attr_fnode_discovery_logout.attr) { in iscsi_flashnode_sess_attr_is_visible()
937 } else if (attr == &dev_attr_fnode_bidi_chap.attr) { in iscsi_flashnode_sess_attr_is_visible()
939 } else if (attr == &dev_attr_fnode_discovery_auth_optional.attr) { in iscsi_flashnode_sess_attr_is_visible()
941 } else if (attr == &dev_attr_fnode_erl.attr) { in iscsi_flashnode_sess_attr_is_visible()
943 } else if (attr == &dev_attr_fnode_first_burst_len.attr) { in iscsi_flashnode_sess_attr_is_visible()
945 } else if (attr == &dev_attr_fnode_def_time2wait.attr) { in iscsi_flashnode_sess_attr_is_visible()
947 } else if (attr == &dev_attr_fnode_def_time2retain.attr) { in iscsi_flashnode_sess_attr_is_visible()
949 } else if (attr == &dev_attr_fnode_max_outstanding_r2t.attr) { in iscsi_flashnode_sess_attr_is_visible()
951 } else if (attr == &dev_attr_fnode_isid.attr) { in iscsi_flashnode_sess_attr_is_visible()
953 } else if (attr == &dev_attr_fnode_tsid.attr) { in iscsi_flashnode_sess_attr_is_visible()
955 } else if (attr == &dev_attr_fnode_max_burst_len.attr) { in iscsi_flashnode_sess_attr_is_visible()
957 } else if (attr == &dev_attr_fnode_def_taskmgmt_tmo.attr) { in iscsi_flashnode_sess_attr_is_visible()
959 } else if (attr == &dev_attr_fnode_targetalias.attr) { in iscsi_flashnode_sess_attr_is_visible()
961 } else if (attr == &dev_attr_fnode_targetname.attr) { in iscsi_flashnode_sess_attr_is_visible()
963 } else if (attr == &dev_attr_fnode_tpgt.attr) { in iscsi_flashnode_sess_attr_is_visible()
965 } else if (attr == &dev_attr_fnode_discovery_parent_idx.attr) { in iscsi_flashnode_sess_attr_is_visible()
967 } else if (attr == &dev_attr_fnode_discovery_parent_type.attr) { in iscsi_flashnode_sess_attr_is_visible()
969 } else if (attr == &dev_attr_fnode_chap_in_idx.attr) { in iscsi_flashnode_sess_attr_is_visible()
971 } else if (attr == &dev_attr_fnode_chap_out_idx.attr) { in iscsi_flashnode_sess_attr_is_visible()
973 } else if (attr == &dev_attr_fnode_username.attr) { in iscsi_flashnode_sess_attr_is_visible()
975 } else if (attr == &dev_attr_fnode_username_in.attr) { in iscsi_flashnode_sess_attr_is_visible()
977 } else if (attr == &dev_attr_fnode_password.attr) { in iscsi_flashnode_sess_attr_is_visible()
979 } else if (attr == &dev_attr_fnode_password_in.attr) { in iscsi_flashnode_sess_attr_is_visible()
981 } else if (attr == &dev_attr_fnode_is_boot_target.attr) { in iscsi_flashnode_sess_attr_is_visible()
1021 show_##type##_##name(struct device *dev, struct device_attribute *attr, \
1080 &dev_attr_fnode_is_fw_assigned_ipv6.attr,
1081 &dev_attr_fnode_header_digest.attr,
1082 &dev_attr_fnode_data_digest.attr,
1083 &dev_attr_fnode_snack_req.attr,
1084 &dev_attr_fnode_tcp_timestamp_stat.attr,
1085 &dev_attr_fnode_tcp_nagle_disable.attr,
1086 &dev_attr_fnode_tcp_wsf_disable.attr,
1087 &dev_attr_fnode_tcp_timer_scale.attr,
1088 &dev_attr_fnode_tcp_timestamp_enable.attr,
1089 &dev_attr_fnode_fragment_disable.attr,
1090 &dev_attr_fnode_max_recv_dlength.attr,
1091 &dev_attr_fnode_max_xmit_dlength.attr,
1092 &dev_attr_fnode_keepalive_tmo.attr,
1093 &dev_attr_fnode_port.attr,
1094 &dev_attr_fnode_ipaddress.attr,
1095 &dev_attr_fnode_redirect_ipaddr.attr,
1096 &dev_attr_fnode_max_segment_size.attr,
1097 &dev_attr_fnode_local_port.attr,
1098 &dev_attr_fnode_ipv4_tos.attr,
1099 &dev_attr_fnode_ipv6_traffic_class.attr,
1100 &dev_attr_fnode_ipv6_flow_label.attr,
1101 &dev_attr_fnode_link_local_ipv6.attr,
1102 &dev_attr_fnode_tcp_xmit_wsf.attr,
1103 &dev_attr_fnode_tcp_recv_wsf.attr,
1104 &dev_attr_fnode_statsn.attr,
1105 &dev_attr_fnode_exp_statsn.attr,
1110 struct attribute *attr, in iscsi_flashnode_conn_attr_is_visible() argument
1118 if (attr == &dev_attr_fnode_is_fw_assigned_ipv6.attr) { in iscsi_flashnode_conn_attr_is_visible()
1120 } else if (attr == &dev_attr_fnode_header_digest.attr) { in iscsi_flashnode_conn_attr_is_visible()
1122 } else if (attr == &dev_attr_fnode_data_digest.attr) { in iscsi_flashnode_conn_attr_is_visible()
1124 } else if (attr == &dev_attr_fnode_snack_req.attr) { in iscsi_flashnode_conn_attr_is_visible()
1126 } else if (attr == &dev_attr_fnode_tcp_timestamp_stat.attr) { in iscsi_flashnode_conn_attr_is_visible()
1128 } else if (attr == &dev_attr_fnode_tcp_nagle_disable.attr) { in iscsi_flashnode_conn_attr_is_visible()
1130 } else if (attr == &dev_attr_fnode_tcp_wsf_disable.attr) { in iscsi_flashnode_conn_attr_is_visible()
1132 } else if (attr == &dev_attr_fnode_tcp_timer_scale.attr) { in iscsi_flashnode_conn_attr_is_visible()
1134 } else if (attr == &dev_attr_fnode_tcp_timestamp_enable.attr) { in iscsi_flashnode_conn_attr_is_visible()
1136 } else if (attr == &dev_attr_fnode_fragment_disable.attr) { in iscsi_flashnode_conn_attr_is_visible()
1138 } else if (attr == &dev_attr_fnode_max_recv_dlength.attr) { in iscsi_flashnode_conn_attr_is_visible()
1140 } else if (attr == &dev_attr_fnode_max_xmit_dlength.attr) { in iscsi_flashnode_conn_attr_is_visible()
1142 } else if (attr == &dev_attr_fnode_keepalive_tmo.attr) { in iscsi_flashnode_conn_attr_is_visible()
1144 } else if (attr == &dev_attr_fnode_port.attr) { in iscsi_flashnode_conn_attr_is_visible()
1146 } else if (attr == &dev_attr_fnode_ipaddress.attr) { in iscsi_flashnode_conn_attr_is_visible()
1148 } else if (attr == &dev_attr_fnode_redirect_ipaddr.attr) { in iscsi_flashnode_conn_attr_is_visible()
1150 } else if (attr == &dev_attr_fnode_max_segment_size.attr) { in iscsi_flashnode_conn_attr_is_visible()
1152 } else if (attr == &dev_attr_fnode_local_port.attr) { in iscsi_flashnode_conn_attr_is_visible()
1154 } else if (attr == &dev_attr_fnode_ipv4_tos.attr) { in iscsi_flashnode_conn_attr_is_visible()
1156 } else if (attr == &dev_attr_fnode_ipv6_traffic_class.attr) { in iscsi_flashnode_conn_attr_is_visible()
1158 } else if (attr == &dev_attr_fnode_ipv6_flow_label.attr) { in iscsi_flashnode_conn_attr_is_visible()
1160 } else if (attr == &dev_attr_fnode_link_local_ipv6.attr) { in iscsi_flashnode_conn_attr_is_visible()
1162 } else if (attr == &dev_attr_fnode_tcp_xmit_wsf.attr) { in iscsi_flashnode_conn_attr_is_visible()
1164 } else if (attr == &dev_attr_fnode_tcp_recv_wsf.attr) { in iscsi_flashnode_conn_attr_is_visible()
1166 } else if (attr == &dev_attr_fnode_statsn.attr) { in iscsi_flashnode_conn_attr_is_visible()
1168 } else if (attr == &dev_attr_fnode_exp_statsn.attr) { in iscsi_flashnode_conn_attr_is_visible()
4138 struct device_attribute *attr, char *buf) \
4187 struct device_attribute *attr, char *buf) in show_conn_state() argument
4204 struct device_attribute *attr,\
4240 &dev_attr_conn_max_recv_dlength.attr,
4241 &dev_attr_conn_max_xmit_dlength.attr,
4242 &dev_attr_conn_header_digest.attr,
4243 &dev_attr_conn_data_digest.attr,
4244 &dev_attr_conn_ifmarker.attr,
4245 &dev_attr_conn_ofmarker.attr,
4246 &dev_attr_conn_address.attr,
4247 &dev_attr_conn_port.attr,
4248 &dev_attr_conn_exp_statsn.attr,
4249 &dev_attr_conn_persistent_address.attr,
4250 &dev_attr_conn_persistent_port.attr,
4251 &dev_attr_conn_ping_tmo.attr,
4252 &dev_attr_conn_recv_tmo.attr,
4253 &dev_attr_conn_local_port.attr,
4254 &dev_attr_conn_statsn.attr,
4255 &dev_attr_conn_keepalive_tmo.attr,
4256 &dev_attr_conn_max_segment_size.attr,
4257 &dev_attr_conn_tcp_timestamp_stat.attr,
4258 &dev_attr_conn_tcp_wsf_disable.attr,
4259 &dev_attr_conn_tcp_nagle_disable.attr,
4260 &dev_attr_conn_tcp_timer_scale.attr,
4261 &dev_attr_conn_tcp_timestamp_enable.attr,
4262 &dev_attr_conn_fragment_disable.attr,
4263 &dev_attr_conn_ipv4_tos.attr,
4264 &dev_attr_conn_ipv6_traffic_class.attr,
4265 &dev_attr_conn_ipv6_flow_label.attr,
4266 &dev_attr_conn_is_fw_assigned_ipv6.attr,
4267 &dev_attr_conn_tcp_xmit_wsf.attr,
4268 &dev_attr_conn_tcp_recv_wsf.attr,
4269 &dev_attr_conn_local_ipaddr.attr,
4270 &dev_attr_conn_state.attr,
4275 struct attribute *attr, int i) in iscsi_conn_attr_is_visible() argument
4282 if (attr == &dev_attr_conn_max_recv_dlength.attr) in iscsi_conn_attr_is_visible()
4284 else if (attr == &dev_attr_conn_max_xmit_dlength.attr) in iscsi_conn_attr_is_visible()
4286 else if (attr == &dev_attr_conn_header_digest.attr) in iscsi_conn_attr_is_visible()
4288 else if (attr == &dev_attr_conn_data_digest.attr) in iscsi_conn_attr_is_visible()
4290 else if (attr == &dev_attr_conn_ifmarker.attr) in iscsi_conn_attr_is_visible()
4292 else if (attr == &dev_attr_conn_ofmarker.attr) in iscsi_conn_attr_is_visible()
4294 else if (attr == &dev_attr_conn_address.attr) in iscsi_conn_attr_is_visible()
4296 else if (attr == &dev_attr_conn_port.attr) in iscsi_conn_attr_is_visible()
4298 else if (attr == &dev_attr_conn_exp_statsn.attr) in iscsi_conn_attr_is_visible()
4300 else if (attr == &dev_attr_conn_persistent_address.attr) in iscsi_conn_attr_is_visible()
4302 else if (attr == &dev_attr_conn_persistent_port.attr) in iscsi_conn_attr_is_visible()
4304 else if (attr == &dev_attr_conn_ping_tmo.attr) in iscsi_conn_attr_is_visible()
4306 else if (attr == &dev_attr_conn_recv_tmo.attr) in iscsi_conn_attr_is_visible()
4308 else if (attr == &dev_attr_conn_local_port.attr) in iscsi_conn_attr_is_visible()
4310 else if (attr == &dev_attr_conn_statsn.attr) in iscsi_conn_attr_is_visible()
4312 else if (attr == &dev_attr_conn_keepalive_tmo.attr) in iscsi_conn_attr_is_visible()
4314 else if (attr == &dev_attr_conn_max_segment_size.attr) in iscsi_conn_attr_is_visible()
4316 else if (attr == &dev_attr_conn_tcp_timestamp_stat.attr) in iscsi_conn_attr_is_visible()
4318 else if (attr == &dev_attr_conn_tcp_wsf_disable.attr) in iscsi_conn_attr_is_visible()
4320 else if (attr == &dev_attr_conn_tcp_nagle_disable.attr) in iscsi_conn_attr_is_visible()
4322 else if (attr == &dev_attr_conn_tcp_timer_scale.attr) in iscsi_conn_attr_is_visible()
4324 else if (attr == &dev_attr_conn_tcp_timestamp_enable.attr) in iscsi_conn_attr_is_visible()
4326 else if (attr == &dev_attr_conn_fragment_disable.attr) in iscsi_conn_attr_is_visible()
4328 else if (attr == &dev_attr_conn_ipv4_tos.attr) in iscsi_conn_attr_is_visible()
4330 else if (attr == &dev_attr_conn_ipv6_traffic_class.attr) in iscsi_conn_attr_is_visible()
4332 else if (attr == &dev_attr_conn_ipv6_flow_label.attr) in iscsi_conn_attr_is_visible()
4334 else if (attr == &dev_attr_conn_is_fw_assigned_ipv6.attr) in iscsi_conn_attr_is_visible()
4336 else if (attr == &dev_attr_conn_tcp_xmit_wsf.attr) in iscsi_conn_attr_is_visible()
4338 else if (attr == &dev_attr_conn_tcp_recv_wsf.attr) in iscsi_conn_attr_is_visible()
4340 else if (attr == &dev_attr_conn_local_ipaddr.attr) in iscsi_conn_attr_is_visible()
4342 else if (attr == &dev_attr_conn_state.attr) in iscsi_conn_attr_is_visible()
4363 struct device_attribute *attr, char *buf) \
4421 show_priv_session_target_state(struct device *dev, struct device_attribute *attr, in show_priv_session_target_state() argument
4434 show_priv_session_state(struct device *dev, struct device_attribute *attr, in show_priv_session_state() argument
4443 show_priv_session_creator(struct device *dev, struct device_attribute *attr, in show_priv_session_creator() argument
4452 show_priv_session_target_id(struct device *dev, struct device_attribute *attr, in show_priv_session_target_id() argument
4464 struct device_attribute *attr, char *buf) \
4476 struct device_attribute *attr, \
4509 &dev_attr_sess_initial_r2t.attr,
4510 &dev_attr_sess_max_outstanding_r2t.attr,
4511 &dev_attr_sess_immediate_data.attr,
4512 &dev_attr_sess_first_burst_len.attr,
4513 &dev_attr_sess_max_burst_len.attr,
4514 &dev_attr_sess_data_pdu_in_order.attr,
4515 &dev_attr_sess_data_seq_in_order.attr,
4516 &dev_attr_sess_erl.attr,
4517 &dev_attr_sess_targetname.attr,
4518 &dev_attr_sess_tpgt.attr,
4519 &dev_attr_sess_password.attr,
4520 &dev_attr_sess_password_in.attr,
4521 &dev_attr_sess_username.attr,
4522 &dev_attr_sess_username_in.attr,
4523 &dev_attr_sess_fast_abort.attr,
4524 &dev_attr_sess_abort_tmo.attr,
4525 &dev_attr_sess_lu_reset_tmo.attr,
4526 &dev_attr_sess_tgt_reset_tmo.attr,
4527 &dev_attr_sess_ifacename.attr,
4528 &dev_attr_sess_initiatorname.attr,
4529 &dev_attr_sess_targetalias.attr,
4530 &dev_attr_sess_boot_root.attr,
4531 &dev_attr_sess_boot_nic.attr,
4532 &dev_attr_sess_boot_target.attr,
4533 &dev_attr_priv_sess_recovery_tmo.attr,
4534 &dev_attr_priv_sess_state.attr,
4535 &dev_attr_priv_sess_target_state.attr,
4536 &dev_attr_priv_sess_creator.attr,
4537 &dev_attr_sess_chap_out_idx.attr,
4538 &dev_attr_sess_chap_in_idx.attr,
4539 &dev_attr_priv_sess_target_id.attr,
4540 &dev_attr_sess_auto_snd_tgt_disable.attr,
4541 &dev_attr_sess_discovery_session.attr,
4542 &dev_attr_sess_portal_type.attr,
4543 &dev_attr_sess_chap_auth.attr,
4544 &dev_attr_sess_discovery_logout.attr,
4545 &dev_attr_sess_bidi_chap.attr,
4546 &dev_attr_sess_discovery_auth_optional.attr,
4547 &dev_attr_sess_def_time2wait.attr,
4548 &dev_attr_sess_def_time2retain.attr,
4549 &dev_attr_sess_isid.attr,
4550 &dev_attr_sess_tsid.attr,
4551 &dev_attr_sess_def_taskmgmt_tmo.attr,
4552 &dev_attr_sess_discovery_parent_idx.attr,
4553 &dev_attr_sess_discovery_parent_type.attr,
4558 struct attribute *attr, int i) in iscsi_session_attr_is_visible() argument
4565 if (attr == &dev_attr_sess_initial_r2t.attr) in iscsi_session_attr_is_visible()
4567 else if (attr == &dev_attr_sess_max_outstanding_r2t.attr) in iscsi_session_attr_is_visible()
4569 else if (attr == &dev_attr_sess_immediate_data.attr) in iscsi_session_attr_is_visible()
4571 else if (attr == &dev_attr_sess_first_burst_len.attr) in iscsi_session_attr_is_visible()
4573 else if (attr == &dev_attr_sess_max_burst_len.attr) in iscsi_session_attr_is_visible()
4575 else if (attr == &dev_attr_sess_data_pdu_in_order.attr) in iscsi_session_attr_is_visible()
4577 else if (attr == &dev_attr_sess_data_seq_in_order.attr) in iscsi_session_attr_is_visible()
4579 else if (attr == &dev_attr_sess_erl.attr) in iscsi_session_attr_is_visible()
4581 else if (attr == &dev_attr_sess_targetname.attr) in iscsi_session_attr_is_visible()
4583 else if (attr == &dev_attr_sess_tpgt.attr) in iscsi_session_attr_is_visible()
4585 else if (attr == &dev_attr_sess_chap_in_idx.attr) in iscsi_session_attr_is_visible()
4587 else if (attr == &dev_attr_sess_chap_out_idx.attr) in iscsi_session_attr_is_visible()
4589 else if (attr == &dev_attr_sess_password.attr) in iscsi_session_attr_is_visible()
4591 else if (attr == &dev_attr_sess_password_in.attr) in iscsi_session_attr_is_visible()
4593 else if (attr == &dev_attr_sess_username.attr) in iscsi_session_attr_is_visible()
4595 else if (attr == &dev_attr_sess_username_in.attr) in iscsi_session_attr_is_visible()
4597 else if (attr == &dev_attr_sess_fast_abort.attr) in iscsi_session_attr_is_visible()
4599 else if (attr == &dev_attr_sess_abort_tmo.attr) in iscsi_session_attr_is_visible()
4601 else if (attr == &dev_attr_sess_lu_reset_tmo.attr) in iscsi_session_attr_is_visible()
4603 else if (attr == &dev_attr_sess_tgt_reset_tmo.attr) in iscsi_session_attr_is_visible()
4605 else if (attr == &dev_attr_sess_ifacename.attr) in iscsi_session_attr_is_visible()
4607 else if (attr == &dev_attr_sess_initiatorname.attr) in iscsi_session_attr_is_visible()
4609 else if (attr == &dev_attr_sess_targetalias.attr) in iscsi_session_attr_is_visible()
4611 else if (attr == &dev_attr_sess_boot_root.attr) in iscsi_session_attr_is_visible()
4613 else if (attr == &dev_attr_sess_boot_nic.attr) in iscsi_session_attr_is_visible()
4615 else if (attr == &dev_attr_sess_boot_target.attr) in iscsi_session_attr_is_visible()
4617 else if (attr == &dev_attr_sess_auto_snd_tgt_disable.attr) in iscsi_session_attr_is_visible()
4619 else if (attr == &dev_attr_sess_discovery_session.attr) in iscsi_session_attr_is_visible()
4621 else if (attr == &dev_attr_sess_portal_type.attr) in iscsi_session_attr_is_visible()
4623 else if (attr == &dev_attr_sess_chap_auth.attr) in iscsi_session_attr_is_visible()
4625 else if (attr == &dev_attr_sess_discovery_logout.attr) in iscsi_session_attr_is_visible()
4627 else if (attr == &dev_attr_sess_bidi_chap.attr) in iscsi_session_attr_is_visible()
4629 else if (attr == &dev_attr_sess_discovery_auth_optional.attr) in iscsi_session_attr_is_visible()
4631 else if (attr == &dev_attr_sess_def_time2wait.attr) in iscsi_session_attr_is_visible()
4633 else if (attr == &dev_attr_sess_def_time2retain.attr) in iscsi_session_attr_is_visible()
4635 else if (attr == &dev_attr_sess_isid.attr) in iscsi_session_attr_is_visible()
4637 else if (attr == &dev_attr_sess_tsid.attr) in iscsi_session_attr_is_visible()
4639 else if (attr == &dev_attr_sess_def_taskmgmt_tmo.attr) in iscsi_session_attr_is_visible()
4641 else if (attr == &dev_attr_sess_discovery_parent_idx.attr) in iscsi_session_attr_is_visible()
4643 else if (attr == &dev_attr_sess_discovery_parent_type.attr) in iscsi_session_attr_is_visible()
4645 else if (attr == &dev_attr_priv_sess_recovery_tmo.attr) in iscsi_session_attr_is_visible()
4647 else if (attr == &dev_attr_priv_sess_state.attr) in iscsi_session_attr_is_visible()
4649 else if (attr == &dev_attr_priv_sess_target_state.attr) in iscsi_session_attr_is_visible()
4651 else if (attr == &dev_attr_priv_sess_creator.attr) in iscsi_session_attr_is_visible()
4653 else if (attr == &dev_attr_priv_sess_target_id.attr) in iscsi_session_attr_is_visible()
4674 struct device_attribute *attr, char *buf) \
4694 &dev_attr_host_netdev.attr,
4695 &dev_attr_host_hwaddress.attr,
4696 &dev_attr_host_ipaddress.attr,
4697 &dev_attr_host_initiatorname.attr,
4698 &dev_attr_host_port_state.attr,
4699 &dev_attr_host_port_speed.attr,
4704 struct attribute *attr, int i) in iscsi_host_attr_is_visible() argument
4711 if (attr == &dev_attr_host_netdev.attr) in iscsi_host_attr_is_visible()
4713 else if (attr == &dev_attr_host_hwaddress.attr) in iscsi_host_attr_is_visible()
4715 else if (attr == &dev_attr_host_ipaddress.attr) in iscsi_host_attr_is_visible()
4717 else if (attr == &dev_attr_host_initiatorname.attr) in iscsi_host_attr_is_visible()
4719 else if (attr == &dev_attr_host_port_state.attr) in iscsi_host_attr_is_visible()
4721 else if (attr == &dev_attr_host_port_speed.attr) in iscsi_host_attr_is_visible()