Searched refs:conn_p (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target.c2157 struct iscsi_conn *conn_p; iscsit_logout_closesession() local
2171 list_for_each_entry(conn_p, &sess->sess_conn_list, conn_list) { iscsit_logout_closesession()
2172 if (conn_p->conn_state != TARG_CONN_STATE_LOGGED_IN) iscsit_logout_closesession()
2176 conn_p->conn_state = TARG_CONN_STATE_IN_LOGOUT; iscsit_logout_closesession()
2500 struct iscsi_conn *conn_p; iscsit_build_conn_drop_async_message() local
2507 list_for_each_entry(conn_p, &conn->sess->sess_conn_list, conn_list) { iscsit_build_conn_drop_async_message()
2508 if (conn_p->conn_state == TARG_CONN_STATE_LOGGED_IN) { iscsit_build_conn_drop_async_message()
2509 iscsit_inc_conn_usage_count(conn_p); iscsit_build_conn_drop_async_message()
2518 cmd = iscsit_allocate_cmd(conn_p, TASK_RUNNING); iscsit_build_conn_drop_async_message()
2520 iscsit_dec_conn_usage_count(conn_p); iscsit_build_conn_drop_async_message()
2528 spin_lock_bh(&conn_p->cmd_lock); iscsit_build_conn_drop_async_message()
2529 list_add_tail(&cmd->i_conn_node, &conn_p->conn_cmd_list); iscsit_build_conn_drop_async_message()
2530 spin_unlock_bh(&conn_p->cmd_lock); iscsit_build_conn_drop_async_message()
2532 iscsit_add_cmd_to_response_queue(cmd, conn_p, cmd->i_state); iscsit_build_conn_drop_async_message()
2533 iscsit_dec_conn_usage_count(conn_p); iscsit_build_conn_drop_async_message()

Completed in 78 milliseconds