Searched refs:MADV_PURGE (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c171 1 << MADV_FREE | 1 << MADV_PURGE)
354 return (1 << MADV_PURGE);
685 for (i = MADV_NORMAL; i <= MADV_PURGE; i++) {
907 for (i = MADV_NORMAL; i <= MADV_PURGE; i++) {
/illumos-gate/usr/src/uts/common/sys/
H A Dmman.h323 #define MADV_PURGE 9 /* contents will be purged */ macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c351 (uintptr_t)arg == MADV_PURGE) {
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c1688 VERIFY(behav == MADV_FREE || behav == MADV_PURGE);
1754 if (behav == MADV_PURGE && pp->p_szc != 0) {
1776 if (behav == MADV_PURGE) {
H A Dseg_vn.c8060 * MADV_PURGE - Contents will be immediately discarded
8079 * In case of MADV_FREE/MADV_PURGE, we won't be modifying any segment
8082 if (behav != MADV_FREE && behav != MADV_PURGE) {
8158 if (behav == MADV_FREE || behav == MADV_PURGE) {
8176 * are doing a MADV_PURGE. We have nothing to do, but
8177 * because MADV_PURGE isn't merely advisory, we return
8211 * MADV_PURGE and MADV_FREE differ in their return semantics:
8212 * because MADV_PURGE is designed to be bug-for-bug compatible
8216 return (behav == MADV_PURGE ? err : 0);
8321 case MADV_PURGE
[all...]
H A Dseg_spt.c2863 if (behav == MADV_FREE || behav == MADV_PURGE) {
/illumos-gate/usr/src/cmd/truss/
H A Dprint.c849 case MADV_PURGE: s = "MADV_PURGE"; break;

Completed in 111 milliseconds