Home
last modified time | relevance | path

Searched refs:hash_con (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.c250 struct qed_hash_nvmetcp_con *hash_con = NULL; in qed_nvmetcp_get_hash() local
255 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_nvmetcp_get_hash()
256 if (hash_con->con->icid == handle) in qed_nvmetcp_get_hash()
260 if (!hash_con || hash_con->con->icid != handle) in qed_nvmetcp_get_hash()
263 return hash_con; in qed_nvmetcp_get_hash()
610 struct qed_hash_nvmetcp_con *hash_con; in qed_nvmetcp_acquire_conn() local
614 hash_con = kzalloc(sizeof(*hash_con), GFP_ATOMIC); in qed_nvmetcp_acquire_conn()
615 if (!hash_con) in qed_nvmetcp_acquire_conn()
620 &hash_con->con); in qed_nvmetcp_acquire_conn()
623 kfree(hash_con); in qed_nvmetcp_acquire_conn()
[all …]
Dqed_iscsi.c1063 struct qed_hash_iscsi_con *hash_con = NULL; in qed_iscsi_get_hash() local
1068 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() local
1162 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 …]
Dqed_fcoe.c755 struct qed_hash_fcoe_con *hash_con = NULL; in qed_fcoe_get_hash() local
760 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() local
858 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 …]