Searched refs:list_mutex (Results 1 – 11 of 11) sorted by relevance
80 mutex_init(&dev->list_mutex); in w1_alloc_dev()204 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()206 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()208 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()211 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()221 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()223 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()225 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()227 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
379 mutex_lock(&md->list_mutex); in w1_master_attribute_show_slaves()389 mutex_unlock(&md->list_mutex); in w1_master_attribute_show_slaves()449 mutex_lock(&dev->list_mutex); in w1_slave_search_device()454 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()458 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()696 mutex_lock(&sl->master->list_mutex); in __w1_attach_slave_device()698 mutex_unlock(&sl->master->list_mutex); in __w1_attach_slave_device()770 mutex_lock(&dev->list_mutex); in w1_unref_slave()793 mutex_unlock(&dev->list_mutex); in w1_unref_slave()801 mutex_lock(&sl->master->list_mutex); in w1_slave_detach()[all …]
293 mutex_lock(&dev->list_mutex); in w1_get_slaves()298 mutex_unlock(&dev->list_mutex); in w1_get_slaves()510 mutex_lock(&dev->list_mutex); in w1_process_cb()512 mutex_unlock(&dev->list_mutex); in w1_process_cb()705 mutex_lock(&dev->list_mutex); in w1_cn_callback()708 mutex_unlock(&dev->list_mutex); in w1_cn_callback()
227 struct mutex list_mutex; member
159 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()161 mutex_unlock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()203 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()213 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()265 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()332 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()340 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()347 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()351 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()586 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_get_idle()[all …]
62 static DEFINE_MUTEX(list_mutex);87 mutex_lock(&list_mutex); in idletimer_tg_show()93 mutex_unlock(&list_mutex); in idletimer_tg_show()202 mutex_lock(&list_mutex); in idletimer_tg_checkentry()216 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()221 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()231 mutex_lock(&list_mutex); in idletimer_tg_destroy()246 mutex_unlock(&list_mutex); in idletimer_tg_destroy()
119 init_rwsem(&grp->list_mutex); in port_subs_info_init()495 down_write(&grp->list_mutex); in check_and_subscribe_port()528 up_write(&grp->list_mutex); in check_and_subscribe_port()543 down_write(&grp->list_mutex); in delete_and_unsubscribe_port()550 up_write(&grp->list_mutex); in delete_and_unsubscribe_port()612 down_write(&src->list_mutex); in snd_seq_port_disconnect()621 up_write(&src->list_mutex); in snd_seq_port_disconnect()640 down_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()647 up_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
54 struct rw_semaphore list_mutex; member
679 down_read(&grp->list_mutex); in deliver_to_subscribers()704 up_read(&grp->list_mutex); in deliver_to_subscribers()2052 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()2074 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()2465 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()2467 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()2486 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
606 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()609 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()769 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
193 struct mutex list_mutex; member