Lines Matching refs:bcp
53 struct xfs_buf_cancel *bcp;
59 list_for_each_entry(bcp, bucket, bc_list) {
60 if (bcp->bc_blkno == blkno && bcp->bc_len == len)
61 return bcp;
73 struct xfs_buf_cancel *bcp;
82 bcp = xlog_find_buffer_cancelled(log, blkno, len);
83 if (bcp) {
84 bcp->bc_refcount++;
88 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), 0);
89 bcp->bc_blkno = blkno;
90 bcp->bc_len = len;
91 bcp->bc_refcount = 1;
92 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkno));
122 struct xfs_buf_cancel *bcp;
124 bcp = xlog_find_buffer_cancelled(log, blkno, len);
125 if (!bcp) {
130 if (--bcp->bc_refcount == 0) {
131 list_del(&bcp->bc_list);
132 kmem_free(bcp);