Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

mm/oom_kill.c __oom_kill_process() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock

mm/oom_kill.c __oom_kill_process() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock

mm/oom_kill.c __oom_kill_process() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock

mm/oom_kill.c dump_task() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock
HALF_LOCKED2 &pool->lock

mm/oom_kill.c dump_task() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock
HALF_LOCKED2 &pool->lock

mm/oom_kill.c dump_task() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock
HALF_LOCKED2 &pool->lock

mm/oom_kill.c dump_task() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 global &oom_lock
HALF_LOCKED2 &pool->lock

mm/oom_kill.c get_mm_rss_sum() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 0
CAPPED_DATA 0 mm 1
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 global &oom_lock

mm/oom_kill.c get_mm_rss_sum() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 1
CAPPED_DATA 0 mm 1
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 global &oom_lock

mm/oom_kill.c get_mm_rss_sum() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 3
CAPPED_DATA 0 mm 1
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 global &oom_lock

mm/oom_kill.c oom_badness() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 2
CAPPED_DATA 0 mm 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 &m->lock
HALF_LOCKED2 global &oom_lock

mm/oom_kill.c oom_reap_task_mm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 1 member 1
DATA_SOURCE 0 mm $1
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/oom_kill.c oom_reap_task_mm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 1 member 0
DATA_SOURCE 0 mm $1
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/oom_kill.c oom_reap_task_mm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 1 member 3
DATA_SOURCE 0 mm $1
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

fs/proc/task_mmu.c task_mem() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 1
DATA_SOURCE 0 mm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_mem() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 0
DATA_SOURCE 0 mm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_mem() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 3
DATA_SOURCE 0 mm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_mem() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 2
CAPPED_DATA 0 mm->hiwater_rss 1
CAPPED_DATA 0 mm->hiwater_vm 1
DATA_SOURCE 0 mm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_statm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 0
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_statm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 3
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c task_statm() -> get_mm_counter_sum()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 member 1
DATA_SOURCE 0 mm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock