Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/mach/
Dmsgserver.c76 mach_msg_size_t max_size, in __mach_msg_server_timeout() argument
84 if (max_size == 0) in __mach_msg_server_timeout()
88 max_size = 2 * __vm_page_size; /* Generic. Good? XXX */ in __mach_msg_server_timeout()
90 max_size = 4 * __vm_page_size; /* XXX */ in __mach_msg_server_timeout()
94 request = __alloca (max_size); in __mach_msg_server_timeout()
95 reply = __alloca (max_size); in __mach_msg_server_timeout()
101 0, max_size, rcv_name, in __mach_msg_server_timeout()
109 assert (reply->Head.msgh_size <= max_size); in __mach_msg_server_timeout()
152 request->Head.msgh_size, max_size, rcv_name, in __mach_msg_server_timeout()
192 mach_msg_size_t max_size, in weak_alias()
[all …]
/glibc-2.36/malloc/
Darena.c155 size_t max_size = heap_max_size (); in heap_for_ptr() local
156 return PTR_ALIGN_DOWN (ptr, max_size); in heap_for_ptr()
489 size_t max_size = heap_max_size (); in alloc_new_heap() local
493 else if (size + top_pad <= max_size) in alloc_new_heap()
495 else if (size > max_size) in alloc_new_heap()
498 size = max_size; in alloc_new_heap()
508 p2 = (char *) MMAP (aligned_heap_area, max_size, PROT_NONE, mmap_flags); in alloc_new_heap()
510 if (p2 != MAP_FAILED && ((unsigned long) p2 & (max_size - 1))) in alloc_new_heap()
512 __munmap (p2, max_size); in alloc_new_heap()
518 p1 = (char *) MMAP (0, max_size << 1, PROT_NONE, mmap_flags); in alloc_new_heap()
[all …]
Dtst-mallocstate.c38 enum { max_size = 64 }; enumerator
55 static size_t dumped_heap[action_count * max_size * max_size
228 enum { allocation_task_count = action_count * max_size };
406 (task->allocation.data, task->allocation.size + max_size); in do_test()
/glibc-2.36/string/
Dtestcopy.c29 int size, max_size; in do_test() local
34 max_size = 256; in do_test()
36 mem = xmalloc (max_size + 2 * max_size + 2 * space_around); in do_test()
37 rand_mem = xmalloc (max_size); in do_test()
43 for (i = 0; i < max_size; i++) in do_test()
52 for (size = 0; size < max_size; size++) in do_test()
/glibc-2.36/benchtests/
Dbench-memcpy-random.c147 do_test (json_ctx_t *json_ctx, size_t max_size) in do_test() argument
151 memset (buf1, 1, max_size); in do_test()
157 test_arr[i].dst = (rand () & (max_size - 1)); in do_test()
159 test_arr[i].src = (rand () & (max_size - 1)); in do_test()
165 json_attr_uint (json_ctx, "length", (double) max_size); in do_test()
/glibc-2.36/stdlib/
Dtst-arc4random-thread.c42 enum { max_size = 32 }; enumerator
46 static const int sizes[] = { 12, 15, 16, 17, 24, 31, max_size };
54 unsigned char bytes[max_size];