old 51 core/ngx_cycle.c ngx_cycle_t *cycle, **old; old 770 core/ngx_cycle.c old = ngx_array_push(&ngx_old_cycles); old 771 core/ngx_cycle.c if (old == NULL) { old 774 core/ngx_cycle.c *old = old_cycle; old 579 event/ngx_event.c ngx_connection_t *c, *next, *old; old 766 event/ngx_event.c old = ls[i].previous->connection; old 768 event/ngx_event.c if (ngx_del_event(old->read, NGX_READ_EVENT, NGX_CLOSE_EVENT) old 774 event/ngx_event.c old->fd = (ngx_socket_t) -1; old 894 http/modules/ngx_http_geo_module.c ngx_http_variable_value_t *val, *old; old 954 http/modules/ngx_http_geo_module.c old = (ngx_http_variable_value_t *) old 959 http/modules/ngx_http_geo_module.c net, val, old); old 363 http/modules/ngx_http_headers_filter_module.c ngx_table_elt_t *h, **old; old 366 http/modules/ngx_http_headers_filter_module.c old = (ngx_table_elt_t **) ((char *) &r->headers_out + hv->offset); old 369 http/modules/ngx_http_headers_filter_module.c old = NULL; old 374 http/modules/ngx_http_headers_filter_module.c if (old == NULL || *old == NULL) { old 386 http/modules/ngx_http_headers_filter_module.c h = *old; old 2827 http/ngx_http_core_module.c ngx_str_t *value, *content_type, *old, file; old 2859 http/ngx_http_core_module.c old = type[n].value; old 2866 http/ngx_http_core_module.c &value[i], content_type, old); old 1178 http/ngx_http_request.c u_char *old, *new; old 1198 http/ngx_http_request.c old = request_line ? r->request_start : r->header_name_start; old 1203 http/ngx_http_request.c && (size_t) (r->header_in->pos - old) old 1259 http/ngx_http_request.c "http large header copy: %d", r->header_in->pos - old); old 1261 http/ngx_http_request.c r->request_length += old - r->header_in->start; old 1265 http/ngx_http_request.c ngx_memcpy(new, old, r->header_in->pos - old); old 1267 http/ngx_http_request.c b->pos = new + (r->header_in->pos - old); old 1268 http/ngx_http_request.c b->last = new + (r->header_in->pos - old); old 1274 http/ngx_http_request.c r->request_end = new + (r->request_end - old); old 1277 http/ngx_http_request.c r->method_end = new + (r->method_end - old); old 1279 http/ngx_http_request.c r->uri_start = new + (r->uri_start - old); old 1280 http/ngx_http_request.c r->uri_end = new + (r->uri_end - old); old 1283 http/ngx_http_request.c r->schema_start = new + (r->schema_start - old); old 1284 http/ngx_http_request.c r->schema_end = new + (r->schema_end - old); old 1288 http/ngx_http_request.c r->host_start = new + (r->host_start - old); old 1290 http/ngx_http_request.c r->host_end = new + (r->host_end - old); old 1295 http/ngx_http_request.c r->port_start = new + (r->port_start - old); old 1296 http/ngx_http_request.c r->port_end = new + (r->port_end - old); old 1300 http/ngx_http_request.c r->uri_ext = new + (r->uri_ext - old); old 1304 http/ngx_http_request.c r->args_start = new + (r->args_start - old); old 1308 http/ngx_http_request.c r->http_protocol.data = new + (r->http_protocol.data - old); old 1313 http/ngx_http_request.c r->header_name_end = new + (r->header_name_end - old); old 1314 http/ngx_http_request.c r->header_start = new + (r->header_start - old); old 1315 http/ngx_http_request.c r->header_end = new + (r->header_end - old); old 32 os/unix/ngx_atomic.h #define ngx_atomic_cmp_set(lock, old, new) \ old 33 os/unix/ngx_atomic.h AO_compare_and_swap(lock, old, new) old 61 os/unix/ngx_atomic.h #define ngx_atomic_cmp_set(lock, old, new) \ old 62 os/unix/ngx_atomic.h OSAtomicCompareAndSwap64Barrier(old, new, (int64_t *) lock) old 73 os/unix/ngx_atomic.h #define ngx_atomic_cmp_set(lock, old, new) \ old 74 os/unix/ngx_atomic.h OSAtomicCompareAndSwap32Barrier(old, new, (int32_t *) lock) old 106 os/unix/ngx_atomic.h #define ngx_atomic_cmp_set(lock, old, set) \ old 107 os/unix/ngx_atomic.h __sync_bool_compare_and_swap(lock, old, set) old 134 os/unix/ngx_atomic.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 175 os/unix/ngx_atomic.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 275 os/unix/ngx_atomic.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 278 os/unix/ngx_atomic.h if (*lock == old) { old 290 os/unix/ngx_atomic.h ngx_atomic_int_t old; old 292 os/unix/ngx_atomic.h old = *value; old 295 os/unix/ngx_atomic.h return old; old 369 os/unix/ngx_freebsd_rfork_thread.c uint32_t lock, old; old 387 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 391 os/unix/ngx_freebsd_rfork_thread.c if (old & NGX_MUTEX_LOCK_BUSY) { old 401 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 409 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 421 os/unix/ngx_freebsd_rfork_thread.c lock = old + 1; old 431 os/unix/ngx_freebsd_rfork_thread.c if (ngx_atomic_cmp_set(&m->lock, old, lock)) { old 457 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 461 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 464 os/unix/ngx_freebsd_rfork_thread.c lock = old | NGX_MUTEX_LOCK_BUSY; old 466 os/unix/ngx_freebsd_rfork_thread.c if (ngx_atomic_cmp_set(&m->lock, old, lock)) { old 473 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 486 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 500 os/unix/ngx_freebsd_rfork_thread.c uint32_t lock, old; old 507 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 509 os/unix/ngx_freebsd_rfork_thread.c if (!(old & NGX_MUTEX_LOCK_BUSY)) { old 519 os/unix/ngx_freebsd_rfork_thread.c "unlock mutex %p lock:%XD", m, old); old 523 os/unix/ngx_freebsd_rfork_thread.c lock = old & ~NGX_MUTEX_LOCK_BUSY; old 525 os/unix/ngx_freebsd_rfork_thread.c if (ngx_atomic_cmp_set(&m->lock, old, lock)) { old 529 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 541 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 544 os/unix/ngx_freebsd_rfork_thread.c if (old & NGX_MUTEX_LOCK_BUSY) { old 551 os/unix/ngx_freebsd_rfork_thread.c if (old == 0) { old 557 os/unix/ngx_freebsd_rfork_thread.c lock = old - 1; old 559 os/unix/ngx_freebsd_rfork_thread.c if (ngx_atomic_cmp_set(&m->lock, old, lock)) { old 579 os/unix/ngx_freebsd_rfork_thread.c old = m->lock; old 36 os/unix/ngx_gcc_atomic_amd64.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 47 os/unix/ngx_gcc_atomic_amd64.h : "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "cc", "memory"); old 28 os/unix/ngx_gcc_atomic_ppc.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 50 os/unix/ngx_gcc_atomic_ppc.h : "b" (lock), "b" (old), "b" (set) old 91 os/unix/ngx_gcc_atomic_ppc.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 113 os/unix/ngx_gcc_atomic_ppc.h : "b" (lock), "b" (old), "b" (set) old 33 os/unix/ngx_gcc_atomic_sparc64.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 40 os/unix/ngx_gcc_atomic_sparc64.h : "+r" (set) : "r" (lock), "r" (old) : "memory"); old 42 os/unix/ngx_gcc_atomic_sparc64.h return (set == old); old 49 os/unix/ngx_gcc_atomic_sparc64.h ngx_atomic_uint_t old, res; old 51 os/unix/ngx_gcc_atomic_sparc64.h old = *value; old 55 os/unix/ngx_gcc_atomic_sparc64.h res = old + add; old 61 os/unix/ngx_gcc_atomic_sparc64.h : "+r" (res) : "r" (value), "r" (old) : "memory"); old 63 os/unix/ngx_gcc_atomic_sparc64.h if (res == old) { old 67 os/unix/ngx_gcc_atomic_sparc64.h old = res; old 37 os/unix/ngx_gcc_atomic_x86.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 48 os/unix/ngx_gcc_atomic_x86.h : "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "cc", "memory"); old 103 os/unix/ngx_gcc_atomic_x86.h ngx_atomic_uint_t old; old 110 os/unix/ngx_gcc_atomic_x86.h : "=a" (old) : "m" (*value), "a" (add) : "cc", "memory"); old 112 os/unix/ngx_gcc_atomic_x86.h return old; old 15 os/unix/ngx_sunpro_atomic_sparc64.h ngx_casa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, ngx_atomic_t *lock); old 18 os/unix/ngx_sunpro_atomic_sparc64.h ngx_casxa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, ngx_atomic_t *lock); old 24 os/unix/ngx_sunpro_atomic_sparc64.h ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, old 27 os/unix/ngx_sunpro_atomic_sparc64.h set = NGX_CASA(set, old, lock); old 29 os/unix/ngx_sunpro_atomic_sparc64.h return (set == old); old 36 os/unix/ngx_sunpro_atomic_sparc64.h ngx_atomic_uint_t old, res; old 38 os/unix/ngx_sunpro_atomic_sparc64.h old = *value; old 42 os/unix/ngx_sunpro_atomic_sparc64.h res = old + add; old 44 os/unix/ngx_sunpro_atomic_sparc64.h res = NGX_CASA(res, old, value); old 46 os/unix/ngx_sunpro_atomic_sparc64.h if (res == old) { old 50 os/unix/ngx_sunpro_atomic_sparc64.h old = res;