Lines Matching refs:attr
116 show_transport_handle(struct device *dev, struct device_attribute *attr, in show_transport_handle() argument
127 struct device_attribute *attr,char *buf) \
137 &dev_attr_handle.attr,
138 &dev_attr_caps.attr,
168 show_ep_handle(struct device *dev, struct device_attribute *attr, char *buf) in show_ep_handle() argument
176 &dev_attr_ep_handle.attr,
298 show_##type##_##name(struct device *dev, struct device_attribute *attr, \
419 struct attribute *attr, int i) in iscsi_iface_attr_is_visible() argument
427 if (attr == &dev_attr_iface_enabled.attr) in iscsi_iface_attr_is_visible()
429 else if (attr == &dev_attr_iface_vlan_id.attr) in iscsi_iface_attr_is_visible()
431 else if (attr == &dev_attr_iface_vlan_priority.attr) in iscsi_iface_attr_is_visible()
433 else if (attr == &dev_attr_iface_vlan_enabled.attr) in iscsi_iface_attr_is_visible()
435 else if (attr == &dev_attr_iface_mtu.attr) in iscsi_iface_attr_is_visible()
437 else if (attr == &dev_attr_iface_port.attr) in iscsi_iface_attr_is_visible()
439 else if (attr == &dev_attr_iface_ipaddress_state.attr) in iscsi_iface_attr_is_visible()
441 else if (attr == &dev_attr_iface_delayed_ack_en.attr) in iscsi_iface_attr_is_visible()
443 else if (attr == &dev_attr_iface_tcp_nagle_disable.attr) in iscsi_iface_attr_is_visible()
445 else if (attr == &dev_attr_iface_tcp_wsf_disable.attr) in iscsi_iface_attr_is_visible()
447 else if (attr == &dev_attr_iface_tcp_wsf.attr) in iscsi_iface_attr_is_visible()
449 else if (attr == &dev_attr_iface_tcp_timer_scale.attr) in iscsi_iface_attr_is_visible()
451 else if (attr == &dev_attr_iface_tcp_timestamp_en.attr) in iscsi_iface_attr_is_visible()
453 else if (attr == &dev_attr_iface_cache_id.attr) in iscsi_iface_attr_is_visible()
455 else if (attr == &dev_attr_iface_redirect_en.attr) in iscsi_iface_attr_is_visible()
457 else if (attr == &dev_attr_iface_def_taskmgmt_tmo.attr) in iscsi_iface_attr_is_visible()
459 else if (attr == &dev_attr_iface_header_digest.attr) in iscsi_iface_attr_is_visible()
461 else if (attr == &dev_attr_iface_data_digest.attr) in iscsi_iface_attr_is_visible()
463 else if (attr == &dev_attr_iface_immediate_data.attr) in iscsi_iface_attr_is_visible()
465 else if (attr == &dev_attr_iface_initial_r2t.attr) in iscsi_iface_attr_is_visible()
467 else if (attr == &dev_attr_iface_data_seq_in_order.attr) in iscsi_iface_attr_is_visible()
469 else if (attr == &dev_attr_iface_data_pdu_in_order.attr) in iscsi_iface_attr_is_visible()
471 else if (attr == &dev_attr_iface_erl.attr) in iscsi_iface_attr_is_visible()
473 else if (attr == &dev_attr_iface_max_recv_dlength.attr) in iscsi_iface_attr_is_visible()
475 else if (attr == &dev_attr_iface_first_burst_len.attr) in iscsi_iface_attr_is_visible()
477 else if (attr == &dev_attr_iface_max_outstanding_r2t.attr) in iscsi_iface_attr_is_visible()
479 else if (attr == &dev_attr_iface_max_burst_len.attr) in iscsi_iface_attr_is_visible()
481 else if (attr == &dev_attr_iface_chap_auth.attr) in iscsi_iface_attr_is_visible()
483 else if (attr == &dev_attr_iface_bidi_chap.attr) in iscsi_iface_attr_is_visible()
485 else if (attr == &dev_attr_iface_discovery_auth_optional.attr) in iscsi_iface_attr_is_visible()
487 else if (attr == &dev_attr_iface_discovery_logout.attr) in iscsi_iface_attr_is_visible()
489 else if (attr == &dev_attr_iface_strict_login_comp_en.attr) in iscsi_iface_attr_is_visible()
491 else if (attr == &dev_attr_iface_initiator_name.attr) in iscsi_iface_attr_is_visible()
494 if (attr == &dev_attr_ipv4_iface_ipaddress.attr) in iscsi_iface_attr_is_visible()
496 else if (attr == &dev_attr_ipv4_iface_gateway.attr) in iscsi_iface_attr_is_visible()
498 else if (attr == &dev_attr_ipv4_iface_subnet.attr) in iscsi_iface_attr_is_visible()
500 else if (attr == &dev_attr_ipv4_iface_bootproto.attr) in iscsi_iface_attr_is_visible()
502 else if (attr == in iscsi_iface_attr_is_visible()
503 &dev_attr_ipv4_iface_dhcp_dns_address_en.attr) in iscsi_iface_attr_is_visible()
505 else if (attr == in iscsi_iface_attr_is_visible()
506 &dev_attr_ipv4_iface_dhcp_slp_da_info_en.attr) in iscsi_iface_attr_is_visible()
508 else if (attr == &dev_attr_ipv4_iface_tos_en.attr) in iscsi_iface_attr_is_visible()
510 else if (attr == &dev_attr_ipv4_iface_tos.attr) in iscsi_iface_attr_is_visible()
512 else if (attr == &dev_attr_ipv4_iface_grat_arp_en.attr) in iscsi_iface_attr_is_visible()
514 else if (attr == in iscsi_iface_attr_is_visible()
515 &dev_attr_ipv4_iface_dhcp_alt_client_id_en.attr) in iscsi_iface_attr_is_visible()
517 else if (attr == &dev_attr_ipv4_iface_dhcp_alt_client_id.attr) in iscsi_iface_attr_is_visible()
519 else if (attr == in iscsi_iface_attr_is_visible()
520 &dev_attr_ipv4_iface_dhcp_req_vendor_id_en.attr) in iscsi_iface_attr_is_visible()
522 else if (attr == in iscsi_iface_attr_is_visible()
523 &dev_attr_ipv4_iface_dhcp_use_vendor_id_en.attr) in iscsi_iface_attr_is_visible()
525 else if (attr == &dev_attr_ipv4_iface_dhcp_vendor_id.attr) in iscsi_iface_attr_is_visible()
527 else if (attr == in iscsi_iface_attr_is_visible()
528 &dev_attr_ipv4_iface_dhcp_learn_iqn_en.attr) in iscsi_iface_attr_is_visible()
530 else if (attr == in iscsi_iface_attr_is_visible()
531 &dev_attr_ipv4_iface_fragment_disable.attr) in iscsi_iface_attr_is_visible()
533 else if (attr == in iscsi_iface_attr_is_visible()
534 &dev_attr_ipv4_iface_incoming_forwarding_en.attr) in iscsi_iface_attr_is_visible()
536 else if (attr == &dev_attr_ipv4_iface_ttl.attr) in iscsi_iface_attr_is_visible()
541 if (attr == &dev_attr_ipv6_iface_ipaddress.attr) in iscsi_iface_attr_is_visible()
543 else if (attr == &dev_attr_ipv6_iface_link_local_addr.attr) in iscsi_iface_attr_is_visible()
545 else if (attr == &dev_attr_ipv6_iface_router_addr.attr) in iscsi_iface_attr_is_visible()
547 else if (attr == &dev_attr_ipv6_iface_ipaddr_autocfg.attr) in iscsi_iface_attr_is_visible()
549 else if (attr == &dev_attr_ipv6_iface_link_local_autocfg.attr) in iscsi_iface_attr_is_visible()
551 else if (attr == &dev_attr_ipv6_iface_link_local_state.attr) in iscsi_iface_attr_is_visible()
553 else if (attr == &dev_attr_ipv6_iface_router_state.attr) in iscsi_iface_attr_is_visible()
555 else if (attr == in iscsi_iface_attr_is_visible()
556 &dev_attr_ipv6_iface_grat_neighbor_adv_en.attr) in iscsi_iface_attr_is_visible()
558 else if (attr == &dev_attr_ipv6_iface_mld_en.attr) in iscsi_iface_attr_is_visible()
560 else if (attr == &dev_attr_ipv6_iface_flow_label.attr) in iscsi_iface_attr_is_visible()
562 else if (attr == &dev_attr_ipv6_iface_traffic_class.attr) in iscsi_iface_attr_is_visible()
564 else if (attr == &dev_attr_ipv6_iface_hop_limit.attr) in iscsi_iface_attr_is_visible()
566 else if (attr == &dev_attr_ipv6_iface_nd_reachable_tmo.attr) in iscsi_iface_attr_is_visible()
568 else if (attr == &dev_attr_ipv6_iface_nd_rexmit_time.attr) in iscsi_iface_attr_is_visible()
570 else if (attr == &dev_attr_ipv6_iface_nd_stale_tmo.attr) in iscsi_iface_attr_is_visible()
572 else if (attr == &dev_attr_ipv6_iface_dup_addr_detect_cnt.attr) in iscsi_iface_attr_is_visible()
574 else if (attr == &dev_attr_ipv6_iface_router_adv_link_mtu.attr) in iscsi_iface_attr_is_visible()
612 &dev_attr_iface_enabled.attr,
613 &dev_attr_iface_vlan_id.attr,
614 &dev_attr_iface_vlan_priority.attr,
615 &dev_attr_iface_vlan_enabled.attr,
616 &dev_attr_ipv4_iface_ipaddress.attr,
617 &dev_attr_ipv4_iface_gateway.attr,
618 &dev_attr_ipv4_iface_subnet.attr,
619 &dev_attr_ipv4_iface_bootproto.attr,
620 &dev_attr_ipv6_iface_ipaddress.attr,
621 &dev_attr_ipv6_iface_link_local_addr.attr,
622 &dev_attr_ipv6_iface_router_addr.attr,
623 &dev_attr_ipv6_iface_ipaddr_autocfg.attr,
624 &dev_attr_ipv6_iface_link_local_autocfg.attr,
625 &dev_attr_iface_mtu.attr,
626 &dev_attr_iface_port.attr,
627 &dev_attr_iface_ipaddress_state.attr,
628 &dev_attr_iface_delayed_ack_en.attr,
629 &dev_attr_iface_tcp_nagle_disable.attr,
630 &dev_attr_iface_tcp_wsf_disable.attr,
631 &dev_attr_iface_tcp_wsf.attr,
632 &dev_attr_iface_tcp_timer_scale.attr,
633 &dev_attr_iface_tcp_timestamp_en.attr,
634 &dev_attr_iface_cache_id.attr,
635 &dev_attr_iface_redirect_en.attr,
636 &dev_attr_iface_def_taskmgmt_tmo.attr,
637 &dev_attr_iface_header_digest.attr,
638 &dev_attr_iface_data_digest.attr,
639 &dev_attr_iface_immediate_data.attr,
640 &dev_attr_iface_initial_r2t.attr,
641 &dev_attr_iface_data_seq_in_order.attr,
642 &dev_attr_iface_data_pdu_in_order.attr,
643 &dev_attr_iface_erl.attr,
644 &dev_attr_iface_max_recv_dlength.attr,
645 &dev_attr_iface_first_burst_len.attr,
646 &dev_attr_iface_max_outstanding_r2t.attr,
647 &dev_attr_iface_max_burst_len.attr,
648 &dev_attr_iface_chap_auth.attr,
649 &dev_attr_iface_bidi_chap.attr,
650 &dev_attr_iface_discovery_auth_optional.attr,
651 &dev_attr_iface_discovery_logout.attr,
652 &dev_attr_iface_strict_login_comp_en.attr,
653 &dev_attr_iface_initiator_name.attr,
654 &dev_attr_ipv4_iface_dhcp_dns_address_en.attr,
655 &dev_attr_ipv4_iface_dhcp_slp_da_info_en.attr,
656 &dev_attr_ipv4_iface_tos_en.attr,
657 &dev_attr_ipv4_iface_tos.attr,
658 &dev_attr_ipv4_iface_grat_arp_en.attr,
659 &dev_attr_ipv4_iface_dhcp_alt_client_id_en.attr,
660 &dev_attr_ipv4_iface_dhcp_alt_client_id.attr,
661 &dev_attr_ipv4_iface_dhcp_req_vendor_id_en.attr,
662 &dev_attr_ipv4_iface_dhcp_use_vendor_id_en.attr,
663 &dev_attr_ipv4_iface_dhcp_vendor_id.attr,
664 &dev_attr_ipv4_iface_dhcp_learn_iqn_en.attr,
665 &dev_attr_ipv4_iface_fragment_disable.attr,
666 &dev_attr_ipv4_iface_incoming_forwarding_en.attr,
667 &dev_attr_ipv4_iface_ttl.attr,
668 &dev_attr_ipv6_iface_link_local_state.attr,
669 &dev_attr_ipv6_iface_router_state.attr,
670 &dev_attr_ipv6_iface_grat_neighbor_adv_en.attr,
671 &dev_attr_ipv6_iface_mld_en.attr,
672 &dev_attr_ipv6_iface_flow_label.attr,
673 &dev_attr_ipv6_iface_traffic_class.attr,
674 &dev_attr_ipv6_iface_hop_limit.attr,
675 &dev_attr_ipv6_iface_nd_reachable_tmo.attr,
676 &dev_attr_ipv6_iface_nd_rexmit_time.attr,
677 &dev_attr_ipv6_iface_nd_stale_tmo.attr,
678 &dev_attr_ipv6_iface_dup_addr_detect_cnt.attr,
679 &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()
3743 struct device_attribute *attr, char *buf) \
3787 struct device_attribute *attr,\
3823 &dev_attr_conn_max_recv_dlength.attr,
3824 &dev_attr_conn_max_xmit_dlength.attr,
3825 &dev_attr_conn_header_digest.attr,
3826 &dev_attr_conn_data_digest.attr,
3827 &dev_attr_conn_ifmarker.attr,
3828 &dev_attr_conn_ofmarker.attr,
3829 &dev_attr_conn_address.attr,
3830 &dev_attr_conn_port.attr,
3831 &dev_attr_conn_exp_statsn.attr,
3832 &dev_attr_conn_persistent_address.attr,
3833 &dev_attr_conn_persistent_port.attr,
3834 &dev_attr_conn_ping_tmo.attr,
3835 &dev_attr_conn_recv_tmo.attr,
3836 &dev_attr_conn_local_port.attr,
3837 &dev_attr_conn_statsn.attr,
3838 &dev_attr_conn_keepalive_tmo.attr,
3839 &dev_attr_conn_max_segment_size.attr,
3840 &dev_attr_conn_tcp_timestamp_stat.attr,
3841 &dev_attr_conn_tcp_wsf_disable.attr,
3842 &dev_attr_conn_tcp_nagle_disable.attr,
3843 &dev_attr_conn_tcp_timer_scale.attr,
3844 &dev_attr_conn_tcp_timestamp_enable.attr,
3845 &dev_attr_conn_fragment_disable.attr,
3846 &dev_attr_conn_ipv4_tos.attr,
3847 &dev_attr_conn_ipv6_traffic_class.attr,
3848 &dev_attr_conn_ipv6_flow_label.attr,
3849 &dev_attr_conn_is_fw_assigned_ipv6.attr,
3850 &dev_attr_conn_tcp_xmit_wsf.attr,
3851 &dev_attr_conn_tcp_recv_wsf.attr,
3852 &dev_attr_conn_local_ipaddr.attr,
3857 struct attribute *attr, int i) in iscsi_conn_attr_is_visible() argument
3864 if (attr == &dev_attr_conn_max_recv_dlength.attr) in iscsi_conn_attr_is_visible()
3866 else if (attr == &dev_attr_conn_max_xmit_dlength.attr) in iscsi_conn_attr_is_visible()
3868 else if (attr == &dev_attr_conn_header_digest.attr) in iscsi_conn_attr_is_visible()
3870 else if (attr == &dev_attr_conn_data_digest.attr) in iscsi_conn_attr_is_visible()
3872 else if (attr == &dev_attr_conn_ifmarker.attr) in iscsi_conn_attr_is_visible()
3874 else if (attr == &dev_attr_conn_ofmarker.attr) in iscsi_conn_attr_is_visible()
3876 else if (attr == &dev_attr_conn_address.attr) in iscsi_conn_attr_is_visible()
3878 else if (attr == &dev_attr_conn_port.attr) in iscsi_conn_attr_is_visible()
3880 else if (attr == &dev_attr_conn_exp_statsn.attr) in iscsi_conn_attr_is_visible()
3882 else if (attr == &dev_attr_conn_persistent_address.attr) in iscsi_conn_attr_is_visible()
3884 else if (attr == &dev_attr_conn_persistent_port.attr) in iscsi_conn_attr_is_visible()
3886 else if (attr == &dev_attr_conn_ping_tmo.attr) in iscsi_conn_attr_is_visible()
3888 else if (attr == &dev_attr_conn_recv_tmo.attr) in iscsi_conn_attr_is_visible()
3890 else if (attr == &dev_attr_conn_local_port.attr) in iscsi_conn_attr_is_visible()
3892 else if (attr == &dev_attr_conn_statsn.attr) in iscsi_conn_attr_is_visible()
3894 else if (attr == &dev_attr_conn_keepalive_tmo.attr) in iscsi_conn_attr_is_visible()
3896 else if (attr == &dev_attr_conn_max_segment_size.attr) in iscsi_conn_attr_is_visible()
3898 else if (attr == &dev_attr_conn_tcp_timestamp_stat.attr) in iscsi_conn_attr_is_visible()
3900 else if (attr == &dev_attr_conn_tcp_wsf_disable.attr) in iscsi_conn_attr_is_visible()
3902 else if (attr == &dev_attr_conn_tcp_nagle_disable.attr) in iscsi_conn_attr_is_visible()
3904 else if (attr == &dev_attr_conn_tcp_timer_scale.attr) in iscsi_conn_attr_is_visible()
3906 else if (attr == &dev_attr_conn_tcp_timestamp_enable.attr) in iscsi_conn_attr_is_visible()
3908 else if (attr == &dev_attr_conn_fragment_disable.attr) in iscsi_conn_attr_is_visible()
3910 else if (attr == &dev_attr_conn_ipv4_tos.attr) in iscsi_conn_attr_is_visible()
3912 else if (attr == &dev_attr_conn_ipv6_traffic_class.attr) in iscsi_conn_attr_is_visible()
3914 else if (attr == &dev_attr_conn_ipv6_flow_label.attr) in iscsi_conn_attr_is_visible()
3916 else if (attr == &dev_attr_conn_is_fw_assigned_ipv6.attr) in iscsi_conn_attr_is_visible()
3918 else if (attr == &dev_attr_conn_tcp_xmit_wsf.attr) in iscsi_conn_attr_is_visible()
3920 else if (attr == &dev_attr_conn_tcp_recv_wsf.attr) in iscsi_conn_attr_is_visible()
3922 else if (attr == &dev_attr_conn_local_ipaddr.attr) in iscsi_conn_attr_is_visible()
3943 struct device_attribute *attr, char *buf) \
4001 show_priv_session_state(struct device *dev, struct device_attribute *attr, in show_priv_session_state() argument
4010 show_priv_session_creator(struct device *dev, struct device_attribute *attr, in show_priv_session_creator() argument
4019 show_priv_session_target_id(struct device *dev, struct device_attribute *attr, in show_priv_session_target_id() argument
4031 struct device_attribute *attr, char *buf) \
4043 struct device_attribute *attr, \
4076 &dev_attr_sess_initial_r2t.attr,
4077 &dev_attr_sess_max_outstanding_r2t.attr,
4078 &dev_attr_sess_immediate_data.attr,
4079 &dev_attr_sess_first_burst_len.attr,
4080 &dev_attr_sess_max_burst_len.attr,
4081 &dev_attr_sess_data_pdu_in_order.attr,
4082 &dev_attr_sess_data_seq_in_order.attr,
4083 &dev_attr_sess_erl.attr,
4084 &dev_attr_sess_targetname.attr,
4085 &dev_attr_sess_tpgt.attr,
4086 &dev_attr_sess_password.attr,
4087 &dev_attr_sess_password_in.attr,
4088 &dev_attr_sess_username.attr,
4089 &dev_attr_sess_username_in.attr,
4090 &dev_attr_sess_fast_abort.attr,
4091 &dev_attr_sess_abort_tmo.attr,
4092 &dev_attr_sess_lu_reset_tmo.attr,
4093 &dev_attr_sess_tgt_reset_tmo.attr,
4094 &dev_attr_sess_ifacename.attr,
4095 &dev_attr_sess_initiatorname.attr,
4096 &dev_attr_sess_targetalias.attr,
4097 &dev_attr_sess_boot_root.attr,
4098 &dev_attr_sess_boot_nic.attr,
4099 &dev_attr_sess_boot_target.attr,
4100 &dev_attr_priv_sess_recovery_tmo.attr,
4101 &dev_attr_priv_sess_state.attr,
4102 &dev_attr_priv_sess_creator.attr,
4103 &dev_attr_sess_chap_out_idx.attr,
4104 &dev_attr_sess_chap_in_idx.attr,
4105 &dev_attr_priv_sess_target_id.attr,
4106 &dev_attr_sess_auto_snd_tgt_disable.attr,
4107 &dev_attr_sess_discovery_session.attr,
4108 &dev_attr_sess_portal_type.attr,
4109 &dev_attr_sess_chap_auth.attr,
4110 &dev_attr_sess_discovery_logout.attr,
4111 &dev_attr_sess_bidi_chap.attr,
4112 &dev_attr_sess_discovery_auth_optional.attr,
4113 &dev_attr_sess_def_time2wait.attr,
4114 &dev_attr_sess_def_time2retain.attr,
4115 &dev_attr_sess_isid.attr,
4116 &dev_attr_sess_tsid.attr,
4117 &dev_attr_sess_def_taskmgmt_tmo.attr,
4118 &dev_attr_sess_discovery_parent_idx.attr,
4119 &dev_attr_sess_discovery_parent_type.attr,
4124 struct attribute *attr, int i) in iscsi_session_attr_is_visible() argument
4131 if (attr == &dev_attr_sess_initial_r2t.attr) in iscsi_session_attr_is_visible()
4133 else if (attr == &dev_attr_sess_max_outstanding_r2t.attr) in iscsi_session_attr_is_visible()
4135 else if (attr == &dev_attr_sess_immediate_data.attr) in iscsi_session_attr_is_visible()
4137 else if (attr == &dev_attr_sess_first_burst_len.attr) in iscsi_session_attr_is_visible()
4139 else if (attr == &dev_attr_sess_max_burst_len.attr) in iscsi_session_attr_is_visible()
4141 else if (attr == &dev_attr_sess_data_pdu_in_order.attr) in iscsi_session_attr_is_visible()
4143 else if (attr == &dev_attr_sess_data_seq_in_order.attr) in iscsi_session_attr_is_visible()
4145 else if (attr == &dev_attr_sess_erl.attr) in iscsi_session_attr_is_visible()
4147 else if (attr == &dev_attr_sess_targetname.attr) in iscsi_session_attr_is_visible()
4149 else if (attr == &dev_attr_sess_tpgt.attr) in iscsi_session_attr_is_visible()
4151 else if (attr == &dev_attr_sess_chap_in_idx.attr) in iscsi_session_attr_is_visible()
4153 else if (attr == &dev_attr_sess_chap_out_idx.attr) in iscsi_session_attr_is_visible()
4155 else if (attr == &dev_attr_sess_password.attr) in iscsi_session_attr_is_visible()
4157 else if (attr == &dev_attr_sess_password_in.attr) in iscsi_session_attr_is_visible()
4159 else if (attr == &dev_attr_sess_username.attr) in iscsi_session_attr_is_visible()
4161 else if (attr == &dev_attr_sess_username_in.attr) in iscsi_session_attr_is_visible()
4163 else if (attr == &dev_attr_sess_fast_abort.attr) in iscsi_session_attr_is_visible()
4165 else if (attr == &dev_attr_sess_abort_tmo.attr) in iscsi_session_attr_is_visible()
4167 else if (attr == &dev_attr_sess_lu_reset_tmo.attr) in iscsi_session_attr_is_visible()
4169 else if (attr == &dev_attr_sess_tgt_reset_tmo.attr) in iscsi_session_attr_is_visible()
4171 else if (attr == &dev_attr_sess_ifacename.attr) in iscsi_session_attr_is_visible()
4173 else if (attr == &dev_attr_sess_initiatorname.attr) in iscsi_session_attr_is_visible()
4175 else if (attr == &dev_attr_sess_targetalias.attr) in iscsi_session_attr_is_visible()
4177 else if (attr == &dev_attr_sess_boot_root.attr) in iscsi_session_attr_is_visible()
4179 else if (attr == &dev_attr_sess_boot_nic.attr) in iscsi_session_attr_is_visible()
4181 else if (attr == &dev_attr_sess_boot_target.attr) in iscsi_session_attr_is_visible()
4183 else if (attr == &dev_attr_sess_auto_snd_tgt_disable.attr) in iscsi_session_attr_is_visible()
4185 else if (attr == &dev_attr_sess_discovery_session.attr) in iscsi_session_attr_is_visible()
4187 else if (attr == &dev_attr_sess_portal_type.attr) in iscsi_session_attr_is_visible()
4189 else if (attr == &dev_attr_sess_chap_auth.attr) in iscsi_session_attr_is_visible()
4191 else if (attr == &dev_attr_sess_discovery_logout.attr) in iscsi_session_attr_is_visible()
4193 else if (attr == &dev_attr_sess_bidi_chap.attr) in iscsi_session_attr_is_visible()
4195 else if (attr == &dev_attr_sess_discovery_auth_optional.attr) in iscsi_session_attr_is_visible()
4197 else if (attr == &dev_attr_sess_def_time2wait.attr) in iscsi_session_attr_is_visible()
4199 else if (attr == &dev_attr_sess_def_time2retain.attr) in iscsi_session_attr_is_visible()
4201 else if (attr == &dev_attr_sess_isid.attr) in iscsi_session_attr_is_visible()
4203 else if (attr == &dev_attr_sess_tsid.attr) in iscsi_session_attr_is_visible()
4205 else if (attr == &dev_attr_sess_def_taskmgmt_tmo.attr) in iscsi_session_attr_is_visible()
4207 else if (attr == &dev_attr_sess_discovery_parent_idx.attr) in iscsi_session_attr_is_visible()
4209 else if (attr == &dev_attr_sess_discovery_parent_type.attr) in iscsi_session_attr_is_visible()
4211 else if (attr == &dev_attr_priv_sess_recovery_tmo.attr) in iscsi_session_attr_is_visible()
4213 else if (attr == &dev_attr_priv_sess_state.attr) in iscsi_session_attr_is_visible()
4215 else if (attr == &dev_attr_priv_sess_creator.attr) in iscsi_session_attr_is_visible()
4217 else if (attr == &dev_attr_priv_sess_target_id.attr) in iscsi_session_attr_is_visible()
4238 struct device_attribute *attr, char *buf) \
4258 &dev_attr_host_netdev.attr,
4259 &dev_attr_host_hwaddress.attr,
4260 &dev_attr_host_ipaddress.attr,
4261 &dev_attr_host_initiatorname.attr,
4262 &dev_attr_host_port_state.attr,
4263 &dev_attr_host_port_speed.attr,
4268 struct attribute *attr, int i) in iscsi_host_attr_is_visible() argument
4275 if (attr == &dev_attr_host_netdev.attr) in iscsi_host_attr_is_visible()
4277 else if (attr == &dev_attr_host_hwaddress.attr) in iscsi_host_attr_is_visible()
4279 else if (attr == &dev_attr_host_ipaddress.attr) in iscsi_host_attr_is_visible()
4281 else if (attr == &dev_attr_host_initiatorname.attr) in iscsi_host_attr_is_visible()
4283 else if (attr == &dev_attr_host_port_state.attr) in iscsi_host_attr_is_visible()
4285 else if (attr == &dev_attr_host_port_speed.attr) in iscsi_host_attr_is_visible()