Home
last modified time | relevance | path

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

12345678910>>...104

/Linux-v6.1/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 + bman_res->base.num_pages != 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()
142 if (place->lpfn - place->fpfn == n_pages) in i915_ttm_buddy_man_alloc()
[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 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
213 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc()
216 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc()
218 place.fpfn = 0; in intel_region_ttm_resource_alloc()
219 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
226 ret = man->func->alloc(man, &mock_bo, &place, &res); in intel_region_ttm_resource_alloc()
/Linux-v6.1/arch/arm64/kernel/
Dmodule.c77 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument
83 return val - (u64)place; in do_reloc()
85 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
94 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument
96 s64 sval = do_reloc(op, place, val); in reloc_data()
99 * The ELF psABI for AArch64 documents the 16-bit and 32-bit place in reloc_data()
112 *(s16 *)place = sval; in reloc_data()
128 *(s32 *)place = sval; in reloc_data()
144 *(s64 *)place = sval; in reloc_data()
158 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument
[all …]
/Linux-v6.1/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
/Linux-v6.1/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.c378 * @place: placement flags and restrictions
385 const struct ttm_place *place, in amdgpu_vram_mgr_new() argument
398 lpfn = (u64)place->lpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
402 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
408 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
425 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new()
435 if (place->flags & TTM_PL_FLAG_TOPDOWN) in amdgpu_vram_mgr_new()
461 if (fpfn + size != (u64)place->lpfn << PAGE_SHIFT) { in amdgpu_vram_mgr_new()
466 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
728 * @place: The place to test against
[all …]
/Linux-v6.1/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.c168 * @place: placement of the resource
174 const struct ttm_place *place, in ttm_resource_init() argument
181 res->mem_type = place->mem_type; in ttm_resource_init()
182 res->placement = place->flags; in ttm_resource_init()
189 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
223 const struct ttm_place *place, in ttm_resource_alloc() argument
227 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
230 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
261 * @place: The placement to test
264 * Test if @res intersects with @place and @size. Used for testing if evictions
[all …]
Dttm_bo.c173 * This is the place to put in driver specific hooks to release
511 /* try and move to final place now. */ in ttm_bo_evict()
519 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
531 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
547 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
566 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
567 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
615 const struct ttm_place *place, in ttm_mem_evict_first() argument
629 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
751 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
[all …]
/Linux-v6.1/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.1/drivers/gpu/drm/nouveau/
Dnouveau_mem.c193 const struct ttm_place *place, in nouveau_mem_intersects() argument
199 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects()
200 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects()
208 const struct ttm_place *place, in nouveau_mem_compatible() argument
213 if (res->start < place->fpfn || in nouveau_mem_compatible()
214 (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.1/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.1/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.1/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.1/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.1/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 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region()
144 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region()
147 place->flags |= TTM_PL_FLAG_TOPDOWN; in i915_ttm_place_from_region()
149 place->fpfn = 0; in i915_ttm_place_from_region()
150 place->lpfn = mr->io_size >> PAGE_SHIFT; in i915_ttm_place_from_region()
361 const struct ttm_place *place) in i915_ttm_eviction_valuable() argument
[all …]
/Linux-v6.1/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.1/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.1/drivers/gpu/host1x/hw/
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.
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_host1x05_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>>...104