Searched refs:hash_con (Results 1 – 2 of 2) sorted by relevance
1112 struct qed_hash_iscsi_con *hash_con = NULL; in qed_iscsi_get_hash() local1117 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_iscsi_get_hash()1118 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()1122 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()1125 return hash_con; in qed_iscsi_get_hash()1207 struct qed_hash_iscsi_con *hash_con; in qed_iscsi_acquire_conn() local1211 hash_con = kzalloc(sizeof(*hash_con), GFP_ATOMIC); in qed_iscsi_acquire_conn()1212 if (!hash_con) in qed_iscsi_acquire_conn()1217 &hash_con->con); in qed_iscsi_acquire_conn()1220 kfree(hash_con); in qed_iscsi_acquire_conn()[all …]
777 struct qed_hash_fcoe_con *hash_con = NULL; in qed_fcoe_get_hash() local782 hash_for_each_possible(cdev->connections, hash_con, node, handle) { in qed_fcoe_get_hash()783 if (hash_con->con->icid == handle) in qed_fcoe_get_hash()787 if (!hash_con || (hash_con->con->icid != handle)) in qed_fcoe_get_hash()790 return hash_con; in qed_fcoe_get_hash()876 struct qed_hash_fcoe_con *hash_con; in qed_fcoe_acquire_conn() local880 hash_con = kzalloc(sizeof(*hash_con), GFP_KERNEL); in qed_fcoe_acquire_conn()881 if (!hash_con) { in qed_fcoe_acquire_conn()888 &hash_con->con); in qed_fcoe_acquire_conn()891 kfree(hash_con); in qed_fcoe_acquire_conn()[all …]