Deleted
Added
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8 --- 584 unchanged lines hidden (view full) --- 593 594 n = 0; 595 596 /* The page must have at least one free chunk. */ 597 598 for ( ;; ) { 599 /* The bitmap is always aligned to uint32_t. */ 600 |
601 if (*(uint32_t *) &map[n] != 0xFFFFFFFF) { |
602 603 do { |
604 if (map[n] != 0xFF) { |
605 606 mask = 0x80; 607 608 do { 609 if ((map[n] & mask) == 0) { 610 /* The free chunk is found. */ 611 map[n] |= mask; 612 return offset; --- 345 unchanged lines hidden --- |