| /freebsd-12.1/sys/dev/drm2/ttm/ |
| H A D | ttm_bo.c | 56 *mem_type = i; in ttm_mem_type_from_flags() 80 int i, ret, mem_type; in ttm_bo_mem_space_debug() local 87 &mem_type); in ttm_bo_mem_space_debug() 943 mem->mem_type = mem_type; in ttm_bo_mem_force_space() 1017 &mem_type); in ttm_bo_mem_space() 1023 mem_type, in ttm_bo_mem_space() 1053 mem->mem_type = mem_type; in ttm_bo_mem_space() 1063 &mem_type); in ttm_bo_mem_space() 1070 mem_type, in ttm_bo_mem_space() 1086 mem->mem_type = mem_type; in ttm_bo_mem_space() [all …]
|
| H A D | ttm_bo_util.c | 52 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm() 57 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm() 64 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm() 119 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_reserve() 143 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_free() 162 &bo->bdev->man[mem->mem_type]; in ttm_mem_io_reserve_vm() 190 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_reg_ioremap() 224 man = &bdev->man[mem->mem_type]; in ttm_mem_reg_iounmap() 335 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy() 534 &bo->bdev->man[bo->mem.mem_type]; in ttm_bo_kmap() [all …]
|
| H A D | ttm_bo_api.h | 107 uint32_t mem_type; member 598 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type); 619 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
|
| H A D | ttm_bo_vm.c | 113 &bdev->man[bo->mem.mem_type]; in ttm_bo_vm_fault()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix.cc | 45 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument 52 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report); in MmapOrDie() 68 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 77 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapOrDieOnFatalError() 87 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 91 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); in MmapAlignedOrDieOnFatalError() 106 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument 115 ReportMmapFailureAndDie(size, mem_type, "allocate noreserve", reserrno); in MmapNoReserveOrDie() 131 char mem_type[40]; in MmapFixedImpl() local 132 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedImpl() [all …]
|
| H A D | sanitizer_fuchsia.cc | 160 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type, in DoAnonymousMmapOrDie() argument 172 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in DoAnonymousMmapOrDie() 173 internal_strlen(mem_type)); in DoAnonymousMmapOrDie() 195 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true); in MmapOrDie() 198 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument 199 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie() 202 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 203 return DoAnonymousMmapOrDie(size, mem_type, false, false); in MmapOrDieOnFatalError() 307 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 319 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, in MmapAlignedOrDieOnFatalError() [all …]
|
| H A D | sanitizer_win.cc | 114 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie() 147 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 150 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapOrDieOnFatalError() 156 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 237 char mem_type[30]; in MmapFixedOrDie() local 238 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie() 268 char mem_type[30]; in MmapFixedOrDieOnFatalError() local 269 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDieOnFatalError() 271 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); in MmapFixedOrDieOnFatalError() 276 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument [all …]
|
| H A D | sanitizer_rtems.cc | 148 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument 152 ReportMmapFailureAndDie(size, mem_type, "allocate", res, raw_report); in MmapOrDie() 158 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { in MmapOrDieOnFatalError() argument 164 ReportMmapFailureAndDie(size, mem_type, "allocate", false); in MmapOrDieOnFatalError() 172 const char *mem_type) { in MmapAlignedOrDieOnFatalError() argument 178 ReportMmapFailureAndDie(size, mem_type, "align allocate", res, false); in MmapAlignedOrDieOnFatalError() 184 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument 185 return MmapOrDie(size, mem_type, false); in MmapNoReserveOrDie()
|
| H A D | sanitizer_common.h | 94 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false); 95 INLINE void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument 96 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly() 101 void *MmapOrDieOnFatalError(uptr size, const char *mem_type); 104 void *MmapNoReserveOrDie(uptr size, const char *mem_type); 114 const char *mem_type); 267 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
|
| H A D | sanitizer_common.cc | 37 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, in ReportMmapFailureAndDie() argument 51 SanitizerToolName, mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
|
| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | radeon_ttm.c | 191 switch (bo->mem.mem_type) { in radeon_evict_flags() 235 switch (old_mem->mem_type) { in radeon_move_blit() 246 switch (new_mem->mem_type) { in radeon_move_blit() 377 if ((old_mem->mem_type == TTM_PL_TT && in radeon_bo_move() 378 new_mem->mem_type == TTM_PL_SYSTEM) || in radeon_bo_move() 379 (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 380 new_mem->mem_type == TTM_PL_TT)) { in radeon_bo_move() 391 if (old_mem->mem_type == TTM_PL_VRAM && in radeon_bo_move() 392 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move() 396 new_mem->mem_type == TTM_PL_VRAM) { in radeon_bo_move() [all …]
|
| H A D | radeon_object.h | 50 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) in radeon_mem_type_to_domain() argument 52 switch (mem_type) { in radeon_mem_type_to_domain() 120 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
|
| H A D | radeon_object.c | 562 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling() 600 if (bo->mem.mem_type == TTM_PL_VRAM) { in radeon_bo_fault_reserve_notify() 619 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) in radeon_bo_wait() argument 627 if (mem_type) in radeon_bo_wait() 628 *mem_type = bo->tbo.mem.mem_type; in radeon_bo_wait()
|
| H A D | radeon_gart.c | 1126 if (mem->mem_type != TTM_PL_SYSTEM) { in radeon_vm_bo_update_pte() 1130 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update_pte()
|
| H A D | ni.c | 218 u32 mem_type, running, blackout = 0; in ni_mc_load_microcode() local 249 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT; in ni_mc_load_microcode() 252 if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) { in ni_mc_load_microcode()
|
| H A D | radeon_pm.c | 145 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
|
| /freebsd-12.1/sys/dev/ixl/ |
| H A D | i40e_hmc.c | 58 enum i40e_memory_type mem_type; in i40e_add_sd_table_entry() local 78 mem_type = i40e_mem_pd; in i40e_add_sd_table_entry() 81 mem_type = i40e_mem_bp_jumbo; in i40e_add_sd_table_entry() 86 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, in i40e_add_sd_table_entry()
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | drm.h | 947 unsigned int mem_type; member 955 unsigned int mem_type; member 961 unsigned int mem_type; member
|
| /freebsd-12.1/sys/xen/interface/hvm/ |
| H A D | hvm_op.h | 215 uint16_t mem_type; member
|
| /freebsd-12.1/sys/arm/include/ |
| H A D | pmap-v4.h | 63 enum mem_type { enum
|
| /freebsd-12.1/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg_lib.c | 2467 static int get_payload_range(struct adapter *padap, u8 mem_type, in get_payload_range() argument 2507 if (mem_type < MEM_MC) { in get_payload_range() 2508 memcpy(&mem_region, &meminfo.avail[mem_type], in get_payload_range() 2517 mc_type = meminfo.avail[mem_type].base ? in get_payload_range() 2518 mem_type : mem_type - 1; in get_payload_range() 2551 struct cudbg_buffer *dbg_buff, u8 mem_type, in read_fw_mem() argument 2590 rc = get_payload_range(padap, mem_type, tot_len, in read_fw_mem() 2639 rc = t4_memory_rw(padap, MEMWIN_NIC, mem_type, bytes_read, in read_fw_mem()
|
| /freebsd-12.1/sys/dev/smartpqi/ |
| H A D | smartpqi_request.c | 263 aio_req->mem_type = 0; in pqisrc_build_aio_io()
|
| H A D | smartpqi_structures.h | 593 uint8_t mem_type : 1; member
|
| /freebsd-12.1/sys/dev/cxgb/common/ |
| H A D | cxgb_t3_hw.c | 3953 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) in mc7_init() argument 3969 const struct mc7_timing_params *p = &mc7_timings[mem_type]; in mc7_init() 4028 mc7_mode[mem_type]) || in mc7_init()
|
| /freebsd-12.1/sys/contrib/rdma/krping/ |
| H A D | krping.c | 79 enum mem_type { enum
|