Searched refs:mmap (Results 1 - 25 of 281) sorted by last modified time

1234567891011>>

/freebsd-11-stable/usr.bin/ar/
H A Dwrite.c202 if ((obj->maddr = mmap(NULL, obj->size, PROT_READ,
204 bsdar_warnc(bsdar, errno, "can't mmap file: %s", obj->name);
/freebsd-11-stable/usr.sbin/cpucontrol/
H A Dintel.c170 * mmap the whole image.
172 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ,
175 WARN(0, "mmap(%s)", path);
/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c3015 ** that are the default mmap size limit (the default setting for
3016 ** [PRAGMA mmap_size]) and the maximum allowed mmap size limit.
3019 ** [SQLITE_FCNTL_MMAP_SIZE] file control. ^(The maximum allowed mmap size
3021 ** compile-time maximum mmap size set by the
14628 ** not exceed the maximum mmap size.
16218 #define PGHDR_MMAP 0x020 /* This is an mmap page object */
19242 sqlite3_int64 szMmap; /* mmap() space per open file */
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1254 * forced by mmap function.
3177 dev->ib_dev.mmap = mlx5_ib_mmap;
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c2608 ibdev->ib_dev.mmap = mlx4_ib_mmap;
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_update.c1140 if ((e->e_rawfile = mmap(NULL, (size_t) newsize,
/freebsd-11-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c502 bitmap = mmap(NULL, map_size, PROT_READ, MAP_SHARED, fd, addr);
504 perror("mmap failed");
/freebsd-11-stable/libexec/rtld-elf/
H A Dmap_object.c43 static int convert_flags(int); /* Elf flags -> mmap flags */
166 note_map = mmap(NULL, note_map_len, PROT_READ,
209 mapbase = mmap(base_addr, mapsize, PROT_NONE, base_flags, -1, 0);
211 _rtld_error("%s: mmap of entire address space failed: %s",
216 _rtld_error("%s: mmap returned wrong address: wanted %p, got %p",
229 if (mmap(data_addr, data_vlimit - data_vaddr, data_prot,
231 _rtld_error("%s: mmap of data failed: %s", path,
265 if (mmap(bss_addr, bss_vlimit - bss_vaddr, data_prot,
267 _rtld_error("%s: mmap of bss failed: %s", path,
352 hdr = mmap(NUL
[all...]
/freebsd-11-stable/usr.bin/xinstall/
H A Dxinstall.c1063 p = mmap(NULL, from_len, PROT_READ, MAP_SHARED,
1067 q = mmap(NULL, from_len, PROT_READ, MAP_SHARED,
1224 (p = mmap(NULL, (size_t)size, PROT_READ, MAP_SHARED,
1483 * return true (1) if mmap should be tried, false (0) if not.
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DGCDAProfiling.c264 /* A size of 0 is invalid to `mmap'. Return a fail here, but don't issue an
291 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE,
393 /* mmap failed, try to recover by clobbering */
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c914 ret = ib_dev->mmap(file->ucontext, vma);
1039 .mmap = ib_uverbs_mmap,
1214 uverbs_dev->cdev.ops = device->mmap ? &uverbs_mmap_fops : &uverbs_fops;
/freebsd-11-stable/contrib/file/src/
H A Dseccomp.c201 ALLOW_RULE(mmap);
H A Dder.c440 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED)
441 err(EXIT_FAILURE, "mmap `%s'", argv[1]);
/freebsd-11-stable/contrib/file/
H A Dconfigure14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14246 $as_echo_n "checking for working mmap... " >&6; }
14260 Here is a matrix of mmap possibilities:
14261 mmap private not fixed
14262 mmap private fixed at somewhere currently unmapped
14263 mmap private fixed at somewhere already mapped
14264 mmap shared not fixed
14265 mmap shared fixed at somewhere currently unmapped
14266 mmap shared fixed at somewhere already mapped
14268 back from the file, nor mmap'
[all...]
/freebsd-11-stable/contrib/ntp/sntp/
H A Dconfigure23908 for ac_func in mmap canonicalize_file_name snprintf strdup strchr \
/freebsd-11-stable/contrib/ntp/
H A Dconfigure15570 for ac_func in mmap canonicalize_file_name snprintf strdup strchr \
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c876 ATF_REQUIRE_MSG((shm_buf = mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
877 MAP_ANON | MAP_PRIVATE, -1, 0)) != MAP_FAILED, "mmap: %d", errno);
/freebsd-11-stable/usr.bin/svn/lib/libapr/
H A DMakefile46 mmap.c \
98 ${APR}/mmap/unix \
/freebsd-11-stable/contrib/serf/
H A Dserf_bucket_types.h338 #define SERF_BUCKET_IS_MMAP(b) SERF_BUCKET_CHECK((b), mmap)
341 apr_mmap_t *mmap,
/freebsd-11-stable/contrib/serf/buckets/
H A Dmmap_buckets.c30 apr_mmap_t *mmap; member in struct:__anon70
44 ctx->mmap = file_mmap;
47 ctx->remaining = ctx->mmap->size;
66 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset);
86 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset);
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_buckets.h73 * memory, or part of a file or mmap area, or the output of a process,
597 * A bucket referring to an mmap()ed file
602 /** The mmap this sub_bucket refers to */
603 apr_mmap_t *mmap; member in struct:apr_bucket_mmap
640 apr_bucket_mmap mmap; /**< MMap */ member in union:apr_bucket_structs
1473 * Create a bucket referring to mmap()ed memory.
1474 * @param mm The mmap to insert into the bucket
1475 * @param start The offset of the first byte in the mmap
1489 * @param mm The mmap to insert into the bucket
1490 * @param start The offset of the first byte in the mmap
[all...]
/freebsd-11-stable/contrib/apr/shmem/unix/
H A Dshm.c189 new_m->base = mmap(NULL, new_m->realsize, PROT_READ|PROT_WRITE,
211 new_m->base = mmap(NULL, new_m->realsize, PROT_READ|PROT_WRITE,
312 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
340 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
602 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/apr/memory/unix/
H A Dapr_pools.c81 * XXX: This is not optimal when using --enable-allocator-uses-mmap on
405 if ((node = mmap(NULL, size + 2 * GUARDPAGE_SIZE, PROT_NONE,
408 if ((node = mmap(NULL, size, PROT_READ|PROT_WRITE,
/freebsd-11-stable/contrib/apr/locks/unix/
H A Dproc_mutex.c475 /* The mmap()ed pthread_interproc is the native pthread_mutex_t followed
595 new_mutex->os.pthread_interproc = mmap(NULL, sizeof(proc_pthread_mutex_t),
/freebsd-11-stable/contrib/apr/
H A Dlibapr.mak86 -@erase "$(INTDIR)\mmap.obj"
217 "$(INTDIR)\mmap.obj" \
330 -@erase "$(INTDIR)\mmap.obj"
461 "$(INTDIR)\mmap.obj" \
574 -@erase "$(INTDIR)\mmap.obj"
705 "$(INTDIR)\mmap.obj" \
818 -@erase "$(INTDIR)\mmap.obj"
949 "$(INTDIR)\mmap.obj" \
1248 SOURCE=.\mmap\unix\common.c
1254 SOURCE=.\mmap\win3
[all...]

Completed in 812 milliseconds

1234567891011>>