Home
last modified time | relevance | path

Searched refs:status_fd (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/debug/
Ddebugger_posix.cc136 int status_fd = open("/proc/self/status", O_RDONLY);
137 if (status_fd == -1)
145 ssize_t num_read = HANDLE_EINTR(read(status_fd, buf, sizeof(buf)));
146 if (IGNORE_EINTR(close(status_fd)) < 0)
/external/igt-gpu-tools/tests/i915/
Di915_pm_sseu.c85 int status_fd; member
156 lseek(dbg.status_fd, 0, SEEK_SET); in dbg_get_status()
157 nread = read(dbg.status_fd, dbg.status_buf, DBG_STATUS_BUF_SIZE); in dbg_get_status()
216 dbg.status_fd = igt_debugfs_open(gem.drm_fd, "i915_sseu_status", O_RDONLY); in dbg_init()
217 igt_skip_on_f(dbg.status_fd == -1, in dbg_init()
228 close(dbg.status_fd); in dbg_deinit()
/external/perfetto/src/profiling/common/
Dprofiler_guardrails.cc51 ProfilerMemoryGuardrails::ProfilerMemoryGuardrails(base::ScopedFile status_fd) { in ProfilerMemoryGuardrails() argument
53 if (base::ReadFileDescriptor(*status_fd, &status)) in ProfilerMemoryGuardrails()
Dprofiler_guardrails.h60 explicit ProfilerMemoryGuardrails(base::ScopedFile status_fd);
/external/libchrome/dbus/
Dmessage_unittest.cc146 int status_fd = HANDLE_EINTR(fstat(fd_out.get(), &sb_fd)); in TEST() local
147 ASSERT_GE(status_fd, 0); in TEST()