Home
last modified time | relevance | path

Searched refs:rotor (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/sparc/mm/
H A Dio-unit.c56 iounit->rotor[1] = IOUNIT_BMAP2_START; in iounit_iommu_init()
57 iounit->rotor[2] = IOUNIT_BMAPM_START; in iounit_iommu_init()
99 unsigned long rotor, scan, limit; in iounit_get_area() local
114 rotor = iounit->rotor[j - 1]; in iounit_get_area()
116 scan = rotor; in iounit_get_area()
119 if (limit != rotor) { in iounit_get_area()
120 limit = rotor; in iounit_get_area()
132 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area()
/kernel/linux/linux-6.6/arch/sparc/mm/
H A Dio-unit.c57 iounit->rotor[1] = IOUNIT_BMAP2_START; in iounit_iommu_init()
58 iounit->rotor[2] = IOUNIT_BMAPM_START; in iounit_iommu_init()
100 unsigned long rotor, scan, limit; in iounit_get_area() local
115 rotor = iounit->rotor[j - 1]; in iounit_get_area()
117 scan = rotor; in iounit_get_area()
120 if (limit != rotor) { in iounit_get_area()
121 limit = rotor; in iounit_get_area()
133 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dpci_msi.c78 u32 ret, rotor; in pick_msiq() local
82 rotor = pbm->msiq_rotor; in pick_msiq()
83 ret = pbm->msiq_first + rotor; in pick_msiq()
85 if (++rotor >= pbm->msiq_num) in pick_msiq()
86 rotor = 0; in pick_msiq()
87 pbm->msiq_rotor = rotor; in pick_msiq()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dpci_msi.c80 u32 ret, rotor; in pick_msiq() local
84 rotor = pbm->msiq_rotor; in pick_msiq()
85 ret = pbm->msiq_first + rotor; in pick_msiq()
87 if (++rotor >= pbm->msiq_num) in pick_msiq()
88 rotor = 0; in pick_msiq()
89 pbm->msiq_rotor = rotor; in pick_msiq()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dio-unit.h48 unsigned long rotor[3]; member
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dio-unit.h48 unsigned long rotor[3]; member
/kernel/linux/linux-5.10/kernel/cgroup/
H A Dcpuset.c3628 static int cpuset_spread_node(int *rotor) in cpuset_spread_node() argument
3630 return *rotor = next_node_in(*rotor, current->mems_allowed); in cpuset_spread_node()
/kernel/linux/linux-6.6/kernel/cgroup/
H A Dcpuset.c4149 * @rotor: round robin rotor
4173 static int cpuset_spread_node(int *rotor) in cpuset_spread_node() argument
4175 return *rotor = next_node_in(*rotor, current->mems_allowed); in cpuset_spread_node()

Completed in 12 milliseconds