Lines Matching refs:priv
1276 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() argument
1278 return NR_NUMA_HINT_FAULT_TYPES * (s * nr_node_ids + nid) + priv; in task_faults_idx()
2589 int priv; in task_numa_placement() local
2591 for (priv = 0; priv < NR_NUMA_HINT_FAULT_TYPES; priv++) { in task_numa_placement()
2594 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()
2595 membuf_idx = task_faults_idx(NUMA_MEMBUF, nid, priv); in task_numa_placement()
2596 cpu_idx = task_faults_idx(NUMA_CPU, nid, priv); in task_numa_placement()
2597 cpubuf_idx = task_faults_idx(NUMA_CPUBUF, nid, priv); in task_numa_placement()
2601 fault_types[priv] += p->numa_faults[membuf_idx]; in task_numa_placement()
2689 int *priv) in task_numa_group() argument
2757 *priv = !join; in task_numa_group()
2843 int priv; in task_numa_fault() local
2879 priv = 1; in task_numa_fault()
2881 priv = cpupid_match_pid(p, last_cpupid); in task_numa_fault()
2882 if (!priv && !(flags & TNF_NO_GROUP)) in task_numa_fault()
2883 task_numa_group(p, last_cpupid, flags, &priv); in task_numa_fault()
2893 if (!priv && !local && ng && ng->active_nodes > 1 && in task_numa_fault()
2912 p->numa_faults[task_faults_idx(NUMA_MEMBUF, mem_node, priv)] += pages; in task_numa_fault()
2913 p->numa_faults[task_faults_idx(NUMA_CPUBUF, cpu_node, priv)] += pages; in task_numa_fault()