Home
last modified time | relevance | path

Searched refs:cnt_mutex (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/net/dsa/microchip/
Dksz_common.c81 mutex_lock(&mib->cnt_mutex); in ksz_mib_read_work()
94 mutex_unlock(&mib->cnt_mutex); in ksz_mib_read_work()
164 mutex_lock(&mib->cnt_mutex); in ksz_get_ethtool_stats()
171 mutex_unlock(&mib->cnt_mutex); in ksz_get_ethtool_stats()
Dksz9477.c273 mutex_lock(&p->mib.cnt_mutex); in ksz9477_freeze_mib()
278 mutex_unlock(&p->mib.cnt_mutex); in ksz9477_freeze_mib()
286 mutex_lock(&mib->cnt_mutex); in ksz9477_port_init_cnt()
291 mutex_unlock(&mib->cnt_mutex); in ksz9477_port_init_cnt()
1574 mutex_init(&dev->ports[i].mib.cnt_mutex); in ksz9477_switch_init()
Dksz_common.h22 struct mutex cnt_mutex; /* structure access */ member
Dksz8795.c1749 mutex_init(&dev->ports[i].mib.cnt_mutex); in ksz8_switch_init()
/Linux-v5.15/tools/tracing/latency/
Dlatency-collector.c195 pthread_mutex_t cnt_mutex; member
689 mutex_lock(&printstate.cnt_mutex); in printstate_cnt_inc()
691 mutex_unlock(&printstate.cnt_mutex); in printstate_cnt_inc()
699 mutex_lock(&printstate.cnt_mutex); in printstate_cnt_dec()
701 mutex_unlock(&printstate.cnt_mutex); in printstate_cnt_dec()
709 mutex_lock(&printstate.cnt_mutex); in printstate_cnt_read()
711 mutex_unlock(&printstate.cnt_mutex); in printstate_cnt_read()