Home
last modified time | relevance | path

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

12345678910>>...27

/Linux-v5.4/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.4/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 …]
Dclient.c53 client->object.client = oclass->client; in nvkm_uclient_new()
54 client->object.handle = oclass->handle; in nvkm_uclient_new()
55 client->object.route = oclass->route; in nvkm_uclient_new()
56 client->object.token = oclass->token; in nvkm_uclient_new()
57 client->object.object = oclass->object; in nvkm_uclient_new()
59 *pobject = &client->object; in nvkm_uclient_new()
128 nvkm_client_notify_new(struct nvkm_object *object, in nvkm_client_notify_new() argument
131 struct nvkm_client *client = object->client; in nvkm_client_notify_new()
151 nvif_ioctl(object, "notify new size %d\n", size); in nvkm_client_notify_new()
153 nvif_ioctl(object, "notify new vers %d reply %d route %02x " in nvkm_client_notify_new()
[all …]
/Linux-v5.4/fs/fscache/
Dobject.c149 static inline void fscache_done_parent_op(struct fscache_object *object) in fscache_done_parent_op() argument
151 struct fscache_object *parent = object->parent; in fscache_done_parent_op()
154 object->debug_id, parent->debug_id, parent->n_ops); in fscache_done_parent_op()
167 static void fscache_object_sm_dispatcher(struct fscache_object *object) in fscache_object_sm_dispatcher() argument
175 ASSERT(object != NULL); in fscache_object_sm_dispatcher()
178 object->debug_id, object->state->name, object->events); in fscache_object_sm_dispatcher()
180 event_mask = object->event_mask; in fscache_object_sm_dispatcher()
182 object->event_mask = 0; /* Mask normal event handling */ in fscache_object_sm_dispatcher()
183 state = object->state; in fscache_object_sm_dispatcher()
185 events = object->events; in fscache_object_sm_dispatcher()
[all …]
Doperation.c60 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
63 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation()
67 ASSERT(fscache_object_is_available(op->object)); in fscache_enqueue_operation()
96 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() argument
102 object->n_in_progress++; in fscache_run_op()
108 trace_fscache_op(object->cookie, op, fscache_op_run); in fscache_run_op()
115 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() argument
128 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission()
129 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission()
130 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.4/mm/
Dkmemleak.c281 struct kmemleak_object *object) in hex_dump_object() argument
283 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
287 len = min_t(size_t, object->size, HEX_MAX_LINES * HEX_ROW_SIZE); in hex_dump_object()
306 static bool color_white(const struct kmemleak_object *object) in color_white() argument
308 return object->count != KMEMLEAK_BLACK && in color_white()
309 object->count < object->min_count; in color_white()
312 static bool color_gray(const struct kmemleak_object *object) in color_gray() argument
314 return object->min_count != KMEMLEAK_BLACK && in color_gray()
315 object->count >= object->min_count; in color_gray()
323 static bool unreferenced_object(struct kmemleak_object *object) in unreferenced_object() argument
[all …]
/Linux-v5.4/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 …]
Dutobject.c60 union acpi_operand_object *object; in acpi_ut_create_internal_object_dbg() local
68 object = in acpi_ut_create_internal_object_dbg()
71 if (!object) { in acpi_ut_create_internal_object_dbg()
74 kmemleak_not_leak(object); in acpi_ut_create_internal_object_dbg()
87 acpi_ut_delete_object_desc(object); in acpi_ut_create_internal_object_dbg()
96 object->common.next_object = second_object; in acpi_ut_create_internal_object_dbg()
107 object->common.type = (u8) type; in acpi_ut_create_internal_object_dbg()
111 object->common.reference_count = 1; in acpi_ut_create_internal_object_dbg()
115 return_PTR(object); in acpi_ut_create_internal_object_dbg()
305 u8 acpi_ut_valid_internal_object(void *object) in acpi_ut_valid_internal_object() argument
[all …]
/Linux-v5.4/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); in __cachefiles_printk_object()
45 spin_lock(&object->fscache.lock); in __cachefiles_printk_object()
46 cookie = object->fscache.cookie; in __cachefiles_printk_object()
[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("%p{%s}", object, type); in cachefiles_check_object_type()
99 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() argument
102 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr()
107 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
112 clear_bit(FSCACHE_COOKIE_AUX_UPDATED, &object->fscache.cookie->flags); in cachefiles_set_object_xattr()
118 object, in cachefiles_set_object_xattr()
[all …]
Drdwr.c25 struct cachefiles_object *object; in cachefiles_read_waiter() local
60 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter()
61 spin_lock(&object->work_lock); in cachefiles_read_waiter()
63 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
77 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() argument
80 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue()
85 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 …]
/Linux-v5.4/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, client->super, in nvif_object_ioctl()
59 nvif_object_sclass_get(struct nvif_object *object, struct nvif_sclass **psclass) in nvif_object_sclass_get() argument
77 ret = nvif_object_ioctl(object, args, size, NULL); in nvif_object_sclass_get()
103 nvif_object_rd(struct nvif_object *object, int size, u64 addr) in nvif_object_rd() argument
113 int ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_object_rd()
[all …]
/Linux-v5.4/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.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchan.c41 struct nvkm_fifo_chan_object *object = in nvkm_fifo_chan_child_fini() local
42 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_fini()
43 struct nvkm_engine *engine = object->oproxy.object->engine; in nvkm_fifo_chan_child_fini()
44 struct nvkm_fifo_chan *chan = object->chan; in nvkm_fifo_chan_child_fini()
55 nvif_error(&chan->object, in nvkm_fifo_chan_child_fini()
61 if (engn->object) { in nvkm_fifo_chan_child_fini()
62 ret = nvkm_object_fini(engn->object, suspend); in nvkm_fifo_chan_child_fini()
67 nvif_trace(&chan->object, "detached %s\n", name); in nvkm_fifo_chan_child_fini()
74 struct nvkm_fifo_chan_object *object = in nvkm_fifo_chan_child_init() local
75 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_init()
[all …]
/Linux-v5.4/arch/powerpc/boot/
Dwrapper56 object=arch/powerpc/boot
57 objbin=$object
131 object="$1"
178 if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
179 dts="$object/dts/$dts"
221 platformo=$object/"$platform".o
222 lds=$object/zImage.lds
240 platformo="$object/of.o $object/epapr.o"
244 platformo="$object/pseries-head.o $object/of.o $object/epapr.o"
253 platformo="$object/of.o $object/epapr.o"
[all …]
/Linux-v5.4/include/linux/
Dfscache-cache.h100 struct fscache_object *object; /* object to be operated upon */ member
236 int (*lookup_object)(struct fscache_object *object);
239 void (*lookup_complete)(struct fscache_object *object);
242 struct fscache_object *(*grab_object)(struct fscache_object *object,
246 int (*pin_object)(struct fscache_object *object);
249 void (*unpin_object)(struct fscache_object *object);
256 void (*update_object)(struct fscache_object *object);
263 void (*drop_object)(struct fscache_object *object);
266 void (*put_object)(struct fscache_object *object,
274 int (*attr_changed)(struct fscache_object *object);
[all …]
/Linux-v5.4/mm/kasan/
Dcommon.c305 const void *object) in get_alloc_info() argument
307 return (void *)object + cache->kasan_info.alloc_meta_offset; in get_alloc_info()
311 const void *object) in get_free_info() argument
314 return (void *)object + cache->kasan_info.free_meta_offset; in get_free_info()
319 void *object, u8 tag) in kasan_set_free_info() argument
324 alloc_meta = get_alloc_info(cache, object); in kasan_set_free_info()
345 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in kasan_unpoison_object_data() argument
347 kasan_unpoison_shadow(object, cache->object_size); in kasan_unpoison_object_data()
350 void kasan_poison_object_data(struct kmem_cache *cache, void *object) in kasan_poison_object_data() argument
352 kasan_poison_shadow(object, in kasan_poison_object_data()
[all …]
/Linux-v5.4/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.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchannv50.c132 nv50_disp_chan_uevent_ctor(struct nvkm_object *object, void *data, u32 size, in nv50_disp_chan_uevent_ctor() argument
135 struct nv50_disp_chan *chan = nv50_disp_chan(object); in nv50_disp_chan_uevent_ctor()
175 nv50_disp_chan_rd32(struct nvkm_object *object, u64 addr, u32 *data) in nv50_disp_chan_rd32() argument
177 struct nv50_disp_chan *chan = nv50_disp_chan(object); in nv50_disp_chan_rd32()
185 nv50_disp_chan_wr32(struct nvkm_object *object, u64 addr, u32 data) in nv50_disp_chan_wr32() argument
187 struct nv50_disp_chan *chan = nv50_disp_chan(object); in nv50_disp_chan_wr32()
195 nv50_disp_chan_ntfy(struct nvkm_object *object, u32 type, in nv50_disp_chan_ntfy() argument
198 struct nv50_disp_chan *chan = nv50_disp_chan(object); in nv50_disp_chan_ntfy()
211 nv50_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, in nv50_disp_chan_map() argument
214 struct nv50_disp_chan *chan = nv50_disp_chan(object); in nv50_disp_chan_map()
[all …]

12345678910>>...27