Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 238) sorted by relevance

12345678910

/linux/drivers/gpu/drm/
H A Ddrm_exec.c82 exec->objects = kvmalloc_objs(*exec->objects, nr); in drm_exec_init()
85 exec->max_objects = exec->objects ? nr : 0; in drm_exec_init()
102 kvfree(exec->objects); in drm_exec_fini()
145 tmp = kvrealloc(exec->objects, size + PAGE_SIZE, GFP_KERNEL); in drm_exec_obj_locked()
149 exec->objects = tmp; in drm_exec_obj_locked()
153 exec->objects[exec->num_objects++] = obj; in drm_exec_obj_locked()
262 if (exec->objects[i] == obj) { in drm_exec_unlock_obj()
265 exec->objects[i - 1] = exec->objects[i]; in drm_exec_unlock_obj()
319 struct drm_gem_object **objects, in drm_exec_prepare_array() argument
339 ret = drm_exec_prepare_obj(exec, objects[i], num_fences); in drm_exec_prepare_array()
H A Ddrm_lease.c348 struct drm_mode_object **objects, in validate_lease() argument
360 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
363 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
367 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
384 struct drm_mode_object **objects; in fill_object_idr() local
389 objects = kzalloc_objs(struct drm_mode_object *, object_count); in fill_object_idr()
390 if (!objects) in fill_object_idr()
396 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
399 if (!objects[o]) { in fill_object_idr()
404 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_evict.c40 struct list_head *objects) in quirk_add() argument
45 list_add(&obj->st_link, objects); in quirk_add()
48 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) in populate_ggtt() argument
71 quirk_add(obj, objects); in populate_ggtt()
111 LIST_HEAD(objects); in igt_evict_something()
116 err = populate_ggtt(ggtt, &objects); in igt_evict_something()
149 cleanup_objects(ggtt, &objects); in igt_evict_something()
159 LIST_HEAD(objects); in igt_overcommit()
166 err = populate_ggtt(ggtt, &objects); in igt_overcommit()
176 quirk_add(obj, &objects); in igt_overcommit()
[all …]
H A Di915_gem_gtt.c391 static void close_object_list(struct list_head *objects, in close_object_list() argument
397 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list()
422 LIST_HEAD(objects); in fill_hole()
448 list_add(&obj->st_link, &objects); in fill_hole()
459 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
499 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
538 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
578 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
624 close_object_list(&objects, vm); in fill_hole()
631 close_object_list(&objects, vm); in fill_hole()
[all …]
/linux/Documentation/admin-guide/mm/
H A Dshrinker_debugfs.rst48 3. *Count objects*
52 <cgroup inode id> <nr of objects on node 0> <nr of objects on node 1> ...
53 <cgroup inode id> <nr of objects on node 0> <nr of objects on node 1> ...
56 If there are no objects on all numa nodes, a line is omitted. If there
57 are no objects at all, the output might be empty.
106 4. *Scan objects*
110 <cgroup inode id> <numa id> <number of objects to scan>
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Doverview.rst26 network ports to create functional objects/devices such as network
29 which DPAA2 software drivers use to operate on DPAA2 objects.
71 DPIO objects.
76 The section provides a brief overview of some key DPAA2 objects.
77 A simple scenario is described illustrating the objects involved
84 types of DPAA2 objects. In the example diagram below there
85 are 8 objects of 5 types (DPMCP, DPIO, DPBP, DPNI, and DPMAC)
105 of the DPRC, discover the hardware objects present (including mappable
118 Hardware objects can be created and destroyed dynamically, providing
119 the ability to hot plug/unplug objects in and out of the DPRC.
[all …]
H A Dethernet-driver.rst30 Complex (MC) portals. MC abstracts most of these resources as DPAA2 objects
33 are treated as internal resources of other objects.
70 of DPCON objects, using DPIO portals for managing and communicating with the
106 all DPAA2 objects (and implicitly all DPAA2 kernel drivers) that work with data
161 DPNI objects (and the other DPAA2 objects needed for a network interface) can be
164 dynamically at runtime, via the DPAA2 objects APIs.
/linux/scripts/kconfig/
H A Dstreamline_config.pl145 my %objects;
338 if (defined($objects{$1})) {
339 @arr = @{$objects{$1}};
346 $objects{$1} = \@arr;
401 if (defined($objects{$module})) {
402 my @arr = @{$objects{$module}};
701 if (defined($objects{$module})) {
702 my @arr = @{$objects{$module}};
/linux/Documentation/dev-tools/
H A Dkmemleak.rst7 with the difference that the orphan objects are not freed but only
17 number of new unreferenced objects found. If the ``debugfs`` isn't already
37 Note that the orphan objects are listed in the order they were allocated
39 objects to be reported as orphan.
61 marking all current reported unreferenced objects grey,
62 or free all kmemleak objects if kmemleak has been disabled.
99 1. mark all objects as white (remaining white objects will later be
105 3. scan the gray objects for matching addresses (some white objects
108 4. the remaining white objects are considered orphan and reported via
123 'clear' command to clear all reported unreferenced objects from the
[all …]
/linux/Documentation/driver-api/acpi/
H A Dscan_handlers.rst13 is scanned in search of device objects that generally represent various pieces
16 and the hierarchy of those struct acpi_device objects reflects the namespace
17 layout (i.e. parent device objects in the namespace are represented by parent
18 struct acpi_device objects and analogously for their children). Those struct
19 acpi_device objects are referred to as "device nodes" in what follows, but they
20 should not be confused with struct device_node objects used by the Device Trees
21 parsing code (although their role is analogous to the role of those objects).
28 information from the device objects represented by them and populating them with
38 basis of the device node's hardware ID (HID). They are performed by objects
/linux/tools/build/Documentation/
H A DBuild.txt5 idea and the way how objects are built is the same.
7 Basically the user provides set of 'Build' files that list objects and
11 we setup source objects, but we support more. This allows one 'Build' file to
12 carry a sources list for multiple build objects.
46 The user supplies 'Build' makefiles that contains a objects list, and connects
64 only prepares proper objects to be compiled and grouped together.
86 which creates the following objects:
91 that contain request objects names in Build files.
166 $ make util/map.o # objects
/linux/Documentation/core-api/
H A Ddebug-objects.rst11 kernel objects and validate the operations on those.
15 - Activation of uninitialized objects
17 - Initialization of active objects
19 - Usage of freed/destroyed objects
62 tracking objects and the state of the internal tracking objects pool.
75 active and destroyed objects. When debugobjects detects an error, then
98 active and destroyed objects. When debugobjects detects an error, then
112 object returns. Otherwise we keep track of stale objects.
122 active and destroyed objects. When debugobjects detects an error, then
131 objects. The fixup function checks whether the object is valid and calls
[all …]
/linux/Documentation/networking/devlink/
H A Dnetdevsim.rst60 Rate objects
63 The ``netdevsim`` driver supports rate objects management, which includes:
65 - registering/unregistering leaf rate objects per VF devlink port;
66 - creation/deletion node rate objects;
78 Same parameters are exposed for leaf objects in corresponding ports directories.
/linux/drivers/bus/fsl-mc/
H A DKconfig15 DPAA2 objects (which are represented as Linux devices) and
16 binding objects to drivers.
23 configuring DPAA2 objects exported by the Management Complex.
/linux/Documentation/admin-guide/sysctl/
H A Duser.rst15 limits on the number of namespaces and other objects that have
19 malfunction and attempt to create a ridiculous number of objects,
24 The creation of per user per user namespace objects are charged to
28 The creation of objects is also charged to all of the users
33 This recursive counting of created objects ensures that creating a
/linux/tools/mm/
H A Dslabinfo.c36 unsigned long partial, objects, slabs, objects_partial, total_objects; member
382 return slab_size(s) - s->objects * s->object_size; in slab_waste()
562 s->name, s->aliases, s->order, s->objects); in report()
579 onoff(s->red_zone), s->objects * s->object_size); in report()
582 s->slabs * (page_size << s->order) - s->objects * s->object_size); in report()
585 (s->slab_size - s->object_size) * s->objects); in report()
659 s->name, s->objects, in slabcache()
667 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
670 s->slabs ? (s->objects * s->object_size * 100) / in slabcache()
730 if (s->objects > in slab_empty()
[all...]
/linux/include/drm/
H A Ddrm_exec.h47 struct drm_gem_object **objects; member
71 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj()
185 struct drm_gem_object **objects,
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-slab49 The alloc_fastpath file shows how many objects have been
73 was empty but there were objects available as the result of
94 The alloc_slowpath file shows how many objects have been
106 The cache_dma file is read-only and specifies whether objects
171 has been deactivated and contained free objects that were freed
204 slabs (not objects) are freed by rcu.
233 The free_fastpath file shows how many objects have been freed
244 The free_frozen file shows how many objects have been freed to
278 The free_slowpath file shows how many objects have been freed
290 objects are aligned on cachelines.
[all …]
/linux/lib/tests/
H A Dslub_kunit.c302 static struct test_kfree_rcu_struct *objects[NR_OBJECTS]; variable
326 objects[j] = kmalloc_obj(*objects[j], gfp); in test_kmalloc_and_friends()
327 if (!objects[j]) { in test_kmalloc_and_friends()
330 kfree(objects[j--]); in test_kmalloc_and_friends()
337 kfree_rcu(objects[j], rcu); in test_kmalloc_and_friends()
339 kfree(objects[j]); in test_kmalloc_and_friends()
/linux/Documentation/firmware-guide/acpi/
H A Dnamespace.rst17 The Linux ACPI subsystem converts ACPI namespace objects into a Linux
39 blocks that contain definitions of various objects, including ACPI
84 is a hierarchy of objects identified by names and paths.
196 objects for ACPI namespace objects representing devices, power resources
197 processors, thermal zones. Those objects are exported to user space via
235 The following rules apply when creating struct acpi_device objects on
261 struct acpi_device objects represented by the given row (xSDT means DSDT
269 is derived from the _HID/_CID identification objects present under
275 objects having bus_id of the "LNXxxxxx" form (pseudo devices), in
289 ACPI device (i.e. struct acpi_device) objects may be linked to other
[all …]
/linux/Documentation/iio/
H A Diio_dmabuf_api.rst15 can attach DMABUF objects (externally created) to an IIO buffer, and
19 objects between several interfaces, allowing it to transfer data in a
22 The userspace application can also memory-map the DMABUF objects, and
49 automatically detach all previously attached DMABUF objects.
/linux/mm/kfence/
H A Dkfence_test.c298 KUNIT_EXPECT_EQ(test, ((unsigned int)slab->objects), 1); in test_alloc()
556 void *objects[] = { in test_free_bulk() local
564 kmem_cache_free_bulk(test_cache, ARRAY_SIZE(objects), objects); in test_free_bulk()
763 void *objects[100]; in test_memcache_alloc_bulk() local
767 ARRAY_SIZE(objects), objects)) in test_memcache_alloc_bulk()
769 for (i = 0; i < ARRAY_SIZE(objects); i++) { in test_memcache_alloc_bulk()
770 if (is_kfence_address(objects[i])) { in test_memcache_alloc_bulk()
775 kmem_cache_free_bulk(test_cache, ARRAY_SIZE(objects), objects); in test_memcache_alloc_bulk()
/linux/mm/
H A Dslub.c4 * lockless freeing of objects to slabs in the slowpath.
82 * A. slab->freelist -> List of free objects in a slab
83 * B. slab->inuse -> Number of objects in use
84 * C. slab->objects -> Number of objects in slab
99 * slab->objects and slab->freelist == NULL) are not placed on any list.
109 * allocated objects will be simply leaked upon freeing instead of attempting
149 * node (where we want to avoid filling local sheaves with remote objects)
173 * cannot scan all objects.
238 /* Structure used to iterate over objects withi
444 void *objects[]; global() member
1710 inc_slabs_node(struct kmem_cache * s,int node,int objects) inc_slabs_node() argument
1717 dec_slabs_node(struct kmem_cache * s,int node,int objects) dec_slabs_node() argument
2068 inc_slabs_node(struct kmem_cache * s,int node,int objects) inc_slabs_node() argument
2070 dec_slabs_node(struct kmem_cache * s,int node,int objects) dec_slabs_node() argument
2432 __alloc_tagging_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) __alloc_tagging_slab_free_hook() argument
2456 alloc_tagging_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) alloc_tagging_slab_free_hook() argument
2491 alloc_tagging_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) alloc_tagging_slab_free_hook() argument
2533 memcg_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) memcg_slab_free_hook() argument
2621 memcg_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) memcg_slab_free_hook() argument
2921 void *objects[PCS_BATCH_MAX]; __sheaf_flush_main_batch() local
4109 struct llist_head objects; global() member
9242 unsigned int objects; cpu_partial_store() local
[all...]
/linux/tools/perf/Documentation/
H A DBuild.txt18 main makefile that triggers build of all perf objects including
28 makefiles that defines build objects
36 The Makefile.perf triggers the build framework for build objects:
39 resulting in following objects:
43 Those objects are then used in final linking:
/linux/Documentation/admin-guide/blockdev/drbd/
H A Ddata-structure-v9.rst15 The DRBD objects are interconnected to form a matrix as depicted below; a
39 The drbd_resource, drbd_connection, and drbd_device objects are reference
40 counted. The peer_device objects only serve to establish the links between

12345678910