Lines Matching refs:cq
443 * Called holding mutex, will walk cq calling cb on all connections whose
449 lload_c_head *cq,
457 if ( LDAP_CIRCLEQ_EMPTY( cq ) ) {
463 c = LDAP_CIRCLEQ_LOOP_NEXT( cq, c, c_next );
466 c = LDAP_CIRCLEQ_LOOP_NEXT( cq, c, c_next );
475 * - we maintain the connections in the cq CIRCLEQ_ in ascending c_connid
478 * - we can only use cq when we hold cq_mutex
479 * - connections might be added to or removed from cq while we're busy
481 * - we need a way to detect we've finished looping around cq for some
493 if ( rc || LDAP_CIRCLEQ_EMPTY( cq ) ) {
499 c = LDAP_CIRCLEQ_LOOP_NEXT( cq, c, c_next );
512 lload_c_head *cq,
516 LloadConnection *cq_last = LDAP_CIRCLEQ_LAST( cq );
517 return connections_walk_last( cq_mutex, cq, cq_last, cb, arg );