/external/ltp/testcases/kernel/containers/sysvipc/ |
D | shm_comm.c | 62 char *shmem; in chld1_shm() local 70 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld1_shm() 76 *shmem = 'A'; in chld1_shm() 81 if (*shmem != 'A') in chld1_shm() 87 shmdt(shmem); in chld1_shm() 95 char *shmem; in chld2_shm() local 103 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld2_shm() 112 *shmem = 'B'; in chld2_shm() 116 shmdt(shmem); in chld2_shm()
|
/external/perfetto/src/profiling/memory/ |
D | wire_protocol.cc | 60 int64_t WithBuffer(SharedRingBuffer* shmem, size_t total_size, F fn) { in WithBuffer() argument 63 ScopedSpinlock lock = shmem->AcquireLock(ScopedSpinlock::Mode::Try); in WithBuffer() 69 buf = shmem->BeginWrite(lock, total_size); in WithBuffer() 73 shmem->EndWrite(std::move(buf)); in WithBuffer() 81 shmem->EndWrite(std::move(buf)); in WithBuffer() 87 int64_t SendWireMessage(SharedRingBuffer* shmem, const WireMessage& msg) { in SendWireMessage() argument 93 shmem, total_size, [msg](SharedRingBuffer::Buffer* buf) { in SendWireMessage() 107 shmem, total_size, [msg](SharedRingBuffer::Buffer* buf) { in SendWireMessage() 117 shmem, total_size, [msg](SharedRingBuffer::Buffer* buf) { in SendWireMessage()
|
D | unwinding.cc | 213 SharedRingBuffer& shmem = client_data.shmem; in OnDisconnect() local 222 auto lock = shmem.AcquireLock(ScopedSpinlock::Mode::Try); in OnDisconnect() 224 stats = shmem.GetStats(lock); in OnDisconnect() 251 SharedRingBuffer& shmem = client_data->shmem; in ReadAndUnwindBatch() local 257 buf = shmem.BeginRead(); in ReadAndUnwindBatch() 262 shmem.EndRead(std::move(buf)); in ReadAndUnwindBatch() 303 client_data.shmem.SetReaderPaused(); in BatchUnwindJob() 395 std::move(handoff_data.shmem), in HandleHandoffSocket() 401 client_data.shmem.SetReaderPaused(); in HandleHandoffSocket() 423 client_data.shmem.SetShuttingDown(); in HandleDisconnectSocket()
|
D | client.cc | 240 auto shmem = SharedRingBuffer::Attach(std::move(shmem_fd)); in CreateAndHandshake() local 241 if (!shmem || !shmem->is_valid()) { in CreateAndHandshake() 249 client_config, std::move(shmem.value()), in CreateAndHandshake() 255 SharedRingBuffer shmem, in Client() argument 262 shmem_(std::move(shmem)), in Client()
|
D | unwinding.h | 79 SharedRingBuffer shmem; member 110 SharedRingBuffer shmem; member
|
D | heapprofd_producer.cc | 886 int raw_fd = pending_process.shmem.fd(); in OnDataAvailable() 902 handoff_data.shmem = std::move(pending_process.shmem); in OnDataAvailable() 968 auto shmem = SharedRingBuffer::Create(static_cast<size_t>(shmem_size)); in HandleClientConnection() local 969 if (!shmem || !shmem->is_valid()) { in HandleClientConnection() 983 pending_process.shmem = std::move(*shmem); in HandleClientConnection()
|
D | client.h | 100 SharedRingBuffer shmem,
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 475 SharedMemory shmem; in TEST_P() local 476 ASSERT_TRUE(shmem.CreateAndMapAnonymous(contents.size())); in TEST_P() 477 memcpy(shmem.memory(), contents.data(), contents.size()); in TEST_P() 478 EXPECT_TRUE(shmem.Unmap()); in TEST_P() 480 SharedMemoryHandle shared_handle = shmem.handle().Duplicate(); in TEST_P() 483 EXPECT_EQ(shared_handle.GetGUID(), shmem.handle().GetGUID()); in TEST_P() 484 EXPECT_EQ(shared_handle.GetSize(), shmem.handle().GetSize()); in TEST_P() 492 shared_handle = shmem.handle().Duplicate(); in TEST_P() 506 SharedMemory shmem; in TEST_P() local 507 ASSERT_TRUE(shmem.CreateAndMapAnonymous(kContents.size())); in TEST_P() [all …]
|
/external/arm-trusted-firmware/fdts/ |
D | morello.dtsi | 73 cpu_scp_hpri0: scp-shmem@0 { 74 compatible = "arm,scmi-shmem"; 78 cpu_scp_hpri1: scp-shmem@80 { 79 compatible = "arm,scmi-shmem";
|
D | tc0.dts | 184 cpu_scp_scmi_mem: scp-shmem@0 { 185 compatible = "arm,scmi-shmem"; 216 shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
|
D | morello-fvp.dts | 122 shmem = <&cpu_scp_hpri0 &cpu_scp_hpri1>;
|
/external/mesa3d/src/panfrost/bifrost/test/ |
D | bi_submit.c | 170 struct panfrost_bo *shmem = bit_bo_create(dev, 4096); in bit_vertex() local 172 pan_pack(shmem->ptr.cpu, LOCAL_STORAGE, cfg) { in bit_vertex() 196 cfg.thread_storage = shmem->ptr.gpu; in bit_vertex() 213 shmem, shader, shader_desc, ubo, var, attr in bit_vertex()
|
/external/perfetto/src/tracing/ipc/service/ |
D | producer_ipc_service.cc | 94 std::unique_ptr<SharedMemory> shmem; in InitializeConnection() local 98 shmem = PosixSharedMemory::AttachToFd( in InitializeConnection() 100 if (!shmem) { in InitializeConnection() 117 req.shared_memory_page_size_hint_bytes(), std::move(shmem), in InitializeConnection()
|
/external/libchrome/ipc/ |
D | ipc_message_utils_unittest.cc | 147 base::SharedMemory shmem; in TEST() local 148 ASSERT_TRUE(shmem.Create(options)); in TEST() 150 base::SharedMemoryHandle pre_pickle = shmem.handle().Duplicate(); in TEST()
|
/external/perfetto/docs/reference/ |
D | heap_profile-cli.md | 11 [--shmem-size SHMEM_SIZE] [--block-client] 37 | --shmem-size | Size of buffer between client and heapprofd. Default 8MiB. Needs to be a power of …
|
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/ |
D | help.guc | 30 shmem
|
D | help | 33 shmem
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | equivalence-signals.test | 3 # to stress the signal handling and ensure that shmem doesn't mind
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 192 EXPECT_EQ(meminfo.shmem, 140204); in TEST_F() 458 EXPECT_GT(info.shmem, 0); in TEST() 459 EXPECT_LT(info.shmem, info.total); in TEST()
|
/external/libchrome/base/debug/ |
D | activity_analyzer_unittest.cc | 224 std::unique_ptr<SharedMemory> shmem(new SharedMemory()); in TEST_F() local 225 ASSERT_TRUE(shmem->CreateAndMapAnonymous(kMemorySize)); in TEST_F() 226 handle1 = shmem->handle().Duplicate(); in TEST_F() 228 handle2 = shmem->handle().Duplicate(); in TEST_F()
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | replace-includes | 12 -#include "system/shmem.h"
|
/external/linux-kselftest/android/patches/ |
D | 0013-run_vmtests.patch | 144 -./userfaultfd shmem 128 32 299 +#./userfaultfd shmem 128 32
|
/external/libchrome/libchrome_tools/patch/ |
D | shared_memory_posix.patch | 21 // Chromium mostly only uses the unique/private shmem as specified by
|
/external/tensorflow/third_party/hwloc/ |
D | BUILD.bazel | 240 "hwloc/shmem.c", 250 "include/hwloc/shmem.h",
|
/external/perfetto/docs/design-docs/ |
D | heapprofd-wire-protocol.md | 15 ![](/docs/images/heapprofd-design/shmem-overview.png) 26 ![](/docs/images/heapprofd-design/shmem-detail.png)
|