HomeSort by: relevance | last modified time | path
    Searched defs:chunk_size (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/usr.bin/fincore/
fincore.c 85 size_t chunk_size; local in function:fincore
88 off += chunk_size, vec += chunk_size / page_size) {
91 chunk_size = MIN((off_t)(1024 * page_size), endoff - off);
92 vp = mmap(NULL, chunk_size, PROT_NONE, MAP_FILE|MAP_SHARED,
97 if (mincore(vp, chunk_size,
102 munmap(vp, chunk_size);
105 if (munmap(vp, chunk_size)) {
119 size_t chunk_size; local in function:do_file
131 for (off = 0; off < st.st_size; off += chunk_size) {
    [all...]
fincore.c 85 size_t chunk_size; local in function:fincore
88 off += chunk_size, vec += chunk_size / page_size) {
91 chunk_size = MIN((off_t)(1024 * page_size), endoff - off);
92 vp = mmap(NULL, chunk_size, PROT_NONE, MAP_FILE|MAP_SHARED,
97 if (mincore(vp, chunk_size,
102 munmap(vp, chunk_size);
105 if (munmap(vp, chunk_size)) {
119 size_t chunk_size; local in function:do_file
131 for (off = 0; off < st.st_size; off += chunk_size) {
    [all...]
  /src/sys/external/bsd/sljit/dist/sljit_src/
sljitExecAllocator.c 71 #define CHUNK_SIZE 0x10000
76 * the size is always divisible by CHUNK_SIZE
144 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
199 sljit_uw chunk_size; local in function:sljit_malloc_exec
209 chunk_size = free_block->size;
210 if (chunk_size > size + 64) {
212 chunk_size -= size;
213 free_block->size = chunk_size;
214 header = AS_BLOCK_HEADER(free_block, chunk_size);
215 header->prev_size = chunk_size;
    [all...]
sljitExecAllocator.c 71 #define CHUNK_SIZE 0x10000
76 * the size is always divisible by CHUNK_SIZE
144 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
199 sljit_uw chunk_size; local in function:sljit_malloc_exec
209 chunk_size = free_block->size;
210 if (chunk_size > size + 64) {
212 chunk_size -= size;
213 free_block->size = chunk_size;
214 header = AS_BLOCK_HEADER(free_block, chunk_size);
215 header->prev_size = chunk_size;
    [all...]
sljitProtExecAllocator.c 69 #define CHUNK_SIZE 0x10000
79 * the size is always divisible by CHUNK_SIZE
215 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
272 sljit_uw chunk_size; local in function:sljit_malloc_exec
283 chunk_size = free_block->size;
284 if (chunk_size > size + 64) {
286 chunk_size -= size;
287 free_block->size = chunk_size;
288 header = AS_BLOCK_HEADER(free_block, chunk_size);
289 header->prev_size = chunk_size;
    [all...]
sljitProtExecAllocator.c 69 #define CHUNK_SIZE 0x10000
79 * the size is always divisible by CHUNK_SIZE
215 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
272 sljit_uw chunk_size; local in function:sljit_malloc_exec
283 chunk_size = free_block->size;
284 if (chunk_size > size + 64) {
286 chunk_size -= size;
287 free_block->size = chunk_size;
288 header = AS_BLOCK_HEADER(free_block, chunk_size);
289 header->prev_size = chunk_size;
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_buddy.h 68 u64 chunk_size; member in struct:i915_buddy_mm
112 return mm->chunk_size << i915_buddy_block_order(block);
115 int i915_buddy_init(struct i915_buddy_mm *mm, u64 size, u64 chunk_size);
i915_buddy.h 68 u64 chunk_size; member in struct:i915_buddy_mm
112 return mm->chunk_size << i915_buddy_block_order(block);
115 int i915_buddy_init(struct i915_buddy_mm *mm, u64 size, u64 chunk_size);
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
i915_buddy.c 65 if (block_size < mm->chunk_size) {
75 if (!IS_ALIGNED(block_size, mm->chunk_size)) {
80 if (!IS_ALIGNED(offset, mm->chunk_size)) {
286 static void igt_mm_config(u64 *size, u64 *chunk_size)
299 *chunk_size = ms;
307 u64 chunk_size; local in function:igt_buddy_alloc_smoke
311 igt_mm_config(&mm_size, &chunk_size);
313 pr_info("buddy_init with size=%llx, chunk_size=%llx\n", mm_size, chunk_size);
315 err = i915_buddy_init(&mm, mm_size, chunk_size);
625 u64 chunk_size; local in function:igt_buddy_alloc_range
    [all...]
i915_buddy.c 65 if (block_size < mm->chunk_size) {
75 if (!IS_ALIGNED(block_size, mm->chunk_size)) {
80 if (!IS_ALIGNED(offset, mm->chunk_size)) {
286 static void igt_mm_config(u64 *size, u64 *chunk_size)
299 *chunk_size = ms;
307 u64 chunk_size; local in function:igt_buddy_alloc_smoke
311 igt_mm_config(&mm_size, &chunk_size);
313 pr_info("buddy_init with size=%llx, chunk_size=%llx\n", mm_size, chunk_size);
315 err = i915_buddy_init(&mm, mm_size, chunk_size);
625 u64 chunk_size; local in function:igt_buddy_alloc_range
    [all...]
i915_gem_gtt.c 1782 const unsigned int chunk_size = count * PAGE_SIZE; local in function:igt_cs_tlb
1906 chunk_size, PAGE_SIZE);
1908 err = vm->allocate_va_range(vm, offset, chunk_size);
2009 vm->clear_range(vm, offset, chunk_size);
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c 229 size_t chunk_size = 256U; local in function:randombytes_linux_getrandom
232 if (size < chunk_size) {
233 chunk_size = size;
234 assert(chunk_size > (size_t) 0U);
236 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) {
239 size -= chunk_size;
240 buf += chunk_size;
randombytes_sysrandom.c 229 size_t chunk_size = 256U; local in function:randombytes_linux_getrandom
232 if (size < chunk_size) {
233 chunk_size = size;
234 assert(chunk_size > (size_t) 0U);
236 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) {
239 size -= chunk_size;
240 buf += chunk_size;
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c 271 size_t chunk_size = 256U; local in function:randombytes_linux_getrandom
274 if (size < chunk_size) {
275 chunk_size = size;
276 assert(chunk_size > (size_t) 0U);
278 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) {
281 size -= chunk_size;
282 buf += chunk_size;
randombytes_salsa20_random.c 271 size_t chunk_size = 256U; local in function:randombytes_linux_getrandom
274 if (size < chunk_size) {
275 chunk_size = size;
276 assert(chunk_size > (size_t) 0U);
278 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) {
281 size -= chunk_size;
282 buf += chunk_size;
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_fifo.c 459 uint32_t chunk_size = max - next_cmd; local in function:vmw_fifo_res_copy
464 if (bytes < chunk_size)
465 chunk_size = bytes;
469 memcpy(fifo_mem + (next_cmd >> 2), buffer, chunk_size);
470 rest = bytes - chunk_size;
472 memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest);
vmwgfx_fifo.c 459 uint32_t chunk_size = max - next_cmd; local in function:vmw_fifo_res_copy
464 if (bytes < chunk_size)
465 chunk_size = bytes;
469 memcpy(fifo_mem + (next_cmd >> 2), buffer, chunk_size);
470 rest = bytes - chunk_size;
472 memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest);
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_descriptions.h 115 uptr chunk_size; member in struct:__asan::ChunkAccess
asan_descriptions.h 115 uptr chunk_size; member in struct:__asan::ChunkAccess
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_gmbus.c 563 unsigned int chunk_size = len; local in function:gmbus_xfer_write_chunk
575 (chunk_size << GMBUS_BYTE_COUNT_SHIFT) |
intel_gmbus.c 563 unsigned int chunk_size = len; local in function:gmbus_xfer_write_chunk
575 (chunk_size << GMBUS_BYTE_COUNT_SHIFT) |
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_primary32.h 246 uptr chunk_size = ClassIdToSize(possible_regions[region]); local in function:SizeClassAllocator32::ForEachChunk
247 uptr max_chunks_in_region = kRegionSize / (chunk_size + kMetadataSize);
250 chunk < region_beg + max_chunks_in_region * chunk_size;
251 chunk += chunk_size) {
sanitizer_allocator_primary32.h 246 uptr chunk_size = ClassIdToSize(possible_regions[region]); local in function:SizeClassAllocator32::ForEachChunk
247 uptr max_chunks_in_region = kRegionSize / (chunk_size + kMetadataSize);
250 chunk < region_beg + max_chunks_in_region * chunk_size;
251 chunk += chunk_size) {
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_dsc.h 361 * @chunk_size:
365 __be16 chunk_size; member in struct:drm_dsc_picture_parameter_set
drm_dsc.h 361 * @chunk_size:
365 __be16 chunk_size; member in struct:drm_dsc_picture_parameter_set

Completed in 39 milliseconds

1 2