| /src/external/bsd/nvi/dist/clib/ |
| mmap.c | 9 * This function fakes mmap() by reading `len' bytes from the file descriptor 17 * PUBLIC: char *mmap __P((char *, size_t, int, int, int, off_t)); 21 mmap(char *addr, size_t len, int prot, int flags, int fd, off_t off) function
|
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| WindowsMMap.c | 3 * https://git.uclibc.org/uClibc/tree/utils/mmap-windows.c 5 /* mmap() replacement for Windows 32 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) function
|
| /src/sys/dev/hpc/ |
| hpcfbvar.h | 44 paddr_t (*mmap)(void *, off_t, int); member in struct:hpcfb_accessops
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/ |
| sanitizer_wrappers.cc | 163 void *mmap(void *addr, size_t length, int prot, int flags, int fd, function
|
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_gem.h | 165 * @mmap: 167 * Handle mmap() of the gem object, setup vma accordingly. 172 * drm_gem_prime_mmap(). When @mmap is present @vm_ops is not 173 * used, the @mmap callback must set vma->vm_ops instead. 176 int (*mmap)(struct drm_gem_object *, off_t *, size_t, int, member in struct:drm_gem_object_funcs 179 int (*mmap)(struct drm_gem_object *obj, struct vm_area_struct *vma); member in struct:drm_gem_object_funcs 185 * Virtual memory operations used with mmap. 187 * This is optional but necessary for mmap support. 196 * mostly around handling mmap and userspace handles. 251 * Mapping info for this object to support mmap. Drivers are supposed t [all...] |
| /src/sys/external/bsd/drm2/include/linux/ |
| dma-buf.h | 68 int (*mmap)(struct dma_buf *, off_t *, size_t, int, int *, member in struct:dma_buf_ops
|
| /src/tests/kernel/ |
| t_memfd_create.c | 187 ATF_TC(mmap); variable 188 ATF_TC_HEAD(mmap, tc) 191 atf_tc_set_md_var(tc, "descr", "Check that mmap succeeds"); 193 ATF_TC_BODY(mmap, tc) 203 addr = mmap(NULL, rwbuf_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 205 "mmap(NULL, %zu, 0x%x, 0x%x, %d, 0) failed: %s", 288 addr = mmap(NULL, st.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, 291 "mmap(NULL, %llu, 0x%x, 0x%x, %d, 0) failed: %s", 409 addr = mmap(NULL, rwbuf_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 411 "mmap(NULL, %zu, 0x%x, 0x%x, %d, 0) failed: %s" [all...] |
| /src/external/gpl2/grep/dist/intl/ |
| loadmsgcat.c | 93 # define mmap __mmap macro 320 /* Now we are ready to load the file. If mmap() is available we try 322 data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, 327 /* mmap() call was successful. */ 333 /* If the data is not yet available (i.e. mmap'ed) we try to load
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| HeapMap.cc | 189 HeapMap::mmap (uint64_t addr, int64_t size, long val) function in class:HeapMap 210 // Some graphics are used to clarify the alignment of mmap regions
|
| collector_module.h | 71 void *(*mmap)(void *, size_t, int, int, int, off_t); member in struct:CollectorUtilFuncs
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| HeapMap.cc | 189 HeapMap::mmap (uint64_t addr, int64_t size, long val) function in class:HeapMap 210 // Some graphics are used to clarify the alignment of mmap regions
|
| /src/sys/arch/zaurus/stand/zbsdmod/ |
| compat_linux.h | 44 void (*mmap) (void); member in struct:file_operations
|
| /src/sys/arch/mips/mips/ |
| bus_space_alignstride_chipdep.c | 659 __BS(mmap)(void *v, bus_addr_t addr, off_t off, int prot, int flags) function 1173 /* mmap for user */ 1174 t->bs_mmap = __BS(mmap);
|
| /src/external/gpl3/binutils/dist/gprofng/common/ |
| hwcdrv.h | 59 #define mmap CALL_UTIL(mmap) macro
|
| /src/external/gpl3/binutils.old/dist/gprofng/common/ |
| hwcdrv.h | 59 #define mmap CALL_UTIL(mmap) macro
|
| /src/sys/arch/x86/x86/ |
| multiboot2.c | 884 multiboot_memory_map_t *mmap; local 896 for (mmap = ((struct multiboot_tag_mmap *)mbt)->entries; 897 (char *)mmap - (char *)mbt < mbt->size; 898 mmap = (void *)((char *)mmap + entry_size)) 901 (uint64_t)mmap->len, (uint64_t)mmap->addr, 902 mmap->type);
|
| /src/sys/dev/wscons/ |
| wsdisplayvar.h | 125 paddr_t (*mmap)(void *, void *, off_t, int); member in struct:wsdisplay_accessops
|
| /src/external/gpl3/gcc/dist/libgcc/ |
| generic-morestack.c | 57 mmap/munmap. That breaks this code, because when we call mmap 94 #define mmap morestack_mmap macro 412 space = mmap (NULL, allocate, PROT_READ | PROT_WRITE, 857 mmap, munmap, and getpagesize are resolved if linking dynamically. 870 mmap (__morestack_current_segment, 0, PROT_READ, MAP_ANONYMOUS, -1, 0);
|
| /src/external/gpl3/gcc.old/dist/libgcc/ |
| generic-morestack.c | 57 mmap/munmap. That breaks this code, because when we call mmap 94 #define mmap morestack_mmap macro 412 space = mmap (NULL, allocate, PROT_READ | PROT_WRITE, 857 mmap, munmap, and getpagesize are resolved if linking dynamically. 870 mmap (__morestack_current_segment, 0, PROT_READ, MAP_ANONYMOUS, -1, 0);
|
| /src/external/gpl3/gdb.old/dist/sim/common/ |
| dv-cfi.c | 162 unsigned char *data, *mmap; member in struct:cfi 516 if (cfi->mmap) 517 munmap (cfi->mmap, cfi->dev_size); 740 cfi->mmap = mmap (NULL, cfi->dev_size, 744 if (cfi->mmap == MAP_FAILED) 745 cfi->mmap = NULL; 747 cfi->data = cfi->mmap; 750 "cfi: sorry, file write support requires mmap()\n");
|
| /src/external/gpl3/gdb/dist/sim/common/ |
| dv-cfi.c | 162 unsigned char *data, *mmap; member in struct:cfi 516 if (cfi->mmap) 517 munmap (cfi->mmap, cfi->dev_size); 740 cfi->mmap = mmap (NULL, cfi->dev_size, 744 if (cfi->mmap == MAP_FAILED) 745 cfi->mmap = NULL; 747 cfi->data = cfi->mmap; 750 "cfi: sorry, file write support requires mmap()\n");
|
| /src/sys/arch/i386/stand/lib/ |
| exec_multiboot2.c | 124 tag_name = "MMAP"; break; 232 multiboot_memory_map_t *mmap; local 243 for (mmap = ((struct multiboot_tag_mmap *)mbt)->entries; 244 (char *)mmap - (char *)mbt < mbt->size; 245 mmap = (void *)((char *)mmap + entry_size)) 248 j++, (uint64_t)mmap->addr, 249 (uint64_t)mmap->len, 250 mmap->type); 1350 * EFI_MMAP and MMAP at the end so that the [all...] |
| /src/sys/dev/pci/ |
| if_jme.c | 1031 bus_dmamap_t mmap; local 1083 mmap = sc->jme_rxmbufm[i]; 1084 bus_dmamap_sync(sc->jme_dmatag, mmap, 0, 1085 mmap->dm_mapsize, BUS_DMASYNC_POSTREAD); 1086 bus_dmamap_unload(sc->jme_dmatag, mmap); 1098 mmap = sc->jme_rxmbufm[i]; 1099 bus_dmamap_sync(sc->jme_dmatag, mmap, 0, 1100 mmap->dm_mapsize, BUS_DMASYNC_POSTREAD); 1101 bus_dmamap_unload(sc->jme_dmatag, mmap); 1112 mmap = sc->jme_rxmbufm[i] [all...] |
| /src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| loadmsgcat.c | 471 # define mmap(addr, len, prot, flags, fd, offset) \ macro 845 /* Now we are ready to load the file. If mmap() is available we try 847 data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, 852 /* mmap() call was successful. */ 859 /* If the data is not yet available (i.e. mmap'ed) we try to load
|
| /src/external/gpl2/texinfo/dist/intl/ |
| loadmsgcat.c | 465 # define mmap __mmap macro 962 /* Now we are ready to load the file. If mmap() is available we try 964 data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, 969 /* mmap() call was successful. */ 975 /* If the data is not yet available (i.e. mmap'ed) we try to load
|