Home
last modified time | relevance | path

Searched refs:b_mutex (Results 1 – 25 of 46) sorted by relevance

12

/dports/net/openldap25-server/openldap-2.5.9/servers/lloadd/
H A Dbackend.c38 checked_lock( &b->b_mutex ); in upstream_connect_cb()
91 checked_unlock( &b->b_mutex ); in upstream_connect_cb()
111 checked_lock( &b->b_mutex ); in upstream_name_cb()
268 checked_unlock( &b->b_mutex ); in upstream_name_cb()
280 checked_unlock( &b->b_mutex ); in upstream_name_cb()
399 assert_locked( &b->b_mutex ); in backend_retry()
451 assert_locked( &b->b_mutex ); in backend_retry()
463 checked_lock( &b->b_mutex ); in backend_connect()
572 checked_lock( &b->b_mutex ); in backend_connect()
610 assert_locked( &b->b_mutex ); in backend_reset()
[all …]
H A Doperation.c341 checked_lock( &b->b_mutex ); in operation_unlink_upstream()
344 checked_unlock( &b->b_mutex ); in operation_unlink_upstream()
579 checked_lock( &b->b_mutex ); in connection_timeout()
581 checked_unlock( &b->b_mutex ); in connection_timeout()
631 checked_lock( &b->b_mutex ); in operations_timeout()
633 checked_unlock( &b->b_mutex ); in operations_timeout()
642 connections_walk_last( &b->b_mutex, &b->b_bindconns, b->b_last_bindconn, in operations_timeout()
648 connections_walk_last( &b->b_mutex, &b->b_conns, b->b_last_conn, in operations_timeout()
652 checked_unlock( &b->b_mutex ); in operations_timeout()
H A Ddaemon.c1289 checked_lock( &b->b_mutex ); in lloadd_daemon()
1292 checked_unlock( &b->b_mutex ); in lloadd_daemon()
1337 checked_lock( &b->b_mutex ); in lloadd_daemon()
1340 checked_unlock( &b->b_mutex ); in lloadd_daemon()
1452 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1454 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
1475 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1478 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
1591 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1593 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
[all …]
/dports/net/openldap25-client/openldap-2.5.9/servers/lloadd/
H A Dbackend.c38 checked_lock( &b->b_mutex ); in upstream_connect_cb()
91 checked_unlock( &b->b_mutex ); in upstream_connect_cb()
111 checked_lock( &b->b_mutex ); in upstream_name_cb()
268 checked_unlock( &b->b_mutex ); in upstream_name_cb()
280 checked_unlock( &b->b_mutex ); in upstream_name_cb()
399 assert_locked( &b->b_mutex ); in backend_retry()
451 assert_locked( &b->b_mutex ); in backend_retry()
463 checked_lock( &b->b_mutex ); in backend_connect()
572 checked_lock( &b->b_mutex ); in backend_connect()
610 assert_locked( &b->b_mutex ); in backend_reset()
[all …]
H A Doperation.c341 checked_lock( &b->b_mutex ); in operation_unlink_upstream()
344 checked_unlock( &b->b_mutex ); in operation_unlink_upstream()
579 checked_lock( &b->b_mutex ); in connection_timeout()
581 checked_unlock( &b->b_mutex ); in connection_timeout()
631 checked_lock( &b->b_mutex ); in operations_timeout()
633 checked_unlock( &b->b_mutex ); in operations_timeout()
642 connections_walk_last( &b->b_mutex, &b->b_bindconns, b->b_last_bindconn, in operations_timeout()
648 connections_walk_last( &b->b_mutex, &b->b_conns, b->b_last_conn, in operations_timeout()
652 checked_unlock( &b->b_mutex ); in operations_timeout()
H A Ddaemon.c1289 checked_lock( &b->b_mutex ); in lloadd_daemon()
1292 checked_unlock( &b->b_mutex ); in lloadd_daemon()
1337 checked_lock( &b->b_mutex ); in lloadd_daemon()
1340 checked_unlock( &b->b_mutex ); in lloadd_daemon()
1452 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1454 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
1475 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1478 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
1591 checked_lock( &b->b_mutex ); in lload_handle_backend_invalidation()
1593 checked_unlock( &b->b_mutex ); in lload_handle_backend_invalidation()
[all …]
H A Dupstream.c497 checked_lock( &b->b_mutex ); in upstream_bind_cb()
510 checked_unlock( &b->b_mutex ); in upstream_bind_cb()
618 assert_locked( &b->b_mutex ); in upstream_finish()
740 checked_lock( &b->b_mutex ); in upstream_tls_handshake_cb()
744 checked_unlock( &b->b_mutex ); in upstream_tls_handshake_cb()
832 checked_lock( &b->b_mutex ); in upstream_starttls()
836 checked_unlock( &b->b_mutex ); in upstream_starttls()
1038 checked_lock( &b->b_mutex ); in upstream_unlink()
1070 checked_unlock( &b->b_mutex ); in upstream_unlink()
/dports/net/openldap26-client/openldap-2.6.0/servers/lloadd/
H A Dbackend.c38 checked_lock( &b->b_mutex ); in upstream_connect_cb()
91 checked_unlock( &b->b_mutex ); in upstream_connect_cb()
111 checked_lock( &b->b_mutex ); in upstream_name_cb()
268 checked_unlock( &b->b_mutex ); in upstream_name_cb()
296 assert_locked( &b->b_mutex ); in try_upstream()
349 assert_locked( &b->b_mutex ); in backend_select()
422 assert_locked( &b->b_mutex ); in backend_retry()
474 assert_locked( &b->b_mutex ); in backend_retry()
486 checked_lock( &b->b_mutex ); in backend_connect()
595 checked_lock( &b->b_mutex ); in backend_connect()
[all …]
H A Dtier_bestof.c126 assert_locked( &b->b_mutex ); in bestof_remove_backend()
178 checked_lock( &b->b_mutex ); in bestof_update()
208 checked_unlock( &b->b_mutex ); in bestof_update()
257 checked_lock( &b->b_mutex ); in bestof_select()
259 checked_unlock( &b->b_mutex ); in bestof_select()
266 checked_lock( &b0->b_mutex ); in bestof_select()
268 checked_unlock( &b0->b_mutex ); in bestof_select()
270 checked_lock( &b1->b_mutex ); in bestof_select()
272 checked_unlock( &b1->b_mutex ); in bestof_select()
288 checked_lock( &b->b_mutex ); in bestof_select()
[all …]
H A Dtier.c28 checked_lock( &b->b_mutex ); in tier_startup()
39 checked_unlock( &b->b_mutex ); in tier_startup()
52 checked_lock( &b->b_mutex ); in tier_reset()
58 checked_unlock( &b->b_mutex ); in tier_reset()
H A Dtier_roundrobin.c59 assert_locked( &b->b_mutex ); in roundrobin_remove_backend()
96 checked_lock( &b->b_mutex ); in roundrobin_select()
100 checked_unlock( &b->b_mutex ); in roundrobin_select()
H A Doperation.c367 checked_lock( &b->b_mutex ); in operation_unlink_upstream()
370 checked_unlock( &b->b_mutex ); in operation_unlink_upstream()
606 checked_lock( &b->b_mutex ); in connection_timeout()
608 checked_unlock( &b->b_mutex ); in connection_timeout()
661 checked_lock( &b->b_mutex ); in operations_timeout()
663 checked_unlock( &b->b_mutex ); in operations_timeout()
672 connections_walk_last( &b->b_mutex, &b->b_bindconns, in operations_timeout()
678 connections_walk_last( &b->b_mutex, &b->b_conns, b->b_last_conn, in operations_timeout()
682 checked_unlock( &b->b_mutex ); in operations_timeout()
H A Dtier_weighted.c157 assert_locked( &b->b_mutex ); in weighted_remove_backend()
195 checked_lock( &sorted[i]->b_mutex ); in weighted_select()
197 checked_unlock( &sorted[i]->b_mutex ); in weighted_select()
H A Dupstream.c532 checked_lock( &b->b_mutex ); in upstream_bind_cb()
653 assert_locked( &b->b_mutex ); in upstream_finish()
775 checked_lock( &b->b_mutex ); in upstream_tls_handshake_cb()
779 checked_unlock( &b->b_mutex ); in upstream_tls_handshake_cb()
867 checked_lock( &b->b_mutex ); in upstream_starttls()
871 checked_unlock( &b->b_mutex ); in upstream_starttls()
970 checked_unlock( &b->b_mutex ); in upstream_init()
973 checked_lock( &b->b_mutex ); in upstream_init()
977 checked_lock( &b->b_mutex ); in upstream_init()
1103 checked_lock( &b->b_mutex ); in upstream_unlink()
[all …]
/dports/net/openldap26-server/openldap-2.6.0/servers/lloadd/
H A Dbackend.c38 checked_lock( &b->b_mutex ); in upstream_connect_cb()
91 checked_unlock( &b->b_mutex ); in upstream_connect_cb()
111 checked_lock( &b->b_mutex ); in upstream_name_cb()
268 checked_unlock( &b->b_mutex ); in upstream_name_cb()
296 assert_locked( &b->b_mutex ); in try_upstream()
349 assert_locked( &b->b_mutex ); in backend_select()
422 assert_locked( &b->b_mutex ); in backend_retry()
474 assert_locked( &b->b_mutex ); in backend_retry()
486 checked_lock( &b->b_mutex ); in backend_connect()
595 checked_lock( &b->b_mutex ); in backend_connect()
[all …]
H A Dtier_bestof.c126 assert_locked( &b->b_mutex ); in bestof_remove_backend()
178 checked_lock( &b->b_mutex ); in bestof_update()
208 checked_unlock( &b->b_mutex ); in bestof_update()
257 checked_lock( &b->b_mutex ); in bestof_select()
259 checked_unlock( &b->b_mutex ); in bestof_select()
266 checked_lock( &b0->b_mutex ); in bestof_select()
268 checked_unlock( &b0->b_mutex ); in bestof_select()
270 checked_lock( &b1->b_mutex ); in bestof_select()
272 checked_unlock( &b1->b_mutex ); in bestof_select()
288 checked_lock( &b->b_mutex ); in bestof_select()
[all …]
H A Dtier.c28 checked_lock( &b->b_mutex ); in tier_startup()
39 checked_unlock( &b->b_mutex ); in tier_startup()
52 checked_lock( &b->b_mutex ); in tier_reset()
58 checked_unlock( &b->b_mutex ); in tier_reset()
H A Dtier_roundrobin.c59 assert_locked( &b->b_mutex ); in roundrobin_remove_backend()
96 checked_lock( &b->b_mutex ); in roundrobin_select()
100 checked_unlock( &b->b_mutex ); in roundrobin_select()
H A Doperation.c367 checked_lock( &b->b_mutex ); in operation_unlink_upstream()
370 checked_unlock( &b->b_mutex ); in operation_unlink_upstream()
606 checked_lock( &b->b_mutex ); in connection_timeout()
608 checked_unlock( &b->b_mutex ); in connection_timeout()
661 checked_lock( &b->b_mutex ); in operations_timeout()
663 checked_unlock( &b->b_mutex ); in operations_timeout()
672 connections_walk_last( &b->b_mutex, &b->b_bindconns, in operations_timeout()
678 connections_walk_last( &b->b_mutex, &b->b_conns, b->b_last_conn, in operations_timeout()
682 checked_unlock( &b->b_mutex ); in operations_timeout()
H A Dtier_weighted.c157 assert_locked( &b->b_mutex ); in weighted_remove_backend()
195 checked_lock( &sorted[i]->b_mutex ); in weighted_select()
197 checked_unlock( &sorted[i]->b_mutex ); in weighted_select()
H A Dupstream.c532 checked_lock( &b->b_mutex ); in upstream_bind_cb()
653 assert_locked( &b->b_mutex ); in upstream_finish()
775 checked_lock( &b->b_mutex ); in upstream_tls_handshake_cb()
779 checked_unlock( &b->b_mutex ); in upstream_tls_handshake_cb()
867 checked_lock( &b->b_mutex ); in upstream_starttls()
871 checked_unlock( &b->b_mutex ); in upstream_starttls()
970 checked_unlock( &b->b_mutex ); in upstream_init()
973 checked_lock( &b->b_mutex ); in upstream_init()
977 checked_lock( &b->b_mutex ); in upstream_init()
1103 checked_lock( &b->b_mutex ); in upstream_unlink()
[all …]
/dports/net/libunp/unpv12e/threads/
H A Dexample03.c32 pthread_mutex_t b_mutex; member
65 Pthread_mutex_lock(&bptr->b_mutex); in produce()
68 Pthread_cond_wait(&bptr->b_cond_producer, &bptr->b_mutex); in produce()
79 Pthread_mutex_unlock(&bptr->b_mutex); in produce()
87 Pthread_mutex_lock(&bptr->b_mutex); in consume()
90 Pthread_cond_wait(&bptr->b_cond_consumer, &bptr->b_mutex); in consume()
101 Pthread_mutex_unlock(&bptr->b_mutex); in consume()
/dports/multimedia/v4l_compat/linux-5.13-rc2/kernel/locking/
H A Dtest-ww_mutex.c150 struct ww_mutex b_mutex; member
164 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
171 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
178 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
191 ww_mutex_init(&abba.b_mutex, &ww_class); in test_abba()
205 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba()
208 ww_mutex_lock_slow(&abba.b_mutex, &ctx); in test_abba()
213 ww_mutex_unlock(&abba.b_mutex); in test_abba()
240 struct ww_mutex *b_mutex; member
267 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/kernel/locking/
H A Dtest-ww_mutex.c150 struct ww_mutex b_mutex; member
164 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
171 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
178 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
191 ww_mutex_init(&abba.b_mutex, &ww_class); in test_abba()
205 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba()
208 ww_mutex_lock_slow(&abba.b_mutex, &ctx); in test_abba()
213 ww_mutex_unlock(&abba.b_mutex); in test_abba()
240 struct ww_mutex *b_mutex; member
267 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/kernel/locking/
H A Dtest-ww_mutex.c150 struct ww_mutex b_mutex; member
164 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
171 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
178 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()
191 ww_mutex_init(&abba.b_mutex, &ww_class); in test_abba()
205 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba()
208 ww_mutex_lock_slow(&abba.b_mutex, &ctx); in test_abba()
213 ww_mutex_unlock(&abba.b_mutex); in test_abba()
240 struct ww_mutex *b_mutex; member
267 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
[all …]

12