Lines Matching refs:fnode_conn
173 struct iscsi_bus_flash_conn *fnode_conn,
183 struct iscsi_bus_flash_conn *fnode_conn);
185 struct iscsi_bus_flash_conn *fnode_conn);
7203 struct iscsi_bus_flash_conn *fnode_conn = NULL; in qla4xxx_sysfs_ddb_tgt_create() local
7215 fnode_conn = iscsi_create_flashnode_conn(ha->host, fnode_sess, in qla4xxx_sysfs_ddb_tgt_create()
7217 if (!fnode_conn) { in qla4xxx_sysfs_ddb_tgt_create()
7235 rc = qla4xxx_copy_from_fwddb_param(fnode_sess, fnode_conn, in qla4xxx_sysfs_ddb_tgt_create()
7244 __func__, fnode_conn->dev.kobj.name); in qla4xxx_sysfs_ddb_tgt_create()
7343 struct iscsi_bus_flash_conn *fnode_conn) in qla4xxx_sysfs_ddb_apply() argument
7373 qla4xxx_copy_to_fwddb_param(fnode_sess, fnode_conn, fw_ddb_entry); in qla4xxx_sysfs_ddb_apply()
7533 struct iscsi_bus_flash_conn *fnode_conn) in qla4xxx_sysfs_ddb_login() argument
7566 qla4xxx_copy_to_fwddb_param(fnode_sess, fnode_conn, fw_ddb_entry); in qla4xxx_sysfs_ddb_login()
7717 struct iscsi_bus_flash_conn *fnode_conn) in qla4xxx_sysfs_ddb_logout() argument
7776 sprintf(flash_tddb->ip_addr, "%pI6", fnode_conn->ipaddress); in qla4xxx_sysfs_ddb_logout()
7778 sprintf(flash_tddb->ip_addr, "%pI4", fnode_conn->ipaddress); in qla4xxx_sysfs_ddb_logout()
7781 flash_tddb->port = fnode_conn->port; in qla4xxx_sysfs_ddb_logout()
7833 struct iscsi_bus_flash_conn *fnode_conn; in qla4xxx_sysfs_ddb_get_param() local
7843 fnode_conn = iscsi_dev_to_flash_conn(dev); in qla4xxx_sysfs_ddb_get_param()
7847 rc = sprintf(buf, "%u\n", fnode_conn->is_fw_assigned_ipv6); in qla4xxx_sysfs_ddb_get_param()
7862 rc = sprintf(buf, "%u\n", fnode_conn->hdrdgst_en); in qla4xxx_sysfs_ddb_get_param()
7865 rc = sprintf(buf, "%u\n", fnode_conn->datadgst_en); in qla4xxx_sysfs_ddb_get_param()
7883 rc = sprintf(buf, "%u\n", fnode_conn->snack_req_en); in qla4xxx_sysfs_ddb_get_param()
7898 rc = sprintf(buf, "%u\n", fnode_conn->tcp_timestamp_stat); in qla4xxx_sysfs_ddb_get_param()
7901 rc = sprintf(buf, "%u\n", fnode_conn->tcp_nagle_disable); in qla4xxx_sysfs_ddb_get_param()
7904 rc = sprintf(buf, "%u\n", fnode_conn->tcp_wsf_disable); in qla4xxx_sysfs_ddb_get_param()
7907 rc = sprintf(buf, "%u\n", fnode_conn->tcp_timer_scale); in qla4xxx_sysfs_ddb_get_param()
7910 rc = sprintf(buf, "%u\n", fnode_conn->tcp_timestamp_en); in qla4xxx_sysfs_ddb_get_param()
7913 rc = sprintf(buf, "%u\n", fnode_conn->fragment_disable); in qla4xxx_sysfs_ddb_get_param()
7916 rc = sprintf(buf, "%u\n", fnode_conn->max_recv_dlength); in qla4xxx_sysfs_ddb_get_param()
7919 rc = sprintf(buf, "%u\n", fnode_conn->max_xmit_dlength); in qla4xxx_sysfs_ddb_get_param()
7934 rc = sprintf(buf, "%u\n", fnode_conn->keepalive_timeout); in qla4xxx_sysfs_ddb_get_param()
7943 rc = sprintf(buf, "%d\n", fnode_conn->port); in qla4xxx_sysfs_ddb_get_param()
7954 rc = sprintf(buf, "%pI6\n", fnode_conn->ipaddress); in qla4xxx_sysfs_ddb_get_param()
7956 rc = sprintf(buf, "%pI4\n", fnode_conn->ipaddress); in qla4xxx_sysfs_ddb_get_param()
7967 fnode_conn->redirect_ipaddr); in qla4xxx_sysfs_ddb_get_param()
7970 fnode_conn->redirect_ipaddr); in qla4xxx_sysfs_ddb_get_param()
7973 rc = sprintf(buf, "%u\n", fnode_conn->max_segment_size); in qla4xxx_sysfs_ddb_get_param()
7976 rc = sprintf(buf, "%u\n", fnode_conn->local_port); in qla4xxx_sysfs_ddb_get_param()
7979 rc = sprintf(buf, "%u\n", fnode_conn->ipv4_tos); in qla4xxx_sysfs_ddb_get_param()
7984 fnode_conn->ipv6_traffic_class); in qla4xxx_sysfs_ddb_get_param()
7989 rc = sprintf(buf, "%u\n", fnode_conn->ipv6_flow_label); in qla4xxx_sysfs_ddb_get_param()
7994 fnode_conn->link_local_ipv6_addr); in qla4xxx_sysfs_ddb_get_param()
8024 rc = sprintf(buf, "%u\n", fnode_conn->tcp_xmit_wsf); in qla4xxx_sysfs_ddb_get_param()
8027 rc = sprintf(buf, "%u\n", fnode_conn->tcp_recv_wsf); in qla4xxx_sysfs_ddb_get_param()
8055 rc = sprintf(buf, "%u\n", fnode_conn->statsn); in qla4xxx_sysfs_ddb_get_param()
8058 rc = sprintf(buf, "%u\n", fnode_conn->exp_statsn); in qla4xxx_sysfs_ddb_get_param()
8083 struct iscsi_bus_flash_conn *fnode_conn, in qla4xxx_sysfs_ddb_set_param() argument
8101 fnode_conn->is_fw_assigned_ipv6 = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8118 fnode_conn->hdrdgst_en = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8121 fnode_conn->datadgst_en = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8143 fnode_conn->snack_req_en = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8159 fnode_conn->tcp_timestamp_stat = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8162 fnode_conn->tcp_nagle_disable = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8165 fnode_conn->tcp_wsf_disable = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8168 fnode_conn->tcp_timer_scale = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8171 fnode_conn->tcp_timestamp_en = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8174 fnode_conn->fragment_disable = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8177 fnode_conn->max_recv_dlength = in qla4xxx_sysfs_ddb_set_param()
8181 fnode_conn->max_xmit_dlength = in qla4xxx_sysfs_ddb_set_param()
8200 fnode_conn->keepalive_timeout = in qla4xxx_sysfs_ddb_set_param()
8211 fnode_conn->port = *(uint16_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
8221 memcpy(fnode_conn->ipaddress, fnode_param->value, in qla4xxx_sysfs_ddb_set_param()
8229 memcpy(fnode_conn->redirect_ipaddr, fnode_param->value, in qla4xxx_sysfs_ddb_set_param()
8233 fnode_conn->max_segment_size = in qla4xxx_sysfs_ddb_set_param()
8237 fnode_conn->local_port = in qla4xxx_sysfs_ddb_set_param()
8241 fnode_conn->ipv4_tos = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8244 fnode_conn->ipv6_traffic_class = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8247 fnode_conn->ipv6_flow_label = fnode_param->value[0]; in qla4xxx_sysfs_ddb_set_param()
8257 memcpy(fnode_conn->link_local_ipv6_addr, in qla4xxx_sysfs_ddb_set_param()
8265 fnode_conn->tcp_xmit_wsf = in qla4xxx_sysfs_ddb_set_param()
8269 fnode_conn->tcp_recv_wsf = in qla4xxx_sysfs_ddb_set_param()
8273 fnode_conn->statsn = *(uint32_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
8276 fnode_conn->exp_statsn = in qla4xxx_sysfs_ddb_set_param()
8298 rc = qla4xxx_sysfs_ddb_apply(fnode_sess, fnode_conn); in qla4xxx_sysfs_ddb_set_param()