Searched refs:mmap (Results 101 - 125 of 281) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_tx.c122 return ((u_int)howmany((uint64_t)(sc->mmap->tst_size - 1) *
129 return ((slots * IFP2IFATM(sc->ifp)->mib.pcr + sc->mmap->tst_size - 2) /
130 (sc->mmap->tst_size - 1));
1130 vcc->vcc.tparam.pcr, IFP2IFATM(sc->ifp)->mib.pcr, sc->mmap->tst_size, slots);
1132 qmax = sc->mmap->tst_size - 1;
1176 for (i = 0; i < sc->mmap->tst_size - 1; i++) {
1209 for (i = 0; i < sc->mmap->tst_size - 1; i++)
H A Dif_patm_rx.c87 patm_sram_write(sc, sc->mmap->rct + cid * IDT_RCT_ENTRY_SIZE + w, val);
92 return (patm_sram_read(sc, sc->mmap->rct +
129 patm_sram_write4(sc, sc->mmap->rct + vcc->cid *
H A Dif_patm_ioctl.c389 sc->mmap->max_conn, sc->vccs_open, &sc->mtx, 1);
397 sc->mmap->max_conn, sc->vccs_open, &sc->mtx, 0);
/freebsd-11-stable/usr.sbin/ctm/mkCTM/
H A Dmkctm.c184 p1=mmap(0, s1.st_size, PROT_READ, MAP_PRIVATE, fd1, 0);
188 p2=mmap(0, s2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0);
328 p1=mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, fd1, 0);
/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...]
H A Dbuild-outputs.mk65 mmap/unix/common.lo: mmap/unix/common.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_inherit.h include/apr_mmap.h include/apr_pools.h include/apr_ring.h include/apr_tables.h include/apr_thread_mutex.h include/apr_time.h include/apr_user.h include/apr_want.h
66 mmap/unix/mmap.lo: mmap/unix/mmap.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_mmap.h include/apr_network_io.h include/apr_perms_set.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_ring.h include/apr_shm.h include/apr_strings.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h
68 OBJECTS_mmap_unix = mmap/unix/common.lo mmap/unix/mmap.lo
282 mmap/win3
[all...]
/freebsd-11-stable/lib/libvgl/
H A Dmain.c301 VGLMem = (byte*)mmap(0, VGLAdpInfo.va_window_size, PROT_READ|PROT_WRITE,
350 VGLMem = (byte*)mmap(0, VGLAdpInfo.va_window_size, PROT_READ|PROT_WRITE,
353 /* XXX: what if mmap() has failed! */
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Drcopy.c318 file_addr = mmap(NULL, bytes, PROT_WRITE, MAP_SHARED, fd, 0);
439 file_addr = mmap(NULL, bytes, PROT_READ, MAP_SHARED, fd, 0);
/freebsd-11-stable/sys/sys/
H A Dsyscall.mk328 mmap.o \
/freebsd-11-stable/sbin/ldconfig/
H A Dldconfig.c555 addr = mmap(0, msize, PROT_READ, MAP_COPY, fd, 0);
578 addr = mmap(0, fsize, PROT_READ, MAP_COPY, fd, 0);
/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/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs.c198 PUFFSOP_SET(pops, dtfs, node, mmap);
/freebsd-11-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Ddirector.c215 if ((tinfo = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_FILE,
/freebsd-11-stable/contrib/binutils/bfd/
H A Dbfdwin.c29 "--without-mmap" is more obvious than "--without-windows" or some
59 . unsigned mapped : 1; {* 1 = mmap, 0 = malloc *}
126 /* Make sure we know the page size, so we can be friendly to mmap. */
163 /* Compute offsets and size for mmap and for the user's data. */
178 i->data = mmap (i->data, real_size,
/freebsd-11-stable/contrib/gcclibs/libiberty/testsuite/
H A Dtest-demangle.c89 /* If we have mmap() and mprotect(), copy the string S just before a
92 If no mmap, or it fails, or it looks too hard, just return S. */
118 buf = mmap (NULL, pagesize * 2, PROT_READ | PROT_WRITE,
/freebsd-11-stable/lib/libc/db/recno/
H A Drec_open.c149 * big to mmap. Since, we don't know what size or type
153 * a portable way is flatly impossible. Hope that mmap
168 if ((t->bt_smap = mmap(NULL, t->bt_msize,
/freebsd-11-stable/lib/libc/gmon/
H A Dgmon.c90 cp = mmap(NULL, p->kcountsize + p->fromssize + p->tossize,
/freebsd-11-stable/lib/libc/locale/
H A Drune.c93 fdata = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
/freebsd-11-stable/tools/bus_space/
H A Dbus.c126 r->ptr = mmap(NULL, r->size, PROT_READ | PROT_WRITE,
/freebsd-11-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c59 * mmap(2) PROT_READ O_RDONLY or O_RDWR yes
60 * mmap(2) PROT_WRITE O_WRONLY or O_RDWR yes
61 * mmap(2) PROT_WRITE + MAP_PRIV O_RDONLY or O_RDWR yes
62 * mmap(2) PROT_EXEC O_RDONLY or O_RDWR yes
79 * XXXRW: Arguably we should also test combinations of bits to mmap(2).
900 * mmap() read should fail for directories (ideally?) but succeed for
910 addr = mmap(NULL, getpagesize(), PROT_READ, MAP_SHARED, fd,
914 ok_mode(testname, "mmap dir failed", mode);
917 notok_mode(testname, "mmap file failed",
920 ok_mode(testname, "mmap fil
[all...]
/freebsd-11-stable/tools/tools/ncpus/
H A Dacpi.c199 map->va = mmap(0, size, PROT_READ, MAP_SHARED, acpi_mem_fd, pa);
/freebsd-11-stable/tools/tools/netrate/http/
H A Dhttp.c281 pagebuffer = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0);
283 err(-1, "mmap");
/freebsd-11-stable/tools/tools/netrate/httpd/
H A Dhttpd.c225 pagebuffer = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0);
227 err(-1, "mmap");
/freebsd-11-stable/tools/tools/pciroms/
H A Dpciroms.c316 map_addr = mmap(NULL, romsize, PROT_READ, MAP_SHARED|MAP_NOCORE,
/freebsd-11-stable/tools/tools/pirtool/
H A Dpirtool.c94 map_addr = mmap(NULL, PIR_SIZE, PROT_READ, MAP_SHARED, mem_fd,
97 perror("mmap");

Completed in 1000 milliseconds

1234567891011>>