Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc109 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()
Dshared_ring_buffer.h145 SharedRingBuffer(AttachFlag, base::ScopedFile mem_fd) { in SharedRingBuffer() argument
146 Initialize(std::move(mem_fd)); in SharedRingBuffer()
149 void Initialize(base::ScopedFile mem_fd);
Dunwinding.cc137 FDMemory::FDMemory(base::ScopedFile mem_fd) : mem_fd_(std::move(mem_fd)) {} in FDMemory() argument
Dunwinding.h71 FDMemory(base::ScopedFile mem_fd);
/external/libxcam/modules/ocl/
Dcl_image_bo_buffer.cpp96 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/
Dstack_trace_posix.cc594 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()