Lines Matching refs:rss

465 static inline void init_rss_vec(int *rss)  in init_rss_vec()  argument
467 memset(rss, 0, sizeof(int) * NR_MM_COUNTERS); in init_rss_vec()
470 static inline void add_mm_rss_vec(struct mm_struct *mm, int *rss) in add_mm_rss_vec() argument
477 if (rss[i]) in add_mm_rss_vec()
478 add_mm_counter(mm, i, rss[i]); in add_mm_rss_vec()
768 struct vm_area_struct *src_vma, unsigned long addr, int *rss) in copy_nonpresent_pte() argument
793 rss[MM_SWAPENTS]++; in copy_nonpresent_pte()
797 rss[mm_counter(page)]++; in copy_nonpresent_pte()
828 rss[mm_counter(page)]++; in copy_nonpresent_pte()
887 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_page() argument
906 rss[MM_ANONPAGES]++; in copy_present_page()
924 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_pte() argument
948 addr, rss, prealloc, page); in copy_present_pte()
950 rss[MM_ANONPAGES]++; in copy_present_pte()
954 rss[mm_counter_file(page)]++; in copy_present_pte()
1012 int rss[NR_MM_COUNTERS]; in copy_pte_range() local
1018 init_rss_vec(rss); in copy_pte_range()
1064 addr, rss); in copy_pte_range()
1083 addr, rss, &prealloc); in copy_pte_range()
1105 add_mm_rss_vec(dst_mm, rss); in copy_pte_range()
1401 int rss[NR_MM_COUNTERS]; in zap_pte_range() local
1408 init_rss_vec(rss); in zap_pte_range()
1454 rss[mm_counter(page)]--; in zap_pte_range()
1481 rss[mm_counter(page)]--; in zap_pte_range()
1489 rss[MM_SWAPENTS]--; in zap_pte_range()
1496 rss[mm_counter(page)]--; in zap_pte_range()
1517 add_mm_rss_vec(mm, rss); in zap_pte_range()