Lines Matching defs:ibr
317 struct iblock_req *ibr = cmd->priv;
320 if (!refcount_dec_and_test(&ibr->pending))
325 else if (atomic_read(&ibr->ib_bio_err_cnt))
331 kfree(ibr);
337 struct iblock_req *ibr = cmd->priv;
345 atomic_inc(&ibr->ib_bio_err_cnt);
492 struct iblock_req *ibr;
525 ibr = kzalloc_obj(struct iblock_req);
526 if (!ibr)
528 cmd->priv = ibr;
537 refcount_set(&ibr->pending, 1);
547 refcount_inc(&ibr->pending);
563 kfree(ibr);
747 struct iblock_req *ibr;
785 ibr = kzalloc_obj(struct iblock_req);
786 if (!ibr)
788 cmd->priv = ibr;
791 refcount_set(&ibr->pending, 1);
803 refcount_set(&ibr->pending, 2);
833 refcount_inc(&ibr->pending);
857 kfree(ibr);