HomeSort by: relevance | last modified time | path
    Searched refs:mem_type (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_object.h 68 static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type,
83 if (mem_type)
84 *mem_type = bo->tbo.mem.mem_type;
qxl_object.c 179 if (bo->tbo.mem.mem_type == TTM_PL_VRAM)
181 else if (bo->tbo.mem.mem_type == TTM_PL_PRIV)
217 if ((bo->tbo.mem.mem_type != TTM_PL_VRAM) &&
218 (bo->tbo.mem.mem_type != TTM_PL_PRIV))
qxl_ttm.c 121 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
131 switch (mem->mem_type) {
239 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) {
258 if (bo->mem.mem_type == TTM_PL_PRIV && qbo->surface_id)
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_posix.cc 45 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) {
52 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report);
68 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) {
77 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno);
87 const char *mem_type) {
91 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type);
106 void *MmapNoReserveOrDie(uptr size, const char *mem_type) {
115 ReportMmapFailureAndDie(size, mem_type, "allocate noreserve", reserrno);
131 char mem_type[40]; local in function:__sanitizer::MmapFixedImpl
132 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx"
    [all...]
sanitizer_rtems.cc 148 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) {
152 ReportMmapFailureAndDie(size, mem_type, "allocate", res, raw_report);
158 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) {
164 ReportMmapFailureAndDie(size, mem_type, "allocate", false);
172 const char *mem_type) {
178 ReportMmapFailureAndDie(size, mem_type, "align allocate", res, false);
184 void *MmapNoReserveOrDie(uptr size, const char *mem_type) {
185 return MmapOrDie(size, mem_type, false);
sanitizer_fuchsia.cc 160 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type,
168 ReportMmapFailureAndDie(size, mem_type, "zx_vmo_create", status,
172 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type,
173 internal_strlen(mem_type));
184 ReportMmapFailureAndDie(size, mem_type, "zx_vmar_map", status,
194 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) {
195 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true);
198 void *MmapNoReserveOrDie(uptr size, const char *mem_type) {
199 return MmapOrDie(size, mem_type);
202 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) {
    [all...]
sanitizer_win.cc 111 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) {
114 ReportMmapFailureAndDie(size, mem_type, "allocate",
139 static void *ReturnNullptrOnOOMOrDie(uptr size, const char *mem_type,
144 ReportMmapFailureAndDie(size, mem_type, mmap_type, last_error);
147 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) {
150 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate");
156 const char *mem_type) {
166 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate aligned");
173 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError());
186 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate aligned")
237 char mem_type[30]; local in function:__sanitizer::MmapFixedOrDie
268 char mem_type[30]; local in function:__sanitizer::MmapFixedOrDieOnFatalError
    [all...]
sanitizer_common.cc 37 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
51 SanitizerToolName, mmap_type, size, size, mem_type, err);
  /src/sys/external/bsd/drm2/dist/drm/ttm/
ttm_bo.c 92 uint32_t *mem_type)
100 *mem_type = pos - 1;
105 int mem_type)
107 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
116 if (mem_type != TTM_PL_SYSTEM)
124 int i, ret, mem_type; local in function:ttm_bo_mem_space_debug
131 &mem_type);
135 i, placement->placement[i].flags, mem_type);
136 ttm_mem_type_debug(bo->bdev, &p, mem_type);
208 man = &bdev->man[mem->mem_type];
1055 uint32_t mem_type = TTM_PL_SYSTEM; local in function:ttm_bo_mem_placement
    [all...]
