Searched refs:mapsize (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | link_elf_obj.c | 656 size_t mapsize; in link_elf_load_file() local 671 mapsize = 0; in link_elf_load_file() 900 mapsize += alignmask; in link_elf_load_file() 901 mapsize &= ~alignmask; in link_elf_load_file() 902 mapsize += shdr[i].sh_size; in link_elf_load_file() 935 round_page(mapsize), 0, VMFS_OPTIMAL_SPACE, VM_PROT_ALL, in link_elf_load_file() 946 mapbase + round_page(mapsize), in link_elf_load_file() 955 lf->size = mapsize; in link_elf_load_file() 1129 if (mapbase != (vm_offset_t)ef->address + mapsize) { in link_elf_load_file() 1133 (u_long)mapbase, ef->address, (u_long)mapsize, in link_elf_load_file() [all …]
|
| H A D | link_elf.c | 959 size_t mapsize; in link_elf_load_file() local 1103 mapsize = base_vlimit - base_vaddr; in link_elf_load_file() 1113 ef->object = vm_pager_allocate(OBJT_PHYS, NULL, mapsize, VM_PROT_ALL, in link_elf_load_file() 1128 (vm_offset_t *)&mapbase, mapsize, 0, VMFS_OPTIMAL_SPACE, in link_elf_load_file() 1136 mapbase = malloc_exec(mapsize, M_LINKER, M_WAITOK); in link_elf_load_file() 1187 lf->size = mapsize; in link_elf_load_file()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zil.h | 130 #define ZIL_XVAT_SIZE(mapsize) \ argument 131 sizeof (lr_attr_t) + (sizeof (uint32_t) * (mapsize - 1)) + \
|
| /f-stack/freebsd/amd64/sgx/ |
| H A D | sgx.c | 1026 vm_size_t mapsize, struct vm_object **objp, int nprot) in sgx_mmap_single() argument 1034 __func__, mapsize, *offset); in sgx_mmap_single() 1039 vmh->size = mapsize; in sgx_mmap_single() 1041 mapsize, nprot, *offset, NULL); in sgx_mmap_single()
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | busdma_bounce.c | 386 u_long mapsize; in alloc_dmamap() local 389 mapsize = sizeof(*map); in alloc_dmamap() 390 mapsize += sizeof(struct sync_list) * dmat->common.nsegments; in alloc_dmamap() 391 map = malloc(mapsize, M_DEVBUF, flags | M_ZERO); in alloc_dmamap()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | busdma_machdep.c | 688 int mapsize, segsize; in allocate_map() local 700 mapsize = sizeof(*map) + sizeof(struct sync_list) * dmat->nsegments; in allocate_map() 701 map = malloc(mapsize + segsize, M_BUSDMA, mflags | M_ZERO); in allocate_map() 706 map->segments = (bus_dma_segment_t *)((uintptr_t)map + mapsize); in allocate_map()
|
| /f-stack/freebsd/vm/ |
| H A D | memguard.c | 123 SYSCTL_ULONG(_vm_memguard, OID_AUTO, mapsize, CTLFLAG_RD,
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_dev.c | 884 vmmdev_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t mapsize, in vmmdev_mmap_single() argument 900 last = first + mapsize; in vmmdev_mmap_single()
|