Home
last modified time | relevance | path

Searched full:object (Results 1 – 25 of 3173) sorted by relevance

12345678910>>...127

/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/core/
Dobject.c24 #include <core/object.h>
32 struct nvkm_object *object; in nvkm_object_search() local
37 object = rb_entry(node, typeof(*object), node); in nvkm_object_search()
38 if (handle < object->object) in nvkm_object_search()
41 if (handle > object->object) in nvkm_object_search()
48 object = &client->object; in nvkm_object_search()
52 if (unlikely(func && object->func != func)) in nvkm_object_search()
54 return object; in nvkm_object_search()
58 nvkm_object_remove(struct nvkm_object *object) in nvkm_object_remove() argument
60 if (!RB_EMPTY_NODE(&object->node)) in nvkm_object_remove()
[all …]
Doproxy.c27 nvkm_oproxy_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_oproxy_mthd() argument
29 return nvkm_object_mthd(nvkm_oproxy(object)->object, mthd, data, size); in nvkm_oproxy_mthd()
33 nvkm_oproxy_ntfy(struct nvkm_object *object, u32 mthd, in nvkm_oproxy_ntfy() argument
36 return nvkm_object_ntfy(nvkm_oproxy(object)->object, mthd, pevent); in nvkm_oproxy_ntfy()
40 nvkm_oproxy_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_oproxy_map() argument
43 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); in nvkm_oproxy_map()
44 return nvkm_object_map(oproxy->object, argv, argc, type, addr, size); in nvkm_oproxy_map()
48 nvkm_oproxy_unmap(struct nvkm_object *object) in nvkm_oproxy_unmap() argument
50 return nvkm_object_unmap(nvkm_oproxy(object)->object); in nvkm_oproxy_unmap()
54 nvkm_oproxy_rd08(struct nvkm_object *object, u64 addr, u8 *data) in nvkm_oproxy_rd08() argument
[all …]
Dioctl.c34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() argument
41 nvif_ioctl(object, "nop size %d\n", size); in nvkm_ioctl_nop()
43 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop()
52 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass() argument
60 nvif_ioctl(object, "sclass size %d\n", size); in nvkm_ioctl_sclass()
62 nvif_ioctl(object, "sclass vers %d count %d\n", in nvkm_ioctl_sclass()
67 while (object->func->sclass && in nvkm_ioctl_sclass()
68 object->func->sclass(object, i, &oclass) >= 0) { in nvkm_ioctl_sclass()
90 struct nvkm_object *object = NULL; in nvkm_ioctl_new() local
97 "route %02x token %llx object %016llx\n", in nvkm_ioctl_new()
[all …]
/Linux-v6.1/arch/parisc/math-emu/
Dfloat.h48 #define Sall(object) (object) argument
49 #define Ssign(object) Bitfield_extract( 0, 1,object) argument
50 #define Ssignedsign(object) Bitfield_signed_extract( 0, 1,object) argument
51 #define Sexponent(object) Bitfield_extract( 1, 8,object) argument
52 #define Smantissa(object) Bitfield_mask( 9, 23,object) argument
53 #define Ssignaling(object) Bitfield_extract( 9, 1,object) argument
54 #define Ssignalingnan(object) Bitfield_extract( 1, 9,object) argument
55 #define Shigh2mantissa(object) Bitfield_extract( 9, 2,object) argument
56 #define Sexponentmantissa(object) Bitfield_mask( 1, 31,object) argument
57 #define Ssignexponent(object) Bitfield_extract( 0, 9,object) argument
[all …]
/Linux-v6.1/fs/cachefiles/
Dinterface.c19 * Allocate a cache object record.
26 struct cachefiles_object *object; in cachefiles_alloc_object() local
30 object = kmem_cache_zalloc(cachefiles_object_jar, GFP_KERNEL); in cachefiles_alloc_object()
31 if (!object) in cachefiles_alloc_object()
34 refcount_set(&object->ref, 1); in cachefiles_alloc_object()
36 spin_lock_init(&object->lock); in cachefiles_alloc_object()
37 INIT_LIST_HEAD(&object->cache_link); in cachefiles_alloc_object()
38 object->volume = volume; in cachefiles_alloc_object()
39 object->debug_id = atomic_inc_return(&cachefiles_object_debug_id); in cachefiles_alloc_object()
40 object->cookie = fscache_get_cookie(cookie, fscache_cookie_get_attach_object); in cachefiles_alloc_object()
[all …]
Dnamei.c17 static bool __cachefiles_mark_inode_in_use(struct cachefiles_object *object, in __cachefiles_mark_inode_in_use() argument
24 trace_cachefiles_mark_active(object, inode); in __cachefiles_mark_inode_in_use()
27 trace_cachefiles_mark_failed(object, inode); in __cachefiles_mark_inode_in_use()
33 static bool cachefiles_mark_inode_in_use(struct cachefiles_object *object, in cachefiles_mark_inode_in_use() argument
39 can_use = __cachefiles_mark_inode_in_use(object, inode); in cachefiles_mark_inode_in_use()
47 static void __cachefiles_unmark_inode_in_use(struct cachefiles_object *object, in __cachefiles_unmark_inode_in_use() argument
51 trace_cachefiles_mark_inactive(object, inode); in __cachefiles_unmark_inode_in_use()
54 static void cachefiles_do_unmark_inode_in_use(struct cachefiles_object *object, in cachefiles_do_unmark_inode_in_use() argument
58 __cachefiles_unmark_inode_in_use(object, inode); in cachefiles_do_unmark_inode_in_use()
66 void cachefiles_unmark_inode_in_use(struct cachefiles_object *object, in cachefiles_unmark_inode_in_use() argument
[all …]
Dondemand.c10 struct cachefiles_object *object = file->private_data; in cachefiles_ondemand_fd_release() local
11 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_release()
12 int object_id = object->ondemand_id; in cachefiles_ondemand_fd_release()
17 object->ondemand_id = CACHEFILES_ONDEMAND_ID_CLOSED; in cachefiles_ondemand_fd_release()
34 trace_cachefiles_ondemand_fd_release(object, object_id); in cachefiles_ondemand_fd_release()
35 cachefiles_put_object(object, cachefiles_obj_put_ondemand_fd); in cachefiles_ondemand_fd_release()
43 struct cachefiles_object *object = kiocb->ki_filp->private_data; in cachefiles_ondemand_fd_write_iter() local
44 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter()
45 struct file *file = object->file; in cachefiles_ondemand_fd_write_iter()
55 ret = __cachefiles_prepare_write(object, file, &pos, &len, true); in cachefiles_ondemand_fd_write_iter()
[all …]
/Linux-v6.1/mm/
Dkmemleak.c39 * Note that the kmemleak_object.use_count is incremented when an object is
47 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING)
49 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex
110 #define MSECS_MIN_AGE 5000 /* minimum object age for reporting */
136 * object->lock. Insertions or deletions from object_list, gray_list or
143 unsigned int flags; /* object status flags */
148 /* object usage count; object freed when use_count == 0 */
156 /* the total number of pointers found pointing to this object */
160 /* memory ranges to be scanned inside an object (empty for all) */
171 /* flag set after the first reporting of an unreference object */
[all …]
/Linux-v6.1/drivers/acpi/acpica/
Dutdelete.c4 * Module Name: utdelete - object deletion and reference count utilities
18 static void acpi_ut_delete_internal_obj(union acpi_operand_object *object);
21 acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action);
27 * PARAMETERS: object - Object to be deleted
31 * DESCRIPTION: Low level object deletion, after reference counts have been
36 static void acpi_ut_delete_internal_obj(union acpi_operand_object *object) in acpi_ut_delete_internal_obj() argument
45 ACPI_FUNCTION_TRACE_PTR(ut_delete_internal_obj, object); in acpi_ut_delete_internal_obj()
47 if (!object) { in acpi_ut_delete_internal_obj()
52 * Must delete or free any pointers within the object that are not in acpi_ut_delete_internal_obj()
55 switch (object->common.type) { in acpi_ut_delete_internal_obj()
[all …]
Dnsobject.c21 * object - Object to be attached
22 * type - Type of object, or ACPI_TYPE_ANY if not
27 * DESCRIPTION: Record the given object as the value associated with the
28 * name whose acpi_handle is passed. If Object is NULL
38 union acpi_operand_object *object, acpi_object_type type) in acpi_ns_attach_object() argument
57 if (!object && (ACPI_TYPE_ANY != type)) { in acpi_ns_attach_object()
59 /* Null object */ in acpi_ns_attach_object()
62 "Null object, but type not ACPI_TYPE_ANY")); in acpi_ns_attach_object()
75 /* Check if this object is already attached */ in acpi_ns_attach_object()
77 if (node->object == object) { in acpi_ns_attach_object()
[all …]
Dutobject.c4 * Module Name: utobject - ACPI object create/delete/size/cache routines
39 * type - ACPI Type of the new object
41 * RETURN: A new internal object, null on failure
43 * DESCRIPTION: Create and initialize a new internal object.
45 * NOTE: We always allocate the worst-case object descriptor because
48 * the most memory efficient, but the efficiency of the object
60 union acpi_operand_object *object; in acpi_ut_create_internal_object_dbg() local
66 /* Allocate the raw object descriptor */ in acpi_ut_create_internal_object_dbg()
68 object = in acpi_ut_create_internal_object_dbg()
71 if (!object) { in acpi_ut_create_internal_object_dbg()
[all …]
Dutcache.c22 * object_size - Size of each cached object
24 * return_cache - Where the new cache object is returned
28 * DESCRIPTION: Create a cache object
44 /* Create the cache object */ in acpi_os_create_cache()
51 /* Populate the cache object and return it */ in acpi_os_create_cache()
66 * PARAMETERS: cache - Handle to cache object
94 /* Delete and unlink one cached state object */ in acpi_os_purge_cache()
111 * PARAMETERS: cache - Handle to cache object
116 * cache object.
133 /* Now we can delete the cache object */ in acpi_os_delete_cache()
[all …]
Ddsmthdat.c25 union acpi_operand_object *object,
38 * PARAMETERS: walk_state - Current walk state object
93 * PARAMETERS: walk_state - Current walk state object
111 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all()
115 object)); in acpi_ds_method_data_delete_all()
117 /* Detach object (if present) and remove a reference */ in acpi_ds_method_data_delete_all()
127 if (walk_state->arguments[index].object) { in acpi_ds_method_data_delete_all()
130 walk_state->arguments[index].object)); in acpi_ds_method_data_delete_all()
132 /* Detach object (if present) and remove a reference */ in acpi_ds_method_data_delete_all()
147 * walk_state - Current walk state object
[all …]
/Linux-v6.1/Documentation/core-api/
Ddebug-objects.rst2 The object-lifetime debugging infrastructure
21 debugobjects is not changing the data structure of the real object so it
29 object type and add calls into the debug code at appropriate places. The
30 data structure to describe the object type needs at minimum the name of
31 the object type. Optional functions can and should be provided to fixup
53 Each of these functions takes the address of the real object and a
54 pointer to the object type specific debug description structure.
71 object is called.
73 When the real object is already tracked by debugobjects it is checked,
74 whether the object can be initialized. Initializing is not allowed for
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvif/
Dobject.c25 #include <nvif/object.h>
31 nvif_object_ioctl(struct nvif_object *object, void *data, u32 size, void **hack) in nvif_object_ioctl() argument
33 struct nvif_client *client = object->client; in nvif_object_ioctl()
39 if (object != &client->object) in nvif_object_ioctl()
40 args->v0.object = nvif_handle(object); in nvif_object_ioctl()
42 args->v0.object = 0; in nvif_object_ioctl()
47 return client->driver->ioctl(client->object.priv, data, size, hack); in nvif_object_ioctl()
58 nvif_object_sclass_get(struct nvif_object *object, struct nvif_sclass **psclass) in nvif_object_sclass_get() argument
76 ret = nvif_object_ioctl(object, args, size, NULL); in nvif_object_sclass_get()
102 nvif_object_rd(struct nvif_object *object, int size, u64 addr) in nvif_object_rd() argument
[all …]
/Linux-v6.1/mm/kasan/
Dcommon.c136 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data() argument
138 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_object_data()
141 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data() argument
143 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_object_data()
148 * This function assigns a tag to an object considering the following:
150 * object somewhere (e.g. in the object itself). We preassign a tag for
151 * each object in caches with constructors during slab creation and reuse
152 * the same tag each time a particular object is allocated.
162 const void *object, bool init) in assign_tag() argument
169 * set, assign a tag when the object is being allocated (init == false). in assign_tag()
[all …]
/Linux-v6.1/sound/pci/asihpi/
Dhpimsginit.c17 /* The actual message size for each object type */
19 /* The actual response size for each object type */
27 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument
32 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_message()
33 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_message()
34 size = msg_size[object]; in hpi_init_message()
46 phm->object = object; in hpi_init_message()
56 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
61 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_response()
62 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_response()
[all …]
/Linux-v6.1/include/media/
Dmedia-request.h127 * object in it. A reference to the request must be held during the update. This
240 * struct media_request_object_ops - Media request object operations
241 * @prepare: Validate and prepare the request object, optional.
242 * @unprepare: Unprepare the request object, optional.
243 * @queue: Queue the request object, optional.
244 * @unbind: Unbind the request object, optional.
245 * @release: Release the request object, required.
248 int (*prepare)(struct media_request_object *object);
249 void (*unprepare)(struct media_request_object *object);
250 void (*queue)(struct media_request_object *object);
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchan.c50 struct nvkm_fifo_chan_object *object = in nvkm_fifo_chan_child_fini() local
51 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_fini()
52 struct nvkm_engine *engine = object->oproxy.object->engine; in nvkm_fifo_chan_child_fini()
53 struct nvkm_fifo_chan *chan = object->chan; in nvkm_fifo_chan_child_fini()
64 nvif_error(&chan->object, in nvkm_fifo_chan_child_fini()
70 if (engn->object) { in nvkm_fifo_chan_child_fini()
71 ret = nvkm_object_fini(engn->object, suspend); in nvkm_fifo_chan_child_fini()
76 nvif_trace(&chan->object, "detached %s\n", name); in nvkm_fifo_chan_child_fini()
83 struct nvkm_fifo_chan_object *object = in nvkm_fifo_chan_child_init() local
84 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_init()
[all …]
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dttm_object.h32 * Base- and reference object implementation for the various
50 * One entry per ttm object type.
73 * @hash: hash entry for the per-device object hash.
74 * @type: derived type this object is base class for.
75 * @shareable: Other ttm_object_files can access this object.
78 * NULL if the object was not created by a user request.
79 * (kernel object).
81 * @refcount: Number of references to this object, not
82 * including the hash entry. A reference to a base object can
83 * only be held by a ref object.
[all …]
/Linux-v6.1/security/landlock/
Dobject.c3 * Landlock LSM - Object management
18 #include "object.h"
39 * The caller must own the object (i.e. thanks to object->usage) to safely put
42 void landlock_put_object(struct landlock_object *const object) in landlock_put_object() argument
45 * The call to @object->underops->release(object) might sleep, e.g. in landlock_put_object()
49 if (!object) in landlock_put_object()
53 * If the @object's refcount cannot drop to zero, we can just decrement in landlock_put_object()
55 * happen under @object->lock for synchronization with things like in landlock_put_object()
58 if (refcount_dec_and_lock(&object->usage, &object->lock)) { in landlock_put_object()
59 __acquire(&object->lock); in landlock_put_object()
[all …]
/Linux-v6.1/include/linux/
Dkfence.h38 * object range.
44 * an object requires specific handling.
90 * which include stack traces to the user of the object, the original allocation
96 * Allocate a KFENCE object. Allocators must not call this function directly,
102 * kfence_alloc() - allocate a KFENCE object with a low probability
103 * @s: struct kmem_cache with object requirements
104 * @size: exact size of the object to allocate (can be less than @s->size
110 * * non-NULL - pointer to a KFENCE object.
132 * kfence_ksize() - get actual amount of memory allocated for a KFENCE object
133 * @addr: pointer to a heap object
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchan.c30 nvkm_disp_chan_rd32(struct nvkm_object *object, u64 addr, u32 *data) in nvkm_disp_chan_rd32() argument
32 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_rd32()
41 nvkm_disp_chan_wr32(struct nvkm_object *object, u64 addr, u32 data) in nvkm_disp_chan_wr32() argument
43 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_wr32()
52 nvkm_disp_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) in nvkm_disp_chan_ntfy() argument
54 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_ntfy()
69 nvkm_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_disp_chan_map() argument
72 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_map()
90 struct nvkm_disp_chan_object *object = container_of(base, typeof(*object), oproxy); in nvkm_disp_chan_child_del_() local
92 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_object.c70 * A gem object is embedded both in a struct ttm_buffer_object :/ and in i915_gem_object_init()
101 * __i915_gem_object_fini - Clean up a GEM object initialization
102 * @obj: The gem object to cleanup
104 * This function cleans up gem object fields that are set up by
107 * clean up the gem object in separate steps.
117 * i915_gem_object_set_cache_coherency - Mark up the object's coherency levels
156 * kernel, as per the given object cache_level. This is troublesome in i915_gem_object_can_bypass_llc()
158 * skipped if the kernel thinks the object is coherent with the GPU. As in i915_gem_object_can_bypass_llc()
261 * __i915_gem_object_pages_fini - Clean up pages use of a gem object
262 * @obj: The gem object to clean up
[all …]
/Linux-v6.1/arch/powerpc/boot/
Dwrapper60 # directory for object and other files used by this script
61 object=arch/powerpc/boot
62 objbin=$object
136 object="$1"
183 if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
184 dts="$object/dts/$dts"
226 platformo=$object/"$platform".o
227 lds=$object/zImage.lds
245 platformo="$object/of.o $object/epapr.o"
249 platformo="$object/pseries-head.o $object/of.o $object/epapr.o"
[all …]

12345678910>>...127