Lines Matching refs:ep
30 * @ep: pointer to iscsi ep
35 struct iscsi_cls_session *beiscsi_session_create(struct iscsi_endpoint *ep,
49 if (!ep) {
50 pr_err("beiscsi_session_create: invalid ep\n");
53 beiscsi_ep = ep->dd_data;
154 beiscsi_conn->ep = NULL;
183 struct iscsi_endpoint *ep;
187 ep = iscsi_lookup_endpoint(transport_fd);
188 if (!ep)
191 beiscsi_ep = ep->dd_data;
208 beiscsi_ep != phba->conn_table[cri_index]->ep) {
221 beiscsi_conn->ep = beiscsi_ep;
235 iscsi_put_endpoint(ep);
622 * @ep: pointer to iscsi ep
628 int beiscsi_ep_get_param(struct iscsi_endpoint *ep,
631 struct beiscsi_endpoint *beiscsi_ep = ep->dd_data;
921 beiscsi_ep = beiscsi_conn->ep;
1030 * Break ep->conn link here so that completions after
1043 * @ep: pointer to device endpoint struct
1050 static int beiscsi_open_conn(struct iscsi_endpoint *ep,
1054 struct beiscsi_endpoint *beiscsi_ep = ep->dd_data;
1076 (beiscsi_ep->ep_cid)] = ep;
1127 beiscsi_ep = ep->dd_data;
1152 struct iscsi_endpoint *ep;
1175 ep = iscsi_create_endpoint(sizeof(struct beiscsi_endpoint));
1176 if (!ep) {
1181 beiscsi_ep = ep->dd_data;
1183 beiscsi_ep->openiscsi_ep = ep;
1184 ret = beiscsi_open_conn(ep, NULL, dst_addr, non_blocking);
1191 return ep;
1194 iscsi_destroy_endpoint(ep);
1200 * @ep: endpoint to be used
1205 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms)
1207 struct beiscsi_endpoint *beiscsi_ep = ep->dd_data;
1300 * @ep: endpoint to be used
1304 void beiscsi_ep_disconnect(struct iscsi_endpoint *ep)
1310 beiscsi_ep = ep->dd_data;