Lines Matching refs:siw_cpu_info
134 } siw_cpu_info; variable
142 siw_cpu_info.num_nodes = num_nodes; in siw_init_cpulist()
144 siw_cpu_info.tx_valid_cpus = in siw_init_cpulist()
146 if (!siw_cpu_info.tx_valid_cpus) { in siw_init_cpulist()
147 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
150 for (i = 0; i < siw_cpu_info.num_nodes; i++) { in siw_init_cpulist()
151 siw_cpu_info.tx_valid_cpus[i] = in siw_init_cpulist()
153 if (!siw_cpu_info.tx_valid_cpus[i]) in siw_init_cpulist()
156 cpumask_clear(siw_cpu_info.tx_valid_cpus[i]); in siw_init_cpulist()
159 cpumask_set_cpu(i, siw_cpu_info.tx_valid_cpus[cpu_to_node(i)]); in siw_init_cpulist()
164 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
166 kfree(siw_cpu_info.tx_valid_cpus[i]); in siw_init_cpulist()
167 kfree(siw_cpu_info.tx_valid_cpus); in siw_init_cpulist()
168 siw_cpu_info.tx_valid_cpus = NULL; in siw_init_cpulist()
177 while (i < siw_cpu_info.num_nodes) in siw_destroy_cpulist()
178 kfree(siw_cpu_info.tx_valid_cpus[i++]); in siw_destroy_cpulist()
180 kfree(siw_cpu_info.tx_valid_cpus); in siw_destroy_cpulist()
195 tx_cpumask = siw_cpu_info.tx_valid_cpus[node]; in siw_get_tx_cpu()