Lines Matching refs:btp
1076 umem_buftag_t *btp = NULL;
1110 btp = UMEM_BUFTAG(cp, buf);
1117 if (bcp == NULL && btp != NULL)
1118 bcp = btp->bt_bufctl;
1166 (intptr_t)btp->bt_bufctl ^ btp->bt_bxstat,
1183 UMEM_SIZE_DECODE(((uint32_t *)btp)[0]),
1184 UMEM_SIZE_DECODE(((uint32_t *)btp)[1]));
1460 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
1461 btp->bt_redzone = UMEM_REDZONE_PATTERN;
1462 btp->bt_bufctl = bcp;
1463 btp->bt_bxstat = (intptr_t)bcp ^ UMEM_BUFTAG_FREE;
1674 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
1675 umem_bufctl_audit_t *bcp = (umem_bufctl_audit_t *)btp->bt_bufctl;
1679 if (btp->bt_bxstat != ((intptr_t)bcp ^ UMEM_BUFTAG_FREE)) {
1684 btp->bt_bxstat = (intptr_t)bcp ^ UMEM_BUFTAG_ALLOC;
1691 btp->bt_redzone = UMEM_REDZONE_PATTERN;
1717 btp->bt_bxstat = (intptr_t)bcp ^ UMEM_BUFTAG_FREE;
1733 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
1734 umem_bufctl_audit_t *bcp = (umem_bufctl_audit_t *)btp->bt_bufctl;
1737 if (btp->bt_bxstat != ((intptr_t)bcp ^ UMEM_BUFTAG_ALLOC)) {
1738 if (btp->bt_bxstat == ((intptr_t)bcp ^ UMEM_BUFTAG_FREE)) {
1750 btp->bt_bxstat = (intptr_t)bcp ^ UMEM_BUFTAG_FREE;
1757 if (btp->bt_redzone != UMEM_REDZONE_PATTERN) {
2140 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
2142 ((uint32_t *)btp)[1] = UMEM_SIZE_ENCODE(size);
2166 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
2168 ((uint32_t *)btp)[1] = UMEM_SIZE_ENCODE(size);
2230 umem_buftag_t *btp = UMEM_BUFTAG(cp, buf);
2231 uint32_t *ip = (uint32_t *)btp;
2249 btp->bt_redzone = UMEM_REDZONE_PATTERN;