Home
last modified time | relevance | path

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

12345678910>>...26

/linux/arch/parisc/math-emu/
H A 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/drivers/gpu/drm/nouveau/nvkm/core/
H A Dobject.c32 struct nvkm_object *object; in nvkm_object_search() local
39 object = rb_entry(node, typeof(*object), node); in nvkm_object_search()
40 if (handle < object->object) in nvkm_object_search()
43 if (handle > object->object) in nvkm_object_search()
53 object = &client->object; in nvkm_object_search()
57 if (unlikely(func && object->func != func)) in nvkm_object_search()
59 return object; in nvkm_object_search()
63 nvkm_object_remove(struct nvkm_object *object) in nvkm_object_remove() argument
67 spin_lock_irqsave(&object->client->obj_lock, flags); in nvkm_object_remove()
68 if (!RB_EMPTY_NODE(&object->node)) in nvkm_object_remove()
[all …]
H A 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 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); in nvkm_oproxy_unmap()
52 if (unlikely(!oproxy->object)) in nvkm_oproxy_unmap()
[all …]
H A Dioctl.c34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() argument
42 nvkm_ioctl_sclass_(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) in nvkm_ioctl_sclass_() argument
44 if ( object->func->uevent && in nvkm_ioctl_sclass_()
45 !object->func->uevent(object, NULL, 0, NULL) && index-- == 0) { in nvkm_ioctl_sclass_()
53 if (object->func->sclass) in nvkm_ioctl_sclass_()
54 return object->func->sclass(object, index, oclass); in nvkm_ioctl_sclass_()
61 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass() argument
69 nvif_ioctl(object, "sclass size %d\n", size); in nvkm_ioctl_sclass()
71 nvif_ioctl(object, "sclass vers %d count %d\n", in nvkm_ioctl_sclass()
76 while (nvkm_ioctl_sclass_(object, i, &oclass) >= 0) { in nvkm_ioctl_sclass()
[all …]
H A Duevent.c22 #define nvkm_uevent(p) container_of((p), struct nvkm_uevent, object)
29 struct nvkm_object object; member
61 nvkm_uevent_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) in nvkm_uevent_mthd() argument
63 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_mthd()
76 nvkm_uevent_fini(struct nvkm_object *object, enum nvkm_suspend_state suspend) in nvkm_uevent_fini() argument
78 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_fini()
85 nvkm_uevent_init(struct nvkm_object *object) in nvkm_uevent_init() argument
87 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_init()
96 nvkm_uevent_dtor(struct nvkm_object *object) in nvkm_uevent_dtor() argument
98 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_dtor()
[all …]
/linux/mm/
H A Dkmemleak.c17 * del_state modifications and accesses to the object trees
20 * kmemleak_object) for the allocated memory blocks. The object trees are
23 * the object_list and the object tree root in the create_object() function
38 * Note that the kmemleak_object.use_count is incremented when an object is
46 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING)
48 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex
111 #define MSECS_MIN_AGE 5000 /* minimum object age for reporting */
131 * object->lock. Insertions or deletions from object_list, gray_list or
138 unsigned int flags; /* object status flags */
143 /* object usag
306 hex_dump_object(struct seq_file * seq,struct kmemleak_object * object) hex_dump_object() argument
339 color_white(const struct kmemleak_object * object) color_white() argument
345 color_gray(const struct kmemleak_object * object) color_gray() argument
356 unreferenced_object(struct kmemleak_object * object) unreferenced_object() argument
363 __object_type_str(struct kmemleak_object * object) __object_type_str() argument
377 __print_unreferenced(struct seq_file * seq,struct kmemleak_object * object,bool hex_dump) __print_unreferenced() argument
401 print_unreferenced(struct seq_file * seq,struct kmemleak_object * object) print_unreferenced() argument
411 dump_object_info(struct kmemleak_object * object) dump_object_info() argument
448 struct kmemleak_object *object; __lookup_object() local
488 get_object(struct kmemleak_object * object) get_object() argument
499 struct kmemleak_object *object; mem_pool_alloc() local
530 mem_pool_free(struct kmemleak_object * object) mem_pool_free() argument
552 struct kmemleak_object *object = free_object_rcu() local
573 put_object(struct kmemleak_object * object) put_object() argument
599 struct kmemleak_object *object; __find_and_get_object() local
624 __remove_object(struct kmemleak_object * object) __remove_object() argument
636 struct kmemleak_object *object; __find_and_remove_object() local
654 struct kmemleak_object *object; find_and_remove_object() local
684 struct kmemleak_object *object; __alloc_object() local
728 __link_object(struct kmemleak_object * object,unsigned long ptr,size_t size,int min_count,unsigned int objflags) __link_object() argument
797 struct kmemleak_object *object; __create_object() local
836 __delete_object(struct kmemleak_object * object) __delete_object() argument
859 struct kmemleak_object *object; delete_object_full() local
879 struct kmemleak_object *object, *object_l, *object_r; delete_object_part() local
929 __paint_it(struct kmemleak_object * object,int color) __paint_it() argument
936 paint_it(struct kmemleak_object * object,int color) paint_it() argument
947 struct kmemleak_object *object; paint_ptr() local
985 struct kmemleak_object *object; reset_checksum() local
1007 struct kmemleak_object *object; add_scan_area() local
1061 struct kmemleak_object *object; object_set_excess_ref() local
1084 struct kmemleak_object *object; object_no_scan() local
1225 struct kmemleak_object *object; kmemleak_update_trace() local
1408 update_checksum(struct kmemleak_object * object) update_checksum() argument
1439 update_refs(struct kmemleak_object * object) update_refs() argument
1468 struct kmemleak_object *object; pointer_update_refs() local
1601 scan_object(struct kmemleak_object * object) scan_object() argument
1668 struct kmemleak_object *object, *tmp; scan_gray_list() local
1700 kmemleak_cond_resched(struct kmemleak_object * object) kmemleak_cond_resched() argument
1767 print_leak_locked(struct kmemleak_object * object,bool hex_dump) print_leak_locked() argument
1784 dedup_record(struct xarray * dedup,struct kmemleak_object * object,depot_stack_handle_t trace_handle) dedup_record() argument
1840 struct kmemleak_object *object; dedup_flush() local
1865 struct kmemleak_object *object; __kmemleak_scan() local
2023 confirm_leak(struct kmemleak_object * object) confirm_leak() argument
2044 struct kmemleak_object *object; kmemleak_scan() local
2202 struct kmemleak_object *object; kmemleak_seq_start() local
2267 struct kmemleak_object *object = v; kmemleak_seq_show() local
2292 struct kmemleak_object *object; __dump_str_object_info() local
2335 struct kmemleak_object *object; kmemleak_clear() local
2452 struct kmemleak_object *object, *tmp; __kmemleak_do_cleanup() local
[all...]
/linux/fs/cachefiles/
H A Dinterface.c27 struct cachefiles_object *object; in cachefiles_alloc_object() local
31 object = kmem_cache_zalloc(cachefiles_object_jar, GFP_KERNEL); in cachefiles_alloc_object()
32 if (!object) in cachefiles_alloc_object()
35 refcount_set(&object->ref, 1); in cachefiles_alloc_object()
37 spin_lock_init(&object->lock); in cachefiles_alloc_object()
38 INIT_LIST_HEAD(&object->cache_link); in cachefiles_alloc_object()
39 object->volume = volume; in cachefiles_alloc_object()
40 object->debug_id = atomic_inc_return(&cachefiles_object_debug_id); in cachefiles_alloc_object()
41 object->cookie = fscache_get_cookie(cookie, fscache_cookie_get_attach_object); in cachefiles_alloc_object()
44 trace_cachefiles_ref(object->debug_id, cookie->debug_id, 1, in cachefiles_alloc_object()
[all …]
H A 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 …]
H A Dio.c27 struct cachefiles_object *object; member
40 cachefiles_put_object(ki->object, cachefiles_obj_put_ioreq); in cachefiles_put_kiocb()
57 trace_cachefiles_io_error(ki->object, inode, ret, in cachefiles_read_complete()
62 if (ki->object->cookie->inval_counter == ki->inval_counter) in cachefiles_read_complete()
84 struct cachefiles_object *object; in cachefiles_read() local
95 object = cachefiles_cres_object(cres); in cachefiles_read()
147 ki->object = object; in cachefiles_read()
157 cachefiles_grab_object(object, cachefiles_obj_get_ioreq); in cachefiles_read()
159 trace_cachefiles_read(object, file_inode(file), ki->iocb.ki_pos, len - skipped); in cachefiles_read()
204 struct cachefiles_object *object; in cachefiles_query_occupancy() local
[all …]
H A Dxattr.c40 int cachefiles_preset_object_xattr(struct cachefiles_object *object, struct file *file) in cachefiles_preset_object_xattr() argument
44 unsigned int len = object->cookie->aux_len; in cachefiles_preset_object_xattr()
65 trace_cachefiles_vfs_error(object, file_inode(file), ret, in cachefiles_preset_object_xattr()
67 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_preset_object_xattr()
68 object->object_size, in cachefiles_preset_object_xattr()
77 object, in cachefiles_preset_object_xattr()
91 int cachefiles_set_object_xattr(struct cachefiles_object *object) in cachefiles_set_object_xattr() argument
95 struct file *file = object->file; in cachefiles_set_object_xattr()
96 unsigned int len = object->cookie->aux_len; in cachefiles_set_object_xattr()
97 uoff_t object_size = object->cookie->object_size; in cachefiles_set_object_xattr()
[all …]
/linux/drivers/acpi/acpica/
H A 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 …]
H A 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()
282 union acpi_operand_object *object, in acpi_ds_method_data_set_value() argument
291 "NewObj %p Type %2.2X, Refs=%u [%s]\n", object, in acpi_ds_method_data_set_value()
292 type, object->common.reference_count, in acpi_ds_method_data_set_value()
293 acpi_ut_get_type_name(object->common.type))); in acpi_ds_method_data_set_value()
308 acpi_ut_add_reference(object); in acpi_ds_method_data_set_value()
[all …]
/linux/drivers/gpu/drm/nouveau/nvif/
H A 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()
46 return client->driver->ioctl(client->object.priv, data, size, hack); in nvif_object_ioctl()
57 nvif_object_sclass_get(struct nvif_object *object, struct nvif_sclass **psclass) in nvif_object_sclass_get() argument
75 ret = nvif_object_ioctl(object, args, size, NULL); in nvif_object_sclass_get()
101 nvif_object_mthd(struct nvif_object *object, u32 mthd, void *data, u32 size) in nvif_object_mthd() argument
127 ret = nvif_object_ioctl(object, args, args_size, NULL); in nvif_object_mthd()
[all …]
H A Doutp.c42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); in nvif_outp_dp_mst_vcpi()
43 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_mst_vcpi()
57 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_PUT, &args, sizeof(args)); in nvif_outp_dp_mst_id_put()
58 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_PUT id:%08x]", args.id); in nvif_outp_dp_mst_id_put()
69 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_GET, &args, sizeof(args)); in nvif_outp_dp_mst_id_get()
70 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_GET] id:%08x", args.id); in nvif_outp_dp_mst_id_get()
89 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_SST, &args, sizeof(args)); in nvif_outp_dp_sst()
90 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_sst()
107 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_DRIVE, &args, sizeof(args)); in nvif_outp_dp_drive()
108 NVIF_ERRON(ret, &outp->object, "[DP_DRIVE lanes:%d]", args.lanes); in nvif_outp_dp_drive()
[all …]
/linux/tools/lib/perf/include/internal/
H A Drc_check.h43 #define ADD_RC_CHK(result, object) (result = object, object) argument
46 #define RC_CHK_ACCESS(object) object argument
49 #define RC_CHK_FREE(object) free(object) argument
52 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, object) argument
55 #define RC_CHK_PUT(object) {} argument
77 #define ADD_RC_CHK(result, object) \ argument
79 object ? (result = malloc(sizeof(*result)), \
80 result ? (result->orig = object, result) \
86 #define RC_CHK_ACCESS(object) object->orig argument
89 #define RC_CHK_FREE(object) \ argument
[all …]
/linux/sound/pci/asihpi/
H A 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/mm/kasan/
H A Dcommon.c178 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object) in __kasan_unpoison_new_object()
180 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_new_object()
183 void __kasan_poison_new_object(struct kmem_cache *cache, void *object) in __kasan_poison_new_object()
185 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_new_object()
190 * This function assigns a tag to an object considering the following:
192 * object somewhere (e.g. in the object itself). We preassign a tag for
193 * each object in caches with constructors during slab creation and reuse
194 * the same tag each time a particular object is allocated.
200 const void *object, boo in assign_tag()
177 __kasan_unpoison_new_object(struct kmem_cache * cache,void * object) __kasan_unpoison_new_object() argument
182 __kasan_poison_new_object(struct kmem_cache * cache,void * object) __kasan_poison_new_object() argument
199 assign_tag(struct kmem_cache * cache,const void * object,bool init) assign_tag() argument
220 __kasan_init_slab_obj(struct kmem_cache * cache,const void * object) __kasan_init_slab_obj() argument
233 check_slab_allocation(struct kmem_cache * cache,void * object,unsigned long ip) check_slab_allocation() argument
253 poison_slab_object(struct kmem_cache * cache,void * object,bool init) poison_slab_object() argument
267 __kasan_slab_pre_free(struct kmem_cache * cache,void * object,unsigned long ip) __kasan_slab_pre_free() argument
275 __kasan_slab_free(struct kmem_cache * cache,void * object,bool init,bool still_accessible,bool no_quarantine) __kasan_slab_free() argument
340 unpoison_slab_object(struct kmem_cache * cache,void * object,gfp_t flags,bool init) unpoison_slab_object() argument
355 __kasan_slab_alloc(struct kmem_cache * cache,void * object,gfp_t flags,bool init) __kasan_slab_alloc() argument
383 poison_kmalloc_redzone(struct kmem_cache * cache,const void * object,size_t size,gfp_t flags) poison_kmalloc_redzone() argument
413 __kasan_kmalloc(struct kmem_cache * cache,const void * object,size_t size,gfp_t flags) __kasan_kmalloc() argument
470 __kasan_krealloc(const void * object,size_t size,gfp_t flags) __kasan_krealloc() argument
[all...]
/linux/drivers/tee/qcomtee/
H A Dcore.c55 struct qcomtee_object *object; in qcomtee_qtee_object_alloc() local
57 object = kzalloc_obj(*object); in qcomtee_qtee_object_alloc()
58 if (!object) in qcomtee_qtee_object_alloc()
62 object->name = kasprintf(GFP_KERNEL, "qcomtee-%u", object_id); in qcomtee_qtee_object_alloc()
63 QCOMTEE_OBJECT_SET(object, QCOMTEE_OBJECT_TYPE_TEE, object_id); in qcomtee_qtee_object_alloc()
64 kref_init(&object->refcount); in qcomtee_qtee_object_alloc()
66 object->info.qcomtee_async_ctx = qcomtee->ctx; in qcomtee_qtee_object_alloc()
67 teedev_ctx_get(object->info.qcomtee_async_ctx); in qcomtee_qtee_object_alloc()
69 return object; in qcomtee_qtee_object_alloc()
72 static void qcomtee_qtee_object_free(struct qcomtee_object *object) in qcomtee_qtee_object_free() argument
[all …]
H A Dmem_obj.c36 struct qcomtee_object object; member
44 container_of((o), struct qcomtee_mem_object, object)
49 int is_qcomtee_memobj_object(struct qcomtee_object *object) in is_qcomtee_memobj_object() argument
51 return object != NULL_QCOMTEE_OBJECT && in is_qcomtee_memobj_object()
52 typeof_qcomtee_object(object) == QCOMTEE_OBJECT_TYPE_CB && in is_qcomtee_memobj_object()
53 object->ops == &qcomtee_mem_object_ops; in is_qcomtee_memobj_object()
57 struct qcomtee_object *object, u32 op, in qcomtee_mem_object_dispatch() argument
63 static void qcomtee_mem_object_release(struct qcomtee_object *object) in qcomtee_mem_object_release() argument
65 struct qcomtee_mem_object *mem_object = to_qcomtee_mem_object(object); in qcomtee_mem_object_release()
87 int qcomtee_memobj_param_to_object(struct qcomtee_object **object, in qcomtee_memobj_param_to_object() argument
[all …]
H A Dqcomtee_object.h164 struct qcomtee_object *object; member
203 struct qcomtee_object *object, u32 op,
213 void (*release)(struct qcomtee_object *object);
215 struct qcomtee_object *object, u32 op,
218 struct qcomtee_object *object, int err);
253 typeof_qcomtee_object(struct qcomtee_object *object) in typeof_qcomtee_object() argument
255 if (object == NULL_QCOMTEE_OBJECT) in typeof_qcomtee_object()
257 return object->object_type; in typeof_qcomtee_object()
260 static inline const char *qcomtee_object_name(struct qcomtee_object *object) in qcomtee_object_name() argument
262 if (object == NULL_QCOMTEE_OBJECT) in qcomtee_object_name()
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgsp.h209 } object; member
217 struct nvkm_gsp_object object; member
325 nvkm_gsp_rm_ctrl_get(struct nvkm_gsp_object *object, u32 cmd, u32 argc) in nvkm_gsp_rm_ctrl_get() argument
327 return object->client->gsp->rm->api->ctrl->get(object, cmd, argc); in nvkm_gsp_rm_ctrl_get()
331 nvkm_gsp_rm_ctrl_push(struct nvkm_gsp_object *object, void *argv, u32 repc) in nvkm_gsp_rm_ctrl_push() argument
333 return object->client->gsp->rm->api->ctrl->push(object, argv, repc); in nvkm_gsp_rm_ctrl_push()
337 nvkm_gsp_rm_ctrl_rd(struct nvkm_gsp_object *object, u32 cmd, u32 repc) in nvkm_gsp_rm_ctrl_rd() argument
339 void *argv = nvkm_gsp_rm_ctrl_get(object, cmd, repc); in nvkm_gsp_rm_ctrl_rd()
345 ret = nvkm_gsp_rm_ctrl_push(object, &argv, repc); in nvkm_gsp_rm_ctrl_rd()
352 nvkm_gsp_rm_ctrl_wr(struct nvkm_gsp_object *object, void *argv) in nvkm_gsp_rm_ctrl_wr() argument
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dchan.c30 nvkm_disp_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) in nvkm_disp_chan_ntfy() argument
32 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_ntfy()
47 nvkm_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_disp_chan_map() argument
50 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_map()
68 struct nvkm_disp_chan_object *object = container_of(base, typeof(*object), oproxy); in nvkm_disp_chan_child_del_() local
70 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
86 struct nvkm_disp_chan_object *object; in nvkm_disp_chan_child_new() local
89 if (!(object = kzalloc_obj(*object))) in nvkm_disp_chan_child_new()
91 nvkm_oproxy_ctor(&nvkm_disp_chan_child_func_, oclass, &object->oproxy); in nvkm_disp_chan_child_new()
92 object->disp = disp; in nvkm_disp_chan_child_new()
[all …]
/linux/Documentation/core-api/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dumem.c37 struct nvkm_client *master = client->object.client; in nvkm_umem_search()
39 struct nvkm_object *object; in nvkm_umem_search() local
42 object = nvkm_object_search(client, handle, &nvkm_umem); in nvkm_umem_search()
43 if (IS_ERR(object)) { in nvkm_umem_search()
47 if (umem->object.object == handle) { in nvkm_umem_search()
55 umem = nvkm_umem(object); in nvkm_umem_search()
63 nvkm_umem_unmap(struct nvkm_object *object) in nvkm_umem_unmap() argument
65 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_unmap()
86 nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_umem_map() argument
89 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_map()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c24 #define nvkm_udevice(p) container_of((p), struct nvkm_udevice, object)
39 struct nvkm_object object; member
76 struct nvkm_object *object = &udev->object; in nvkm_udevice_info() local
86 nvif_ioctl(object, "device info size %d\n", size); in nvkm_udevice_info()
88 nvif_ioctl(object, "device info vers %d count %d\n", in nvkm_udevice_info()
98 nvif_ioctl(object, "device info vers %d\n", args->v0.version); in nvkm_udevice_info()
177 struct nvkm_object *object = &udev->object; in nvkm_udevice_time() local
184 nvif_ioctl(object, "device time size %d\n", size); in nvkm_udevice_time()
186 nvif_ioctl(object, "device time vers %d\n", args->v0.version); in nvkm_udevice_time()
196 struct nvkm_object *object = &udev->object; in nvkm_udevice_gcx_ready() local
[all …]

12345678910>>...26