Lines Matching refs:btp

1286 	kmem_buftag_t *btp = NULL;
1318 btp = KMEM_BUFTAG(cp, buf);
1325 if (bcp == NULL && btp != NULL)
1326 bcp = btp->bt_bufctl;
1374 (intptr_t)btp->bt_bufctl ^ btp->bt_bxstat,
1390 KMEM_SIZE_DECODE(((uint32_t *)btp)[0]),
1391 KMEM_SIZE_DECODE(((uint32_t *)btp)[1]));
1598 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
1599 btp->bt_redzone = KMEM_REDZONE_PATTERN;
1600 btp->bt_bufctl = bcp;
1601 btp->bt_bxstat = (intptr_t)bcp ^ KMEM_BUFTAG_FREE;
1950 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
1951 kmem_bufctl_audit_t *bcp = (kmem_bufctl_audit_t *)btp->bt_bufctl;
1954 if (btp->bt_bxstat != ((intptr_t)bcp ^ KMEM_BUFTAG_FREE)) {
1959 btp->bt_bxstat = (intptr_t)bcp ^ KMEM_BUFTAG_ALLOC;
1973 *(uint64_t *)buf = btp->bt_redzone;
1986 btp->bt_redzone = KMEM_REDZONE_PATTERN;
2001 btp->bt_bxstat = (intptr_t)bcp ^ KMEM_BUFTAG_FREE;
2014 KMEM_BUFTAG_LITE_ENTER(btp, kmem_lite_count, caller);
2023 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
2024 kmem_bufctl_audit_t *bcp = (kmem_bufctl_audit_t *)btp->bt_bufctl;
2027 if (btp->bt_bxstat != ((intptr_t)bcp ^ KMEM_BUFTAG_ALLOC)) {
2028 if (btp->bt_bxstat == ((intptr_t)bcp ^ KMEM_BUFTAG_FREE)) {
2040 btp->bt_bxstat = (intptr_t)bcp ^ KMEM_BUFTAG_FREE;
2047 if (btp->bt_redzone != KMEM_REDZONE_PATTERN) {
2061 KMEM_BUFTAG_LITE_ENTER(btp, kmem_lite_count, caller);
2066 btp->bt_redzone = *(uint64_t *)buf;
2098 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
2099 *(uint64_t *)buf = btp->bt_redzone;
2673 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
2674 *(uint64_t *)buf = btp->bt_redzone;
2931 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
2933 ((uint32_t *)btp)[1] = KMEM_SIZE_ENCODE(size);
2936 KMEM_BUFTAG_LITE_ENTER(btp,
2986 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
2988 ((uint32_t *)btp)[1] = KMEM_SIZE_ENCODE(size);
2991 KMEM_BUFTAG_LITE_ENTER(btp, kmem_lite_count, caller());
3021 kmem_buftag_t *btp = KMEM_BUFTAG(cp, buf);
3022 uint32_t *ip = (uint32_t *)btp;
3040 btp->bt_redzone = KMEM_REDZONE_PATTERN;
3042 KMEM_BUFTAG_LITE_ENTER(btp, kmem_lite_count,