Home
last modified time | relevance | path

Searched refs:list_mutex (Results 1 – 12 of 12) sorted by relevance

/linux-4.4.14/drivers/w1/
Dw1_int.c80 mutex_init(&dev->list_mutex); in w1_alloc_dev()
203 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
205 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
207 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
210 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
220 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
222 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
224 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
226 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
Dw1.c391 mutex_lock(&md->list_mutex); in w1_master_attribute_show_slaves()
401 mutex_unlock(&md->list_mutex); in w1_master_attribute_show_slaves()
461 mutex_lock(&dev->list_mutex); in w1_slave_search_device()
466 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
470 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
710 mutex_lock(&sl->master->list_mutex); in __w1_attach_slave_device()
712 mutex_unlock(&sl->master->list_mutex); in __w1_attach_slave_device()
784 mutex_lock(&dev->list_mutex); in w1_unref_slave()
807 mutex_unlock(&dev->list_mutex); in w1_unref_slave()
815 mutex_lock(&sl->master->list_mutex); in w1_slave_detach()
[all …]
Dw1_netlink.c293 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()
Dw1.h227 struct mutex list_mutex; member
/linux-4.4.14/drivers/staging/most/hdm-i2c/
Dhdm_i2c.c58 struct mutex list_mutex; member
126 mutex_lock(&dev->rx.list_mutex); in enqueue()
128 mutex_unlock(&dev->rx.list_mutex); in enqueue()
169 mutex_lock(&dev->rx.list_mutex); in poison_channel()
173 mutex_unlock(&dev->rx.list_mutex); in poison_channel()
179 mutex_lock(&dev->rx.list_mutex); in poison_channel()
181 mutex_unlock(&dev->rx.list_mutex); in poison_channel()
235 mutex_lock(&dev->rx.list_mutex); in do_rx_work()
241 mutex_unlock(&dev->rx.list_mutex); in do_rx_work()
246 mutex_unlock(&dev->rx.list_mutex); in do_rx_work()
[all …]
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dsched.c159 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 …]
/linux-4.4.14/net/netfilter/
Dxt_IDLETIMER.c62 static DEFINE_MUTEX(list_mutex);
87 mutex_lock(&list_mutex); in idletimer_tg_show()
93 mutex_unlock(&list_mutex); in idletimer_tg_show()
203 mutex_lock(&list_mutex); in idletimer_tg_checkentry()
217 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
222 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
232 mutex_lock(&list_mutex); in idletimer_tg_destroy()
247 mutex_unlock(&list_mutex); in idletimer_tg_destroy()
/linux-4.4.14/sound/core/seq/
Dseq_ports.c119 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()
Dseq_ports.h54 struct rw_semaphore list_mutex; member
Dseq_clientmgr.c679 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()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_base.c606 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()
/linux-4.4.14/arch/powerpc/include/asm/
Dspu.h193 struct mutex list_mutex; member