| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_region.c | 18 mutex_lock(&mem->objects.lock); in i915_gem_object_init_memory_region() 19 list_add(&obj->mm.region_link, &mem->objects.list); in i915_gem_object_init_memory_region() 20 mutex_unlock(&mem->objects.lock); in i915_gem_object_init_memory_region() 27 mutex_lock(&mem->objects.lock); in i915_gem_object_release_memory_region() 29 mutex_unlock(&mem->objects.lock); in i915_gem_object_release_memory_region() 169 mutex_lock(&mr->objects.lock); in i915_gem_process_region() 173 obj = list_first_entry_or_null(&mr->objects.list, typeof(*obj), in i915_gem_process_region() 187 mutex_unlock(&mr->objects.lock); in i915_gem_process_region() 200 mutex_lock(&mr->objects.lock); in i915_gem_process_region() 204 list_splice_tail(&still_in_list, &mr->objects.list); in i915_gem_process_region() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_gem_evict.c | 40 struct list_head *objects) in quirk_add() argument 45 list_add(&obj->st_link, objects); in quirk_add() 71 quirk_add(obj, objects); in populate_ggtt() 111 LIST_HEAD(objects); in igt_evict_something() 159 LIST_HEAD(objects); in igt_overcommit() 176 quirk_add(obj, &objects); in igt_overcommit() 198 LIST_HEAD(objects); in igt_evict_for_vma() 253 LIST_HEAD(objects); in igt_evict_for_cache_color() 271 quirk_add(obj, &objects); in igt_evict_for_cache_color() 287 quirk_add(obj, &objects); in igt_evict_for_cache_color() [all …]
|
| H A D | intel_memory_region.c | 33 struct list_head *objects) in close_objects() argument 62 LIST_HEAD(objects); in igt_mock_fill() 101 close_objects(mem, &objects); in igt_mock_fill() 108 struct list_head *objects, in igt_object_create() argument 166 LIST_HEAD(objects); in igt_mock_reserve() 229 close_objects(mem, &objects); in igt_mock_reserve() 241 LIST_HEAD(objects); in igt_mock_contiguous() 318 list = &objects; in igt_mock_contiguous() 376 LIST_HEAD(objects); in igt_mock_splintered_region() 463 LIST_HEAD(objects); in igt_mock_max_segment() [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_exec.c | 85 exec->objects = kvmalloc_array(nr, sizeof(void *), GFP_KERNEL); in drm_exec_init() 88 exec->max_objects = exec->objects ? nr : 0; in drm_exec_init() 105 kvfree(exec->objects); in drm_exec_fini() 148 tmp = kvrealloc(exec->objects, size + PAGE_SIZE, GFP_KERNEL); in drm_exec_obj_locked() 152 exec->objects = tmp; in drm_exec_obj_locked() 156 exec->objects[exec->num_objects++] = obj; in drm_exec_obj_locked() 265 if (exec->objects[i] == obj) { in drm_exec_unlock_obj() 268 exec->objects[i - 1] = exec->objects[i]; in drm_exec_unlock_obj() 322 struct drm_gem_object **objects, in drm_exec_prepare_array() argument 329 ret = drm_exec_prepare_obj(exec, objects[i], num_fences); in drm_exec_prepare_array()
|
| H A D | drm_lease.c | 348 struct drm_mode_object **objects, in validate_lease() argument 384 struct drm_mode_object **objects; in fill_object_idr() local 391 if (!objects) in fill_object_idr() 397 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr() 400 if (!objects[o]) { in fill_object_idr() 405 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr() 421 struct drm_mode_object *obj = objects[o]; in fill_object_idr() 422 u32 object_id = objects[o]->id; in fill_object_idr() 463 if (objects[o]) in fill_object_idr() 464 drm_mode_object_put(objects[o]); in fill_object_idr() [all …]
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | main.c | 47 xa_lock(&ictx->objects); in iommufd_object_finalize() 49 xa_unlock(&ictx->objects); in iommufd_object_finalize() 60 xa_lock(&ictx->objects); in iommufd_object_abort() 62 xa_unlock(&ictx->objects); in iommufd_object_abort() 89 xa_lock(&ictx->objects); in iommufd_get_object() 90 obj = xa_load(&ictx->objects, id); in iommufd_get_object() 94 xa_unlock(&ictx->objects); in iommufd_get_object() 124 XA_STATE(xas, &ictx->objects, id); in iommufd_object_remove() 147 xa_lock(&ictx->objects); in iommufd_object_remove() 173 xa_unlock(&ictx->objects); in iommufd_object_remove() [all …]
|
| H A D | vfio_compat.c | 19 xa_lock(&ictx->objects); in get_compat_ioas() 24 xa_unlock(&ictx->objects); in get_compat_ioas() 59 xa_lock(&ictx->objects); in iommufd_vfio_compat_set_no_iommu() 66 xa_unlock(&ictx->objects); in iommufd_vfio_compat_set_no_iommu() 89 xa_lock(&ictx->objects); in iommufd_vfio_compat_ioas_create() 105 xa_unlock(&ictx->objects); in iommufd_vfio_compat_ioas_create() 117 xa_unlock(&ictx->objects); in iommufd_vfio_compat_ioas_create() 143 xa_lock(&ucmd->ictx->objects); in iommufd_vfio_ioas() 145 xa_unlock(&ucmd->ictx->objects); in iommufd_vfio_ioas() 150 xa_lock(&ucmd->ictx->objects); in iommufd_vfio_ioas() [all …]
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | shrinker_debugfs.rst | 48 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-6.15/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | overview.rst | 29 which DPAA2 software drivers use to operate on DPAA2 objects. 71 DPIO objects. 84 types of DPAA2 objects. In the example diagram below there 85 are 8 objects of 5 types (DPMCP, DPIO, DPBP, DPNI, and DPMAC) 129 DPRCs can be defined statically and populated with objects 144 The diagram below shows the objects needed for a simple 225 objects. 233 Some objects have explicit relationships that must 262 All interrupts generated by DPAA2 objects are message 268 In the case of DPAA2 devices/objects, all objects in the [all …]
|
| /linux-6.15/Documentation/mm/ |
| H A D | zsmalloc.rst | 19 For simplicity, zsmalloc can only allocate objects of size up to PAGE_SIZE 78 the number of objects allocated 80 the number of objects allocated to the user 89 objects stored in the zspage. The inuse counter determines the zspage's 90 "fullness group" which is calculated as the ratio of the "inuse" objects to 91 the total number of objects the zspage can hold (objs_per_zspage). The 104 of objects that each zspage can store. 121 hold a total of 5 objects. If we need to store 13 objects of size 1568, we 125 objects of size 1568 bytes) and trace `calculate_zspage_chain_size()`, we 139 physical pages to store the same number of objects. [all …]
|
| /linux-6.15/Documentation/dev-tools/ |
| H A D | kmemleak.rst | 7 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 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 123 'clear' command to clear all reported unreferenced objects from the 138 Freeing kmemleak internal objects 183 The false negatives are real memory leaks (orphan objects) but not [all …]
|
| /linux-6.15/scripts/kconfig/ |
| H A D | streamline_config.pl | 145 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-6.15/Documentation/driver-api/acpi/ |
| H A D | scan_handlers.rst | 13 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-6.15/tools/build/Documentation/ |
| H A D | Build.txt | 5 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-6.15/Documentation/core-api/ |
| H A D | debug-objects.rst | 11 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. 147 or destroyed objects. 156 prevent the usage of invalid objects, which are still available in [all …]
|
| /linux-6.15/lib/ |
| H A D | debugobjects.c | 58 struct hlist_head objects; member 160 first_batch = src->objects.first; in pool_move_batch() 166 src->objects.first = next_batch; in pool_move_batch() 168 next_batch->pprev = &src->objects.first; in pool_move_batch() 171 last->next = dst->objects.first; in pool_move_batch() 175 dst->objects.first = first_batch; in pool_move_batch() 207 hlist_move_list(&src->objects, head); in pool_pop_batch() 216 src->objects.first = next; in pool_pop_batch() 218 next->pprev = &src->objects.first; in pool_pop_batch() 560 put_objects(&pcp->objects); in object_cpu_offline() [all …]
|
| /linux-6.15/drivers/bus/fsl-mc/ |
| H A D | Kconfig | 15 DPAA2 objects (which are represented as Linux devices) and 16 binding objects to drivers. 23 configuring DPAA2 objects exported by the Management Complex.
|
| /linux-6.15/Documentation/networking/devlink/ |
| H A D | netdevsim.rst | 60 Rate objects 63 The ``netdevsim`` driver supports rate objects management, which includes: 65 - registerging/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-6.15/include/drm/ |
| H A D | drm_exec.h | 41 struct drm_gem_object **objects; member 65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj() 146 struct drm_gem_object **objects,
|
| /linux-6.15/Documentation/admin-guide/sysctl/ |
| H A D | user.rst | 15 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-6.15/tools/mm/ |
| H A D | slabinfo.c | 657 s->name, s->objects, in slabcache() 728 if (s->objects > 0) in slab_empty() 865 if (!s->slabs || !s->objects) in totals() 871 used = s->objects * s->object_size; in totals() 880 / s->objects; in totals() 897 if (s->objects < min_objects) in totals() 898 min_objects = s->objects; in totals() 922 if (s->objects > max_objects) in totals() 923 max_objects = s->objects; in totals() 940 total_objects += s->objects; in totals() [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-slab | 48 The alloc_fastpath file shows how many objects have been 72 was empty but there were objects available as the result of 93 The alloc_slowpath file shows how many objects have been 201 slabs (not objects) are freed by rcu. 287 objects are aligned on cachelines. 309 What: /sys/kernel/slab/<cache>/objects 315 The objects file is read-only and displays how many objects are 335 objects may be allocated from a single slab of the order 438 with the fewest available objects are used first. 480 objects a cache has and from which nodes they are from. [all …]
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | Build.txt | 18 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-6.15/Documentation/iio/ |
| H A D | iio_dmabuf_api.rst | 15 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-6.15/mm/ |
| H A D | slub.c | 1906 int objects) {} in inc_slabs_node() argument 1908 int objects) {} in dec_slabs_node() argument 2121 int objects) in __alloc_tagging_slab_free_hook() argument 2143 int objects) in alloc_tagging_slab_free_hook() argument 2158 int objects) in alloc_tagging_slab_free_hook() argument 2194 int objects) in memcg_slab_free_hook() argument 6490 return slab->objects; in count_total() 6783 x = slab->objects; in show_slab_objects() 6945 unsigned int objects; in cpu_partial_store() local 6994 int objects = 0; in slabs_cpu_partial_show() local [all …]
|