Home
last modified time | relevance | path

Searched refs:gap_size (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/jemalloc/src/
H A Dbase.c180 base_extent_bump_alloc_helper(extent_t *extent, size_t *gap_size, size_t size, in base_extent_bump_alloc_helper() argument
187 *gap_size = ALIGNMENT_CEILING((uintptr_t)extent_addr_get(extent), in base_extent_bump_alloc_helper()
189 ret = (void *)((uintptr_t)extent_addr_get(extent) + *gap_size); in base_extent_bump_alloc_helper()
190 assert(extent_bsize_get(extent) >= *gap_size + size); in base_extent_bump_alloc_helper()
192 *gap_size + size), extent_bsize_get(extent) - *gap_size - size, in base_extent_bump_alloc_helper()
198 base_extent_bump_alloc_post(base_t *base, extent_t *extent, size_t gap_size, in base_extent_bump_alloc_post() argument
218 PAGE_CEILING((uintptr_t)addr - gap_size); in base_extent_bump_alloc_post()
224 - HUGEPAGE_CEILING((uintptr_t)addr - gap_size)) >> in base_extent_bump_alloc_post()
235 size_t gap_size; in base_extent_bump_alloc() local
237 ret = base_extent_bump_alloc_helper(extent, &gap_size, size, alignment); in base_extent_bump_alloc()
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_large.c46 int64_t gap_size; /* Size of following gap */ member
95 private->last->gap_size += (int64_t)size; in memory_write()
128 private->gap_remaining = private->current->gap_size; in memory_read()
163 private->gap_remaining = private->current->gap_size; in memory_read()
183 private->gap_remaining = private->current->gap_size; in memory_read_open()
216 private->gap_remaining = private->current->gap_size; in memory_read_seek()
220 if (offset + private->current->gap_size > private->fileposition) { in memory_read_seek()
223 private->gap_remaining = private->current->gap_size in memory_read_seek()
227 offset += private->current->gap_size; in memory_read_seek()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp1278 uptr gap_size = gap_end > gap_start ? gap_end - gap_start : 0; in FindAvailableMemoryRange() local
1279 if (size < gap_size) { in FindAvailableMemoryRange()
1283 if (largest_gap_found && *largest_gap_found < gap_size) { in FindAvailableMemoryRange()
1284 *largest_gap_found = gap_size; in FindAvailableMemoryRange()
/freebsd/sys/cam/scsi/
H A Dscsi_sa.h233 uint8_t gap_size; member