Searched refs:shm_info (Results 1 – 9 of 9) sorted by relevance
25 struct rstream_shm_info *shm_info) in setup_shm() argument37 shm_info->length = sizeof(struct cras_audio_shm_area) + samples_size; in setup_shm()39 snprintf(shm_info->shm_name, sizeof(shm_info->shm_name), in setup_shm()42 shm_info->shm_fd = cras_shm_open_rw(shm_info->shm_name, shm_info->length); in setup_shm()43 if (shm_info->shm_fd < 0) in setup_shm()44 return shm_info->shm_fd; in setup_shm()47 shm->area = mmap(NULL, shm_info->length, in setup_shm()49 shm_info->shm_fd, 0); in setup_shm()51 close(shm_info->shm_fd); in setup_shm()70 &stream->shm_info); in setup_shm_area()[all …]
81 struct rstream_shm_info shm_info; member221 return stream->shm_info.shm_fd; in cras_rstream_output_shm_fd()227 return stream->shm_info.shm_fd; in cras_rstream_input_shm_fd()
49 struct shm_info shm_info; variable70 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info)); in main()
22 struct shm_info shmInfo; in main()
101 struct shm_info { struct
173 struct shm_info i; in test_shmget()
149 struct shm_info shm_buf; in shm_array()
280 unsigned struct_shm_info_sz = sizeof(struct shm_info);
1209 struct shm_info s_i; in TEST()