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

12

/freebsd-9.3-release/sys/ofed/include/net/
H A Dtcp.h33 #include <linux/slab.h>
/freebsd-9.3-release/sys/vm/
H A Duma_dbg.c197 uma_slab_t slab; local
203 slab = vtoslab((vm_offset_t)mem);
207 slab = hash_sfind(&keg->uk_hash, mem);
209 slab = (uma_slab_t)(mem + keg->uk_pgoff);
212 return (slab);
216 * Set up the slab's freei data such that uma_dbg_free can function.
221 uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item) argument
227 if (slab == NULL) {
228 slab = uma_dbg_getslab(zone, item);
229 if (slab
255 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
140 /* Maximum number of allowed items-per-slab if the slab header is OFFPAGE */
244 static void *slab_alloc_item(uma_zone_t zone, uma_slab_t slab);
509 uma_slab_t slab; local
526 slab = SLIST_FIRST(&oldhash->uh_slab_hash[i]);
528 hval = UMA_HASH(newhash, slab->us_data);
530 slab, us_hlink);
672 uma_slab_t slab; local
692 slab
806 uma_slab_t slab; local
1605 uma_slab_t slab; local
2132 uma_slab_t slab; local
2220 uma_slab_t slab; local
2257 uma_slab_t slab; local
2325 slab_alloc_item(uma_zone_t zone, uma_slab_t slab) argument
2362 uma_slab_t slab; local
2484 uma_slab_t slab; local
2722 uma_slab_t slab; local
2985 uma_slab_t slab; local
3065 uma_slab_t slab; local
3086 uma_large_free(uma_slab_t slab) argument
3100 slab_print(uma_slab_t slab) argument
3120 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 linked list of indices, which are 8 bit values. If
53 * will improve the number of items per slab that will fit.
58 * increase the UMA_SLAB_SIZE, or allow for dynamic slab sizes. I prefer
59 * dynamic slab sizes because we could stick with 8 bit indices and only use
60 * large slab sizes for zones with a lot of waste per slab. This may create
69 * course, be solved with dynamic slab sizes.
88 * This is the representation for normal (Non OFFPAGE slab)
91 * s == slab pointe
395 uma_slab_t slab; local
411 uma_slab_t slab; local
423 vsetslab(vm_offset_t va, uma_slab_t slab) argument
[all...]
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dstring.h34 #include <linux/slab.h>
H A Ddmapool.h36 #include <linux/slab.h>
H A Dmodule.h35 #include <linux/slab.h>
H A Dkthread.h38 #include <linux/slab.h>
H A Dkobject.h35 #include <linux/slab.h>
H A Dlinux_radix.c35 #include <linux/slab.h>
H A Dworkqueue.h34 #include <linux/slab.h>
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Drdataslab.h75 * Slabify a rdataset. The slab area will be allocated and returned
93 dns_rdataslab_tordataset(unsigned char *slab, unsigned int reservelen,
98 * Construct an rdataset from a slab.
101 *\li 'slab' points to a slab.
108 dns_rdataslab_size(unsigned char *slab, unsigned int reservelen);
113 *\li 'slab' points to a slab.
116 *\li The number of bytes in the slab, including the reservelen.
/freebsd-9.3-release/sys/kern/
H A Dkern_malloc.c556 uma_slab_t slab; local
577 slab = vtoslab((vm_offset_t)addr & (~UMA_SLAB_MASK));
579 if (slab == NULL)
584 if (!(slab->us_flags & UMA_SLAB_MALLOC)) {
588 size = slab->us_keg->uk_size;
604 uma_zfree_arg(LIST_FIRST(&slab->us_keg->uk_zones), addr, slab);
606 size = slab->us_size;
607 uma_large_free(slab);
618 uma_slab_t slab; local
821 uma_slab_t slab; local
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Ddoorbell.c33 #include <linux/slab.h>
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_private.h19 # include <linux/slab.h>
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Drdataslab.c75 * rbtdb.c directly interacts with the slab's raw structures. If the
460 dns_rdataslab_tordataset(unsigned char *slab, unsigned int reservelen, argument
465 REQUIRE(slab != NULL);
476 rdataset->private3 = slab + reservelen;
486 dns_rdataslab_size(unsigned char *slab, unsigned int reservelen) { argument
490 REQUIRE(slab != NULL);
492 current = slab + reservelen;
509 return ((unsigned int)(current - slab));
513 * Make the dns_rdata_t 'rdata' refer to the slab item
514 * beginning at '*current', which is part of a slab o
555 rdata_in_slab(unsigned char *slab, unsigned int reservelen, dns_rdataclass_t rdclass, dns_rdatatype_t type, dns_rdata_t *rdata) argument
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/debug/
H A Dmtrack.h6 #include <linux/slab.h>
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Dreset.c38 #include <linux/slab.h>
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c112 # include <linux/slab.h>
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dagent.c39 #include <linux/slab.h>
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c37 #include <linux/slab.h>
H A Dmthca_allocator.c34 #include <linux/slab.h>
H A Dmthca_av.c35 #include <linux/slab.h>
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c36 #include <linux/slab.h>

Completed in 502 milliseconds

12