Searched refs:hash_con (Results 1 – 2 of 2) sorted by relevance
1063 struct qed_hash_iscsi_con *hash_con = NULL; in qed_iscsi_get_hash() local1068 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_iscsi_get_hash()1069 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()1073 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()1076 return hash_con; in qed_iscsi_get_hash()1158 struct qed_hash_iscsi_con *hash_con; in qed_iscsi_acquire_conn() local1162 hash_con = kzalloc(sizeof(*hash_con), GFP_ATOMIC); in qed_iscsi_acquire_conn()1163 if (!hash_con) in qed_iscsi_acquire_conn()1168 &hash_con->con); in qed_iscsi_acquire_conn()1171 kfree(hash_con); in qed_iscsi_acquire_conn()[all …]
755 struct qed_hash_fcoe_con *hash_con = NULL; in qed_fcoe_get_hash() local760 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_fcoe_get_hash()761 if (hash_con->con->icid == handle) in qed_fcoe_get_hash()765 if (!hash_con || (hash_con->con->icid != handle)) in qed_fcoe_get_hash()768 return hash_con; in qed_fcoe_get_hash()854 struct qed_hash_fcoe_con *hash_con; in qed_fcoe_acquire_conn() local858 hash_con = kzalloc(sizeof(*hash_con), GFP_KERNEL); in qed_fcoe_acquire_conn()859 if (!hash_con) { in qed_fcoe_acquire_conn()866 &hash_con->con); in qed_fcoe_acquire_conn()869 kfree(hash_con); in qed_fcoe_acquire_conn()[all …]