Home
last modified time | relevance | path

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

12345678910>>...32

/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/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.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
99 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-v6.1/mm/
Dkmemleak.c289 struct kmemleak_object *object) in hex_dump_object() argument
291 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
294 if (WARN_ON_ONCE(object->flags & OBJECT_PHYS)) in hex_dump_object()
298 len = min_t(size_t, object->size, HEX_MAX_LINES * HEX_ROW_SIZE); in hex_dump_object()
317 static bool color_white(const struct kmemleak_object *object) in color_white() argument
319 return object->count != KMEMLEAK_BLACK && in color_white()
320 object->count < object->min_count; in color_white()
323 static bool color_gray(const struct kmemleak_object *object) in color_gray() argument
325 return object->min_count != KMEMLEAK_BLACK && in color_gray()
326 object->count >= object->min_count; in color_gray()
[all …]
/Linux-v6.1/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-v6.1/fs/cachefiles/
Dinterface.c26 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()
43 trace_cachefiles_ref(object->debug_id, cookie->debug_id, 1, 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 …]
Dxattr.c39 int cachefiles_set_object_xattr(struct cachefiles_object *object) in cachefiles_set_object_xattr() argument
43 struct file *file = object->file; in cachefiles_set_object_xattr()
44 unsigned int len = object->cookie->aux_len; in cachefiles_set_object_xattr()
51 _enter("%x,#%d", object->debug_id, len); in cachefiles_set_object_xattr()
57 buf->object_size = cpu_to_be64(object->cookie->object_size); in cachefiles_set_object_xattr()
60 buf->content = object->content_info; in cachefiles_set_object_xattr()
61 if (test_bit(FSCACHE_COOKIE_LOCAL_WRITE, &object->cookie->flags)) in cachefiles_set_object_xattr()
64 memcpy(buf->data, fscache_get_aux(object->cookie), len); in cachefiles_set_object_xattr()
71 trace_cachefiles_vfs_error(object, file_inode(file), ret, in cachefiles_set_object_xattr()
73 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr()
[all …]
/Linux-v6.1/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-v6.1/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-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()
162 const void *object, bool init) in assign_tag() argument
177 return (u8)obj_to_index(cache, virt_to_slab(object), (void *)object); in assign_tag()
183 return init ? kasan_random_tag() : get_tag(object); in assign_tag()
188 const void *object) in __kasan_init_slab_obj() argument
192 kasan_init_object_meta(cache, object); in __kasan_init_slab_obj()
195 object = set_tag(object, assign_tag(cache, object, true)); in __kasan_init_slab_obj()
[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/arch/powerpc/boot/
Dwrapper61 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"
258 platformo="$object/of.o $object/epapr.o"
[all …]
/Linux-v6.1/include/linux/
Dkasan.h145 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object);
147 void *object) in kasan_unpoison_object_data() argument
150 __kasan_unpoison_object_data(cache, object); in kasan_unpoison_object_data()
153 void __kasan_poison_object_data(struct kmem_cache *cache, void *object);
155 void *object) in kasan_poison_object_data() argument
158 __kasan_poison_object_data(cache, object); in kasan_poison_object_data()
162 const void *object);
164 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj() argument
167 return __kasan_init_slab_obj(cache, object); in kasan_init_slab_obj()
168 return (void *)object; in kasan_init_slab_obj()
[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/nouveau/
Dnouveau_usif.c43 usif_object_dtor(struct usif_object *object) in usif_object_dtor() argument
45 list_del(&object->head); in usif_object_dtor()
46 kfree(object); in usif_object_dtor()
57 struct usif_object *object; in usif_object_new() local
85 if (!(object = kmalloc(sizeof(*object), GFP_KERNEL))) in usif_object_new()
87 list_add(&object->head, &cli->objects); in usif_object_new()
89 object->route = args->v0.route; in usif_object_new()
90 object->token = args->v0.token; in usif_object_new()
92 args->v0.token = (unsigned long)(void *)object; in usif_object_new()
95 usif_object_dtor(object); in usif_object_new()
[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/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 …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
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 …]

12345678910>>...32