Searched refs:mem_fd (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.cc | 109 void SharedRingBuffer::Initialize(base::ScopedFile mem_fd) { in Initialize() argument 111 int seals = fcntl(*mem_fd, F_GET_SEALS); in Initialize() 124 int res = fstat(*mem_fd, &stat_buf); in Initialize() 152 MAP_SHARED | MAP_FIXED, *mem_fd, 0); in Initialize() 157 MAP_SHARED | MAP_FIXED, *mem_fd, in Initialize() 168 mem_fd_ = std::move(mem_fd); in Initialize() 310 base::ScopedFile mem_fd) { in Attach() argument 311 auto buf = SharedRingBuffer(AttachFlag(), std::move(mem_fd)); in Attach()
|
D | shared_ring_buffer.h | 145 SharedRingBuffer(AttachFlag, base::ScopedFile mem_fd) { in SharedRingBuffer() argument 146 Initialize(std::move(mem_fd)); in SharedRingBuffer() 149 void Initialize(base::ScopedFile mem_fd);
|
D | unwinding.cc | 137 FDMemory::FDMemory(base::ScopedFile mem_fd) : mem_fd_(std::move(mem_fd)) {} in FDMemory() argument
|
D | unwinding.h | 71 FDMemory(base::ScopedFile mem_fd);
|
/external/libxcam/modules/ocl/ |
D | cl_image_bo_buffer.cpp | 96 int32_t mem_fd = -1; in create_image_bo() local 120 mem_fd = image->export_fd (); in create_image_bo() 123 mem_fd >= 0, in create_image_bo() 127 bo = display->create_drm_bo_from_fd (mem_fd, desc.size); in create_image_bo()
|
/external/libchrome/base/debug/ |
D | stack_trace_posix.cc | 594 base::ScopedFD mem_fd( in SetBaseAddressesForMemoryRegions() local 596 if (!mem_fd.is_valid()) in SetBaseAddressesForMemoryRegions() 599 auto safe_memcpy = [&mem_fd](void* dst, uintptr_t src, size_t size) { in SetBaseAddressesForMemoryRegions() 600 return HANDLE_EINTR(pread(mem_fd.get(), dst, size, src)) == ssize_t(size); in SetBaseAddressesForMemoryRegions()
|