Searched refs:hash_con (Results 1 – 2 of 2) sorted by relevance
1111 struct qed_hash_iscsi_con *hash_con = NULL; in qed_iscsi_get_hash() local1116 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_iscsi_get_hash()1117 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()1121 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()1124 return hash_con; in qed_iscsi_get_hash()1208 struct qed_hash_iscsi_con *hash_con; in qed_iscsi_acquire_conn() local1212 hash_con = kzalloc(sizeof(*hash_con), GFP_ATOMIC); in qed_iscsi_acquire_conn()1213 if (!hash_con) in qed_iscsi_acquire_conn()1218 &hash_con->con); in qed_iscsi_acquire_conn()1221 kfree(hash_con); in qed_iscsi_acquire_conn()[all …]
772 struct qed_hash_fcoe_con *hash_con = NULL; in qed_fcoe_get_hash() local777 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_fcoe_get_hash()778 if (hash_con->con->icid == handle) in qed_fcoe_get_hash()782 if (!hash_con || (hash_con->con->icid != handle)) in qed_fcoe_get_hash()785 return hash_con; in qed_fcoe_get_hash()871 struct qed_hash_fcoe_con *hash_con; in qed_fcoe_acquire_conn() local875 hash_con = kzalloc(sizeof(*hash_con), GFP_KERNEL); in qed_fcoe_acquire_conn()876 if (!hash_con) { in qed_fcoe_acquire_conn()883 &hash_con->con); in qed_fcoe_acquire_conn()886 kfree(hash_con); in qed_fcoe_acquire_conn()[all …]