Lines Matching refs:bcp
44 struct xfs_buf_cancel *bcp;
50 list_for_each_entry(bcp, bucket, bc_list) {
51 if (bcp->bc_blkno == blkno && bcp->bc_len == len)
52 return bcp;
64 struct xfs_buf_cancel *bcp;
73 bcp = xlog_find_buffer_cancelled(log, blkno, len);
74 if (bcp) {
75 bcp->bc_refcount++;
79 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), 0);
80 bcp->bc_blkno = blkno;
81 bcp->bc_len = len;
82 bcp->bc_refcount = 1;
83 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkno));
113 struct xfs_buf_cancel *bcp;
115 bcp = xlog_find_buffer_cancelled(log, blkno, len);
116 if (!bcp) {
121 if (--bcp->bc_refcount == 0) {
122 list_del(&bcp->bc_list);
123 kmem_free(bcp);