Home
last modified time | relevance | path

Searched refs:mem_type (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/sys/dev/drm2/ttm/
H A Dttm_bo.c54 *mem_type = i; in ttm_mem_type_from_flags()
78 int i, ret, mem_type; in ttm_bo_mem_space_debug() local
85 &mem_type); in ttm_bo_mem_space_debug()
941 mem->mem_type = mem_type; in ttm_bo_mem_force_space()
1015 &mem_type); in ttm_bo_mem_space()
1021 mem_type, in ttm_bo_mem_space()
1051 mem->mem_type = mem_type; in ttm_bo_mem_space()
1061 &mem_type); in ttm_bo_mem_space()
1068 mem_type, in ttm_bo_mem_space()
1084 mem->mem_type = mem_type; in ttm_bo_mem_space()
[all …]
H A Dttm_bo_util.c50 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
55 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm()
62 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
117 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_reserve()
141 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_free()
160 &bo->bdev->man[mem->mem_type]; in ttm_mem_io_reserve_vm()
188 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_reg_ioremap()
222 man = &bdev->man[mem->mem_type]; in ttm_mem_reg_iounmap()
333 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
532 &bo->bdev->man[bo->mem.mem_type]; in ttm_bo_kmap()
[all …]
H A Dttm_bo_api.h106 uint32_t mem_type; member
597 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
618 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
H A Dttm_bo_vm.c111 &bdev->man[bo->mem.mem_type]; in ttm_bo_vm_fault()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix.cpp46 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
49 MAP_PRIVATE | MAP_ANON, mem_type); in MmapOrDie()
66 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument
69 MAP_PRIVATE | MAP_ANON, mem_type); in MmapOrDieOnFatalError()
74 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapOrDieOnFatalError()
84 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument
93 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); in MmapAlignedOrDieOnFatalError()
111 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
132 char mem_type[40]; in MmapFixedImpl() local
133 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedImpl()
[all …]
H A Dsanitizer_fuchsia.cpp186 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type, in DoAnonymousMmapOrDie() argument
198 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in DoAnonymousMmapOrDie()
199 internal_strlen(mem_type)); in DoAnonymousMmapOrDie()
219 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true); in MmapOrDie()
222 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
223 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
226 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument
227 return DoAnonymousMmapOrDie(size, mem_type, false, false); in MmapOrDieOnFatalError()
354 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument
366 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in MmapAlignedOrDieOnFatalError()
[all …]
H A Dsanitizer_win.cpp142 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie()
175 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument
178 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapOrDieOnFatalError()
184 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument
281 char mem_type[30]; in MmapFixedOrDie() local
282 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
313 char mem_type[30]; in MmapFixedOrDieOnFatalError() local
314 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDieOnFatalError()
316 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapFixedOrDieOnFatalError()
321 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
[all …]
H A Dsanitizer_common.cpp38 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, in ReportMmapFailureAndDie() argument
51 mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
56 SanitizerToolName, mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
H A Dsanitizer_common.h93 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
94 inline void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument
95 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
100 void *MmapOrDieOnFatalError(uptr size, const char *mem_type);
105 void *MmapNoReserveOrDie(uptr size, const char *mem_type);
116 const char *mem_type);
325 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
H A Dsanitizer_stack_store.h78 void *Map(uptr size, const char *mem_type);
H A Dsanitizer_stack_store.cpp100 void *StackStore::Map(uptr size, const char *mem_type) { in Map() argument
102 return MmapNoReserveOrDie(size, mem_type); in Map()
/freebsd-14.2/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dramoops.txt49 - unbuffered: deprecated, use mem_type instead. If present, and mem_type is
50 not specified, it is equivalent to mem_type = 1 and uses unbuffered mappings
51 to map the reserved region (defaults to buffered mappings mem_type = 0). If
52 both are specified -- "mem_type" overrides "unbuffered".
H A Dramoops.yaml106 Use mem_type instead. If present, and mem_type is not specified,
107 it is equivalent to mem_type = 1 and uses unbuffered mappings to map
108 the reserved region (defaults to buffered mappings mem_type = 0).
109 If both are specified -- "mem_type" overrides "unbuffered".
/freebsd-14.2/sys/dev/ixl/
H A Di40e_hmc.c57 enum i40e_memory_type mem_type; in i40e_add_sd_table_entry() local
77 mem_type = i40e_mem_pd; in i40e_add_sd_table_entry()
80 mem_type = i40e_mem_bp_jumbo; in i40e_add_sd_table_entry()
85 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, in i40e_add_sd_table_entry()
/freebsd-14.2/sys/contrib/dev/athk/ath10k/
H A Dqmi_wlfw_v01.h482 u32 mem_type; member
501 u32 mem_type; member
H A Dqmi_wlfw_v01.c1572 mem_type),
1644 mem_type),
/freebsd-14.2/sys/contrib/xen/hvm/
H A Ddm_op.h299 uint16_t mem_type; member
H A Dhvm_op.h178 uint16_t mem_type; member
/freebsd-14.2/sys/dev/smartpqi/
H A Dsmartpqi_request.c351 aio_req->cmd_flags.mem_type = 0; in pqisrc_build_aio_common()
422 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type); in pqisrc_show_aio_common()
476 aio_req->cmd_flags.mem_type = 0; in pqisrc_build_aio_R1_write()
544 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type); in pqisrc_show_aio_R1_write()
622 aio_req->cmd_flags.mem_type = 0; in pqisrc_build_aio_R5or6_write()
698 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type); in pqisrc_show_aio_R5or6_write()
H A Dsmartpqi_structures.h668 uint8_t mem_type : 1; member
/freebsd-14.2/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c2463 static int get_payload_range(struct adapter *padap, u8 mem_type, in get_payload_range() argument
2503 if (mem_type < MEM_MC) { in get_payload_range()
2504 memcpy(&mem_region, &meminfo.avail[mem_type], in get_payload_range()
2513 mc_type = meminfo.avail[mem_type].base ? in get_payload_range()
2514 mem_type : mem_type - 1; in get_payload_range()
2547 struct cudbg_buffer *dbg_buff, u8 mem_type, in read_fw_mem() argument
2586 rc = get_payload_range(padap, mem_type, tot_len, in read_fw_mem()
2635 rc = t4_memory_rw(padap, MEMWIN_NIC, mem_type, bytes_read, in read_fw_mem()
/freebsd-14.2/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c3950 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) in mc7_init() argument
3966 const struct mc7_timing_params *p = &mc7_timings[mem_type]; in mc7_init()
4025 mc7_mode[mem_type]) || in mc7_init()
/freebsd-14.2/sys/contrib/rdma/krping/
H A Dkrping.c77 enum mem_type { enum