/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap18.c | 86 static void *allocate_stack(size_t stack_size, size_t mapped_size) in allocate_stack() argument 96 SAFE_MMAP((start + reserved_size - mapped_size), mapped_size, PROT_READ | PROT_WRITE, in allocate_stack() 106 mapped_size/page_size, stack_size/page_size); in allocate_stack() 151 static void grow_stack_success(size_t stack_size, size_t mapped_size) in grow_stack_success() argument 159 stack = allocate_stack(stack_size, mapped_size); in grow_stack_success() 175 static void grow_stack_fail(size_t stack_size, size_t mapped_size) in grow_stack_fail() argument 184 stack = allocate_stack(stack_size, mapped_size); in grow_stack_fail()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 24-1.c | 44 size_t mapped_size = 0; in main() local 64 mapped_size = 0; in main() 65 while (mapped_size < SIZE_MAX) { in main() 69 (unsigned long)mapped_size); in main() 74 mapped_size += shm_size; in main()
|
/third_party/elfutils/libdwfl/ |
H A D | open.c | 64 const size_t mapped_size = (*elf)->maximum_size; in decompress() local 65 if (mapped_size == 0) in decompress() 68 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 70 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 72 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 74 error = __libdw_unzstd (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
|
H A D | image-header.c | 62 void *mapped, size_t mapped_size) in __libdw_image_header() 64 if (likely (mapped_size > H_END)) in __libdw_image_header() 103 if (offset > H_END && offset < mapped_size in __libdw_image_header() 104 && mapped_size - offset >= length) in __libdw_image_header() 61 __libdw_image_header(int fd, off_t *start_offset, void *mapped, size_t mapped_size) __libdw_image_header() argument
|
H A D | gzip.c | 82 size_t mapped_size; member 115 if (state->input_pos == (off_t) state->mapped_size) in fail() 188 .mapped_size = _mapped_size, in unzip() 210 state.mapped_size = n; in unzip() 215 state.input_pos = state.mapped_size = *whole_size; in unzip() 220 (state.mapped_size <= sizeof magic || \ in unzip() 237 size_t avail_in = state.mapped_size; in unzip() 305 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip()
|
H A D | libdwflP.h | 605 void *mapped, size_t mapped_size, 609 void *mapped, size_t mapped_size, 613 void *mapped, size_t mapped_size, 617 void *mapped, size_t mapped_size, 623 void *mapped, size_t mapped_size)
|
/third_party/node/deps/v8/src/base/ |
H A D | emulated-virtual-address-subspace.cc | 15 VirtualAddressSpace* parent_space, Address base, size_t mapped_size, in EmulatedVirtualAddressSubspace() 20 mapped_size_(mapped_size), in EmulatedVirtualAddressSubspace() 22 region_allocator_(base, mapped_size, parent_space_->page_size()) { in EmulatedVirtualAddressSubspace() 28 DCHECK(base::bits::IsPowerOfTwo(mapped_size)); in EmulatedVirtualAddressSubspace() 76 DCHECK_GE(unmapped_size(), mapped_size()); in AllocatePages() 117 DCHECK_GE(unmapped_size(), mapped_size()); in AllocateSharedPages() 14 EmulatedVirtualAddressSubspace( VirtualAddressSpace* parent_space, Address base, size_t mapped_size, size_t total_size) EmulatedVirtualAddressSubspace() argument
|
H A D | emulated-virtual-address-subspace.h | 39 Address base, size_t mapped_size, 78 size_t mapped_size() const { return mapped_size_; } in mapped_size() function in v8::base::final 95 return Contains(mapped_base(), mapped_size(), addr, length); in MappedRegionContains()
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_bo.c | 564 vma->mapped_size = aligned_virt_size; in pvr_srv_winsys_vma_map() 588 vma->mapped_size >> srv_ws->base.log2_page_size); in pvr_srv_winsys_vma_unmap()
|
/third_party/mesa3d/src/imagination/vulkan/winsys/ |
H A D | pvr_winsys.h | 135 uint64_t mapped_size; member
|