Searched refs:cnt_mutex (Results 1 – 5 of 5) sorted by relevance
81 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()
273 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()
22 struct mutex cnt_mutex; /* structure access */ member
1749 mutex_init(&dev->ports[i].mib.cnt_mutex); in ksz8_switch_init()
195 pthread_mutex_t cnt_mutex; member689 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()