Searched refs:shms (Results 1 – 1 of 1) sorted by relevance
99 struct shm* shms) { in hwaes_map_shm() argument129 shms[i].base = mmap(0, shm_descs[i].size, mmap_prot, 0, handles[i], 0); in hwaes_map_shm()130 if (shms[i].base == MAP_FAILED) { in hwaes_map_shm()134 shms[i].size = shm_descs[i].size; in hwaes_map_shm()135 shms[i].mmap_prot = mmap_prot; in hwaes_map_shm()146 static void hwaes_unmap_shm(size_t num, struct shm* shms) { in hwaes_unmap_shm() argument148 if (shms[i].size) { in hwaes_unmap_shm()149 munmap(shms[i].base, shms[i].size); in hwaes_unmap_shm()169 struct shm* shms, in hwaes_set_arg_out() argument193 int shm_mmap_prot = shms[data_desc_ptr->shm_idx].mmap_prot; in hwaes_set_arg_out()[all …]