Searched refs:cbe_spu_info (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
H A D | sched.c | 159 mutex_lock(&cbe_spu_info[node].list_mutex); spu_update_sched_info() 161 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_update_sched_info() 203 mutex_lock(&cbe_spu_info[node].list_mutex); for_each_online_node() 204 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { for_each_online_node() 213 mutex_unlock(&cbe_spu_info[node].list_mutex); for_each_online_node() 229 atomic_inc(&cbe_spu_info[spu->node].reserved_spus); spu_bind_context() 265 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); sched_spu() 332 mutex_lock(&cbe_spu_info[node].list_mutex); aff_ref_location() 333 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { aff_ref_location() 340 mutex_unlock(&cbe_spu_info[node].list_mutex); aff_ref_location() 344 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { aff_ref_location() 347 mutex_unlock(&cbe_spu_info[node].list_mutex); aff_ref_location() 351 mutex_unlock(&cbe_spu_info[node].list_mutex); aff_ref_location() 445 atomic_dec(&cbe_spu_info[spu->node].reserved_spus); spu_unbind_context() 586 mutex_lock(&cbe_spu_info[node].list_mutex); spu_get_idle() 590 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_get_idle() 603 mutex_lock(&cbe_spu_info[node].list_mutex); spu_get_idle() 604 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { spu_get_idle() 608 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_get_idle() 617 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_get_idle() 651 mutex_lock(&cbe_spu_info[node].list_mutex); find_victim() 652 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { find_victim() 663 mutex_unlock(&cbe_spu_info[node].list_mutex); find_victim() 697 mutex_lock(&cbe_spu_info[node].list_mutex); find_victim() 698 cbe_spu_info[node].nr_active--; find_victim() 700 mutex_unlock(&cbe_spu_info[node].list_mutex); find_victim() 724 mutex_lock(&cbe_spu_info[node].list_mutex); __spu_schedule() 727 cbe_spu_info[node].nr_active++; __spu_schedule() 731 mutex_unlock(&cbe_spu_info[node].list_mutex); __spu_schedule() 767 mutex_lock(&cbe_spu_info[node].list_mutex); spu_unschedule() 768 cbe_spu_info[node].nr_active--; spu_unschedule() 774 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_unschedule() 972 nr_active += cbe_spu_info[node].nr_active; count_active_contexts() 1015 struct mutex *mtx = &cbe_spu_info[node].list_mutex; spusched_thread() 1018 list_for_each_entry(spu, &cbe_spu_info[node].spus, spusched_thread() 1067 atomic_dec(&cbe_spu_info[node].busy_spus); spuctx_switch_state() 1069 atomic_inc(&cbe_spu_info[node].busy_spus); spuctx_switch_state() 1165 mutex_lock(&cbe_spu_info[node].list_mutex); spu_sched_exit() 1166 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) spu_sched_exit() 1169 mutex_unlock(&cbe_spu_info[node].list_mutex); spu_sched_exit()
|
H A D | inode.c | 327 aff_supp = !list_empty(&(list_entry(cbe_spu_info[0].spus.next, spufs_assert_affinity() 372 if ((cbe_spu_info[node].n_spus - atomic_read( spufs_assert_affinity() 373 &cbe_spu_info[node].reserved_spus)) >= count) spufs_assert_affinity()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 49 struct cbe_spu_info cbe_spu_info[MAX_NUMNODES]; variable in typeref:struct:cbe_spu_info 50 EXPORT_SYMBOL_GPL(cbe_spu_info); variable 60 * Protects cbe_spu_info and spu->number. 606 mutex_lock(&cbe_spu_info[spu->node].list_mutex); create_spu() 607 list_add(&spu->cbe_list, &cbe_spu_info[spu->node].spus); create_spu() 608 cbe_spu_info[spu->node].n_spus++; create_spu() 609 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); create_spu() 769 mutex_init(&cbe_spu_info[i].list_mutex); init_spu_base() 770 INIT_LIST_HEAD(&cbe_spu_info[i].spus); init_spu_base()
|
H A D | spu_manage.c | 391 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { spu_lookup_reg() 438 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) devnode_spu() 452 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) { neighbour_spu() 474 last_spu = list_first_entry(&cbe_spu_info[cbe].spus, struct spu, init_affinity_node() 477 for (added = 1; added < cbe_spu_info[cbe].n_spus; added++) { init_affinity_node()
|
H A D | cpufreq_spudemand.c | 49 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus); calc_freq()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | spu.h | 192 struct cbe_spu_info { struct 201 extern struct cbe_spu_info cbe_spu_info[];
|
Completed in 413 milliseconds