Lines Matching refs:alignment

138 static void *nxt_mem_zone_alloc_large(nxt_mem_zone_t *zone, size_t alignment,
141 size_t alignment, uint32_t pages);
144 uint32_t alignment, uint32_t pages);
444 nxt_mem_zone_align(nxt_mem_zone_t *zone, size_t alignment, size_t size) in nxt_mem_zone_align() argument
449 if (nxt_slow_path((alignment - 1) & alignment) != 0) { in nxt_mem_zone_align()
454 if (size <= zone->max_chunk_size && alignment <= zone->max_chunk_size) { in nxt_mem_zone_align()
457 if (alignment > 16) { in nxt_mem_zone_align()
466 size = nxt_max(size, alignment); in nxt_mem_zone_align()
476 alignment, size, slot->size); in nxt_mem_zone_align()
484 nxt_thread_log_debug("mem zone alloc: @%uz:%uz", alignment, size); in nxt_mem_zone_align()
488 p = nxt_mem_zone_alloc_large(zone, alignment, size); in nxt_mem_zone_align()
499 alignment, size); in nxt_mem_zone_align()
630 nxt_mem_zone_alloc_large(nxt_mem_zone_t *zone, size_t alignment, size_t size) in nxt_mem_zone_alloc_large() argument
637 page = nxt_mem_zone_alloc_pages(zone, alignment, pages); in nxt_mem_zone_alloc_large()
648 nxt_mem_zone_alloc_pages(nxt_mem_zone_t *zone, size_t alignment, uint32_t pages) in nxt_mem_zone_alloc_pages() argument
659 alignment, pages); in nxt_mem_zone_alloc_pages()
669 p = nxt_align_ptr(block, alignment); in nxt_mem_zone_alloc_pages()
728 uint32_t alignment, uint32_t pages) in nxt_mem_zone_find_free_block() argument
742 alignment, pages); in nxt_mem_zone_find_free_block()
747 aligned = nxt_align_ptr(block, alignment); in nxt_mem_zone_find_free_block()
766 alignment, pages); in nxt_mem_zone_find_free_block()