Searched refs:placement (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_bo.c78 struct ttm_placement *placement)
85 for (i = 0; i < placement->num_placement; i++) {
86 ret = ttm_mem_type_from_flags(placement->placement[i],
90 printf(" placement[%d]=0x%08X (%d)\n",
91 i, placement->placement[i], mem_type);
166 if (!(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) {
425 ((mem->placement & bo->mem.placement
77 ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument
810 struct ttm_placement placement; local
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
999 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) argument
1106 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) argument
1147 ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_mem_reg *mem) argument
1167 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) argument
1208 ttm_bo_check_placement(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument
1217 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct vm_object *persistent_swap_storage, size_t acc_size, struct sg_table *sg, void (*destroy) (struct ttm_buffer_object *)) argument
1338 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct vm_object *persistent_swap_storage, struct ttm_buffer_object **p_bo) argument
[all...]
H A Dttm_bo_api.h48 * @placement: preferred placements
52 * Structure indicating the placement you request for an object.
58 const uint32_t *placement; member in struct:ttm_placement
74 * Structure indicating the bus placement of an object.
94 * @placement: Placement flags.
97 * Structure indicating the placement and space resources used by a
108 uint32_t placement; member in struct:ttm_mem_reg
151 * @mem: structure describing current placement.
173 * @cur_placement: Hint of current placement.
175 * Base class for TTM buffer object, that deals with data placement an
[all...]
H A Dttm_bo_manager.c55 struct ttm_placement *placement,
64 lpfn = placement->lpfn;
75 placement->fpfn, lpfn, 1);
82 placement->fpfn,
53 ttm_bo_man_get_node(struct ttm_mem_type_manager *man, struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_mem_reg *mem) argument
H A Dttm_bo_driver.h182 * @placement: Placement details.
187 * applicable are given by @placement. If successful,
206 struct ttm_placement *placement,
306 * @evict_flags: Callback to obtain placement flags when a buffer is evicted.
360 * @flags: new placement of the rebound buffer object.
382 struct ttm_placement *placement);
670 * @placement: Flag indicating the desired caching policy.
679 extern int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement);
704 * @proposed_placement: Proposed new placement for the buffer object.
710 * the placement flag
[all...]
H A Dttm_bo_util.c55 ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM,
60 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
205 mem->bus.size, (mem->placement & TTM_PL_FLAG_WC) ?
344 vm_memattr_t prot = ttm_io_prot(old_mem->placement);
348 vm_memattr_t prot = ttm_io_prot(new_mem->placement);
391 * holding the data of @bo with the old placement.
396 * it can be destroyed, releasing the space of the old placement.
471 (mem->placement & TTM_PL_FLAG_WC) ?
496 if (num_pages == 1 && (mem->placement & TTM_PL_FLAG_CACHED)) {
511 prot = (mem->placement
[all...]
H A Dttm_tt.c148 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) argument
152 if (placement & TTM_PL_FLAG_WC)
154 else if (placement & TTM_PL_FLAG_UNCACHED)
H A Dttm_bo_vm.c222 pmap_page_set_memattr(m, ttm_io_prot(bo->mem.placement));
231 (bo->mem.placement & TTM_PL_FLAG_CACHED) ?
232 VM_MEMATTR_WRITE_BACK : ttm_io_prot(bo->mem.placement));
/freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/
H A DDriver.h46 void WriteCommandsForSourcing(CommandPlacement placement,
50 void AddInitialCommand(std::string command, CommandPlacement placement,
H A DDriver.cpp117 CommandPlacement placement,
120 switch (placement) {
148 void Driver::WriteCommandsForSourcing(CommandPlacement placement, argument
151 switch (placement) {
116 AddInitialCommand(std::string command, CommandPlacement placement, bool is_file, SBError &error) argument
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_object.c90 rbo->placement.fpfn = 0;
91 rbo->placement.lpfn = 0;
92 rbo->placement.placement = rbo->placements;
93 rbo->placement.busy_placement = rbo->placements;
113 rbo->placement.num_placement = c;
114 rbo->placement.num_busy_placement = c;
159 &bo->placement, page_align, !kernel, NULL,
254 bo->placement.lpfn = bo->rdev->mc.visible_vram_size >> PAGE_SHIFT;
259 if (!bo->placement
[all...]
H A Dradeon_ttm.c176 struct ttm_placement *placement)
182 placement->fpfn = 0;
183 placement->lpfn = 0;
184 placement->placement = &placements;
185 placement->busy_placement = &placements;
186 placement->num_placement = 1;
187 placement->num_busy_placement = 1;
202 *placement = rbo->placement;
175 radeon_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument
285 struct ttm_placement placement; local
331 struct ttm_placement placement; local
[all...]
H A Dradeon.h339 struct ttm_placement placement; member in struct:radeon_bo
/freebsd-11-stable/contrib/gcc/cp/
H A Dinit.c1552 placement new operator. This routine performs no semantic checks;
1556 build_raw_new_expr (tree placement, tree type, tree nelts, tree init,
1561 new_expr = build4 (NEW_EXPR, build_pointer_type (type), placement, type,
1575 build_new_1 (tree placement, tree type, tree nelts, tree init,
1612 /* True if the function we are calling is a placement allocation
1706 if (! placement && TYPE_FOR_JAVA (elt_type))
1754 args = tree_cons (NULL_TREE, size, placement);
1783 alloc_call = build_operator_new_call (fnname, placement,
1810 /* Now, check to see if this function is actually a placement
1817 there is no explicit placement argumen
1554 build_raw_new_expr(tree placement, tree type, tree nelts, tree init, int use_global_new) argument
1573 build_new_1(tree placement, tree type, tree nelts, tree init, bool globally_qualified_p) argument
2068 build_new(tree placement, tree type, tree nelts, tree init, int use_global_new) argument
[all...]
H A Dcall.c2924 tree placement = TREE_CHAIN (args); local
2926 looked at the placement expression, rather than the
2928 if (placement && !TREE_CHAIN (placement)
2929 && same_type_p (TREE_TYPE (TREE_VALUE (placement)),
4001 or (void *, size_t) is accepted. For a placement delete, only an exact
4002 match with the placement new is accepted.
4009 PLACEMENT is the corresponding placement new call, or NULL_TREE.
4019 bool global_p, tree placement,
4039 the lookup selects a placement deallocatio
4018 build_op_delete_call(enum tree_code code, tree addr, tree size, bool global_p, tree placement, tree alloc_fn) argument
[all...]
H A Dparser.c5386 :: [opt] new new-placement [opt] new-type-id new-initializer [opt]
5387 :: [opt] new new-placement [opt] ( type-id ) new-initializer [opt]
5395 tree placement;
5407 /* There's no easy way to tell a new-placement from the
5410 /* Look for a new-placement. */
5411 placement = cp_parser_new_placement (parser);
5412 /* If that didn't work out, there's no new-placement. */
5414 placement = NULL_TREE;
5453 return build_new (placement, type, nelts, initializer, global_scope_p);
5456 /* Parse a new-placement
5393 tree placement; local
[all...]

Completed in 236 milliseconds