Lines Matching refs:refcount

84 		kref_put(&els_req->refcount, qedf_release_cmd);
97 kref_put(&els_req->refcount, qedf_release_cmd);
188 kref_put(&els_req->refcount, qedf_release_cmd);
196 int refcount;
211 refcount = kref_read(&orig_io_req->refcount);
213 " orig xid = 0x%x, rrq_xid = 0x%x, refcount=%d\n",
214 orig_io_req, orig_io_req->xid, rrq_req->xid, refcount);
221 if (orig_io_req && refcount > 0)
222 kref_put(&orig_io_req->refcount, qedf_release_cmd);
232 kref_put(&rrq_req->refcount, qedf_release_cmd);
248 int refcount;
258 refcount = kref_read(&aborted_io_req->refcount);
260 "RRQ work was queued prior to a flush xid=0x%x, refcount=%d.\n",
261 aborted_io_req->xid, refcount);
262 kref_put(&aborted_io_req->refcount, qedf_release_cmd);
280 * Sanity check that we can send a RRQ to make sure that refcount isn't
283 refcount = kref_read(&aborted_io_req->refcount);
284 if (refcount != 1) {
286 "refcount for xid=%x io_req=%p refcount=%d is not 1.\n",
287 aborted_io_req->xid, aborted_io_req, refcount);
324 kref_put(&aborted_io_req->refcount, qedf_release_cmd);
549 int refcount;
569 refcount = kref_read(&orig_io_req->refcount);
571 " orig_io_xid=0x%x, rec_xid=0x%x, refcount=%d\n",
572 orig_io_req, orig_io_req->xid, srr_req->xid, refcount);
618 kref_put(&orig_io_req->refcount, qedf_release_cmd);
652 kref_get(&orig_io_req->refcount);
688 kref_put(&orig_io_req->refcount, qedf_release_cmd);
719 kref_get(&orig_io_req->refcount);
767 kref_put(&io_req->refcount, qedf_release_cmd);
805 kref_put(&orig_io_req->refcount, qedf_release_cmd);
844 int refcount;
868 refcount = kref_read(&orig_io_req->refcount);
870 " orig_io_xid=0x%x, rec_xid=0x%x, refcount=%d\n",
871 orig_io_req, orig_io_req->xid, rec_req->xid, refcount);
990 kref_put(&orig_io_req->refcount, qedf_release_cmd);
1027 kref_get(&orig_io_req->refcount);
1063 kref_put(&orig_io_req->refcount, qedf_release_cmd);