bl                 12 event/ngx_event_busy_lock.c static ngx_int_t ngx_event_busy_lock_look_cacheable(ngx_event_busy_lock_t *bl,
bl                 26 event/ngx_event_busy_lock.c ngx_event_busy_lock(ngx_event_busy_lock_t *bl, ngx_event_busy_lock_ctx_t *ctx)
bl                 30 event/ngx_event_busy_lock.c     ngx_mutex_lock(bl->mutex);
bl                 34 event/ngx_event_busy_lock.c                    bl->busy, bl->max_busy);
bl                 36 event/ngx_event_busy_lock.c     if (bl->busy < bl->max_busy) {
bl                 37 event/ngx_event_busy_lock.c         bl->busy++;
bl                 41 event/ngx_event_busy_lock.c     } else if (ctx->timer && bl->waiting < bl->max_waiting) {
bl                 42 event/ngx_event_busy_lock.c         bl->waiting++;
bl                 46 event/ngx_event_busy_lock.c         if (bl->events) {
bl                 47 event/ngx_event_busy_lock.c             bl->last->next = ctx;
bl                 50 event/ngx_event_busy_lock.c             bl->events = ctx;
bl                 53 event/ngx_event_busy_lock.c         bl->last = ctx;
bl                 61 event/ngx_event_busy_lock.c     ngx_mutex_unlock(bl->mutex);
bl                 68 event/ngx_event_busy_lock.c ngx_event_busy_lock_cacheable(ngx_event_busy_lock_t *bl,
bl                 73 event/ngx_event_busy_lock.c     ngx_mutex_lock(bl->mutex);
bl                 75 event/ngx_event_busy_lock.c     rc = ngx_event_busy_lock_look_cacheable(bl, ctx);
bl                 79 event/ngx_event_busy_lock.c                    rc, bl->waiting, bl->max_waiting);
bl                 89 event/ngx_event_busy_lock.c         if (ctx->timer && bl->waiting < bl->max_waiting) {
bl                 90 event/ngx_event_busy_lock.c             bl->waiting++;
bl                 94 event/ngx_event_busy_lock.c             if (bl->events == NULL) {
bl                 95 event/ngx_event_busy_lock.c                 bl->events = ctx;
bl                 97 event/ngx_event_busy_lock.c                 bl->last->next = ctx;
bl                 99 event/ngx_event_busy_lock.c             bl->last = ctx;
bl                106 event/ngx_event_busy_lock.c     ngx_mutex_unlock(bl->mutex);
bl                113 event/ngx_event_busy_lock.c ngx_event_busy_unlock(ngx_event_busy_lock_t *bl,
bl                119 event/ngx_event_busy_lock.c     ngx_mutex_lock(bl->mutex);
bl                121 event/ngx_event_busy_lock.c     if (bl->events) {
bl                122 event/ngx_event_busy_lock.c         wakeup = bl->events;
bl                123 event/ngx_event_busy_lock.c         bl->events = bl->events->next;
bl                127 event/ngx_event_busy_lock.c         bl->busy--;
bl                136 event/ngx_event_busy_lock.c         ngx_mutex_unlock(bl->mutex);
bl                141 event/ngx_event_busy_lock.c         for (wakeup = bl->events; wakeup; wakeup = wakeup->next) {
bl                154 event/ngx_event_busy_lock.c         ngx_mutex_unlock(bl->mutex);
bl                157 event/ngx_event_busy_lock.c         bl->waiting--;
bl                159 event/ngx_event_busy_lock.c         ngx_mutex_unlock(bl->mutex);
bl                176 event/ngx_event_busy_lock.c ngx_event_busy_lock_cancel(ngx_event_busy_lock_t *bl,
bl                181 event/ngx_event_busy_lock.c     ngx_mutex_lock(bl->mutex);
bl                183 event/ngx_event_busy_lock.c     bl->waiting--;
bl                185 event/ngx_event_busy_lock.c     if (ctx == bl->events) {
bl                186 event/ngx_event_busy_lock.c         bl->events = ctx->next;
bl                189 event/ngx_event_busy_lock.c         p = bl->events;
bl                190 event/ngx_event_busy_lock.c         for (c = bl->events->next; c; c = c->next) {
bl                199 event/ngx_event_busy_lock.c     ngx_mutex_unlock(bl->mutex);
bl                204 event/ngx_event_busy_lock.c ngx_event_busy_lock_look_cacheable(ngx_event_busy_lock_t *bl,
bl                218 event/ngx_event_busy_lock.c     for (i = 0; i < bl->max_busy; i++) {
bl                221 event/ngx_event_busy_lock.c             mask = bl->md5_mask[i / 8];
bl                225 event/ngx_event_busy_lock.c             if (ngx_memcmp(&bl->md5[i * 16], ctx->md5, 16) == 0) {
bl                236 event/ngx_event_busy_lock.c         if (cacheable == bl->cacheable) {
bl                237 event/ngx_event_busy_lock.c             if (free == -1 && cacheable < bl->max_busy) {
bl                253 event/ngx_event_busy_lock.c     if (bl->busy == bl->max_busy) {
bl                258 event/ngx_event_busy_lock.c     ngx_memcpy(&bl->md5[free * 16], ctx->md5, 16);
bl                259 event/ngx_event_busy_lock.c     bl->md5_mask[free / 8] |= 1 << (free & 7);
bl                262 event/ngx_event_busy_lock.c     bl->cacheable++;
bl                263 event/ngx_event_busy_lock.c     bl->busy++;
bl                 54 event/ngx_event_busy_lock.h ngx_int_t ngx_event_busy_lock(ngx_event_busy_lock_t *bl,
bl                 56 event/ngx_event_busy_lock.h ngx_int_t ngx_event_busy_lock_cacheable(ngx_event_busy_lock_t *bl,
bl                 58 event/ngx_event_busy_lock.h void ngx_event_busy_unlock(ngx_event_busy_lock_t *bl,
bl                 60 event/ngx_event_busy_lock.h void ngx_event_busy_lock_cancel(ngx_event_busy_lock_t *bl,
bl                377 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_block_t      *bl;
bl                577 http/modules/ngx_http_ssi_filter_module.c                         bl = mctx->blocks->elts;
bl                578 http/modules/ngx_http_ssi_filter_module.c                         for (ll = &bl[mctx->blocks->nelts - 1].bufs;
bl                692 http/modules/ngx_http_ssi_filter_module.c                         bl = mctx->blocks->elts;
bl                693 http/modules/ngx_http_ssi_filter_module.c                         for (ll = &bl[mctx->blocks->nelts - 1].bufs;
bl               1836 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_block_t        *bl;
bl               1926 http/modules/ngx_http_ssi_filter_module.c             bl = mctx->blocks->elts;
bl               1928 http/modules/ngx_http_ssi_filter_module.c                 if (stub->len == bl[i].name.len
bl               1929 http/modules/ngx_http_ssi_filter_module.c                     && ngx_strncmp(stub->data, bl[i].name.data, stub->len) == 0)
bl               1949 http/modules/ngx_http_ssi_filter_module.c         if (bl[i].count++) {
bl               1954 http/modules/ngx_http_ssi_filter_module.c             for (tl = bl[i].bufs; tl; tl = tl->next) {
bl               1987 http/modules/ngx_http_ssi_filter_module.c             psr->data = bl[i].bufs;
bl               2549 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_block_t  *bl;
bl               2564 http/modules/ngx_http_ssi_filter_module.c     bl = ngx_array_push(mctx->blocks);
bl               2565 http/modules/ngx_http_ssi_filter_module.c     if (bl == NULL) {
bl               2569 http/modules/ngx_http_ssi_filter_module.c     bl->name = *params[NGX_HTTP_SSI_BLOCK_NAME];
bl               2570 http/modules/ngx_http_ssi_filter_module.c     bl->bufs = NULL;
bl               2571 http/modules/ngx_http_ssi_filter_module.c     bl->count = 0;
bl                 13 http/ngx_http_busy_lock.c static int ngx_http_busy_lock_look_cacheable(ngx_http_busy_lock_t *bl,
bl                 18 http/ngx_http_busy_lock.c int ngx_http_busy_lock(ngx_http_busy_lock_t *bl, ngx_http_busy_lock_ctx_t *bc)
bl                 20 http/ngx_http_busy_lock.c     if (bl->busy < bl->max_busy) {
bl                 21 http/ngx_http_busy_lock.c         bl->busy++;
bl                 25 http/ngx_http_busy_lock.c             bl->waiting--;
bl                 32 http/ngx_http_busy_lock.c         if (bc->time < bl->timeout) {
bl                 37 http/ngx_http_busy_lock.c         bl->waiting--;
bl                 42 http/ngx_http_busy_lock.c     if (bl->timeout == 0) {
bl                 46 http/ngx_http_busy_lock.c     if (bl->waiting < bl->max_waiting) {
bl                 47 http/ngx_http_busy_lock.c         bl->waiting++;
bl                 63 http/ngx_http_busy_lock.c int ngx_http_busy_lock_cacheable(ngx_http_busy_lock_t *bl,
bl                 68 http/ngx_http_busy_lock.c     rc = ngx_http_busy_lock_look_cacheable(bl, bc, lock);
bl                 72 http/ngx_http_busy_lock.c                    rc, bl->waiting, bl->max_waiting);
bl                 85 http/ngx_http_busy_lock.c         if (bc->time < bl->timeout) {
bl                 90 http/ngx_http_busy_lock.c         bl->waiting--;
bl                 95 http/ngx_http_busy_lock.c     if (bl->timeout == 0) {
bl                 99 http/ngx_http_busy_lock.c     if (bl->waiting < bl->max_waiting) {
bl                101 http/ngx_http_busy_lock.c         bl->waiting++;
bl                115 http/ngx_http_busy_lock.c void ngx_http_busy_unlock(ngx_http_busy_lock_t *bl,
bl                118 http/ngx_http_busy_lock.c     if (bl == NULL) {
bl                122 http/ngx_http_busy_lock.c     if (bl->md5) {
bl                123 http/ngx_http_busy_lock.c         bl->md5_mask[bc->slot / 8] &= ~(1 << (bc->slot & 7));
bl                124 http/ngx_http_busy_lock.c         bl->cacheable--;
bl                127 http/ngx_http_busy_lock.c     bl->busy--;
bl                131 http/ngx_http_busy_lock.c static int ngx_http_busy_lock_look_cacheable(ngx_http_busy_lock_t *bl,
bl                146 http/ngx_http_busy_lock.c     for (i = 0; i < bl->max_busy; i++) {
bl                149 http/ngx_http_busy_lock.c             mask = bl->md5_mask[i / 8];
bl                153 http/ngx_http_busy_lock.c             if (ngx_memcmp(&bl->md5[i * 16], bc->md5, 16) == 0) {
bl                163 http/ngx_http_busy_lock.c         if (cacheable == bl->cacheable) {
bl                164 http/ngx_http_busy_lock.c             if (free == -1 && cacheable < bl->max_busy) {
bl                181 http/ngx_http_busy_lock.c         if (bl->busy == bl->max_busy) {
bl                185 http/ngx_http_busy_lock.c         ngx_memcpy(&bl->md5[free * 16], bc->md5, 16);
bl                186 http/ngx_http_busy_lock.c         bl->md5_mask[free / 8] |= 1 << (free & 7);
bl                189 http/ngx_http_busy_lock.c         bl->cacheable++;
bl                190 http/ngx_http_busy_lock.c         bl->busy++;
bl                204 http/ngx_http_busy_lock.c     ngx_http_busy_lock_t  *bl, **blp;
bl                212 http/ngx_http_busy_lock.c     bl = ngx_pcalloc(cf->pool, sizeof(ngx_http_busy_lock_t));
bl                213 http/ngx_http_busy_lock.c     if (bl == NULL) {
bl                216 http/ngx_http_busy_lock.c     *blp = bl;
bl                219 http/ngx_http_busy_lock.c     bl->mutex = ngx_pcalloc(cf->pool, sizeof(ngx_event_mutex_t));
bl                220 http/ngx_http_busy_lock.c     if (bl->mutex == NULL) {
bl                239 http/ngx_http_busy_lock.c             if (bl->max_busy) {
bl                244 http/ngx_http_busy_lock.c             bl->max_busy = ngx_atoi(value[i].data + 2, value[i].len - 2);
bl                245 http/ngx_http_busy_lock.c             if (bl->max_busy == NGX_ERROR) {
bl                253 http/ngx_http_busy_lock.c             if (bl->max_waiting) {
bl                258 http/ngx_http_busy_lock.c             bl->max_waiting = ngx_atoi(value[i].data + 2, value[i].len - 2);
bl                259 http/ngx_http_busy_lock.c             if (bl->max_waiting == NGX_ERROR) {
bl                267 http/ngx_http_busy_lock.c             if (bl->timeout) {
bl                275 http/ngx_http_busy_lock.c             bl->timeout = ngx_parse_time(&line, 1);
bl                276 http/ngx_http_busy_lock.c             if (bl->timeout == NGX_ERROR) {
bl                300 http/ngx_http_busy_lock.c     if (bl->timeout == 0 && bl->max_waiting) {
bl                 43 http/ngx_http_busy_lock.h int ngx_http_busy_lock(ngx_http_busy_lock_t *bl, ngx_http_busy_lock_ctx_t *bc);
bl                 44 http/ngx_http_busy_lock.h int ngx_http_busy_lock_cacheable(ngx_http_busy_lock_t *bl,
bl                 46 http/ngx_http_busy_lock.h void ngx_http_busy_unlock(ngx_http_busy_lock_t *bl,