Home
last modified time | relevance | path

Searched refs:madvise (Results 1 – 25 of 47) sorted by relevance

12

/openbsd/usr.bin/cmp/
H A Dregular.c80 madvise(p1, length, MADV_SEQUENTIAL); in c_regular()
81 madvise(p2, length, MADV_SEQUENTIAL); in c_regular()
/openbsd/lib/libc/sys/
H A Dposix_madvise.c11 return (madvise(addr, len, behav) ? errno : 0); in posix_madvise()
H A DMakefile.inc61 madvise.o mimmutable.o minherit.o mkdir.o mkdirat.o mkfifo.o mkfifoat.o \
190 kbind.2 kill.2 kqueue.2 ktrace.2 link.2 listen.2 lseek.2 madvise.2 \
/openbsd/regress/sys/kern/exec_self/
H A Dexec_self.c35 if (madvise((void *)(va - off), sizeof(blob) + (off > 0 ? pgsz : 0), in main()
/openbsd/lib/libc/hidden/sys/
H A Dmman.h23 PROTO_NORMAL(madvise);
/openbsd/gnu/llvm/compiler-rt/lib/profile/
H A DWindowsMMap.h70 int madvise(void *addr, size_t length, int advice);
H A DWindowsMMap.c116 int madvise(void *addr, size_t length, int advice) in madvise() function
H A DInstrProfilingUtil.c369 return madvise((void *)BeginAligned, EndAligned - BeginAligned, in lprofReleaseMemoryPagesToOS()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp85 extern "C" int madvise(void *, size_t, int);
88 return madvise((void *)addr, length, advice); in internal_madvise()
H A Dsanitizer_netbsd.cpp120 DEFINE__REAL(int, madvise, void *a, uptr b, int c); in internal_madvise()
121 return _REAL(madvise, (void *)addr, length, advice); in internal_madvise()
/openbsd/usr.bin/grep/
H A Dmmfile.c58 madvise(mmf->base, mmf->len, MADV_SEQUENTIAL); in mmopen()
/openbsd/sys/sys/
H A Dmman.h155 int madvise(void *, size_t, int);
/openbsd/usr.bin/xinstall/
H A Dxinstall.c432 madvise(p, size, MADV_SEQUENTIAL); in copy()
513 madvise(p1, length, MADV_SEQUENTIAL); in compare()
514 madvise(p2, length, MADV_SEQUENTIAL); in compare()
/openbsd/gnu/usr.bin/perl/ext/PerlIO-mmap/
H A Dmmap.xs62 madvise(m->mptr, len, MADV_SEQUENTIAL); in PerlIOMmap_map()
65 madvise(m->mptr, len, MADV_WILLNEED); in PerlIOMmap_map()
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dconfigure.com193 /* Define if you have the madvise function. */
H A Dconfig.in88 /* Define if you have the madvise function. */
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dconfigure.com193 /* Define if you have the madvise function. */
H A Dconfig.in149 /* Define to 1 if you have the `madvise' function. */
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt101 madvise U
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp94 while (madvise(Addr, Size, MADV_DONTNEED) == -1 && errno == EAGAIN) { in releasePagesToOS()
/openbsd/bin/cp/
H A Dutils.c129 madvise(p, fs->st_size, MADV_SEQUENTIAL); in copy_file()
/openbsd/usr.bin/cvs/
H A Dfile.c1051 madvise(p1, stb1.st_size, MADV_SEQUENTIAL); in cvs_file_cmp()
1052 madvise(p2, stb1.st_size, MADV_SEQUENTIAL); in cvs_file_cmp()
1108 madvise(p, st.st_size, MADV_SEQUENTIAL); in cvs_file_copy()
/openbsd/usr.bin/nm/
H A Dnm.c436 (void)madvise(symdef, len, MADV_SEQUENTIAL); in show_symdef()
707 (void)madvise(stab, stabsize, MADV_SEQUENTIAL); in show_file()
/openbsd/usr.bin/patch/
H A Dinp.c199 madvise(i_womp, i_size, MADV_SEQUENTIAL); in plan_a()
/openbsd/bin/mv/
H A Dcp.c473 madvise(p, fs->st_size, MADV_SEQUENTIAL); in copy_file()

12