Home
last modified time | relevance | path

Searched refs:comm_lock (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/tools/perf/util/
Dthread.c53 init_rwsem(&thread->comm_lock); in thread__new()
101 down_write(&thread->comm_lock); in thread__delete()
106 up_write(&thread->comm_lock); in thread__delete()
112 exit_rwsem(&thread->comm_lock); in thread__delete()
267 down_write(&thread->comm_lock); in __thread__set_comm()
269 up_write(&thread->comm_lock); in __thread__set_comm()
304 down_read(&thread->comm_lock); in thread__comm_str()
306 up_read(&thread->comm_lock); in thread__comm_str()
Dthread.h40 struct rw_semaphore comm_lock; member
/Linux-v5.4/drivers/misc/
Dvmw_balloon.c384 spinlock_t comm_lock; member
793 lockdep_assert_held(&b->comm_lock); in vmballoon_lock_op()
831 lockdep_assert_held(&b->comm_lock); in vmballoon_add_page()
870 spin_lock(&b->comm_lock); in vmballoon_lock()
910 spin_unlock(&b->comm_lock); in vmballoon_lock()
1782 spin_lock(&b->comm_lock); in vmballoon_migratepage()
1802 spin_unlock(&b->comm_lock); in vmballoon_migratepage()
1824 spin_unlock(&b->comm_lock); in vmballoon_migratepage()
1951 spin_lock_init(&balloon.comm_lock); in vmballoon_init()
/Linux-v5.4/drivers/iio/common/ssp_sensors/
Dssp_spi.c192 mutex_lock(&data->comm_lock); in ssp_do_transfer()
221 mutex_unlock(&data->comm_lock); in ssp_do_transfer()
238 mutex_unlock(&data->comm_lock); in ssp_do_transfer()
Dssp_dev.c535 mutex_init(&data->comm_lock); in ssp_probe()
592 mutex_destroy(&data->comm_lock); in ssp_probe()
617 mutex_destroy(&data->comm_lock); in ssp_remove()
Dssp.h212 struct mutex comm_lock; member