Searched refs:own_lock (Results 1 – 5 of 5) sorted by relevance
674 if (r->own_lock)676 if (d->own_lock) {677 d->own_lock = 0;678 r->own_lock = 1;757 if (bufev_private->own_lock) in bufferevent_finalize_cb_()824 BEV_UPCAST(bufev)->own_lock = 0; in bufferevent_enable_locking_()830 BEV_UPCAST(bufev)->own_lock = 1; in bufferevent_enable_locking_()833 BEV_UPCAST(bufev)->own_lock = 0; in bufferevent_enable_locking_()
297 if (bev_p->unlinked_partner && bev_p->bev.own_lock) { in be_pair_destruct()298 bev_p->unlinked_partner->bev.own_lock = 1; in be_pair_destruct()299 bev_p->bev.own_lock = 0; in be_pair_destruct()
117 unsigned own_lock : 1; member
162 unsigned own_lock : 1; member
436 buf->own_lock = 1; in evbuffer_enable_locking()439 buf->own_lock = 0; in evbuffer_enable_locking()581 if (buffer->own_lock) in evbuffer_decref_and_unlock_()