/freebsd-11-stable/usr.bin/ar/ |
H A D | write.c | 202 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 D | intel.c | 170 * 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 D | sqlite3.c | 3015 ** 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 D | mlx5_ib_main.c | 1254 * forced by mmap function. 3177 dev->ib_dev.mmap = mlx5_ib_mmap;
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 2608 ibdev->ib_dev.mmap = mlx4_ib_mmap;
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | elf_update.c | 1140 if ((e->e_rawfile = mmap(NULL, (size_t) newsize,
|
/freebsd-11-stable/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 502 bitmap = mmap(NULL, map_size, PROT_READ, MAP_SHARED, fd, addr); 504 perror("mmap failed");
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | map_object.c | 43 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 D | xinstall.c | 1063 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 D | GCDAProfiling.c | 264 /* 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 D | ib_uverbs_main.c | 914 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 D | seccomp.c | 201 ALLOW_RULE(mmap);
|
H A D | der.c | 440 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 D | configure | 14245 { $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 D | configure | 23908 for ac_func in mmap canonicalize_file_name snprintf strdup strchr \
|
/freebsd-11-stable/contrib/ntp/ |
H A D | configure | 15570 for ac_func in mmap canonicalize_file_name snprintf strdup strchr \
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 876 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 D | Makefile | 46 mmap.c \ 98 ${APR}/mmap/unix \
|
/freebsd-11-stable/contrib/serf/ |
H A D | serf_bucket_types.h | 338 #define SERF_BUCKET_IS_MMAP(b) SERF_BUCKET_CHECK((b), mmap) 341 apr_mmap_t *mmap,
|
/freebsd-11-stable/contrib/serf/buckets/ |
H A D | mmap_buckets.c | 30 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 D | apr_buckets.h | 73 * 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 D | shm.c | 189 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 D | apr_pools.c | 81 * 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 D | proc_mutex.c | 475 /* 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 D | libapr.mak | 86 -@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...] |