Home
last modified time | relevance | path

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

12345678910>>...67

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_resource_test.c21 struct ttm_place *place; member
58 priv->place = ttm_place_kunit_init(test, mem_type, flags); in ttm_init_test_mocks()
113 struct ttm_place *place; in ttm_resource_init_basic() local
119 place = priv->place; in ttm_resource_init_basic()
127 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_basic()
132 ttm_resource_init(bo, place, res); in ttm_resource_init_basic()
136 KUNIT_ASSERT_EQ(test, res->mem_type, place->mem_type); in ttm_resource_init_basic()
137 KUNIT_ASSERT_EQ(test, res->placement, place->flags); in ttm_resource_init_basic()
156 struct ttm_place *place; in ttm_resource_init_pinned() local
161 place = priv->place; in ttm_resource_init_pinned()
[all …]
H A Dttm_bo_validate_test.c113 struct ttm_place *place; in ttm_bo_init_reserved_sys_man() local
119 place = ttm_place_kunit_init(test, TTM_PL_SYSTEM, 0); in ttm_bo_init_reserved_sys_man()
120 placement = ttm_placement_kunit_init(test, place, 1); in ttm_bo_init_reserved_sys_man()
160 struct ttm_place *place; in ttm_bo_init_reserved_mock_man() local
168 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_init_reserved_mock_man()
169 placement = ttm_placement_kunit_init(test, place, 1); in ttm_bo_init_reserved_mock_man()
201 struct ttm_place *place; in ttm_bo_init_reserved_resv() local
208 place = ttm_place_kunit_init(test, TTM_PL_SYSTEM, 0); in ttm_bo_init_reserved_resv()
209 placement = ttm_placement_kunit_init(test, place, 1); in ttm_bo_init_reserved_resv()
280 struct ttm_place *place; in ttm_bo_validate_invalid_placement() local
[all …]
H A Dttm_bo_test.c243 struct ttm_place *place; in ttm_bo_unreserve_basic() local
249 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_basic()
261 err = ttm_resource_alloc(bo, place, &res1, NULL); in ttm_bo_unreserve_basic()
267 ttm_resource_alloc(bo, place, &res2, NULL); in ttm_bo_unreserve_basic()
286 struct ttm_place *place; in ttm_bo_unreserve_pinned() local
298 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_pinned()
303 err = ttm_resource_alloc(bo, place, &res1, NULL); in ttm_bo_unreserve_pinned()
308 err = ttm_resource_alloc(bo, place, &res2, NULL); in ttm_bo_unreserve_pinned()
329 struct ttm_place *place; in ttm_bo_unreserve_bulk() local
337 place = ttm_place_kunit_init(test, mem_type, 0); in ttm_bo_unreserve_bulk()
[all …]
/linux/arch/arm64/kernel/
H A Dmodule.c35 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument
41 return val - (u64)place; in do_reloc()
43 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
52 #define WRITE_PLACE(place, val, mod) do { \ argument
56 *(place) = __val; \
58 aarch64_insn_copy(place, &(__val), sizeof(*place)); \
61 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len, in reloc_data() argument
64 s64 sval = do_reloc(op, place, val); in reloc_data()
67 * The ELF psABI for AArch64 documents the 16-bit and 32-bit place in reloc_data()
80 WRITE_PLACE((s16 *)place, sval, me); in reloc_data()
[all …]
/linux/drivers/gpu/drm/i915/
H A 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->flags & TTM_PL_FLAG_CONTIGUOUS) in i915_ttm_buddy_man_alloc()
65 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
92 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
154 const struct ttm_place *place, in i915_ttm_buddy_man_intersects() argument
162 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects()
165 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_intersects()
[all …]
H A 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(resource_size(&mem->io) >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc()
231 place.lpfn = resource_size(&mem->io) >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A 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
H A 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
H A 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
H A Dadd_remove_fprobe.tc9 PLACE=$FUNCTION_FORK
17 echo "f:myevent1 $PLACE" >> dynamic_events
19 echo "f:myevent2 $PLACE%return" >> dynamic_events
32 grep -q $PLACE enabled_functions
74 echo "f:myevent4 $PLACE" >> dynamic_events
/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
210 * @place: The place for the new allocation
217 const struct ttm_place *place, in amdgpu_gtt_mgr_intersects() argument
220 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_intersects()
228 * @place: The place for the new allocation
[all …]
/linux/rust/pin-init/
H A DREADME.md23 Library to safely and fallibly initialize pinned `struct`s using in-place constructors.
27 It also allows in-place initialization of big `struct`s that would otherwise produce a stack
33 There are cases when you want to in-place initialize a struct. For example when it is very big
40 This library allows you to do in-place initialization safely.
63 To initialize a `struct` with an in-place constructor you will need two things:
64 - an in-place constructor,
68 To get an in-place constructor there are generally three options:
69 - directly creating an in-place constructor using the [`pin_init!`] macro,
70 - a custom function/macro returning an in-place constructor provided by someone else,
73 Aside from pinned initialization, this library also supports in-place constructio
[all...]
/linux/arch/arm64/kernel/pi/
H A Drelocate.c17 u64 *place = NULL; in relocate_kernel() local
55 place = (u64 *)(*relr + offset); in relocate_kernel()
56 *place++ += offset; in relocate_kernel()
58 for (u64 *p = place, r = *relr >> 1; r; p++, r >>= 1) in relocate_kernel()
61 place += 63; in relocate_kernel()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_mem.c192 const struct ttm_place *place, in nouveau_mem_intersects() argument
198 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects()
199 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects()
207 const struct ttm_place *place, in nouveau_mem_compatible() argument
212 if (res->start < place->fpfn || in nouveau_mem_compatible()
213 (place->lpfn && (res->start + num_pages) > place->lpfn)) in nouveau_mem_compatible()
/linux/Documentation/hwmon/
H A 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/include/uapi/linux/
H A 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/arch/sparc/kernel/
H A 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/drivers/net/ethernet/freescale/fman/
H A 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/arch/mips/include/asm/mach-ip27/
H A 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/arch/m68k/fpsp040/
H A Dgen_except.S79 orl %d1,%d0 |put it in the right place
83 orl %d1,%d0 |put them in the right place
198 orl %d1,%d0 |put it in the right place
202 orl %d1,%d0 |put them in the right place
310 orl %d1,%d0 |put it in the right place
314 orl %d1,%d0 |put them in the right place
432 movew #8,%d1 | place unimp frame instead
447 movew #10,%d1 | place unimp frame instead
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dphy_common.c392 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace() local
395 for (place = 14; place < ARRAY_SIZE(channel_all); place++) { in _rtl92c_phy_get_rightchnlplace()
396 if (channel_all[place] == chnl) { in _rtl92c_phy_get_rightchnlplace()
397 place++; in _rtl92c_phy_get_rightchnlplace()
402 return place; in _rtl92c_phy_get_rightchnlplace()
488 u8 place; in rtl92d_get_rightchnlplace_for_iqk() local
491 for (place = 14; place < ARRAY_SIZE(channel_all); place++) { in rtl92d_get_rightchnlplace_for_iqk()
492 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk()
493 return place - 13; in rtl92d_get_rightchnlplace_for_iqk()
/linux/drivers/gpu/host1x/hw/
H A 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.
H A 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.
H A 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.
H A 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.

12345678910>>...67