/freebsd-11-stable/sys/dev/drm2/ttm/ |
H A D | ttm_bo.c | 50 static inline int ttm_mem_type_from_flags(uint32_t flags, uint32_t *mem_type) argument 56 *mem_type = i; 62 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument 64 struct ttm_mem_type_manager *man = &bdev->man[mem_type]; 73 if (mem_type != TTM_PL_SYSTEM) 80 int i, ret, mem_type; local 87 &mem_type); 91 i, placement->placement[i], mem_type); 92 ttm_mem_type_debug(bo->bdev, mem_type); 170 man = &bdev->man[bo->mem.mem_type]; 860 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, bool interruptible, bool no_wait_gpu) argument 919 ttm_bo_mem_force_space(struct ttm_buffer_object *bo, uint32_t mem_type, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) argument 972 ttm_bo_mt_compatible(struct ttm_mem_type_manager *man, uint32_t mem_type, uint32_t proposed_placement, uint32_t *masked_placement) argument 1007 uint32_t mem_type = TTM_PL_SYSTEM; local 1362 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument 1390 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument 1420 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument [all...] |
H A D | ttm_bo_util.c | 52 if (old_mem->mem_type != TTM_PL_SYSTEM) { 57 old_mem->mem_type = TTM_PL_SYSTEM; 64 if (new_mem->mem_type != TTM_PL_SYSTEM) { 119 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 143 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 162 &bo->bdev->man[mem->mem_type]; 190 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 224 man = &bdev->man[mem->mem_type]; 298 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; 335 if ((old_mem->mem_type [all...] |
H A D | ttm_bo_api.h | 107 uint32_t mem_type; member in struct:ttm_mem_reg 557 * @mem_type: The memory type. 575 * @mem_type: The memory type. 598 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type); 604 * @mem_type: The memory 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];
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cpp | 44 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 47 MAP_PRIVATE | MAP_ANON, mem_type); 50 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report); 66 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 69 MAP_PRIVATE | MAP_ANON, mem_type); 74 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); 84 const char *mem_type) { 88 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); 103 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { argument 106 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, mem_type); 83 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument 124 char mem_type[40]; local [all...] |
H A D | sanitizer_rtems.cpp | 147 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 151 ReportMmapFailureAndDie(size, mem_type, "allocate", res, raw_report); 157 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 163 ReportMmapFailureAndDie(size, mem_type, "allocate", false); 171 const char *mem_type) { 177 ReportMmapFailureAndDie(size, mem_type, "align allocate", res, false); 183 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { argument 184 return MmapOrDie(size, mem_type, false); 170 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument
|
H A D | sanitizer_fuchsia.cpp | 164 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type, argument 172 ReportMmapFailureAndDie(size, mem_type, "zx_vmo_create", status, 176 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, 177 internal_strlen(mem_type)); 188 ReportMmapFailureAndDie(size, mem_type, "zx_vmar_map", status, 198 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 199 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true); 202 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { argument 203 return MmapOrDie(size, mem_type); 206 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 312 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument [all...] |
H A D | sanitizer_win.cpp | 122 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 125 ReportMmapFailureAndDie(size, mem_type, "allocate", 150 static void *ReturnNullptrOnOOMOrDie(uptr size, const char *mem_type, argument 155 ReportMmapFailureAndDie(size, mem_type, mmap_type, last_error); 158 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 161 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); 167 const char *mem_type) { 177 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate aligned"); 184 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); 197 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocat 166 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument 253 char mem_type[30]; local 285 char mem_type[30]; local 293 MmapNoReserveOrDie(uptr size, const char *mem_type) argument [all...] |
H A D | sanitizer_common.cpp | 36 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, argument 50 SanitizerToolName, mmap_type, size, size, mem_type, err);
|
H A D | sanitizer_common.h | 93 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false); 94 INLINE void *MmapOrDieQuietly(uptr size, const char *mem_type) { argument 95 return MmapOrDie(size, mem_type, /*raw_report*/ true); 100 void *MmapOrDieOnFatalError(uptr size, const char *mem_type); 105 void *MmapNoReserveOrDie(uptr size, const char *mem_type); 116 const char *mem_type); 268 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_object.h | 45 * radeon_mem_type_to_domain - return domain corresponding to mem_type 46 * @mem_type: ttm memory type 48 * Returns corresponding domain of the ttm mem_type 50 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) argument 52 switch (mem_type) { 120 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
|
H A D | radeon_ttm.c | 191 switch (bo->mem.mem_type) { 235 switch (old_mem->mem_type) { 243 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); 246 switch (new_mem->mem_type) { 254 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); 373 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { 377 if ((old_mem->mem_type == TTM_PL_TT && 378 new_mem->mem_type == TTM_PL_SYSTEM) || 379 (old_mem->mem_type == TTM_PL_SYSTEM && 380 new_mem->mem_type [all...] |
H A D | radeon_object.c | 562 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { 600 if (bo->mem.mem_type == TTM_PL_VRAM) { 619 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) argument 627 if (mem_type) 628 *mem_type = bo->tbo.mem.mem_type;
|
H A D | radeon_gart.c | 1126 if (mem->mem_type != TTM_PL_SYSTEM) { 1130 if (mem->mem_type == TTM_PL_TT) {
|
H A D | ni.c | 218 u32 mem_type, running, blackout = 0; local 249 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT; 252 if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) {
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | i40e_hmc.c | 58 enum i40e_memory_type mem_type; local 78 mem_type = i40e_mem_pd; 81 mem_type = i40e_mem_bp_jumbo; 86 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
|
/freebsd-11-stable/sys/dev/pdq/ |
H A D | if_fpa.c | 126 sc->mem_type = SYS_RES_MEMORY; 127 sc->mem = bus_alloc_resource_any(dev, sc->mem_type, &sc->mem_rid,
|
H A D | if_fea.c | 203 sc->mem_type = SYS_RES_MEMORY; 204 sc->mem = bus_alloc_resource_any(dev, sc->mem_type, &sc->mem_rid,
|
H A D | pdq_freebsd.h | 119 int mem_type; member in struct:_pdq_os_ctx_t
|
H A D | pdq_ifsubr.c | 535 bus_release_resource(dev, sc->mem_type, sc->mem_rid, sc->mem);
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm.h | 947 unsigned int mem_type; member in struct:drm_mm_type_arg 955 unsigned int mem_type; member in struct:drm_mm_init_arg 961 unsigned int mem_type; member in struct:drm_mm_info_arg
|
/freebsd-11-stable/sys/xen/interface/hvm/ |
H A D | hvm_op.h | 215 uint16_t mem_type; member in struct:xen_hvm_get_mem_type
|
/freebsd-11-stable/sys/arm/include/ |
H A D | pmap-v4.h | 86 enum mem_type { enum
|
/freebsd-11-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2454 * @mem_type (IN): EDC0, EDC1, MC/MC0/MC1. 2455 * @mem_tot_len (IN): total length of @mem_type memory region to read. 2460 * However, reading from the @mem_type region starts at 0 and not 2467 static int get_payload_range(struct adapter *padap, u8 mem_type, argument 2507 if (mem_type < MEM_MC) { 2508 memcpy(&mem_region, &meminfo.avail[mem_type], 2512 * base address for the specified @mem_type exists. 2517 mc_type = meminfo.avail[mem_type].base ? 2518 mem_type : mem_type 2550 read_fw_mem(struct cudbg_init *pdbg_init, struct cudbg_buffer *dbg_buff, u8 mem_type, unsigned long tot_len, struct cudbg_error *cudbg_err) argument [all...] |
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_request.c | 263 aio_req->mem_type = 0;
|