Lines Matching refs:rss
492 static inline void init_rss_vec(int *rss) in init_rss_vec() argument
494 memset(rss, 0, sizeof(int) * NR_MM_COUNTERS); in init_rss_vec()
497 static inline void add_mm_rss_vec(struct mm_struct *mm, int *rss) in add_mm_rss_vec() argument
504 if (rss[i]) in add_mm_rss_vec()
505 add_mm_counter(mm, i, rss[i]); in add_mm_rss_vec()
776 struct vm_area_struct *src_vma, unsigned long addr, int *rss) in copy_nonpresent_pte() argument
795 rss[MM_SWAPENTS]++; in copy_nonpresent_pte()
799 rss[mm_counter(page)]++; in copy_nonpresent_pte()
829 rss[mm_counter(page)]++; in copy_nonpresent_pte()
888 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_page() argument
922 rss[mm_counter(new_page)]++; in copy_present_page()
940 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_pte() argument
953 addr, rss, prealloc, pte, page); in copy_present_pte()
959 rss[mm_counter(page)]++; in copy_present_pte()
1016 int rss[NR_MM_COUNTERS]; in copy_pte_range() local
1022 init_rss_vec(rss); in copy_pte_range()
1055 addr, rss); in copy_pte_range()
1074 addr, rss, &prealloc); in copy_pte_range()
1097 add_mm_rss_vec(dst_mm, rss); in copy_pte_range()
1314 int rss[NR_MM_COUNTERS]; in zap_pte_range() local
1322 init_rss_vec(rss); in zap_pte_range()
1356 rss[mm_counter(page)]--; in zap_pte_range()
1376 rss[mm_counter(page)]--; in zap_pte_range()
1390 rss[MM_SWAPENTS]--; in zap_pte_range()
1395 rss[mm_counter(page)]--; in zap_pte_range()
1402 add_mm_rss_vec(mm, rss); in zap_pte_range()