Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/Linux-v5.15/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-v5.15/drivers/gpu/drm/nouveau/nvkm/core/
Dobject.c32 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()
61 rb_erase(&object->node, &object->client->objroot); 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.c33 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() argument
40 nvif_ioctl(object, "nop size %d\n", size); in nvkm_ioctl_nop()
42 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop()
51 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass() argument
59 nvif_ioctl(object, "sclass size %d\n", size); in nvkm_ioctl_sclass()
61 nvif_ioctl(object, "sclass vers %d count %d\n", in nvkm_ioctl_sclass()
66 while (object->func->sclass && in nvkm_ioctl_sclass()
67 object->func->sclass(object, i, &oclass) >= 0) { in nvkm_ioctl_sclass()
89 struct nvkm_object *object = NULL; in nvkm_ioctl_new() local
98 args->v0.route, args->v0.token, args->v0.object); in nvkm_ioctl_new()
[all …]
/Linux-v5.15/fs/fscache/
Dobject.c148 static inline void fscache_done_parent_op(struct fscache_object *object) in fscache_done_parent_op() argument
150 struct fscache_object *parent = object->parent; in fscache_done_parent_op()
153 object->debug_id, parent->debug_id, parent->n_ops); in fscache_done_parent_op()
166 static void fscache_object_sm_dispatcher(struct fscache_object *object) in fscache_object_sm_dispatcher() argument
174 ASSERT(object != NULL); in fscache_object_sm_dispatcher()
177 object->debug_id, object->state->name, object->events); in fscache_object_sm_dispatcher()
179 event_mask = object->event_mask; in fscache_object_sm_dispatcher()
181 object->event_mask = 0; /* Mask normal event handling */ in fscache_object_sm_dispatcher()
182 state = object->state; in fscache_object_sm_dispatcher()
184 events = object->events; in fscache_object_sm_dispatcher()
[all …]
Doperation.c63 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
66 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation()
70 ASSERT(fscache_object_is_available(op->object)); in fscache_enqueue_operation()
99 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() argument
105 object->n_in_progress++; in fscache_run_op()
111 trace_fscache_op(object->cookie, op, fscache_op_run); in fscache_run_op()
118 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() argument
131 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission()
132 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission()
133 kdebug("objflags=%lx", object->flags); in fscache_report_unexpected_submission()
[all …]
Dpage.c146 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() argument
152 spin_lock(&object->lock); in fscache_end_page_write()
153 cookie = object->cookie; in fscache_end_page_write()
179 spin_unlock(&object->lock); in fscache_end_page_write()
189 struct fscache_object *object = op->object; in fscache_attr_changed_op() local
192 _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); in fscache_attr_changed_op()
196 if (fscache_object_is_active(object)) { in fscache_attr_changed_op()
198 ret = object->cache->ops->attr_changed(object); in fscache_attr_changed_op()
201 fscache_abort_object(object); in fscache_attr_changed_op()
216 struct fscache_object *object; in __fscache_attr_changed() local
[all …]
/Linux-v5.15/mm/
Dkmemleak.c283 struct kmemleak_object *object) in hex_dump_object() argument
285 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
289 len = min_t(size_t, object->size, HEX_MAX_LINES * HEX_ROW_SIZE); in hex_dump_object()
308 static bool color_white(const struct kmemleak_object *object) in color_white() argument
310 return object->count != KMEMLEAK_BLACK && in color_white()
311 object->count < object->min_count; in color_white()
314 static bool color_gray(const struct kmemleak_object *object) in color_gray() argument
316 return object->min_count != KMEMLEAK_BLACK && in color_gray()
317 object->count >= object->min_count; in color_gray()
325 static bool unreferenced_object(struct kmemleak_object *object) in unreferenced_object() argument
[all …]
/Linux-v5.15/drivers/acpi/acpica/
Dutdelete.c18 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);
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()
55 switch (object->common.type) { in acpi_ut_delete_internal_obj()
59 "**** String %p, ptr %p\n", object, in acpi_ut_delete_internal_obj()
60 object->string.pointer)); in acpi_ut_delete_internal_obj()
64 if (!(object->common.flags & AOPOBJ_STATIC_POINTER)) { in acpi_ut_delete_internal_obj()
68 obj_pointer = object->string.pointer; in acpi_ut_delete_internal_obj()
[all …]
Dnsobject.c38 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()
77 if (node->object == object) { in acpi_ns_attach_object()
80 object, node)); in acpi_ns_attach_object()
87 if (!object) { in acpi_ns_attach_object()
96 else if ((ACPI_GET_DESCRIPTOR_TYPE(object) == ACPI_DESC_TYPE_NAMED) && in acpi_ns_attach_object()
97 ((struct acpi_namespace_node *)object)->object) { in acpi_ns_attach_object()
102 obj_desc = ((struct acpi_namespace_node *)object)->object; in acpi_ns_attach_object()
103 object_type = ((struct acpi_namespace_node *)object)->type; in acpi_ns_attach_object()
111 obj_desc = (union acpi_operand_object *)object; in acpi_ns_attach_object()
[all …]
Ddsmthdat.c25 union acpi_operand_object *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()
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()
281 union acpi_operand_object *object, in acpi_ds_method_data_set_value() argument
290 "NewObj %p Type %2.2X, Refs=%u [%s]\n", object, in acpi_ds_method_data_set_value()
291 type, object->common.reference_count, in acpi_ds_method_data_set_value()
292 acpi_ut_get_type_name(object->common.type))); in acpi_ds_method_data_set_value()
307 acpi_ut_add_reference(object); in acpi_ds_method_data_set_value()
[all …]
/Linux-v5.15/fs/cachefiles/
Dinterface.c27 struct cachefiles_object *object; in cachefiles_alloc_object() local
43 object = kmem_cache_alloc(cachefiles_object_jar, cachefiles_gfp); in cachefiles_alloc_object()
44 if (!object) in cachefiles_alloc_object()
47 ASSERTCMP(object->backer, ==, NULL); in cachefiles_alloc_object()
49 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object()
50 atomic_set(&object->usage, 1); in cachefiles_alloc_object()
52 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
54 object->type = cookie->def->type; in cachefiles_alloc_object()
77 key = cachefiles_cook_key(buffer, keylen + 2, object->type); in cachefiles_alloc_object()
97 object->lookup_data = lookup_data; in cachefiles_alloc_object()
[all …]
Dnamei.c27 void __cachefiles_printk_object(struct cachefiles_object *object, in __cachefiles_printk_object() argument
34 pr_err("%sobject: OBJ%x\n", prefix, object->fscache.debug_id); in __cachefiles_printk_object()
36 prefix, object->fscache.state->name, in __cachefiles_printk_object()
37 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object()
38 object->fscache.events, object->fscache.event_mask); in __cachefiles_printk_object()
40 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object()
41 object->fscache.n_exclusive); in __cachefiles_printk_object()
43 prefix, object->fscache.parent ? object->fscache.parent->debug_id : 0); in __cachefiles_printk_object()
45 spin_lock(&object->fscache.lock); in __cachefiles_printk_object()
46 cookie = object->fscache.cookie; in __cachefiles_printk_object()
[all …]
Drdwr.c25 struct cachefiles_object *object; in cachefiles_read_waiter() local
59 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter()
60 spin_lock(&object->work_lock); in cachefiles_read_waiter()
63 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
76 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() argument
79 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue()
84 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue()
141 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue()
143 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue()
155 struct cachefiles_object *object; in cachefiles_read_copier() local
[all …]
Dxattr.c25 int cachefiles_check_object_type(struct cachefiles_object *object) in cachefiles_check_object_type() argument
27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type()
34 if (!object->fscache.cookie) in cachefiles_check_object_type()
37 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type()
39 _enter("%x{%s}", object->fscache.debug_id, type); in cachefiles_check_object_type()
100 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() argument
103 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr()
108 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
113 clear_bit(FSCACHE_COOKIE_AUX_UPDATED, &object->fscache.cookie->flags); in cachefiles_set_object_xattr()
118 object, in cachefiles_set_object_xattr()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvif/
Dobject.c31 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
112 int ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_object_rd()
[all …]
/Linux-v5.15/mm/kasan/
Dcommon.c232 const void *object) in kasan_get_alloc_meta() argument
236 return kasan_reset_tag(object) + cache->kasan_info.alloc_meta_offset; in kasan_get_alloc_meta()
241 const void *object) in kasan_get_free_meta() argument
246 return kasan_reset_tag(object) + cache->kasan_info.free_meta_offset; in kasan_get_free_meta()
260 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data() argument
262 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_object_data()
265 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data() argument
267 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_object_data()
286 const void *object, bool init) in assign_tag() argument
301 return (u8)obj_to_index(cache, virt_to_page(object), (void *)object); in assign_tag()
[all …]
/Linux-v5.15/sound/pci/asihpi/
Dhpimsginit.c27 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()
63 size = res_size[object]; in hpi_init_response()
71 phr->object = object; in hpi_init_response()
[all …]
/Linux-v5.15/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-v5.15/arch/powerpc/boot/
Dwrapper59 object=arch/powerpc/boot
60 objbin=$object
134 object="$1"
181 if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
182 dts="$object/dts/$dts"
224 platformo=$object/"$platform".o
225 lds=$object/zImage.lds
243 platformo="$object/of.o $object/epapr.o"
247 platformo="$object/pseries-head.o $object/of.o $object/epapr.o"
256 platformo="$object/of.o $object/epapr.o"
[all …]
/Linux-v5.15/include/linux/
Dfscache-cache.h100 struct fscache_object *object; /* object to be operated upon */ member
235 int (*lookup_object)(struct fscache_object *object);
238 void (*lookup_complete)(struct fscache_object *object);
241 struct fscache_object *(*grab_object)(struct fscache_object *object,
245 int (*pin_object)(struct fscache_object *object);
248 void (*unpin_object)(struct fscache_object *object);
255 void (*update_object)(struct fscache_object *object);
262 void (*drop_object)(struct fscache_object *object);
265 void (*put_object)(struct fscache_object *object,
273 int (*attr_changed)(struct fscache_object *object);
[all …]
Dkasan.h198 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object);
200 void *object) in kasan_unpoison_object_data() argument
203 __kasan_unpoison_object_data(cache, object); in kasan_unpoison_object_data()
206 void __kasan_poison_object_data(struct kmem_cache *cache, void *object);
208 void *object) in kasan_poison_object_data() argument
211 __kasan_poison_object_data(cache, object); in kasan_poison_object_data()
215 const void *object);
217 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj() argument
220 return __kasan_init_slab_obj(cache, object); in kasan_init_slab_obj()
221 return (void *)object; in kasan_init_slab_obj()
[all …]
/Linux-v5.15/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-v5.15/security/landlock/
Dfs.c42 static void release_inode(struct landlock_object *const object) in release_inode() argument
43 __releases(object->lock) in release_inode()
45 struct inode *const inode = object->underobj; in release_inode()
49 spin_unlock(&object->lock); in release_inode()
57 object->underobj = NULL; in release_inode()
64 spin_unlock(&object->lock); in release_inode()
71 rcu_assign_pointer(landlock_inode(inode)->object, NULL); in release_inode()
89 struct landlock_object *object, *new_object; in get_inode_object() local
94 object = rcu_dereference(inode_sec->object); in get_inode_object()
95 if (object) { in get_inode_object()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c24 #define nvkm_udevice(p) container_of((p), struct nvkm_udevice, object)
38 struct nvkm_object object; member
75 struct nvkm_object *object = &udev->object; in nvkm_udevice_info() local
85 nvif_ioctl(object, "device info size %d\n", size); in nvkm_udevice_info()
87 nvif_ioctl(object, "device info vers %d count %d\n", in nvkm_udevice_info()
97 nvif_ioctl(object, "device info vers %d\n", args->v0.version); in nvkm_udevice_info()
172 struct nvkm_object *object = &udev->object; in nvkm_udevice_time() local
179 nvif_ioctl(object, "device time size %d\n", size); in nvkm_udevice_time()
181 nvif_ioctl(object, "device time vers %d\n", args->v0.version); in nvkm_udevice_time()
189 nvkm_udevice_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_udevice_mthd() argument
[all …]

12345678910>>...31