Lines Matching refs:ccb
44 * A CCB allocation group. Each group is a page size. We can find
45 * the allocation group for a CCB by truncating the CCB address to
47 * by taking the offset of the CCB into the page.
56 #define BHA_CCB_GROUP(ccb) \
57 (struct bha_ccb_group *)(trunc_page((vaddr_t)ccb))
58 #define BHA_CCB_OFFSET(ccb) ((vaddr_t)(ccb) & PAGE_MASK)
60 #define BHA_CCB_SYNC(sc, ccb, ops) \
62 struct bha_ccb_group *bcg = BHA_CCB_GROUP((ccb)); \
65 BHA_CCB_OFFSET(ccb), sizeof(struct bha_ccb), (ops)); \