Searched refs:cras_shm_used_size (Results 1 – 3 of 3) sorted by relevance
152 EXPECT_EQ(cras_shm_used_size(&shm_mapped), cras_shm_used_size(shm_ret)); in TEST_F()189 EXPECT_EQ(cras_shm_used_size(&shm_mapped), cras_shm_used_size(shm_ret)); in TEST_F()
782 shm_->area->write_offset[0] = cras_shm_used_size(shm_); in TEST_F()799 shm_->area->write_offset[0] = cras_shm_used_size(shm_); in TEST_F()815 EXPECT_EQ(cras_shm_used_size(shm_), shm_->area->write_offset[0]); in TEST_F()899 shm2_->area->write_offset[0] = cras_shm_used_size(shm2_); in TEST_F()927 shm2_->area->write_offset[0] = cras_shm_used_size(shm2_); in TEST_F()958 shm_->area->write_offset[0] = cras_shm_used_size(shm_); in TEST_F()959 shm2_->area->write_offset[0] = cras_shm_used_size(shm2_); in TEST_F()989 shm2_->area->write_offset[0] = cras_shm_used_size(shm2_); in TEST_F()
456 static inline unsigned cras_shm_used_size(const struct cras_audio_shm *shm) in cras_shm_used_size() function470 return cras_shm_used_size(shm) * CRAS_NUM_SHM_BUFFERS + in cras_shm_total_size()