Lines Matching defs:cache_flags
1109 if (cp->cache_flags & UMF_BUFTAG)
1111 if (cp->cache_flags & UMF_HASH) {
1196 if (bcp != NULL && (cp->cache_flags & UMF_AUDIT) &&
1377 (cp != NULL) && (cp->cache_flags & UMF_CHECKSIGNAL)); \
1404 int cache_flags = cp->cache_flags;
1424 (cp->cache_flags & UMF_DEADBEEF))
1427 if (cache_flags & UMF_HASH) {
1444 if (cache_flags & UMF_HASH) {
1448 if (cache_flags & UMF_AUDIT) {
1459 if (cache_flags & UMF_BUFTAG) {
1464 if (cache_flags & UMF_DEADBEEF) {
1507 if (cp->cache_flags & UMF_HASH) {
1565 if (cp->cache_flags & UMF_HASH) {
1573 if ((cp->cache_flags & (UMF_AUDIT | UMF_BUFTAG)) == UMF_AUDIT) {
1601 if (cp->cache_flags & UMF_HASH) {
1626 if ((cp->cache_flags & (UMF_AUDIT | UMF_BUFTAG)) == UMF_AUDIT) {
1627 if (cp->cache_flags & UMF_CONTENTS)
1686 if ((cp->cache_flags & UMF_HASH) && bcp->bc_addr != buf) {
1693 if (cp->cache_flags & UMF_DEADBEEF) {
1723 if (cp->cache_flags & UMF_AUDIT) {
1752 if ((cp->cache_flags & UMF_HASH) && bcp->bc_addr != buf) {
1762 if (cp->cache_flags & UMF_AUDIT) {
1763 if (cp->cache_flags & UMF_CONTENTS)
1772 if (cp->cache_flags & UMF_DEADBEEF)
1791 if ((cp->cache_flags & UMF_DEADBEEF) &&
1798 if (!(cp->cache_flags & UMF_BUFTAG) &&
1987 if (cp->cache_flags & UMF_BUFTAG) {
2121 if (!(cp->cache_flags & UMF_BUFTAG) && cp->cache_destructor != NULL)
2139 if (cp->cache_flags & UMF_BUFTAG) {
2165 if ((cp->cache_flags & UMF_BUFTAG) && buf != NULL) {
2229 if (cp->cache_flags & UMF_BUFTAG) {
2367 if (cp->cache_flags & UMF_NOMAGAZINE)
2477 if ((cp->cache_flags & UMF_HASH) &&
2729 cp->cache_flags = umem_flags | (cflags & UMF_DEBUG);
2735 if (cp->cache_flags & UMF_LITE) {
2739 cp->cache_flags |= UMF_BUFTAG;
2740 cp->cache_flags &= ~(UMF_AUDIT | UMF_FIREWALL);
2742 cp->cache_flags &= ~UMF_DEBUG;
2746 if ((cflags & UMC_QCACHE) && (cp->cache_flags & UMF_AUDIT))
2747 cp->cache_flags |= UMF_NOMAGAZINE;
2750 cp->cache_flags &= ~UMF_DEBUG;
2753 cp->cache_flags &= ~UMF_TOUCH;
2756 cp->cache_flags &= ~(UMF_AUDIT | UMF_FIREWALL);
2759 cp->cache_flags |= UMF_NOMAGAZINE;
2761 if ((cp->cache_flags & UMF_AUDIT) && !(cflags & UMC_NOTOUCH))
2762 cp->cache_flags |= UMF_REDZONE;
2764 if ((cp->cache_flags & UMF_BUFTAG) && bufsize >= umem_minfirewall &&
2765 !(cp->cache_flags & UMF_LITE) && !(cflags & UMC_NOHASH))
2766 cp->cache_flags |= UMF_FIREWALL;
2769 cp->cache_flags &= ~UMF_FIREWALL;
2771 if (cp->cache_flags & UMF_FIREWALL) {
2772 cp->cache_flags &= ~UMF_BUFTAG;
2773 cp->cache_flags |= UMF_NOMAGAZINE;
2802 if (cp->cache_flags & UMF_BUFTAG) {
2808 if (cp->cache_flags & UMF_DEADBEEF) {
2810 if (cp->cache_flags & UMF_LITE)
2830 cp->cache_flags |= UMF_HASH;
2831 ASSERT(!(cp->cache_flags & UMF_BUFTAG));
2833 !(cp->cache_flags & UMF_AUDIT) &&
2844 ASSERT(!(cp->cache_flags & UMF_AUDIT));
2871 cp->cache_flags |= UMF_HASH;
2874 if (cp->cache_flags & UMF_HASH) {
2876 cp->cache_bufctl_cache = (cp->cache_flags & UMF_AUDIT) ?
2896 if (cp->cache_flags & UMF_HASH) {
2925 ccp->cc_flags = cp->cache_flags;