Home
last modified time | relevance | path

Searched defs:mem_type (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.12.1/arch/arm/mm/
Dmm.h38 struct mem_type { struct
46 const struct mem_type *get_mem_type(unsigned int type); argument
/linux-6.12.1/tools/testing/selftests/arm64/mte/
Dmte_common_util.c123 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, 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()
175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) 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()
205 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range()
232 static void __mte_free_memory_range(void *ptr, size_t size, int mem_type, in __mte_free_memory_range()
251 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type, in mte_free_memory_tag_range()
257 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags) in mte_free_memory()
Dcheck_buffer_fill.c28 static int check_buffer_by_byte(int mem_type, int mode) in check_buffer_by_byte()
63 static int check_buffer_underflow_by_byte(int mem_type, int mode, 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()
261 static int check_buffer_by_block_iterate(int mem_type, int mode, size_t size) in check_buffer_by_block_iterate()
336 static int check_buffer_by_block(int mem_type, int mode) in check_buffer_by_block()
365 static int check_memory_initial_tags(int mem_type, int mode, int mapping) in check_memory_initial_tags()
Dcheck_tags_inclusion.c49 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags()
81 static int check_multiple_included_tags(int mem_type, int mode) in check_multiple_included_tags()
113 static int check_all_included_tags(int mem_type, int mode) in check_all_included_tags()
139 static int check_none_included_tags(int mem_type, int mode) in check_none_included_tags()
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()
91 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) 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()
Dmte_common_util.h96 int mem_type, bool tags) 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()
Dcheck_child_memory.c84 static int check_child_memory_mapping(int mem_type, int mode, int mapping) in check_child_memory_mapping()
106 static int check_child_file_mapping(int mem_type, int mode, int mapping) in check_child_file_mapping()
/linux-6.12.1/drivers/gpu/drm/ttm/tests/
Dttm_mock_manager.c93 int ttm_mock_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_mock_manager_init()
125 void ttm_mock_manager_fini(struct ttm_device *bdev, u32 mem_type) 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()
207 int ttm_busy_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_busy_manager_init()
220 void ttm_bad_manager_fini(struct ttm_device *bdev, uint32_t mem_type) in ttm_bad_manager_fini()
Dttm_bo_validate_test.c23 u32 mem_type; member
158 u32 mem_type = TTM_PL_VRAM; in ttm_bo_init_reserved_mock_man() local
305 u32 mem_type = TTM_PL_VRAM; in ttm_bo_validate_failed_alloc() local
333 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_pinned() local
524 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_no_placement_signaled() local
594 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_no_placement_not_signaled() local
646 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_move_fence_signaled() local
768 u32 mem_type = TTM_PL_TT; in ttm_bo_validate_swapout() local
812 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT, in ttm_bo_validate_happy_evict() local
873 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT; in ttm_bo_validate_all_pinned_evict() local
[all …]
Dttm_resource_test.c14 u32 mem_type; member
50 u32 mem_type, u32 flags) in ttm_init_test_mocks()
63 u32 mem_type) in ttm_init_test_manager()
271 u32 mem_type = TTM_PL_SYSTEM; in ttm_sys_man_alloc_basic() local
296 u32 mem_type = TTM_PL_SYSTEM; in ttm_sys_man_free_basic() local
Dttm_bo_test.c246 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_basic() local
287 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_pinned() local
331 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_unreserve_bulk() local
389 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_put_basic() local
504 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_pin_unpin_resource() local
555 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_multiple_pin_one_unpin() local
/linux-6.12.1/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()
57 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, bool sec) 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()
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()
176 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, u16 tag, bool sec) in nvkm_falcon_pio_wr()
/linux-6.12.1/tools/testing/selftests/mm/
Duffd-unit-tests.c28 struct mem_type { struct
34 typedef struct mem_type mem_type_t; argument
71 mem_type_t *mem_type; member
187 mem_type_t *mem_type, const char **errmsg) in uffd_setup_environment()
1274 mem_type_t *mem_type = args->mem_type; in do_register_ioctls_test() local
1489 mem_type_t *mem_type; in main() local
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_drm_client.c171 u32 mem_type = bo->ttm.resource->mem_type; in bo_meminfo() local
202 u32 mem_type; in show_meminfo() local
Dxe_bo_evict.c33 u32 mem_type; in xe_bo_evict_all() local
Dxe_bo.c72 bool mem_type_is_vram(u32 mem_type) in mem_type_is_vram()
133 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate()
166 struct ttm_place *places, u32 bo_flags, u32 mem_type, u32 *c) in add_vram()
2153 bool xe_bo_can_migrate(struct xe_bo *bo, u32 mem_type) in xe_bo_can_migrate()
2172 static void xe_place_from_ttm_type(u32 mem_type, struct ttm_place *place) in xe_place_from_ttm_type()
2193 int xe_bo_migrate(struct xe_bo *bo, u32 mem_type) in xe_bo_migrate()
Dxe_ttm_vram_mgr_types.h35 u32 mem_type; member
Dxe_pat.c190 u8 mem_type = REG_FIELD_GET(XELP_MEM_TYPE_MASK, pat); in xelp_dump() local
219 u8 mem_type; in xehp_dump() local
/linux-6.12.1/drivers/i2c/busses/
Di2c-amd-mp2.h64 enum mem_type { enum
86 enum mem_type mem_type : 1; member
129 enum mem_type mem_type : 1; member
/linux-6.12.1/arch/loongarch/kernel/
Dmem.c15 u32 mem_type; in memblock_init() local
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1145 u8 mem_type, u8 *idx) in cudbg_meminfo_get_mem_index()
1183 u8 mem_type, const char *region_name, in cudbg_get_mem_region()
1234 u8 mem_type, u32 *out_base, u32 *out_end) in cudbg_get_mem_relative()
1257 static int cudbg_get_payload_range(struct adapter *padap, u8 mem_type, in cudbg_get_payload_range()
1367 struct cudbg_buffer *dbg_buff, u8 mem_type, in cudbg_read_fw_mem()
1461 u8 mem_type, unsigned long *region_size) in cudbg_mem_region_size()
1492 u8 mem_type) in cudbg_collect_mem_region()
2260 u8 *mem_type) in cudbg_get_ctxt_region_info()
2320 u8 mem_type[CTXT_INGRESS + 1] = { 0 }; in cudbg_dump_context_size() local
2397 u8 mem_type[CTXT_INGRESS + 1] = { 0 }; in cudbg_collect_dump_context() local
/linux-6.12.1/include/drm/ttm/
Dttm_placement.h86 uint32_t mem_type; member
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_object.h40 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) in radeon_mem_type_to_domain()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_res_cursor.h41 uint32_t mem_type; member
/linux-6.12.1/include/linux/
Dpstore_ram.h32 unsigned int mem_type; member

1234