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

12345

/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/
H A Dtcp.h35 #include <linux/slab.h>
/freebsd-11-stable/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-11-stable/sys/vm/
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);
276 static void uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item);
277 static void uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item);
583 uma_slab_t slab; local
600 slab = SLIST_FIRST(&oldhash->uh_slab_hash[idx]);
602 hval = UMA_HASH(newhash, slab->us_data);
604 slab, us_hlink);
816 keg_free_slab(uma_keg_t keg, uma_slab_t slab, in argument
849 uma_slab_t slab, tmp; local
941 uma_slab_t slab; local
1769 uma_slab_t slab; local
2326 uma_slab_t slab; local
2401 uma_slab_t slab; local
2429 uma_slab_t slab; local
2501 slab_alloc_item(uma_keg_t keg, uma_slab_t slab) argument
2527 uma_slab_t slab; local
2834 slab_free_item(uma_keg_t keg, uma_slab_t slab, void *item) argument
2863 uma_slab_t slab; local
3171 uma_slab_t slab; local
3275 uma_slab_t slab; local
3295 uma_large_free(uma_slab_t slab) argument
3321 slab_print(uma_slab_t slab) argument
3340 uma_slab_t slab; local
3574 uma_slab_t slab; local
3604 uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item) argument
3634 uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item) argument
[all...]
H A Duma_int.h50 * be allocated off the page from a special slab zone. The free list within a
51 * slab is managed with a bitmask. For item sizes that would yield more than
53 * improve the number of items per slab that will fit.
61 * course, be solved with dynamic slab sizes.
80 * This is the representation for normal (Non OFFPAGE slab)
83 * s == slab pointer
88 * ||i||i||i||i||i||i||i||i||i||i||i||i||i||i||i| |slab header||
93 * This is an OFFPAGE slab. These can be larger than UMA_SLAB_SIZE.
101 * |slab header| |
117 /* Max waste percentage before going to off page slab managemen
388 uma_slab_t slab; local
410 vsetslab(vm_offset_t va, uma_slab_t slab) argument
[all...]
/freebsd-11-stable/contrib/unbound/util/storage/
H A Dslabhash.c236 size_t slab, cnt = 0; local
238 for(slab=0; slab<sh->size; slab++) {
239 lock_quick_lock(&sh->array[slab]->lock);
240 cnt += sh->array[slab]->num;
241 lock_quick_unlock(&sh->array[slab]->lock);
/freebsd-11-stable/sys/kern/
H A Dkern_malloc.c550 uma_slab_t slab; local
573 slab = vtoslab((vm_offset_t)addr & (~UMA_SLAB_MASK));
575 if (slab == NULL)
579 if (!(slab->us_flags & UMA_SLAB_MALLOC)) {
583 size = slab->us_keg->uk_size;
599 uma_zfree_arg(LIST_FIRST(&slab->us_keg->uk_zones), addr, slab);
601 size = slab->us_size;
602 uma_large_free(slab);
613 uma_slab_t slab; local
862 uma_slab_t slab; local
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dio-mapping.h40 #include <linux/slab.h>
H A Ddmapool.h38 #include <linux/slab.h>
H A Dmodule.h44 #include <linux/slab.h>
H A Dkobject.h39 #include <linux/slab.h>
H A Dfile.h42 #include <linux/slab.h>
H A Dstring.h38 #include <linux/slab.h>
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_doorbell.c33 #include <linux/slab.h>
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_doorbell.c29 #include <linux/slab.h>
/freebsd-11-stable/contrib/unbound/daemon/
H A Dcachedump.c124 size_t slab; local
126 for(slab=0; slab<r->table.size; slab++) {
127 lock_quick_lock(&r->table.array[slab]->lock);
128 if(!dump_rrset_lruhash(ssl, r->table.array[slab],
130 lock_quick_unlock(&r->table.array[slab]->lock);
133 lock_quick_unlock(&r->table.array[slab]->lock);
280 size_t slab; local
282 for(slab
[all...]
/freebsd-11-stable/contrib/netbsd-tests/sys/uvm/
H A Dt_uvm_physseg.c474 struct vm_page *pgs, *slab = malloc(sizeof(struct vm_page) * (npages1 local
495 uvm_page_init_fake(slab, npages1 + npages2 + npages3);
503 /* Scavenge plug - goes into the same slab */
512 /* Scavenge plug should fit right in the slab */
514 ATF_REQUIRE(pgs > slab && pgs < (slab + npages1 + npages2 + npages3));
516 /* Hot plug - goes into a brand new slab */
518 /* The hot plug slab should have nothing to do with the original slab */
520 ATF_REQUIRE(pgs < slab || pg
541 struct vm_page *slab = malloc(sizeof(struct vm_page) * (npages1 + npages2 + npages3)); local
681 struct vm_page *slab = malloc(sizeof(struct vm_page) * (npages1 + npages2)); local
775 struct vm_page *slab, *pgs; local
785 uvm_physseg_seg_chomp_slab(PHYSSEG_NODE_TO_HANDLE(seg), slab, npages * 2); local
810 uvm_physseg_seg_chomp_slab(PHYSSEG_NODE_TO_HANDLE(seg), slab, npages * 2); local
830 struct vm_page *slab, *pgs; local
840 uvm_physseg_seg_chomp_slab(PHYSSEG_NODE_TO_HANDLE(seg), slab, npages * 2); local
868 struct vm_page *slab, *pgs; local
878 uvm_physseg_seg_chomp_slab(PHYSSEG_NODE_TO_HANDLE(seg), slab, npages * 2); local
[all...]
H A Dt_uvm_physseg_load.c543 struct vm_page *slab = malloc(sizeof(struct vm_page) * local
553 uvm_page_init_fake(slab, npages1 + npages2);
592 struct vm_page *slab = malloc(sizeof(struct vm_page) * local
602 uvm_page_init_fake(slab, npages1 + npages2);
641 struct vm_page *slab = malloc(sizeof(struct vm_page) local
651 uvm_page_init_fake(slab, npages1 + npages2);
690 struct vm_page *slab = malloc(sizeof(struct vm_page) * (npages1 + npages2)); local
699 uvm_page_init_fake(slab, npages1 + npages2);
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_private.h19 # include <linux/slab.h>
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c30 #include <linux/slab.h>
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c40 #include <linux/slab.h>
H A Dib_agent.c43 #include <linux/slab.h>
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_resources.c34 #include <linux/slab.h>
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_reset.c37 #include <linux/slab.h>
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c112 # include <linux/slab.h>

Completed in 1435 milliseconds

12345