/freebsd-current/sys/dev/drm2/ttm/ |
H A D | ttm_bo.c | 48 static inline int ttm_mem_type_from_flags(uint32_t flags, uint32_t *mem_type) argument 54 *mem_type = i; 60 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument 62 struct ttm_mem_type_manager *man = &bdev->man[mem_type]; 71 if (mem_type != TTM_PL_SYSTEM) 78 int i, ret, mem_type; local 85 &mem_type); 89 i, placement->placement[i], mem_type); 90 ttm_mem_type_debug(bo->bdev, mem_type); 168 man = &bdev->man[bo->mem.mem_type]; 858 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, bool interruptible, bool no_wait_gpu) argument 917 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 970 ttm_bo_mt_compatible(struct ttm_mem_type_manager *man, uint32_t mem_type, uint32_t proposed_placement, uint32_t *masked_placement) argument 1005 uint32_t mem_type = TTM_PL_SYSTEM; local 1360 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument 1388 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument 1418 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument [all...] |
H A D | ttm_bo_util.c | 50 if (old_mem->mem_type != TTM_PL_SYSTEM) { 55 old_mem->mem_type = TTM_PL_SYSTEM; 62 if (new_mem->mem_type != TTM_PL_SYSTEM) { 117 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 141 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 160 &bo->bdev->man[mem->mem_type]; 188 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; 222 man = &bdev->man[mem->mem_type]; 296 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; 333 if ((old_mem->mem_type [all...] |
H A D | ttm_bo_api.h | 106 uint32_t mem_type; member in struct:ttm_mem_reg 556 * @mem_type: The memory type. 574 * @mem_type: The memory type. 597 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type); 603 * @mem_type: The memory type. 618 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
|
H A D | ttm_bo_vm.c | 111 &bdev->man[bo->mem.mem_type];
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cpp | 46 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 49 MAP_PRIVATE | MAP_ANON, mem_type); 52 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) { 93 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); 111 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { argument 114 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, mem_type); 83 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument 132 char mem_type[40]; local [all...] |
H A D | sanitizer_fuchsia.cpp | 186 static void *DoAnonymousMmapOrDie(uptr size, const char *mem_type, argument 194 ReportMmapFailureAndDie(size, mem_type, "zx_vmo_create", status, 198 _zx_object_set_property(vmo, ZX_PROP_NAME, mem_type, 199 internal_strlen(mem_type)); 208 ReportMmapFailureAndDie(size, mem_type, "zx_vmar_map", status, 218 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 219 return DoAnonymousMmapOrDie(size, mem_type, raw_report, true); 222 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { argument 223 return MmapOrDie(size, mem_type); 226 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 353 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument [all...] |
H A D | sanitizer_win.cpp | 139 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { argument 142 ReportMmapFailureAndDie(size, mem_type, "allocate", 167 static void *ReturnNullptrOnOOMOrDie(uptr size, const char *mem_type, argument 172 ReportMmapFailureAndDie(size, mem_type, mmap_type, last_error); 175 void *MmapOrDieOnFatalError(uptr size, const char *mem_type) { argument 178 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate"); 184 const char *mem_type) { 194 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocate aligned"); 201 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); 214 return ReturnNullptrOnOOMOrDie(size, mem_type, "allocat 183 MmapAlignedOrDieOnFatalError(uptr size, uptr alignment, const char *mem_type) argument 281 char mem_type[30]; local 313 char mem_type[30]; local 321 MmapNoReserveOrDie(uptr size, const char *mem_type) argument [all...] |
H A D | sanitizer_stack_store.h | 78 void *Map(uptr size, const char *mem_type);
|
H A D | sanitizer_common.cpp | 38 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, argument 51 mmap_type, size, size, mem_type, err); 56 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); 325 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
|
H A D | sanitizer_stack_store.cpp | 100 void *StackStore::Map(uptr size, const char *mem_type) { argument 102 return MmapNoReserveOrDie(size, mem_type);
|
/freebsd-current/sys/dev/ixl/ |
H A D | i40e_hmc.c | 57 enum i40e_memory_type mem_type; local 77 mem_type = i40e_mem_pd; 80 mem_type = i40e_mem_bp_jumbo; 85 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
|
/freebsd-current/sys/contrib/xen/hvm/ |
H A D | dm_op.h | 299 uint16_t mem_type; member in struct:xen_dm_op_set_mem_type
|
H A D | hvm_op.h | 178 uint16_t mem_type; member in struct:xen_hvm_get_mem_type
|
/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | qmi_wlfw_v01.h | 482 u32 mem_type; member in struct:wlfw_athdiag_read_req_msg_v01 501 u32 mem_type; member in struct:wlfw_athdiag_write_req_msg_v01
|
H A D | qmi_wlfw_v01.c | 1572 mem_type), 1644 mem_type),
|
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_request.c | 351 aio_req->cmd_flags.mem_type = 0; 422 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type); 476 aio_req->cmd_flags.mem_type = 0; 544 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type); 622 aio_req->cmd_flags.mem_type = 0; 698 DBG_INFO("%15s: 0x%x\n", "mem_type", aio_req->cmd_flags.mem_type);
|
H A D | smartpqi_structures.h | 668 uint8_t mem_type : 1; member in struct:iu_cmd_flags
|
/freebsd-current/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2449 * @mem_type (IN): EDC0, EDC1, MC/MC0/MC1. 2450 * @mem_tot_len (IN): total length of @mem_type memory region to read. 2455 * However, reading from the @mem_type region starts at 0 and not 2462 static int get_payload_range(struct adapter *padap, u8 mem_type, argument 2502 if (mem_type < MEM_MC) { 2503 memcpy(&mem_region, &meminfo.avail[mem_type], 2507 * base address for the specified @mem_type exists. 2512 mc_type = meminfo.avail[mem_type].base ? 2513 mem_type : mem_type 2545 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-current/sys/dev/cxgb/common/ |
H A D | cxgb_t3_hw.c | 3950 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) argument 3966 const struct mc7_timing_params *p = &mc7_timings[mem_type]; 4025 mc7_mode[mem_type]) ||
|
/freebsd-current/sys/contrib/rdma/krping/ |
H A D | krping.c | 77 enum mem_type { enum
|