/freebsd-13-stable/sys/vm/ |
H A D | vm_kern.h | 75 extern struct vmem *kernel_arena; 76 extern struct vmem *kmem_arena; 77 extern struct vmem *buffer_arena; 78 extern struct vmem *transient_arena; 79 extern struct vmem *memguard_arena;
|
H A D | memguard.h | 38 struct vmem; 42 void memguard_init(struct vmem *);
|
H A D | vm_kern.c | 82 #include <sys/vmem.h> 214 vmem_t *vmem; local 223 vmem = vm_dom[domain].vmd_kernel_arena; 224 if (vmem_alloc(vmem, size, M_BESTFIT | flags, &addr)) 236 vmem_free(vmem, addr, size); 293 vmem_t *vmem; local 302 vmem = vm_dom[domain].vmd_kernel_arena; 303 if (vmem_alloc(vmem, size, flags | M_BESTFIT, &addr)) 313 vmem_free(vmem, addr, size); 558 static struct vmem * [all...] |
H A D | vm_pagequeue.h | 246 struct vmem *vmd_kernel_arena; /* (c) per-domain kva R/W arena. */ 247 struct vmem *vmd_kernel_rwx_arena; /* (c) per-domain kva R/W/X arena. */
|
H A D | vm_extern.h | 42 struct vmem;
|
H A D | vm_init.c | 84 #include <sys/vmem.h>
|
/freebsd-13-stable/sys/dev/xdma/ |
H A D | xdma_iommu.c | 75 vmem_free(xio->vmem, va, PAGE_SIZE); 111 if (vmem_alloc(xio->vmem, size, 144 xio->vmem = vmem_create("xDMA vmem", 0, 0, PAGE_SIZE, 146 if (xio->vmem == NULL) 151 if (xdma_handle_mem_node(xio->vmem, mem_node) != 0) { 152 vmem_destroy(xio->vmem); 168 vmem_destroy(xio->vmem);
|
H A D | xdma.c | 365 xdma_handle_mem_node(vmem_t *vmem, phandle_t memory) argument 396 vmem_add(vmem, mem_start, mem_size, 0); 408 vmem_t *vmem; local 424 vmem = vmem_create("xDMA vmem", 0, 0, PAGE_SIZE, 426 if (vmem == NULL) 430 if (xdma_handle_mem_node(vmem, mem_node) != 0) { 431 vmem_destroy(vmem); 435 return (vmem); 439 xdma_put_memory(vmem_t *vmem) argument 446 xchan_set_memory(xdma_channel_t *xchan, vmem_t *vmem) argument [all...] |
H A D | xdma.h | 38 #include <sys/vmem.h> 86 vmem_t *vmem; /* Bounce memory. */ member in struct:xdma_controller 134 vmem_t *vmem; /* VA space */ member in struct:xdma_iommu 140 vmem_t *vmem; member in struct:xdma_channel 239 void xdma_put_memory(vmem_t *vmem); 241 int xdma_handle_mem_node(vmem_t *vmem, phandle_t memory); 248 void xchan_set_memory(xdma_channel_t *xchan, vmem_t *vmem);
|
/freebsd-13-stable/sys/arm64/intel/ |
H A D | stratix10-svc.c | 51 #include <sys/vmem.h> 70 vmem_t *vmem; member in struct:s10_svc_softc 144 if (vmem_alloc(sc->vmem, size, 164 vmem_free(sc->vmem, mem->paddr, mem->size); 173 vmem_t *vmem; local 180 vmem = vmem_create("stratix10 vmem", 0, 0, PAGE_SIZE, 182 if (vmem == NULL) 191 vmem_add(vmem, addr, size, 0); 193 sc->vmem [all...] |
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | vmem.h | 31 typedef struct vmem { } vmem_t; struct
|
H A D | Makefile.am | 53 vmem.h \
|
/freebsd-13-stable/sys/amd64/sgx/ |
H A D | sgxvar.h | 82 struct vmem *vmem_epc;
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | kmem.h | 35 #include <sys/vmem.h> 53 typedef struct vmem vmem_t;
|
/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | plpar_iommu.c | 37 #include <sys/vmem.h> 52 vmem_t *vmem; member in struct:papr_iommu_map 62 vmem_t *vmem; member in struct:iommu_map 141 window->map->vmem = vmem_create("IOMMU mappings", PAGE_SIZE, 183 error = vmem_xalloc(window->map->vmem, allocsize, 242 vmem_xfree(window->map->vmem, pageround, roundedsize);
|
/freebsd-13-stable/sys/contrib/openzfs/module/nvpair/ |
H A D | nvpair_alloc_spl.c | 29 #include <sys/vmem.h>
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-vmem.c | 26 #include <sys/vmem.h>
|
H A D | Makefile.in | 15 $(MODULE)-objs += ../os/linux/spl/spl-vmem.o
|
/freebsd-13-stable/sys/powerpc/powernv/ |
H A D | opal_async.c | 32 #include <sys/vmem.h> 44 * careful managing this. The basic design uses the vmem subsystem as a general
|
/freebsd-13-stable/sys/sys/ |
H A D | vmem.h | 28 /* From $NetBSD: vmem.h,v 1.20 2013/01/29 21:26:24 para Exp $ */ 39 typedef struct vmem vmem_t; 53 * Create a vmem: 80 * Set a limit on the total size of a vmem. 91 * Allocate and free linear regions from a vmem. Must specify 115 * Add a static region to a vmem after create. This won't be freed 116 * until the vmem is destroyed. 121 * Given roundup size to the vmem's native quantum size. 126 * Report vmem utilization according to the requested type.
|
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kmem.h | 35 #include <sys/vmem.h>
|
/freebsd-13-stable/sys/dev/ice/ |
H A D | ice_nvm.c | 1453 void *vmem; local 1458 vmem = ice_calloc(hw, words, sizeof(u16)); 1459 if (!vmem) 1461 data_local = (_FORCE_ __le16 *)vmem; 1471 ice_free(hw, vmem); 1492 void *vmem; local 1498 vmem = ice_calloc(hw, ICE_SR_SECTOR_SIZE_IN_WORDS, sizeof(u16)); 1499 if (!vmem) 1501 data = (u16 *)vmem; 1545 ice_free(hw, vmem); [all...] |
/freebsd-13-stable/stand/i386/libi386/ |
H A D | vbe.c | 901 vbe_print_memory(unsigned vmem) argument 905 vmem /= 1024; 906 if (vmem >= 10240000) { 907 vmem /= 1048576; 909 } else if (vmem >= 10000) { 910 vmem /= 1024; 913 printf("Total memory: %u%cB\n", vmem, unit);
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_vmem.c | 61 #include <sys/vmem.h> 100 * Data structures private to vmem. 102 MALLOC_DEFINE(M_VMEM, "vmem", "vmem internal structures"); 135 /* vmem arena */ 136 struct vmem { struct 140 LIST_ENTRY(vmem) vm_alllist; 186 &enable_vmem_check, 0, "Enable vmem check"); 195 static LIST_HEAD(, vmem) vmem_list = LIST_HEAD_INITIALIZER(vmem_list); 238 static struct vmem kernel_arena_storag [all...] |
/freebsd-13-stable/sys/arm/nvidia/drm2/ |
H A D | tegra_bo.c | 45 #include <sys/vmem.h> 46 #include <sys/vmem.h>
|