Searched defs:slab (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | mmd.c | 143 /* Walk packet descriptor slab list */ 323 * Print the contents of a packet descriptor slab (pdesc_slab_t) structure. 329 pdesc_slab_t *slab; local 332 /* Figure out how many descriptors in a slab */ 341 /* Read in the entire slab chunk; may be of use one day */ 343 slab = mdb_alloc(slab_sz, UM_SLEEP); 345 if (mdb_vread(slab, slab_sz, addr) == -1) { 346 mdb_free(slab, slab_sz); 355 mdb_printf("%016p %7d %7d\n", addr, slab->pds_sz, slab 602 pdesc_slab_t slab; local 629 pdesc_slab_t slab; local 662 pdesc_slab_t slab; local 914 pdesc_slab_t slab; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | multidata.c | 117 * Default number of packet descriptors per descriptor slab. Making 118 * this too small will trigger more descriptor slab allocation; making 329 pdesc_slab_t *slab; local 356 slab = Q2PDSLAB(mmd->mmd_pd_slab_q.ql_next); 357 while (slab != Q2PDSLAB(&(mmd->mmd_pd_slab_q))) { 358 pdesc_slab_t *slab_next = Q2PDSLAB(slab->pds_next); 360 remque(&(slab->pds_next)); 361 slab->pds_next = NULL; 362 slab->pds_prev = NULL; 363 slab 727 pdesc_slab_t *slab, *slab_last; local 795 pdesc_slab_t *slab; local 822 pdesc_slab_t *slab; local [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem.c | 35 * The slab allocator, as described in the following two papers: 704 size_t umem_slab_log_size; /* slab create log [4 pages per CPU] */ 801 DEFAULTMUTEX, /* start of slab layer */ 885 umem_slab_t *ump_slab; /* slab accoring to umem_findslab() */ 1053 * Debugging support. Given a buffer address, find its slab. 1208 umem_printf("thread=%p time=T-%ld.%09ld slab=%p cache: %s\n", 1397 * Create a new slab for cache cp. 1406 char *buf, *slab; local 1416 slab = vmem_alloc(vmp, slabsize, UMEM_VMFLAGS(umflag)); 1418 if (slab 1505 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 382 umem_log_status("slab", umem_slab_log); 597 * if there are *no* partial slabs, report the last full slab, if 620 mdb_warn("failed to read slab at %p", wsp->walk_addr); 625 mdb_warn("slab %p isn't in cache %p (in cache %p)\n", 877 "than the slab layer.\n", addr); 1106 * slab layer 1109 char *umw_ubase; /* buffer for slab data */ 1177 * If they ask for bufctls, but it's a small-slab cache, 1220 * hash table instead of the slab layer. 1238 * for small-slab cache 4267 umem_slab_t slab; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | kmem.c | 57 * objects in a slab are of the same type, so they have the same lifetime 59 * objects at slab granularity reduces the likelihood of an entire page being 64 * anticipate the distribution of long-lived objects within the allocator's slab 73 * an entire slab from being reclaimed, and any object handed out by 82 * The kmem slab consolidator therefore adds a move callback to the 133 * to the callback, since kmem wants to free them directly to the slab layer 139 * unused copy destination). kmem also marks the slab of the old 141 * that object as long as the slab remains on the partial slab list. 142 * (The system won't be getting the slab bac 1533 char *buf, *slab; local 1643 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); local [all...] |
Completed in 99 milliseconds