Lines Matching refs:fnode_conn

1024 	struct iscsi_bus_flash_conn *fnode_conn = iscsi_dev_to_flash_conn(dev);\
1026 iscsi_flash_conn_to_flash_session(fnode_conn);\
1027 struct iscsi_transport *t = fnode_conn->transport; \
1114 struct iscsi_bus_flash_conn *fnode_conn = iscsi_dev_to_flash_conn(dev); in iscsi_flashnode_conn_attr_is_visible() local
1115 struct iscsi_transport *t = fnode_conn->transport; in iscsi_flashnode_conn_attr_is_visible()
1190 struct iscsi_bus_flash_conn *fnode_conn = iscsi_dev_to_flash_conn(dev); in iscsi_flashnode_conn_release() local
1192 kfree(fnode_conn->ipaddress); in iscsi_flashnode_conn_release()
1193 kfree(fnode_conn->redirect_ipaddr); in iscsi_flashnode_conn_release()
1194 kfree(fnode_conn->link_local_ipv6_addr); in iscsi_flashnode_conn_release()
1195 kfree(fnode_conn); in iscsi_flashnode_conn_release()
1287 struct iscsi_bus_flash_conn *fnode_conn; in iscsi_create_flashnode_conn() local
1290 fnode_conn = kzalloc(sizeof(*fnode_conn) + dd_size, GFP_KERNEL); in iscsi_create_flashnode_conn()
1291 if (!fnode_conn) in iscsi_create_flashnode_conn()
1294 fnode_conn->transport = transport; in iscsi_create_flashnode_conn()
1295 fnode_conn->dev.type = &iscsi_flashnode_conn_dev_type; in iscsi_create_flashnode_conn()
1296 fnode_conn->dev.bus = &iscsi_flashnode_bus; in iscsi_create_flashnode_conn()
1297 fnode_conn->dev.parent = &fnode_sess->dev; in iscsi_create_flashnode_conn()
1298 dev_set_name(&fnode_conn->dev, "flashnode_conn-%u:%u:0", in iscsi_create_flashnode_conn()
1301 err = device_register(&fnode_conn->dev); in iscsi_create_flashnode_conn()
1306 fnode_conn->dd_data = &fnode_conn[1]; in iscsi_create_flashnode_conn()
1308 return fnode_conn; in iscsi_create_flashnode_conn()
1311 put_device(&fnode_conn->dev); in iscsi_create_flashnode_conn()
1332 static int iscsi_destroy_flashnode_conn(struct iscsi_bus_flash_conn *fnode_conn) in iscsi_destroy_flashnode_conn() argument
1334 device_unregister(&fnode_conn->dev); in iscsi_destroy_flashnode_conn()
3461 struct iscsi_bus_flash_conn *fnode_conn; in iscsi_set_flashnode_param() local
3494 fnode_conn = iscsi_dev_to_flash_conn(dev); in iscsi_set_flashnode_param()
3495 err = transport->set_flashnode_param(fnode_sess, fnode_conn, data, len); in iscsi_set_flashnode_param()
3588 struct iscsi_bus_flash_conn *fnode_conn; in iscsi_login_flashnode() local
3621 fnode_conn = iscsi_dev_to_flash_conn(dev); in iscsi_login_flashnode()
3622 err = transport->login_flashnode(fnode_sess, fnode_conn); in iscsi_login_flashnode()
3640 struct iscsi_bus_flash_conn *fnode_conn; in iscsi_logout_flashnode() local
3673 fnode_conn = iscsi_dev_to_flash_conn(dev); in iscsi_logout_flashnode()
3675 err = transport->logout_flashnode(fnode_sess, fnode_conn); in iscsi_logout_flashnode()