Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 25 of 30) sorted by relevance

12

/external/ltp/testcases/kernel/containers/sysvipc/
Dshm_comm.c62 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/
Dwire_protocol.cc48 bool SendWireMessage(SharedRingBuffer* shmem, const WireMessage& msg) { in SendWireMessage() argument
84 ScopedSpinlock lock = shmem->AcquireLock(ScopedSpinlock::Mode::Try); in SendWireMessage()
90 buf = shmem->BeginWrite(lock, total_size); in SendWireMessage()
94 shmem->EndWrite(std::move(buf)); in SendWireMessage()
106 shmem->EndWrite(std::move(buf)); in SendWireMessage()
Dunwinding.cc254 SharedRingBuffer& shmem = client_data.shmem; in OnDisconnect() local
268 auto lock = shmem.AcquireLock(ScopedSpinlock::Mode::Try); in OnDisconnect()
270 stats = shmem.GetStats(lock); in OnDisconnect()
299 SharedRingBuffer& shmem = client_data.shmem; in HandleUnwindBatch() local
308 buf = shmem.BeginRead(); in HandleUnwindBatch()
314 shmem.EndRead(std::move(buf)); in HandleUnwindBatch()
398 std::move(handoff_data.shmem), in HandleHandoffSocket()
Dclient.cc198 auto shmem = SharedRingBuffer::Attach(std::move(shmem_fd)); in CreateAndHandshake() local
199 if (!shmem || !shmem->is_valid()) { in CreateAndHandshake()
212 client_config, std::move(shmem.value()), in CreateAndHandshake()
219 SharedRingBuffer shmem, in Client() argument
227 shmem_(std::move(shmem)), in Client()
Dheapprofd_producer.cc673 int raw_fd = pending_process.shmem.fd(); in OnDataAvailable()
685 handoff_data.shmem = std::move(pending_process.shmem); in OnDataAvailable()
735 auto shmem = SharedRingBuffer::Create(shmem_size); in HandleClientConnection() local
736 if (!shmem || !shmem->is_valid()) { in HandleClientConnection()
750 pending_process.shmem = std::move(*shmem); in HandleClientConnection()
Dunwinding.h151 SharedRingBuffer shmem; member
190 SharedRingBuffer shmem; member
Dclient.h89 SharedRingBuffer shmem,
Dheapprofd_producer.h192 SharedRingBuffer shmem; member
/external/libchrome/base/memory/
Dshared_memory_unittest.cc475 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/syzkaller/pkg/report/testdata/linux/report/
D19949 [ 81.429135] mapped:24075 shmem:26 pagetables:676 bounce:0
51 …nt:15992kB managed:15904kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimab…
53 …kB managed:3012004kB mlocked:0kB dirty:172kB writeback:0kB mapped:34476kB shmem:24kB slab_reclaima…
55 …kB managed:3601032kB mlocked:0kB dirty:236kB writeback:0kB mapped:61824kB shmem:80kB slab_reclaima…
138 [ 81.863406] mapped:24149 shmem:63 pagetables:639 bounce:0
140 …nt:15992kB managed:15904kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimab…
142 …kB managed:3012004kB mlocked:0kB dirty:172kB writeback:0kB mapped:34624kB shmem:24kB slab_reclaima…
144 …kB managed:3601032kB mlocked:0kB dirty:236kB writeback:0kB mapped:61972kB shmem:228kB slab_reclaim…
D20694 [ 104.843234] mapped:24231 shmem:70 pagetables:731 bounce:0
97 …d(anon):0kB isolated(file):0kB mapped:96924kB dirty:25244kB writeback:0kB shmem:280kB shmem_thp: 0…
D198115 [ 159.735946] mapped:24203 shmem:70 pagetables:703 bounce:0
119 …ted(anon):0kB isolated(file):0kB mapped:96812kB dirty:296kB writeback:0kB shmem:280kB shmem_thp: 0…
/external/u-boot/doc/device-tree-bindings/firmware/
Dnvidia,tegra186-bpmp.txt17 - shmem : List of the phandle of the TX and RX shared memory area that
82 compatible = "nvidia,tegra186-bpmp-shmem";
87 compatible = "nvidia,tegra186-bpmp-shmem";
95 shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
/external/u-boot/arch/arm/dts/
Dmeson-gx.dtsi153 shmem = <&cpu_scp_lpri &cpu_scp_hpri>;
322 cpu_scp_lpri: scp-shmem@0 {
323 compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem";
327 cpu_scp_hpri: scp-shmem@200 {
328 compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem";
Dtegra186.dtsi304 sysram_cpu_bpmp_tx: shmem@4e000 {
305 compatible = "nvidia,tegra186-bpmp-shmem";
309 sysram_cpu_bpmp_rx: shmem@4f000 {
310 compatible = "nvidia,tegra186-bpmp-shmem";
325 shmem = <&sysram_cpu_bpmp_tx &sysram_cpu_bpmp_rx>;
/external/libchrome/ipc/
Dipc_message_utils_unittest.cc147 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/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
Dhelp27 shmem
/external/perfetto/test/trace_processor/
Dmemory_counters_counter_args_join.out6 22240238407793,97669645,"mem.rss.shmem",679936.000000,1,"upid",4294967300,"utid",7
/external/libchrome/base/process/
Dprocess_metrics_unittest.cc192 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()
Dprocess_metrics.h339 int shmem = 0; member
Dprocess_metrics_linux.cc488 res->SetInteger("shmem", shmem); in ToValue()
555 target = &meminfo->shmem; in ParseProcMeminfo()
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dreplace-includes12 -#include "system/shmem.h"
/external/linux-kselftest/android/patches/
D0013-ANDROID-build-vm-tests.patch141 -./userfaultfd shmem 128 32
279 +#./userfaultfd shmem 128 32
/external/libchrome/libchrome_tools/patch/
Dshared_memory_posix.patch21 // Chromium mostly only uses the unique/private shmem as specified by
/external/perfetto/protos/perfetto/config/profiling/
Dheapprofd_config.proto83 // When the shmem buffer is full, block the client instead of ending the

12