• Home
  • Raw
  • Download

Lines Matching refs:mm

411 static inline void task_core_dumping(struct seq_file *m, struct mm_struct *mm)  in task_core_dumping()  argument
413 seq_put_decimal_ull(m, "CoreDumping:\t", !!mm->core_state); in task_core_dumping()
417 static inline void task_thp_status(struct seq_file *m, struct mm_struct *mm) in task_thp_status() argument
422 thp_enabled = !test_bit(MMF_DISABLE_THP, &mm->flags); in task_thp_status()
429 struct mm_struct *mm = get_task_mm(task); in proc_pid_status() local
437 if (mm) { in proc_pid_status()
438 task_mem(m, mm); in proc_pid_status()
439 task_core_dumping(m, mm); in proc_pid_status()
440 task_thp_status(m, mm); in proc_pid_status()
441 mmput(mm); in proc_pid_status()
463 struct mm_struct *mm; in do_task_stat() local
475 mm = get_task_mm(task); in do_task_stat()
476 if (mm) { in do_task_stat()
477 vsize = task_vsize(mm); in do_task_stat()
586 seq_put_decimal_ull(m, " ", mm ? get_mm_rss(mm) : 0); in do_task_stat()
588 seq_put_decimal_ull(m, " ", mm ? (permitted ? mm->start_code : 1) : 0); in do_task_stat()
589 seq_put_decimal_ull(m, " ", mm ? (permitted ? mm->end_code : 1) : 0); in do_task_stat()
590 seq_put_decimal_ull(m, " ", (permitted && mm) ? mm->start_stack : 0); in do_task_stat()
624 if (mm && permitted) { in do_task_stat()
625 seq_put_decimal_ull(m, " ", mm->start_data); in do_task_stat()
626 seq_put_decimal_ull(m, " ", mm->end_data); in do_task_stat()
627 seq_put_decimal_ull(m, " ", mm->start_brk); in do_task_stat()
628 seq_put_decimal_ull(m, " ", mm->arg_start); in do_task_stat()
629 seq_put_decimal_ull(m, " ", mm->arg_end); in do_task_stat()
630 seq_put_decimal_ull(m, " ", mm->env_start); in do_task_stat()
631 seq_put_decimal_ull(m, " ", mm->env_end); in do_task_stat()
641 if (mm) in do_task_stat()
642 mmput(mm); in do_task_stat()
661 struct mm_struct *mm = get_task_mm(task); in proc_pid_statm() local
663 if (mm) { in proc_pid_statm()
670 size = task_statm(mm, &shared, &text, &data, &resident); in proc_pid_statm()
671 mmput(mm); in proc_pid_statm()