Home
last modified time | relevance | path

Searched full:mem_type (Results 1 – 25 of 208) sorted by relevance

123456789

/linux-6.14.4/drivers/firmware/cirrus/test/
Dcs_dsp_test_wmfw.c46 int mem_type; member
107 cs_dsp_mock_reg_block_length_bytes(priv, param->mem_type); in wmfw_write_one_payload()
111 payload_size_bytes += cs_dsp_mock_reg_block_length_bytes(priv, param->mem_type); in wmfw_write_one_payload()
122 if (param->mem_type == WMFW_ADSP2_XM) in wmfw_write_one_payload()
127 param->mem_type, mem_offset_dsp_words, in wmfw_write_one_payload()
136 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type); in wmfw_write_one_payload()
168 param->mem_type); in wmfw_write_multiple_oneblock_payloads()
169 payload_size_bytes += cs_dsp_mock_reg_block_length_bytes(priv, param->mem_type); in wmfw_write_multiple_oneblock_payloads()
181 if (param->mem_type == WMFW_ADSP2_XM) in wmfw_write_multiple_oneblock_payloads()
187 param->mem_type, in wmfw_write_multiple_oneblock_payloads()
[all …]
Dcs_dsp_test_control_rw.c30 int mem_type; member
84 .mem_type = WMFW_ADSP2_YM,
103 static int _get_alg_mem_base_words(struct kunit *test, int alg_index, int mem_type) in _get_alg_mem_base_words() argument
105 switch (mem_type) { in _get_alg_mem_base_words()
113 KUNIT_FAIL(test, "Bug in test: illegal memory type %d\n", mem_type); in _get_alg_mem_base_words()
160 alg_base_words = _get_alg_mem_base_words(test, alg_idx, param->mem_type); in cs_dsp_ctl_write_running()
161 reg = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type); in cs_dsp_ctl_write_running()
169 def.mem_type = param->mem_type; in cs_dsp_ctl_write_running()
231 alg_base_words = _get_alg_mem_base_words(test, alg_idx, param->mem_type); in cs_dsp_ctl_read_volatile_running()
232 reg = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type); in cs_dsp_ctl_read_volatile_running()
[all …]
Dcs_dsp_test_bin.c69 int mem_type; member
129 param->mem_type); in bin_patch_one_word()
134 param->mem_type, in bin_patch_one_word()
145 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_word()
178 param->mem_type); in bin_patch_one_multiword()
183 param->mem_type, in bin_patch_one_multiword()
194 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_multiword()
227 param->mem_type); in bin_patch_multi_oneword()
234 param->mem_type, in bin_patch_multi_oneword()
246 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_oneword()
[all …]
Dcs_dsp_test_control_cache.c30 int mem_type; member
84 .mem_type = WMFW_ADSP2_YM,
107 static int _get_alg_mem_base_words(struct kunit *test, int alg_index, int mem_type) in _get_alg_mem_base_words() argument
109 switch (mem_type) { in _get_alg_mem_base_words()
117 KUNIT_FAIL(test, "Bug in test: illegal memory type %d\n", mem_type); in _get_alg_mem_base_words()
173 def.mem_type = WMFW_ADSP2_YM; in cs_dsp_ctl_v2_cache_alloc()
218 alg_base_words = _get_alg_mem_base_words(test, alg_idx, param->mem_type); in cs_dsp_ctl_cache_init()
219 reg = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type); in cs_dsp_ctl_cache_init()
227 def.mem_type = param->mem_type; in cs_dsp_ctl_cache_init()
277 def.mem_type = param->mem_type; in cs_dsp_ctl_cache_init_write_only()
[all …]
Dcs_dsp_mock_mem_maps.c88 * @mem_type: Memory region type.
92 unsigned int cs_dsp_mock_size_of_region(const struct cs_dsp *dsp, int mem_type) in cs_dsp_mock_size_of_region() argument
107 if (dsp->mem[i].type == mem_type) in cs_dsp_mock_size_of_region()
119 * @mem_type: Memory region type.
123 unsigned int cs_dsp_mock_base_addr_for_mem(struct cs_dsp_test *priv, int mem_type) in cs_dsp_mock_base_addr_for_mem() argument
130 if (region[i].type == mem_type) in cs_dsp_mock_base_addr_for_mem()
134 KUNIT_FAIL(priv->test, "Unexpected region %d\n", mem_type); in cs_dsp_mock_base_addr_for_mem()
166 * @mem_type: Memory region type.
174 unsigned int cs_dsp_mock_reg_block_length_bytes(struct cs_dsp_test *priv, int mem_type) in cs_dsp_mock_reg_block_length_bytes() argument
178 switch (mem_type) { in cs_dsp_mock_reg_block_length_bytes()
[all …]
/linux-6.14.4/drivers/gpu/drm/ttm/tests/
Dttm_bo_validate_test.c23 u32 mem_type; member
158 u32 mem_type = TTM_PL_VRAM; in ttm_bo_init_reserved_mock_man() local
163 ttm_mock_manager_init(priv->ttm_dev, mem_type, MANAGER_SIZE); in ttm_bo_init_reserved_mock_man()
168 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_init_reserved_mock_man()
190 ttm_mock_manager_fini(priv->ttm_dev, mem_type); in ttm_bo_init_reserved_mock_man()
264 KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem); in ttm_bo_validate_basic()
305 u32 mem_type = TTM_PL_VRAM; in ttm_bo_validate_failed_alloc() local
313 ttm_bad_manager_init(priv->ttm_dev, mem_type, MANAGER_SIZE); in ttm_bo_validate_failed_alloc()
315 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_validate_failed_alloc()
325 ttm_bad_manager_fini(priv->ttm_dev, mem_type); in ttm_bo_validate_failed_alloc()
[all …]
Dttm_resource_test.c14 u32 mem_type; member
50 u32 mem_type, u32 flags) in ttm_init_test_mocks() argument
58 priv->place = ttm_place_kunit_init(test, mem_type, flags); in ttm_init_test_mocks()
63 u32 mem_type) in ttm_init_test_manager() argument
76 ttm_set_driver_manager(ttm_dev, mem_type, man); in ttm_init_test_manager()
83 .mem_type = TTM_PL_SYSTEM,
87 .mem_type = TTM_PL_VRAM,
91 .mem_type = TTM_PRIV_DUMMY_REG,
95 .mem_type = TTM_PL_SYSTEM,
117 ttm_init_test_mocks(test, priv, params->mem_type, params->flags); in ttm_resource_init_basic()
[all …]
Dttm_kunit_helpers.c12 .mem_type = TTM_PL_SYSTEM,
19 .mem_type = TTM_PL_MOCK1,
26 .mem_type = TTM_PL_MOCK2,
67 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && !bo->ttm)) { in mock_move()
72 if (bo->resource->mem_type == TTM_PL_VRAM && in mock_move()
73 new_mem->mem_type == TTM_PL_SYSTEM) { in mock_move()
74 hop->mem_type = TTM_PL_TT; in mock_move()
81 if ((old_mem->mem_type == TTM_PL_SYSTEM && in mock_move()
82 new_mem->mem_type == TTM_PL_TT) || in mock_move()
83 (old_mem->mem_type == TTM_PL_TT && in mock_move()
[all …]
Dttm_mock_manager.c93 int ttm_mock_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_mock_manager_init() argument
118 ttm_set_driver_manager(bdev, mem_type, base); in ttm_mock_manager_init()
125 void ttm_mock_manager_fini(struct ttm_device *bdev, u32 mem_type) in ttm_mock_manager_fini() argument
131 man = ttm_manager_type(bdev, mem_type); in ttm_mock_manager_fini()
144 ttm_set_driver_manager(bdev, mem_type, NULL); in ttm_mock_manager_fini()
189 int ttm_bad_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_bad_manager_init() argument
200 ttm_set_driver_manager(bdev, mem_type, man); in ttm_bad_manager_init()
207 int ttm_busy_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_busy_manager_init() argument
211 ttm_bad_manager_init(bdev, mem_type, size); in ttm_busy_manager_init()
212 man = ttm_manager_type(bdev, mem_type); in ttm_busy_manager_init()
[all …]
Dttm_mock_manager.h24 int ttm_mock_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size);
25 int ttm_bad_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size);
26 int ttm_busy_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size);
27 void ttm_mock_manager_fini(struct ttm_device *bdev, u32 mem_type);
28 void ttm_bad_manager_fini(struct ttm_device *bdev, u32 mem_type);
Dttm_bo_test.c246 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_basic() local
249 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_basic()
272 man = ttm_manager_type(priv->ttm_dev, mem_type); in ttm_bo_unreserve_basic()
287 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_pinned() local
298 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_pinned()
331 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_bulk() local
337 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_bulk()
373 pos = &lru_bulk_move.pos[mem_type][bo_priority]; in ttm_bo_unreserve_bulk()
389 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_put_basic() local
392 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_put_basic()
[all …]
/linux-6.14.4/tools/testing/selftests/arm64/mte/
Dcheck_buffer_fill.c28 static int check_buffer_by_byte(int mem_type, int mode) in check_buffer_by_byte() argument
38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte()
39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte()
52 mte_free_memory((void *)ptr, sizes[i], mem_type, true); in check_buffer_by_byte()
63 static int check_buffer_underflow_by_byte(int mem_type, int mode, in check_buffer_underflow_by_byte() argument
74 ptr = (char *)mte_allocate_memory_tag_range(sizes[i], mem_type, 0, in check_buffer_underflow_by_byte()
76 if (check_allocated_memory_range(ptr, sizes[i], mem_type, in check_buffer_underflow_by_byte()
151 mte_free_memory_tag_range((void *)ptr, sizes[i], mem_type, underflow_range, 0); in check_buffer_underflow_by_byte()
158 static int check_buffer_overflow_by_byte(int mem_type, int mode, in check_buffer_overflow_by_byte() argument
170 ptr = (char *)mte_allocate_memory_tag_range(sizes[i], mem_type, 0, in check_buffer_overflow_by_byte()
[all …]
Dcheck_tags_inclusion.c49 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags() argument
54 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_single_included_tags()
56 mem_type, false) != KSFT_PASS) in check_single_included_tags()
77 mte_free_memory_tag_range(ptr, BUFFER_SIZE, mem_type, 0, MT_GRANULE_SIZE); in check_single_included_tags()
81 static int check_multiple_included_tags(int mem_type, int mode) in check_multiple_included_tags() argument
87 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_multiple_included_tags()
89 mem_type, false) != KSFT_PASS) in check_multiple_included_tags()
109 mte_free_memory_tag_range(ptr, BUFFER_SIZE, mem_type, 0, MT_GRANULE_SIZE); in check_multiple_included_tags()
113 static int check_all_included_tags(int mem_type, int mode) in check_all_included_tags() argument
118 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_all_included_tags()
[all …]
Dmte_common_util.c123 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() argument
131 switch (mem_type) { in __mte_allocate_memory_range()
143 if (mem_type == USE_MMAP) in __mte_allocate_memory_range()
156 if (mem_type == USE_MPROTECT) { in __mte_allocate_memory_range()
168 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() argument
171 return __mte_allocate_memory_range(size, mem_type, mapping, range_before, in mte_allocate_memory_tag_range()
175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() argument
177 return __mte_allocate_memory_range(size, mem_type, mapping, 0, 0, tags, -1); in mte_allocate_memory()
180 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() argument
185 if (mem_type != USE_MPROTECT && mem_type != USE_MMAP) { in mte_allocate_file_memory()
[all …]
Dmte_common_util.h45 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags);
46 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping,
48 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping,
50 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping,
52 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags);
53 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type,
96 int mem_type, bool tags) in check_allocated_memory() argument
105 mte_free_memory((void *)ptr, size, mem_type, false); in check_allocated_memory()
112 static inline int check_allocated_memory_range(void *ptr, size_t size, int mem_type, in check_allocated_memory_range() argument
122 mte_free_memory_tag_range((void *)ptr, size, mem_type, range_before, in check_allocated_memory_range()
Dcheck_mmap_options.c60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping() argument
69 map_ptr = (char *)mte_allocate_memory(map_size, mem_type, mapping, false); in check_anonymous_memory_mapping()
70 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) in check_anonymous_memory_mapping()
84 mte_free_memory((void *)map_ptr, map_size, mem_type, false); in check_anonymous_memory_mapping()
91 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_file_memory_mapping() argument
105 map_ptr = (char *)mte_allocate_file_memory(map_size, mem_type, mapping, false, fd); in check_file_memory_mapping()
106 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { in check_file_memory_mapping()
130 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag() argument
140 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_clear_prot_mte_flag()
142 if (check_allocated_memory_range(ptr, sizes[run], mem_type, in check_clear_prot_mte_flag()
[all …]
Dcheck_hugetlb_options.c146 static int check_hugetlb_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_hugetlb_memory_mapping() argument
155 map_ptr = (char *)mte_allocate_memory(map_size, mem_type, mapping, false); in check_hugetlb_memory_mapping()
156 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) in check_hugetlb_memory_mapping()
169 mte_free_memory((void *)map_ptr, map_size, mem_type, false); in check_hugetlb_memory_mapping()
176 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag() argument
185 map_ptr = (char *)mte_allocate_memory_tag_range(map_size, mem_type, mapping, in check_clear_prot_mte_flag()
187 if (check_allocated_memory_range(map_ptr, map_size, mem_type, in check_clear_prot_mte_flag()
192 mte_free_memory_tag_range((void *)map_ptr, map_size, mem_type, in check_clear_prot_mte_flag()
198 mte_free_memory_tag_range((void *)map_ptr, map_size, mem_type, 0, 0); in check_clear_prot_mte_flag()
205 static int check_child_hugetlb_memory_mapping(int mem_type, int mode, int mapping) in check_child_hugetlb_memory_mapping() argument
[all …]
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_drm_client.c171 u32 mem_type = bo->ttm.resource->mem_type; in bo_meminfo() local
176 stats[mem_type].shared += sz; in bo_meminfo()
178 stats[mem_type].private += sz; in bo_meminfo()
181 stats[mem_type].resident += sz; in bo_meminfo()
185 stats[mem_type].active += sz; in bo_meminfo()
186 else if (mem_type == XE_PL_SYSTEM) in bo_meminfo()
187 stats[mem_type].purgeable += sz; in bo_meminfo()
202 u32 mem_type; in show_meminfo() local
255 for (mem_type = XE_PL_SYSTEM; mem_type < TTM_NUM_MEM_TYPES; ++mem_type) { in show_meminfo()
256 if (!xe_mem_type_to_name[mem_type]) in show_meminfo()
[all …]
Dxe_bo.c43 .mem_type = XE_PL_SYSTEM,
56 .mem_type = XE_PL_TT,
62 .mem_type = XE_PL_SYSTEM,
72 bool mem_type_is_vram(u32 mem_type) in mem_type_is_vram() argument
74 return mem_type >= XE_PL_VRAM0 && mem_type != XE_PL_STOLEN; in mem_type_is_vram()
79 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram()
84 return mem_type_is_vram(res->mem_type); in resource_is_vram()
95 return bo->ttm.resource->mem_type == XE_PL_STOLEN; in xe_bo_is_stolen()
133 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate() argument
137 xe_assert(xe, mem_type == XE_PL_STOLEN || mem_type_is_vram(mem_type)); in mem_type_to_migrate()
[all …]
Dxe_res_cursor.h45 u32 mem_type; member
54 mgr = ttm_manager_type(res->bo->bdev, res->mem_type); in xe_res_get_buddy()
78 cur->mem_type = res->mem_type; in xe_res_first()
80 switch (cur->mem_type) { in xe_res_first()
124 cur->mem_type = XE_PL_TT; in xe_res_first()
164 cur->mem_type = XE_PL_TT; in xe_res_first_sg()
200 switch (cur->mem_type) { in xe_res_next()
/linux-6.14.4/drivers/gpu/drm/loongson/
Dlsdc_ttm.c15 const char *lsdc_mem_type_to_str(uint32_t mem_type) in lsdc_mem_type_to_str() argument
17 switch (mem_type) { in lsdc_mem_type_to_str()
59 lbo->placements[c].mem_type = TTM_PL_VRAM; in lsdc_bo_set_placement()
64 lbo->placements[c].mem_type = TTM_PL_TT; in lsdc_bo_set_placement()
69 lbo->placements[c].mem_type = TTM_PL_SYSTEM; in lsdc_bo_set_placement()
74 lbo->placements[c].mem_type = TTM_PL_SYSTEM; in lsdc_bo_set_placement()
145 switch (resource->mem_type) { in lsdc_bo_evict_flags()
180 lbo, lsdc_mem_type_to_str(new_mem->mem_type), in lsdc_bo_move()
186 if (old_mem->mem_type == TTM_PL_SYSTEM && !tbo->ttm) { in lsdc_bo_move()
193 if (old_mem->mem_type == TTM_PL_SYSTEM && in lsdc_bo_move()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/falcon/
Dbase.c45 nvkm_falcon_dma(struct nvkm_falcon *falcon, enum nvkm_falcon_mem *mem_type, u32 *mem_base) in nvkm_falcon_dma() argument
47 switch (*mem_type) { in nvkm_falcon_dma()
57 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, bool sec) in nvkm_falcon_dma_wr() argument
59 const struct nvkm_falcon_func_dma *dma = nvkm_falcon_dma(falcon, &mem_type, &mem_base); in nvkm_falcon_dma_wr()
60 const char *type = nvkm_falcon_mem(mem_type); in nvkm_falcon_dma_wr()
69 if (mem_type == DMEM) { in nvkm_falcon_dma_wr()
79 ret = dma->init(falcon, dma_addr, dmalen, mem_type, sec, &cmd); in nvkm_falcon_dma_wr()
121 nvkm_falcon_pio(struct nvkm_falcon *falcon, enum nvkm_falcon_mem *mem_type, u32 *mem_base) in nvkm_falcon_pio() argument
123 switch (*mem_type) { in nvkm_falcon_pio()
140 nvkm_falcon_pio_rd(struct nvkm_falcon *falcon, u8 port, enum nvkm_falcon_mem mem_type, u32 mem_base, in nvkm_falcon_pio_rd() argument
[all …]
/linux-6.14.4/arch/mips/loongson64/
Dinit.c51 u32 i, mem_type; in szmem() local
64 mem_type = loongson_memmap->map[i].mem_type; in szmem()
75 switch (mem_type) { in szmem()
79 pr_info("Node %d, mem_type:%d\t[%pa], %pa bytes usable\n", in szmem()
80 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
89 pr_info("Node %d, mem_type:%d\t[%pa], %pa bytes reserved\n", in szmem()
90 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
96 pr_info("Node %d, mem_type:%d\t[%pa], %pa bytes unhandled\n", in szmem()
97 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
/linux-6.14.4/include/linux/firmware/cirrus/
Dcs_dsp_test_utils.h62 u16 mem_type; member
95 unsigned int cs_dsp_mock_size_of_region(const struct cs_dsp *dsp, int mem_type);
96 unsigned int cs_dsp_mock_base_addr_for_mem(struct cs_dsp_test *priv, int mem_type);
98 unsigned int cs_dsp_mock_reg_block_length_bytes(struct cs_dsp_test *priv, int mem_type);
99 unsigned int cs_dsp_mock_reg_block_length_registers(struct cs_dsp_test *priv, int mem_type);
100 unsigned int cs_dsp_mock_reg_block_length_dsp_words(struct cs_dsp_test *priv, int mem_type);
106 int mem_type);
/linux-6.14.4/include/trace/events/
Dxdp.h330 __field(u32, mem_type)
337 __entry->mem_type = xa->mem.type;
341 TP_printk("mem_id=%d mem_type=%s allocator=%p",
343 __print_symbolic(__entry->mem_type, __MEM_TYPE_SYM_TAB),
358 __field(u32, mem_type)
367 __entry->mem_type = xa->mem.type;
373 TP_printk("mem_id=%d mem_type=%s allocator=%p"
376 __print_symbolic(__entry->mem_type, __MEM_TYPE_SYM_TAB),
392 __field(u32, mem_type)
398 __entry->mem_type = mem->type;
[all …]

123456789