Searched refs:behavior (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | madvise.c | 45 static int madvise_need_mmap_write(int behavior) in madvise_need_mmap_write() argument 47 switch (behavior) { in madvise_need_mmap_write() 67 unsigned long start, unsigned long end, int behavior) in madvise_behavior() argument 74 switch (behavior) { in madvise_behavior() 117 error = ksm_madvise(vma, start, end, behavior, &new_flags); in madvise_behavior() 123 error = hugepage_madvise(vma, &new_flags, behavior); in madvise_behavior() 757 int behavior) in madvise_dontneed_free() argument 802 if (behavior == MADV_DONTNEED) in madvise_dontneed_free() 804 else if (behavior == MADV_FREE) in madvise_dontneed_free() 862 static int madvise_inject_error(int behavior, in madvise_inject_error() argument [all …]
|
D | filemap.c | 1119 enum behavior { enum 1132 struct page *page, int bit_nr, int state, enum behavior behavior) in wait_on_page_bit_common() argument 1153 wait->flags = behavior == EXCLUSIVE ? WQ_FLAG_EXCLUSIVE : 0; in wait_on_page_bit_common() 1171 if (behavior == DROP) in wait_on_page_bit_common() 1177 if (behavior == EXCLUSIVE) { in wait_on_page_bit_common() 1180 } else if (behavior == SHARED) { in wait_on_page_bit_common() 1190 if (behavior == DROP) { in wait_on_page_bit_common()
|