OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mem_fd
(Results
1 - 7
of
7
) sorted by null
/external/perfetto/src/profiling/memory/
shared_ring_buffer.cc
65
// In-tree builds should only allow
mem_fd
, so we can inspect the seals
109
void SharedRingBuffer::Initialize(base::ScopedFile
mem_fd
) {
111
int seals = fcntl(*
mem_fd
, F_GET_SEALS);
124
int res = fstat(*
mem_fd
, &stat_buf);
152
MAP_SHARED | MAP_FIXED, *
mem_fd
, 0);
157
MAP_SHARED | MAP_FIXED, *
mem_fd
,
168
mem_fd_ = std::move(
mem_fd
);
310
base::ScopedFile
mem_fd
) {
311
auto buf = SharedRingBuffer(AttachFlag(), std::move(
mem_fd
));
shared_ring_buffer.h
145
SharedRingBuffer(AttachFlag, base::ScopedFile
mem_fd
) {
146
Initialize(std::move(
mem_fd
));
149
void Initialize(base::ScopedFile
mem_fd
);
unwinding.h
71
FDMemory(base::ScopedFile
mem_fd
);
79
// Addresses outside of that range are read from
mem_fd
, which should be an fd
unwinding.cc
137
FDMemory::FDMemory(base::ScopedFile
mem_fd
) : mem_fd_(std::move(
mem_fd
)) {}
/external/libxcam/modules/ocl/
cl_image_bo_buffer.cpp
96
int32_t
mem_fd
= -1;
local
120
mem_fd
= image->export_fd ();
123
mem_fd
>= 0,
127
bo = display->create_drm_bo_from_fd (
mem_fd
, desc.size);
/external/libchrome/base/debug/
stack_trace_posix.cc
594
base::ScopedFD
mem_fd
(
596
if (!
mem_fd
.is_valid())
599
auto safe_memcpy = [&
mem_fd
](void* dst, uintptr_t src, size_t size) {
600
return HANDLE_EINTR(pread(
mem_fd
.get(), dst, size, src)) == ssize_t(size);
/art/runtime/jit/
jit_code_cache.cc
202
unique_fd
mem_fd
;
local
208
mem_fd
= unique_fd(art::memfd_create("/jit-cache", /* flags= */ 0));
209
if (
mem_fd
.get() < 0) {
222
if (
mem_fd
.get() >= 0 && ftruncate(
mem_fd
, capacity) != 0) {
240
if (
mem_fd
.get() >= 0) {
267
mem_fd
,
314
mem_fd
.get(),
315
(
mem_fd
.get() >= 0) ? data_capacity : 0,
324
if (
mem_fd
.get() >= 0)
[
all
...]
Completed in 312 milliseconds