Searched refs:slab (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10.1-release/sys/ofed/include/net/
H A Dtcp.h34 #include <linux/slab.h>
/freebsd-10.1-release/sys/vm/
H A Duma_dbg.c199 uma_slab_t slab; local
205 slab = vtoslab((vm_offset_t)mem);
208 * It is safe to return the slab here even though the
215 slab = hash_sfind(&keg->uk_hash, mem);
217 slab = (uma_slab_t)(mem + keg->uk_pgoff);
221 return (slab);
225 * Set up the slab's freei data such that uma_dbg_free can function.
229 uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item) argument
236 if (slab == NULL) {
237 slab
259 uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item) argument
[all...]
H A Duma_dbg.h52 void uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item);
53 void uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item);
H A Duma_core.c39 * The basic ideas stem from similar slab/zone based allocators whose algorithms
262 static void *slab_alloc_item(uma_keg_t keg, uma_slab_t slab);
263 static void slab_free_item(uma_keg_t keg, uma_slab_t slab, void *item);
574 uma_slab_t slab; local
591 slab = SLIST_FIRST(&oldhash->uh_slab_hash[i]);
593 hval = UMA_HASH(newhash, slab->us_data);
595 slab, us_hlink);
807 keg_free_slab(uma_keg_t keg, uma_slab_t slab, int start) argument
813 mem = slab->us_data;
814 flags = slab
840 uma_slab_t slab; local
943 uma_slab_t slab; local
1786 uma_slab_t slab; local
2301 uma_slab_t slab; local
2375 uma_slab_t slab; local
2403 uma_slab_t slab; local
2474 slab_alloc_item(uma_keg_t keg, uma_slab_t slab) argument
2500 uma_slab_t slab; local
2802 slab_free_item(uma_keg_t keg, uma_slab_t slab, void *item) argument
2831 uma_slab_t slab; local
3128 uma_slab_t slab; local
3154 uma_slab_t slab; local
3214 uma_slab_t slab; local
3234 uma_large_free(uma_slab_t slab) argument
3259 slab_print(uma_slab_t slab) argument
3278 uma_slab_t slab; local
[all...]
H A Duma_int.h47 * be allocated off the page from a special slab zone. The free list within a
48 * slab is managed with a bitmask. For item sizes that would yield more than
50 * improve the number of items per slab that will fit.
58 * course, be solved with dynamic slab sizes.
77 * This is the representation for normal (Non OFFPAGE slab)
80 * s == slab pointer
85 * ||i||i||i||i||i||i||i||i||i||i||i||i||i||i||i| |slab header||
90 * This is an OFFPAGE slab. These can be larger than UMA_SLAB_SIZE.
98 * |slab header| |
112 /* Max waste percentage before going to off page slab managemen
392 uma_slab_t slab; local
414 vsetslab(vm_offset_t va, uma_slab_t slab) argument
[all...]
/freebsd-10.1-release/contrib/unbound/validator/
H A Dval_kcache.c62 kcache->slab = slabhash_create(numtables, start_size, maxmem,
65 if(!kcache->slab) {
78 slabhash_delete(kcache->slab);
95 slabhash_insert(kcache->slab, k->entry.hash, &k->entry,
121 e = slabhash_lookup(kcache->slab, lookfor.entry.hash, &lookfor, wr);
159 return sizeof(*kcache) + slabhash_get_mem(kcache->slab);
171 slabhash_remove(kcache->slab, lookfor.entry.hash, &lookfor);
H A Dval_kcache.h56 struct slabhash* slab; member in struct:key_cache
/freebsd-10.1-release/sys/ofed/include/linux/
H A Dstring.h35 #include <linux/slab.h>
H A Ddmapool.h37 #include <linux/slab.h>
H A Dmodule.h36 #include <linux/slab.h>
H A Dkthread.h39 #include <linux/slab.h>
H A Dkobject.h36 #include <linux/slab.h>
/freebsd-10.1-release/sys/kern/
H A Dkern_malloc.c542 uma_slab_t slab; local
563 slab = vtoslab((vm_offset_t)addr & (~UMA_SLAB_MASK));
565 if (slab == NULL)
569 if (!(slab->us_flags & UMA_SLAB_MALLOC)) {
573 size = slab->us_keg->uk_size;
589 uma_zfree_arg(LIST_FIRST(&slab->us_keg->uk_zones), addr, slab);
591 size = slab->us_size;
592 uma_large_free(slab);
603 uma_slab_t slab; local
840 uma_slab_t slab; local
[all...]
/freebsd-10.1-release/contrib/unbound/daemon/
H A Dcachedump.c123 size_t slab; local
125 for(slab=0; slab<r->table.size; slab++) {
126 lock_quick_lock(&r->table.array[slab]->lock);
127 if(!dump_rrset_lruhash(ssl, r->table.array[slab],
129 lock_quick_unlock(&r->table.array[slab]->lock);
132 lock_quick_unlock(&r->table.array[slab]->lock);
277 size_t slab; local
279 for(slab
[all...]
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Ddoorbell.c33 #include <linux/slab.h>
/freebsd-10.1-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_private.h19 # include <linux/slab.h>
/freebsd-10.1-release/sys/ofed/drivers/infiniband/debug/
H A Dmtrack.h6 #include <linux/slab.h>
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/
H A Den_resources.c34 #include <linux/slab.h>
H A Dreset.c37 #include <linux/slab.h>
H A Dintf.c34 #include <linux/slab.h>
/freebsd-10.1-release/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c112 # include <linux/slab.h>
/freebsd-10.1-release/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c38 #include <linux/slab.h>
/freebsd-10.1-release/sys/ofed/drivers/infiniband/core/
H A Dagent.c39 #include <linux/slab.h>
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c36 #include <linux/slab.h>
/freebsd-10.1-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c36 #include <linux/slab.h>

Completed in 158 milliseconds

123