Lines Matching refs:task_faults_idx
1547 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() function
1557 return p->numa_faults[task_faults_idx(NUMA_MEM, nid, 0)] + in task_faults()
1558 p->numa_faults[task_faults_idx(NUMA_MEM, nid, 1)]; in task_faults()
1568 return ng->faults[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults()
1569 ng->faults[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults()
1574 return group->faults[task_faults_idx(NUMA_CPU, nid, 0)] + in group_faults_cpu()
1575 group->faults[task_faults_idx(NUMA_CPU, nid, 1)]; in group_faults_cpu()
1584 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 1)]; in group_faults_priv()
1596 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 0)]; in group_faults_shared()
2848 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()
2849 membuf_idx = task_faults_idx(NUMA_MEMBUF, nid, priv); in task_numa_placement()
2850 cpu_idx = task_faults_idx(NUMA_CPU, nid, priv); in task_numa_placement()
2851 cpubuf_idx = task_faults_idx(NUMA_CPUBUF, nid, priv); in task_numa_placement()
3166 p->numa_faults[task_faults_idx(NUMA_MEMBUF, mem_node, priv)] += pages; in task_numa_fault()
3167 p->numa_faults[task_faults_idx(NUMA_CPUBUF, cpu_node, priv)] += pages; in task_numa_fault()
12976 tsf = p->numa_faults[task_faults_idx(NUMA_MEM, node, 0)]; in show_numa_stats()
12977 tpf = p->numa_faults[task_faults_idx(NUMA_MEM, node, 1)]; in show_numa_stats()
12980 gsf = ng->faults[task_faults_idx(NUMA_MEM, node, 0)], in show_numa_stats()
12981 gpf = ng->faults[task_faults_idx(NUMA_MEM, node, 1)]; in show_numa_stats()