Home
last modified time | relevance | path

Searched full:place (Results 1 – 25 of 2023) sorted by relevance

12345678910>>...81

/Linux-v6.6/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c36 const struct ttm_place *place, in i915_ttm_buddy_man_alloc() argument
47 lpfn = place->lpfn; in i915_ttm_buddy_man_alloc()
55 ttm_resource_init(bo, place, &bman_res->base); in i915_ttm_buddy_man_alloc()
59 if (place->flags & TTM_PL_FLAG_TOPDOWN) in i915_ttm_buddy_man_alloc()
62 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
75 if (place->fpfn + PFN_UP(bman_res->base.size) != place->lpfn && in i915_ttm_buddy_man_alloc()
76 place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
101 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
110 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
171 const struct ttm_place *place, in i915_ttm_buddy_man_intersects() argument
[all …]
Dintel_region_ttm.c204 struct ttm_place place = {}; in intel_region_ttm_resource_alloc() local
210 place.flags |= TTM_PL_FLAG_CONTIGUOUS; in intel_region_ttm_resource_alloc()
212 if (WARN_ON(overflows_type(offset >> PAGE_SHIFT, place.fpfn))) { in intel_region_ttm_resource_alloc()
216 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
217 if (WARN_ON(overflows_type(place.fpfn + (size >> PAGE_SHIFT), place.lpfn))) { in intel_region_ttm_resource_alloc()
221 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc()
224 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc()
226 place.fpfn = 0; in intel_region_ttm_resource_alloc()
227 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc()
231 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
[all …]
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/dynevent/
Dgeneric_clear_event.tc4 # requires: dynamic_events "place: [<module>:]<symbol>":README "place (kretprobe): [<module>:]<symb…
9 PLACE=$FUNCTION_FORK
12 echo "p:myevent1 $PLACE" >> dynamic_events
14 echo "r:myevent2 $PLACE" >> dynamic_events
25 echo "!p:myevent1 $PLACE" >> dynamic_events
36 echo "!r:myevent2 $PLACE" >> dynamic_events
Dadd_remove_kprobe.tc4 # requires: dynamic_events "place: [<module>:]<symbol>":README "place (kretprobe): [<module>:]<symb…
9 PLACE=$FUNCTION_FORK
11 echo "p:myevent1 $PLACE" >> dynamic_events
12 echo "r:myevent2 $PLACE" >> dynamic_events
27 echo "p:mygroup/ $PLACE" >> dynamic_events
Dclear_select_events.tc4 …equires: dynamic_events kprobe_events synthetic_events "place: [<module>:]<symbol>":README "place
9 PLACE=$FUNCTION_FORK
12 echo "p:myevent1 $PLACE" >> dynamic_events
14 echo "r:myevent2 $PLACE" >> dynamic_events
Dadd_remove_fprobe.tc9 PLACE=$FUNCTION_FORK
11 echo "f:myevent1 $PLACE" >> dynamic_events
12 echo "f:myevent2 $PLACE%return" >> dynamic_events
/Linux-v6.6/arch/arm64/kernel/
Dmodule.c160 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument
166 return val - (u64)place; in do_reloc()
168 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
177 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument
179 s64 sval = do_reloc(op, place, val); in reloc_data()
182 * The ELF psABI for AArch64 documents the 16-bit and 32-bit place in reloc_data()
195 *(s16 *)place = sval; in reloc_data()
211 *(s32 *)place = sval; in reloc_data()
227 *(s64 *)place = sval; in reloc_data()
241 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c108 * @place: placement flags and restrictions
115 const struct ttm_place *place, in amdgpu_gtt_mgr_new() argument
127 ttm_resource_init(tbo, place, &node->base); in amdgpu_gtt_mgr_new()
128 if (!(place->flags & TTM_PL_FLAG_TEMPORARY) && in amdgpu_gtt_mgr_new()
134 if (place->lpfn) { in amdgpu_gtt_mgr_new()
138 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new()
212 * @place: The place for the new allocation
219 const struct ttm_place *place, in amdgpu_gtt_mgr_intersects() argument
222 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_intersects()
230 * @place: The place for the new allocation
[all …]
Damdgpu_vram_mgr.c381 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_compatible() argument
390 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_intersects() argument
405 const struct ttm_place *place, in amdgpu_dummy_vram_mgr_new() argument
417 * @place: placement flags and restrictions
424 const struct ttm_place *place, in amdgpu_vram_mgr_new() argument
437 lpfn = (u64)place->lpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
441 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
447 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
464 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new()
474 if (place->flags & TTM_PL_FLAG_TOPDOWN) in amdgpu_vram_mgr_new()
[all …]
/Linux-v6.6/drivers/gpu/drm/ttm/
Dttm_range_manager.c60 const struct ttm_place *place, in ttm_range_man_alloc() argument
70 lpfn = place->lpfn; in ttm_range_man_alloc()
79 if (place->flags & TTM_PL_FLAG_TOPDOWN) in ttm_range_man_alloc()
82 ttm_resource_init(bo, place, &node->base); in ttm_range_man_alloc()
88 place->fpfn, lpfn, mode); in ttm_range_man_alloc()
118 const struct ttm_place *place, in ttm_range_man_intersects() argument
125 if (place->fpfn >= (node->start + num_pages) || in ttm_range_man_intersects()
126 (place->lpfn && place->lpfn <= node->start)) in ttm_range_man_intersects()
134 const struct ttm_place *place, in ttm_range_man_compatible() argument
140 if (node->start < place->fpfn || in ttm_range_man_compatible()
[all …]
Dttm_resource.c172 * @place: placement of the resource
178 const struct ttm_place *place, in ttm_resource_init() argument
185 res->mem_type = place->mem_type; in ttm_resource_init()
186 res->placement = place->flags; in ttm_resource_init()
193 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
227 const struct ttm_place *place, in ttm_resource_alloc() argument
231 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
234 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
265 * @place: The placement to test
268 * Test if @res intersects with @place and @size. Used for testing if evictions
[all …]
Dttm_bo.c172 * This is the place to put in driver specific hooks to release
483 * @place: the placement we need to make room for
488 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
500 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
516 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
542 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
543 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
591 const struct ttm_place *place, in ttm_mem_evict_first() argument
605 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
727 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
[all …]
/Linux-v6.6/include/drm/ttm/
Dttm_resource.h58 * @place: Placement details.
62 * by @man. Placement details if applicable are given by @place. If
76 const struct ttm_place *place,
96 * @place: Placement to check against.
99 * Test if @res intersects with @place + @size. Used to judge if
104 const struct ttm_place *place,
112 * @place: Placement to check against.
115 * Test if @res compatible with @place + @size. Used to check of
120 const struct ttm_place *place,
355 const struct ttm_place *place,
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_mem.c194 const struct ttm_place *place, in nouveau_mem_intersects() argument
200 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects()
201 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects()
209 const struct ttm_place *place, in nouveau_mem_compatible() argument
214 if (res->start < place->fpfn || in nouveau_mem_compatible()
215 (place->lpfn && (res->start + num_pages) > place->lpfn)) in nouveau_mem_compatible()
Dnouveau_ttm.c48 const struct ttm_place *place, in nouveau_manager_intersects() argument
51 return nouveau_mem_intersects(res, place, size); in nouveau_manager_intersects()
57 const struct ttm_place *place, in nouveau_manager_compatible() argument
60 return nouveau_mem_compatible(res, place, size); in nouveau_manager_compatible()
66 const struct ttm_place *place, in nouveau_vram_manager_new() argument
80 ttm_resource_init(bo, place, *res); in nouveau_vram_manager_new()
101 const struct ttm_place *place, in nouveau_gart_manager_new() argument
112 ttm_resource_init(bo, place, *res); in nouveau_gart_manager_new()
127 const struct ttm_place *place, in nv04_gart_manager_new() argument
140 ttm_resource_init(bo, place, *res); in nv04_gart_manager_new()
/Linux-v6.6/Documentation/hwmon/
Dk8temp.rst36 temp1_input temperature of Core 0 and "place" 0
37 temp2_input temperature of Core 0 and "place" 1
38 temp3_input temperature of Core 1 and "place" 0
39 temp4_input temperature of Core 1 and "place" 1
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c129 struct ttm_place *place, in i915_ttm_place_from_region() argument
134 memset(place, 0, sizeof(*place)); in i915_ttm_place_from_region()
135 place->mem_type = intel_region_to_ttm_type(mr); in i915_ttm_place_from_region()
141 place->flags |= TTM_PL_FLAG_CONTIGUOUS; in i915_ttm_place_from_region()
143 WARN_ON(overflows_type(offset >> PAGE_SHIFT, place->fpfn)); in i915_ttm_place_from_region()
144 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region()
145 WARN_ON(overflows_type(place->fpfn + (size >> PAGE_SHIFT), place->lpfn)); in i915_ttm_place_from_region()
146 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region()
149 place->flags |= TTM_PL_FLAG_TOPDOWN; in i915_ttm_place_from_region()
151 place->fpfn = 0; in i915_ttm_place_from_region()
[all …]
/Linux-v6.6/arch/sparc/kernel/
Divec.S5 * [high 32-bits] MMU Context Argument 0, place in %g5
6 * DATA 1: Address Argument 1, place in %g1
7 * DATA 2: Address Argument 2, place in %g7
/Linux-v6.6/include/uapi/linux/
Dcoda.h374 char *data; /* Place holder for data. */
380 caddr_t data; /* Place holder for data. */
427 int name; /* Place holder for data. */
445 int name; /* Place holder for data. */
459 int name; /* Place holder for data. */
470 struct CodaFid destFid; /* Directory in which to place link */
471 int tname; /* Place holder for data. */
497 int name; /* Place holder for data. */
511 int name; /* Place holder for data. */
540 caddr_t data; /* Place holder for data. */
/Linux-v6.6/drivers/net/ethernet/freescale/fman/
Dfman_sp.c31 /* this is the next free place in the array */ in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
36 /* find the right place for this poolId */ in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
38 /* move the pool_ids one place ahead in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
45 /* now k==j, this is the place for in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
/Linux-v6.6/Documentation/filesystems/
Dcoda.rst172 be able to retrieve and place messages and to be notified of the
196 Among these interfaces the VFS interface and the facility to place,
511 char *name; /* Place holder for data. */
673 char *name; /* Place holder for data. */
734 char *name; /* Place holder for data. */
779 ViceFid destFid; /* Directory in which to place link */
780 char *tname; /* Place holder for data. */
847 char *name; /* Place holder for data. */
879 char *name; /* Place holder for data. */
916 caddr_t data; /* Place holder for data. */
[all …]
/Linux-v6.6/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h37 dsll t1, NASID_SHFT # Shift text nasid into place
43 dsll t1, 6 # Get pfn into place
44 dsll t2, 6 # Get pfn into place
/Linux-v6.6/drivers/gpu/host1x/hw/
Dhw_host1x04_channel.h16 * and masked to place it at field <y> of register <x>. This value
25 * to place it at field <y> of register <x>. This value can be |'d
29 * <x> value 'r' after being shifted to place its LSB at bit 0.
Dhw_host1x01_channel.h16 * and masked to place it at field <y> of register <x>. This value
25 * to place it at field <y> of register <x>. This value can be |'d
29 * <x> value 'r' after being shifted to place its LSB at bit 0.
Dhw_host1x02_channel.h16 * and masked to place it at field <y> of register <x>. This value
25 * to place it at field <y> of register <x>. This value can be |'d
29 * <x> value 'r' after being shifted to place its LSB at bit 0.

12345678910>>...81