Lines Matching defs:cache_flags

1317 		if (cp->cache_flags & KMF_BUFTAG)
1319 if (cp->cache_flags & KMF_HASH) {
1403 if (bcp != NULL && (cp->cache_flags & KMF_AUDIT) &&
1531 int cache_flags = cp->cache_flags;
1562 if (cache_flags & KMF_HASH) {
1582 if (cache_flags & KMF_HASH) {
1586 if (cache_flags & KMF_AUDIT) {
1597 if (cache_flags & KMF_BUFTAG) {
1602 if (cache_flags & KMF_DEADBEEF) {
1648 if (cp->cache_flags & KMF_HASH) {
1683 if (cp->cache_flags & KMF_HASH) {
1691 if ((cp->cache_flags & (KMF_AUDIT | KMF_BUFTAG)) == KMF_AUDIT) {
1722 if (new_slab && prefill && (cp->cache_flags & KMF_PREFILL) &&
1791 if (cp->cache_flags & KMF_DEADBEEF) {
1815 if (cp->cache_flags & KMF_HASH) {
1851 if ((cp->cache_flags & (KMF_AUDIT | KMF_BUFTAG)) == KMF_AUDIT) {
1852 if (cp->cache_flags & KMF_CONTENTS)
1961 if ((cp->cache_flags & KMF_HASH) && bcp->bc_addr != buf) {
1966 if (cp->cache_flags & KMF_DEADBEEF) {
1967 if (!construct && (cp->cache_flags & KMF_LITE)) {
2002 if (cp->cache_flags & KMF_DEADBEEF)
2008 if (cp->cache_flags & KMF_AUDIT) {
2012 if ((cp->cache_flags & KMF_LITE) &&
2042 if ((cp->cache_flags & KMF_HASH) && bcp->bc_addr != buf) {
2052 if (cp->cache_flags & KMF_AUDIT) {
2053 if (cp->cache_flags & KMF_CONTENTS)
2059 if ((cp->cache_flags & KMF_LITE) &&
2064 if (cp->cache_flags & KMF_DEADBEEF) {
2065 if (cp->cache_flags & KMF_LITE)
2090 if (cp->cache_flags & KMF_DEADBEEF) {
2096 if ((cp->cache_flags & KMF_LITE) &&
2360 cp->cache_flags |= KMF_DUMPDIVERT;
2366 cp->cache_flags |= KMF_DUMPUNSAFE;
2623 if (cp->cache_flags & KMF_BUFTAG) {
2662 if (!freed && (cp->cache_flags & KMF_BUFTAG))
2670 if ((cp->cache_flags & (KMF_DEADBEEF | KMF_LITE)) != KMF_DEADBEEF &&
2672 if (cp->cache_flags & KMF_DEADBEEF) { /* KMF_LITE implied */
2831 int cache_flags = cp->cache_flags;
2842 ASSERT((cache_flags & (KMF_PREFILL|KMF_BUFTAG)) == KMF_PREFILL);
2930 if ((cp->cache_flags & KMF_BUFTAG) && !KMEM_DUMP(cp)) {
2935 if (cp->cache_flags & KMF_LITE) {
2985 if ((cp->cache_flags & KMF_BUFTAG) && !KMEM_DUMP(cp) && buf != NULL) {
2990 if (cp->cache_flags & KMF_LITE) {
3020 if ((cp->cache_flags & KMF_BUFTAG) && !KMEM_DUMP(cp)) {
3041 if (cp->cache_flags & KMF_LITE) {
3292 if (cp->cache_flags & KMF_NOMAGAZINE)
3417 if ((cp->cache_flags & KMF_HASH) &&
3529 (cp->cache_flags & KMF_NOMAGAZINE) ?
3553 kmcp->kmc_hash_size.value.ui64 = (cp->cache_flags & KMF_HASH) ?
3806 cp->cache_flags = (kmem_flags | cflags) & KMF_DEBUG;
3814 if (cp->cache_flags & KMF_LITE) {
3818 cp->cache_flags |= KMF_BUFTAG;
3819 cp->cache_flags &= ~(KMF_AUDIT | KMF_FIREWALL);
3821 cp->cache_flags &= ~KMF_DEBUG;
3825 if (cp->cache_flags & KMF_DEADBEEF)
3826 cp->cache_flags |= KMF_REDZONE;
3828 if ((cflags & KMC_QCACHE) && (cp->cache_flags & KMF_AUDIT))
3829 cp->cache_flags |= KMF_NOMAGAZINE;
3832 cp->cache_flags &= ~KMF_DEBUG;
3835 cp->cache_flags &= ~KMF_TOUCH;
3838 cp->cache_flags |= KMF_PREFILL;
3841 cp->cache_flags &= ~(KMF_AUDIT | KMF_FIREWALL);
3844 cp->cache_flags |= KMF_NOMAGAZINE;
3846 if ((cp->cache_flags & KMF_AUDIT) && !(cflags & KMC_NOTOUCH))
3847 cp->cache_flags |= KMF_REDZONE;
3849 if (!(cp->cache_flags & KMF_AUDIT))
3850 cp->cache_flags &= ~KMF_CONTENTS;
3852 if ((cp->cache_flags & KMF_BUFTAG) && bufsize >= kmem_minfirewall &&
3853 !(cp->cache_flags & KMF_LITE) && !(cflags & KMC_NOHASH))
3854 cp->cache_flags |= KMF_FIREWALL;
3857 cp->cache_flags &= ~KMF_FIREWALL;
3859 if (cp->cache_flags & KMF_FIREWALL) {
3860 cp->cache_flags &= ~KMF_BUFTAG;
3861 cp->cache_flags |= KMF_NOMAGAZINE;
3890 if (cp->cache_flags & KMF_BUFTAG) {
3893 if (cp->cache_flags & KMF_LITE)
3899 if (cp->cache_flags & KMF_DEADBEEF) {
3901 if (cp->cache_flags & KMF_LITE)
3916 cp->cache_flags |= KMF_HASH;
3917 ASSERT(!(cp->cache_flags & KMF_BUFTAG));
3919 !(cp->cache_flags & KMF_AUDIT) &&
3926 ASSERT(!(cp->cache_flags & KMF_AUDIT));
3946 cp->cache_flags |= KMF_HASH;
3959 cp->cache_flags & (KMF_HASH | KMF_BUFTAG) ||
3961 cp->cache_flags &= ~KMF_PREFILL;
3963 if (cp->cache_flags & KMF_HASH) {
3965 cp->cache_bufctl_cache = (cp->cache_flags & KMF_AUDIT) ?
3987 if (cp->cache_flags & KMF_HASH) {
4012 ccp->cc_flags = cp->cache_flags;
4615 if (cp->cache_flags & KMF_HASH) {
4688 if (cp->cache_flags & KMF_BUFTAG) {
4727 if (cp->cache_flags & KMF_BUFTAG) {
4891 if (cp->cache_flags & KMF_BUFTAG) {