Home
last modified time | relevance | path

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

12345678910>>...28

/Linux-v4.19/arch/parisc/math-emu/
Dfloat.h61 #define Sall(object) (object) argument
62 #define Ssign(object) Bitfield_extract( 0, 1,object) argument
63 #define Ssignedsign(object) Bitfield_signed_extract( 0, 1,object) argument
64 #define Sexponent(object) Bitfield_extract( 1, 8,object) argument
65 #define Smantissa(object) Bitfield_mask( 9, 23,object) argument
66 #define Ssignaling(object) Bitfield_extract( 9, 1,object) argument
67 #define Ssignalingnan(object) Bitfield_extract( 1, 9,object) argument
68 #define Shigh2mantissa(object) Bitfield_extract( 9, 2,object) argument
69 #define Sexponentmantissa(object) Bitfield_mask( 1, 31,object) argument
70 #define Ssignexponent(object) Bitfield_extract( 0, 9,object) argument
[all …]
/Linux-v4.19/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-v4.19/fs/fscache/
Dobject.c153 static inline void fscache_done_parent_op(struct fscache_object *object) in fscache_done_parent_op() argument
155 struct fscache_object *parent = object->parent; in fscache_done_parent_op()
158 object->debug_id, parent->debug_id, parent->n_ops); in fscache_done_parent_op()
171 static void fscache_object_sm_dispatcher(struct fscache_object *object) in fscache_object_sm_dispatcher() argument
179 ASSERT(object != NULL); in fscache_object_sm_dispatcher()
182 object->debug_id, object->state->name, object->events); in fscache_object_sm_dispatcher()
184 event_mask = object->event_mask; in fscache_object_sm_dispatcher()
186 object->event_mask = 0; /* Mask normal event handling */ in fscache_object_sm_dispatcher()
187 state = object->state; in fscache_object_sm_dispatcher()
189 events = object->events; in fscache_object_sm_dispatcher()
[all …]
Doperation.c64 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
67 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation()
71 ASSERT(fscache_object_is_available(op->object)); in fscache_enqueue_operation()
100 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() argument
106 object->n_in_progress++; in fscache_run_op()
112 trace_fscache_op(object->cookie, op, fscache_op_run); in fscache_run_op()
119 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() argument
132 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission()
133 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission()
134 kdebug("objflags=%lx", object->flags); in fscache_report_unexpected_submission()
[all …]
Dpage.c150 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() argument
156 spin_lock(&object->lock); in fscache_end_page_write()
157 cookie = object->cookie; in fscache_end_page_write()
183 spin_unlock(&object->lock); in fscache_end_page_write()
193 struct fscache_object *object = op->object; in fscache_attr_changed_op() local
196 _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); in fscache_attr_changed_op()
200 if (fscache_object_is_active(object)) { in fscache_attr_changed_op()
202 ret = object->cache->ops->attr_changed(object); in fscache_attr_changed_op()
205 fscache_abort_object(object); in fscache_attr_changed_op()
220 struct fscache_object *object; in __fscache_attr_changed() local
[all …]
/Linux-v4.19/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-v4.19/mm/
Dkmemleak.c309 struct kmemleak_object *object) in hex_dump_object() argument
311 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
315 len = min_t(size_t, object->size, HEX_MAX_LINES * HEX_ROW_SIZE); in hex_dump_object()
334 static bool color_white(const struct kmemleak_object *object) in color_white() argument
336 return object->count != KMEMLEAK_BLACK && in color_white()
337 object->count < object->min_count; in color_white()
340 static bool color_gray(const struct kmemleak_object *object) in color_gray() argument
342 return object->min_count != KMEMLEAK_BLACK && in color_gray()
343 object->count >= object->min_count; in color_gray()
351 static bool unreferenced_object(struct kmemleak_object *object) in unreferenced_object() argument
[all …]
/Linux-v4.19/fs/cachefiles/
Dinterface.c31 struct cachefiles_object *object; in cachefiles_alloc_object() local
47 object = kmem_cache_alloc(cachefiles_object_jar, cachefiles_gfp); in cachefiles_alloc_object()
48 if (!object) in cachefiles_alloc_object()
51 ASSERTCMP(object->backer, ==, NULL); in cachefiles_alloc_object()
53 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object()
54 atomic_set(&object->usage, 1); in cachefiles_alloc_object()
56 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
58 object->type = cookie->def->type; in cachefiles_alloc_object()
81 key = cachefiles_cook_key(buffer, keylen + 2, object->type); in cachefiles_alloc_object()
101 object->lookup_data = lookup_data; in cachefiles_alloc_object()
[all …]
Dnamei.c32 void __cachefiles_printk_object(struct cachefiles_object *object, in __cachefiles_printk_object() argument
39 pr_err("%sobject: OBJ%x\n", prefix, object->fscache.debug_id); in __cachefiles_printk_object()
41 prefix, object->fscache.state->name, in __cachefiles_printk_object()
42 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object()
43 object->fscache.events, object->fscache.event_mask); in __cachefiles_printk_object()
45 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object()
46 object->fscache.n_exclusive); in __cachefiles_printk_object()
48 prefix, object->fscache.parent); in __cachefiles_printk_object()
50 spin_lock(&object->fscache.lock); in __cachefiles_printk_object()
51 cookie = object->fscache.cookie; in __cachefiles_printk_object()
[all …]
Drdwr.c29 struct cachefiles_object *object; in cachefiles_read_waiter() local
64 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter()
65 spin_lock(&object->work_lock); in cachefiles_read_waiter()
67 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
81 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() argument
84 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue()
89 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue()
145 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue()
147 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue()
159 struct cachefiles_object *object; in cachefiles_read_copier() local
[all …]
Dxattr.c29 int cachefiles_check_object_type(struct cachefiles_object *object) in cachefiles_check_object_type() argument
31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type()
38 if (!object->fscache.cookie) in cachefiles_check_object_type()
41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type()
43 _enter("%p{%s}", object, type); in cachefiles_check_object_type()
103 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() argument
106 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr()
111 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
116 clear_bit(FSCACHE_COOKIE_AUX_UPDATED, &object->fscache.cookie->flags); in cachefiles_set_object_xattr()
122 object, in cachefiles_set_object_xattr()
[all …]
/Linux-v4.19/scripts/coccinelle/api/
Ddrm-get-put.cocci15 expression object;
19 - drm_connector_reference(object)
20 + drm_connector_get(object)
22 - drm_connector_unreference(object)
23 + drm_connector_put(object)
25 - drm_framebuffer_reference(object)
26 + drm_framebuffer_get(object)
28 - drm_framebuffer_unreference(object)
29 + drm_framebuffer_put(object)
31 - drm_gem_object_reference(object)
[all …]
/Linux-v4.19/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-v4.19/sound/pci/asihpi/
Dhpimsginit.c38 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument
43 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_message()
44 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_message()
45 size = msg_size[object]; in hpi_init_message()
57 phm->object = object; in hpi_init_message()
67 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
72 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_response()
73 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_response()
74 size = res_size[object]; in hpi_init_response()
82 phr->object = object; in hpi_init_response()
[all …]
/Linux-v4.19/arch/powerpc/boot/
Dwrapper54 object=arch/powerpc/boot
55 objbin=$object
124 object="$1"
164 if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
165 dts="$object/dts/$dts"
207 platformo=$object/"$platform".o
208 lds=$object/zImage.lds
219 platformo="$object/of.o $object/epapr.o"
223 platformo="$object/pseries-head.o $object/of.o $object/epapr.o"
232 platformo="$object/of.o $object/epapr.o"
[all …]
/Linux-v4.19/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-v4.19/include/linux/
Dfscache-cache.h104 struct fscache_object *object; /* object to be operated upon */ member
241 int (*lookup_object)(struct fscache_object *object);
244 void (*lookup_complete)(struct fscache_object *object);
247 struct fscache_object *(*grab_object)(struct fscache_object *object,
251 int (*pin_object)(struct fscache_object *object);
254 void (*unpin_object)(struct fscache_object *object);
261 void (*update_object)(struct fscache_object *object);
268 void (*drop_object)(struct fscache_object *object);
271 void (*put_object)(struct fscache_object *object,
279 int (*attr_changed)(struct fscache_object *object);
[all …]
/Linux-v4.19/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-v4.19/drivers/gpu/drm/
Ddrm_global.c38 void *object; member
51 item->object = NULL; in drm_global_init()
61 BUG_ON(item->object != NULL); in drm_global_release()
85 ref->object = kzalloc(ref->size, GFP_KERNEL); in drm_global_item_ref()
86 if (unlikely(ref->object == NULL)) { in drm_global_item_ref()
94 item->object = ref->object; in drm_global_item_ref()
96 ref->object = item->object; in drm_global_item_ref()
104 kfree(ref->object); in drm_global_item_ref()
105 ref->object = NULL; in drm_global_item_ref()
129 BUG_ON(ref->object != item->object); in drm_global_item_unref()
[all …]
/Linux-v4.19/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>>...28