Lines Matching refs:siw_cpu_info
110 } siw_cpu_info; variable
117 kfree(siw_cpu_info.tx_valid_cpus[i++]); in siw_destroy_cpulist()
119 kfree(siw_cpu_info.tx_valid_cpus); in siw_destroy_cpulist()
120 siw_cpu_info.tx_valid_cpus = NULL; in siw_destroy_cpulist()
129 siw_cpu_info.num_nodes = num_nodes; in siw_init_cpulist()
131 siw_cpu_info.tx_valid_cpus = in siw_init_cpulist()
133 if (!siw_cpu_info.tx_valid_cpus) { in siw_init_cpulist()
134 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
137 for (i = 0; i < siw_cpu_info.num_nodes; i++) { in siw_init_cpulist()
138 siw_cpu_info.tx_valid_cpus[i] = in siw_init_cpulist()
140 if (!siw_cpu_info.tx_valid_cpus[i]) in siw_init_cpulist()
143 cpumask_clear(siw_cpu_info.tx_valid_cpus[i]); in siw_init_cpulist()
146 cpumask_set_cpu(i, siw_cpu_info.tx_valid_cpus[cpu_to_node(i)]); in siw_init_cpulist()
151 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
169 tx_cpumask = siw_cpu_info.tx_valid_cpus[node]; in siw_get_tx_cpu()
523 siw_destroy_cpulist(siw_cpu_info.num_nodes); in siw_init_module()
538 siw_destroy_cpulist(siw_cpu_info.num_nodes); in siw_exit_module()