/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/ |
H A D | tcp.h | 35 #include <linux/slab.h>
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_kcache.c | 62 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 D | val_kcache.h | 56 struct slabhash* slab; member in struct:key_cache
|
/freebsd-11-stable/sys/vm/ |
H A D | uma_core.c | 39 * 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 D | uma_int.h | 50 * 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 D | slabhash.c | 236 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 D | kern_malloc.c | 550 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 D | io-mapping.h | 40 #include <linux/slab.h>
|
H A D | dmapool.h | 38 #include <linux/slab.h>
|
H A D | module.h | 44 #include <linux/slab.h>
|
H A D | kobject.h | 39 #include <linux/slab.h>
|
H A D | file.h | 42 #include <linux/slab.h>
|
H A D | string.h | 38 #include <linux/slab.h>
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_doorbell.c | 33 #include <linux/slab.h>
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_doorbell.c | 29 #include <linux/slab.h>
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | cachedump.c | 124 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 D | t_uvm_physseg.c | 474 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 D | t_uvm_physseg_load.c | 543 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 D | xz_private.h | 19 # include <linux/slab.h>
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_slab.c | 30 #include <linux/slab.h>
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cq.c | 40 #include <linux/slab.h>
|
H A D | ib_agent.c | 43 #include <linux/slab.h>
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 34 #include <linux/slab.h>
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_reset.c | 37 #include <linux/slab.h>
|
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/ |
H A D | decompress_unxz.c | 112 # include <linux/slab.h>
|