ttm_bo_util.c 71 if (old_mem->mem_type != TTM_PL_SYSTEM) {
84 old_mem->mem_type = TTM_PL_SYSTEM;
91 if (new_mem->mem_type != TTM_PL_SYSTEM) {
144 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
168 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
187 &bo->bdev->man[mem->mem_type];
214 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
266 man = &bdev->man[mem->mem_type];
418 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type];
469 if ((old_mem->mem_type == new_mem->mem_type) &
    [all...]
  /src/sys/dev/pci/
if_ath_pci.c 159 pcireg_t mem_type; local in function:ath_pci_attach
176 mem_type = pci_mapreg_type(pc, pa->pa_tag, ATH_PCI_MMBA);
177 if (mem_type != PCI_MAPREG_TYPE_MEM &&
178 mem_type != PCI_MAPREG_MEM_TYPE_64BIT) {
180 (int)mem_type);
183 if (pci_mapreg_map(pa, ATH_PCI_MMBA, mem_type, 0, &psc->sc_iot,
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_object.h 37 * radeon_mem_type_to_domain - return domain corresponding to mem_type
38 * @mem_type: ttm memory type
40 * Returns corresponding domain of the ttm mem_type
42 static inline unsigned radeon_mem_type_to_domain(u32 mem_type)
44 switch (mem_type) {
124 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
radeon_object.c 61 unsigned mem_type, int sign)
66 switch (mem_type) {
88 radeon_update_memory_usage(bo, bo->tbo.mem.mem_type, -1);
419 if (bo->tbo.mem.mem_type == TTM_PL_VRAM)
571 radeon_mem_type_to_domain(bo->tbo.mem.mem_type);
776 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) {
808 radeon_update_memory_usage(rbo, bo->mem.mem_type, -1);
809 radeon_update_memory_usage(rbo, new_mem->mem_type, 1);
825 if (bo->mem.mem_type != TTM_PL_VRAM)
862 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait
    [all...]
radeon_ttm.c 156 switch (bo->mem.mem_type) {
234 switch (old_mem->mem_type) {
242 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type);
245 switch (new_mem->mem_type) {
253 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type);
375 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) {
379 if ((old_mem->mem_type == TTM_PL_TT &&
380 new_mem->mem_type == TTM_PL_SYSTEM) ||
381 (old_mem->mem_type == TTM_PL_SYSTEM &&
382 new_mem->mem_type == TTM_PL_TT))
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_object.c 73 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) {
77 } else if (bo->tbo.mem.mem_type == TTM_PL_TT) {
592 bo->tbo.mem.mem_type == TTM_PL_VRAM &&
919 uint32_t mem_type = bo->tbo.mem.mem_type; local in function:amdgpu_bo_pin_restricted
921 if (!(domain & amdgpu_mem_type_to_domain(mem_type)))
927 u64 domain_start = bo->tbo.bdev->man[mem_type].gpu_offset;
962 domain = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type);
1303 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type);
    [all...]
amdgpu_ttm.c 179 switch (bo->mem.mem_type) {
284 addr += bo->bdev->man[mem->mem_type].gpu_offset;
464 if (old_mem->mem_type == TTM_PL_VRAM &&
607 if (mem->mem_type == TTM_PL_SYSTEM ||
608 mem->mem_type == TTM_PL_TT)
610 if (mem->mem_type != TTM_PL_VRAM)
642 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) {
646 if ((old_mem->mem_type == TTM_PL_TT &&
647 new_mem->mem_type == TTM_PL_SYSTEM) ||
648 (old_mem->mem_type == TTM_PL_SYSTEM &
    [all...]
amdgpu_object.h 125 * amdgpu_mem_type_to_domain - return domain corresponding to mem_type
126 * @mem_type: ttm memory type
128 * Returns corresponding domain of the ttm mem_type
130 static inline unsigned amdgpu_mem_type_to_domain(u32 mem_type)
132 switch (mem_type) {
215 if (bo->tbo.mem.mem_type != TTM_PL_VRAM)
amdgpu_atomfirmware.c 191 u8 mem_type; local in function:amdgpu_atomfirmware_get_vram_info
216 mem_type = igp_info->v11.memorytype;
218 *vram_type = convert_atom_mem_type_to_vram_type(adev, mem_type);
237 mem_type = vram_module->v9.memory_type;
239 *vram_type = convert_atom_mem_type_to_vram_type(adev, mem_type);
257 mem_type = vram_module->v10.memory_type;
259 *vram_type = convert_atom_mem_type_to_vram_type(adev, mem_type);
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_bo.c 251 if (bo->mem.mem_type == TTM_PL_VRAM &&
323 if (bo->mem.mem_type == TTM_PL_VRAM) {
346 uint32_t old_mem_type = bo->mem.mem_type;
373 BUG_ON(ret != 0 || bo->mem.mem_type != old_mem_type);
1176 if (mem->mem_type == TTM_PL_VRAM || bo->mem.mem_type == TTM_PL_VRAM)
1184 if (mem->mem_type != VMW_PL_MOB && bo->mem.mem_type == VMW_PL_MOB)
vmwgfx_ttm_buffer.c 249 int mem_type; member in struct:vmw_ttm_tt
595 vmw_be->mem_type = bo_mem->mem_type;
597 switch (bo_mem->mem_type) {
623 switch (vmw_be->mem_type) {
804 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
814 switch (mem->mem_type) {
  /src/sys/external/bsd/drm2/dist/include/drm/ttm/
ttm_bo_api.h 116 uint32_t mem_type; member in struct:ttm_mem_reg
578 * @mem_type: The memory type.
596 * @mem_type: The memory type.
618 int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
624 * @mem_type: The memory type.
638 int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
  /src/sys/stand/efiboot/
boot.c 361 const char *mem_type = "<unknown>"; local in function:command_mem
363 mem_type = efi_memory_type[md->Type];
366 mem_type, md->PhysicalStart, md->PhysicalStart + (md->NumberOfPages * EFI_PAGE_SIZE) - 1,
  /src/sys/external/bsd/drm2/dist/drm/i915/
intel_memory_region.h 139 enum intel_memory_type mem_type);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_vmm.c 104 if (nvbo->bo.mem.mem_type != TTM_PL_SYSTEM &&
nouveau_bo.c 436 if (!(memtype & (1 << bo->mem.mem_type)) || evict) {
439 1 << bo->mem.mem_type, memtype);
466 switch (bo->mem.mem_type) {
504 switch (bo->mem.mem_type) {
813 switch (bo->mem.mem_type) {
1129 if (reg->mem_type == TTM_PL_TT)
1405 if (mem && new_reg->mem_type != TTM_PL_SYSTEM &&
1428 if (new_reg->mem_type != TTM_PL_VRAM)
1477 if (old_reg->mem_type == TTM_PL_SYSTEM && !bo->ttm) {
1486 if (new_reg->mem_type == TTM_PL_SYSTEM
    [all...]

Completed in 93 milliseconds

1 2 3