Home
last modified time | relevance | path

Searched refs:cache_flags (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c61 int cache_flags; member
71 int cache_flags; member
347 if (sa->cache_flags & SWAP_CACHE_OFFLINED) { in swap_delete()
360 sa->cache_flags |= SWAP_CACHE_OFFLINED; in swap_delete()
386 sa->cache_flags &= ~SWAP_CACHE_OFFLINED; in swap_delete()
394 sf->cache_flags |= SWAP_CACHE_OFFLINED; in swap_delete()
415 if (!(sa->cache_flags & SWAP_CACHE_OFFLINED)) { in swap_add()
428 sa->cache_flags &= ~SWAP_CACHE_OFFLINED; in swap_add()
429 sf->cache_flags &= ~SWAP_CACHE_OFFLINED; in swap_add()
457 sf->cache_flags |= SWAP_CACHE_STALE; in update_cache()
[all …]
H A Ddump_rcm.c57 int cache_flags; member
332 dc->cache_flags |= DUMP_CACHE_OFFLINED; in dump_relocate()
342 dc->cache_flags &= ~DUMP_CACHE_OFFLINED; in dump_relocate()
362 if (!(dc->cache_flags & DUMP_CACHE_OFFLINED)) in dump_configure()
372 dc->cache_flags &= ~DUMP_CACHE_OFFLINED; in dump_configure()
451 ent->cache_flags |= DUMP_CACHE_STALE; in update_cache()
460 ent->cache_flags &= ~DUMP_CACHE_STALE; in update_cache()
464 curr_dump->cache_flags |= DUMP_CACHE_NEW; in update_cache()
473 if (ent->cache_flags & DUMP_CACHE_OFFLINED) { in update_cache()
478 if (ent->cache_flags & DUMP_CACHE_STALE) { in update_cache()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c1108 if (cp->cache_flags & UMF_BUFTAG) in umem_error()
1110 if (cp->cache_flags & UMF_HASH) { in umem_error()
1195 if (bcp != NULL && (cp->cache_flags & UMF_AUDIT) && in umem_error()
1377 (cp != NULL) && (cp->cache_flags & UMF_CHECKSIGNAL)); \
1404 int cache_flags = cp->cache_flags; in umem_slab_create() local
1424 (cp->cache_flags & UMF_DEADBEEF)) in umem_slab_create()
1427 if (cache_flags & UMF_HASH) { in umem_slab_create()
1444 if (cache_flags & UMF_HASH) { in umem_slab_create()
1448 if (cache_flags & UMF_AUDIT) { in umem_slab_create()
1459 if (cache_flags & UMF_BUFTAG) { in umem_slab_create()
[all …]
H A Dumem_impl.h293 int cache_flags; /* various cache state info */ member
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c1286 if (cp->cache_flags & KMF_BUFTAG) in kmem_error()
1288 if (cp->cache_flags & KMF_HASH) { in kmem_error()
1372 if (bcp != NULL && (cp->cache_flags & KMF_AUDIT) && in kmem_error()
1502 int cache_flags = cp->cache_flags; in kmem_slab_create() local
1533 if (cache_flags & KMF_HASH) { in kmem_slab_create()
1553 if (cache_flags & KMF_HASH) { in kmem_slab_create()
1557 if (cache_flags & KMF_AUDIT) { in kmem_slab_create()
1568 if (cache_flags & KMF_BUFTAG) { in kmem_slab_create()
1573 if (cache_flags & KMF_DEADBEEF) { in kmem_slab_create()
1619 if (cp->cache_flags & KMF_HASH) { in kmem_slab_destroy()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Diommulib.h78 size_t len, uint_t cache_flags);
161 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags);
235 uint_t cache_flags);
295 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags);
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c126 if (!(cp->cache_flags & UMF_PTC)) in umastat_cache_nptc()
137 if (!(cp->cache_flags & UMF_PTC)) in umastat_cache_hdr()
159 if (!(cp->cache_flags & UMF_PTC)) in umastat_lwp_cache()
239 if (cp->cache_flags & UMF_PTC) { in umastat_cache()
271 mdb_printf((dfp++)->fmt, cp->cache_flags & UMF_PTC ? buf : "-"); in umastat_cache()
H A Dumem.c174 if (!(c->cache_flags & UMF_PTC)) in umem_init_walkers()
658 c.cache_flags, c.cache_cflags, c.cache_bufsize, c.cache_buftotal); in umem_cache()
718 if (!(c.cache_flags & UMF_HASH)) { in umem_hash_walk_init()
827 (cp->cache_flags & UMF_NOMAGAZINE)) in umem_get_magsize()
1040 if (!(cp->cache_flags & UMF_PTC)) in umem_read_ptc()
1078 if (!(cp->cache_flags & UMF_AUDIT) || in bufctl_walk_callback()
1180 if ((type & UM_BUFCTL) && !(cp->cache_flags & UMF_HASH)) { in umem_walk_init_common()
1182 cp->cache_flags)); in umem_walk_init_common()
1222 if ((cp->cache_flags & UMF_HASH) && (type & UM_ALLOCATED)) { in umem_walk_init_common()
1243 if (!(cp->cache_flags & UMF_HASH)) { in umem_walk_init_common()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c350 c.cache_flags, c.cache_cflags, c.cache_bufsize, c.cache_buftotal); in kmem_cache()
802 if (!(c.cache_flags & KMF_HASH)) { in kmem_hash_walk_init()
911 (cp->cache_flags & KMF_NOMAGAZINE)) in kmem_get_magsize()
1115 if (!(cp->cache_flags & KMF_AUDIT) || in bufctl_walk_callback()
1220 if ((type & KM_BUFCTL) && !(cp->cache_flags & KMF_HASH)) { in kmem_walk_init_common()
1222 cp->cache_flags)); in kmem_walk_init_common()
1233 (cp->cache_flags & (KMF_DEADBEEF | KMF_LITE)) == KMF_DEADBEEF)) { in kmem_walk_init_common()
1267 if ((cp->cache_flags & KMF_HASH) && (type & KM_ALLOCATED)) { in kmem_walk_init_common()
1288 if (!(cp->cache_flags & KMF_HASH)) { in kmem_walk_init_common()
1394 if (cp->cache_flags & KMF_BUFTAG) { in kmem_walk_step()
[all …]
H A Dleaky_subr.c186 int audit = (c->cache_flags & KMF_AUDIT); in leaky_cache()
223 if (c->cache_flags & KMF_LITE) { in leaky_scan_buffer()
551 (cache.cache_flags & KMF_LITE) && in leaky_subr_add_leak()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_var.h234 uint_t cache_flags);
238 uint_t cache_flags);
H A Dpci_dma.h256 size_t *lenp, caddr_t *objp, uint_t cache_flags);
259 size_t *lenp, caddr_t *objp, uint_t cache_flags);
/illumos-gate/usr/src/uts/common/sys/
H A Dkmem_impl.h180 #define KMEM_DUMP(cp) ((cp)->cache_flags & KMF_DUMPDIVERT)
371 int cache_flags; /* various cache state info */ member
H A Ddevops.h219 size_t len, uint_t cache_flags);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.h227 size_t *lenp, caddr_t *objp, uint_t cache_flags);
230 size_t *lenp, caddr_t *objp, uint_t cache_flags);
H A Dpx_var.h174 uint_t cache_flags);
H A Dpx_lib.h97 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags);
H A Dpx.c1204 uint_t cache_flags) in px_dma_ctlops() argument
1234 cache_flags)); in px_dma_ctlops()
1238 cache_flags)); in px_dma_ctlops()
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c702 uint_t cache_flags) in iommulib_nexdma_sync() argument
711 off, len, cache_flags)); in iommulib_nexdma_sync()
847 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags) in iommulib_iommu_dma_sync() argument
853 cache_flags)); in iommulib_iommu_dma_sync()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c201 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags);
207 off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags);
240 ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags);
400 off_t offset, size_t size, uint_t cache_flags);
4276 off_t off, size_t len, uint_t cache_flags) in rootnex_coredma_sync() argument
4326 cache_flags); in rootnex_coredma_sync()
4372 if (cache_flags == DDI_DMA_SYNC_FORDEV) { in rootnex_coredma_sync()
4417 off_t off, size_t len, uint_t cache_flags) in rootnex_dma_sync() argument
4422 cache_flags)); in rootnex_dma_sync()
4426 cache_flags)); in rootnex_dma_sync()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c929 uint_t cache_flags) in pci_dma_ctlops() argument
956 cache_flags)); in pci_dma_ctlops()
960 cache_flags)); in pci_dma_ctlops()
/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c651 caches[i]->cache_flags |= UMF_PTC; in umem_genasm()
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c643 caches[i]->cache_flags |= UMF_PTC; in umem_genasm()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c208 size_t *lenp, caddr_t *objp, uint_t cache_flags);
1804 uint_t cache_flags) in pcieb_dma_mctl() argument
1814 cache_flags)) == DDI_SUCCESS) && (cmd == DDI_DMA_RESERVE)) { in pcieb_dma_mctl()
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c58 size_t len, uint_t cache_flags);
1757 size_t len, uint_t cache_flags) in amd_iommu_sync() argument
1783 len, cache_flags); in amd_iommu_sync()

12