Lines Matching defs:p_buf
2790 char * p_buf;
2806 p_buf = (char *) VirtualAlloc(addr,
2811 if (p_buf == NULL) return NULL;
2812 MemTracker::record_virtual_memory_reserve((address)p_buf, size_of_reserve, mtNone, CALLER_PC);
2813 os::release_memory(p_buf, bytes + chunk_size);
2818 p_buf = (char *) align_size_up((size_t)p_buf, page_size);
2825 char * next_alloc_addr = p_buf;
2871 if (next_alloc_addr > p_buf) {
2877 MemTracker::record_virtual_memory_reserve((address)p_buf,
2879 os::release_memory(p_buf, bytes_to_release);
2899 MemTracker::record_virtual_memory_reserve_and_commit((address)p_buf, bytes, mtNone, pc);
2901 MemTracker::record_virtual_memory_reserve((address)p_buf, bytes, mtNone, pc);
2905 return p_buf;
3075 char * p_buf = allocate_pages_individually(bytes, addr, flags, prot, LargePagesIndividualAllocationInjectError);
3076 if (p_buf == NULL) {
3088 return p_buf;