| /linux/arch/parisc/math-emu/ |
| H A D | float.h | 48 #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 …]
|
| H A D | fpbits.h | 40 #define Bitfield_extract(start, length, object) \ argument 41 ((object) >> (HOSTWDSZ - (start) - (length)) & \ 44 #define Bitfield_signed_extract(start, length, object) \ argument 45 ((int)((object) << start) >> (HOSTWDSZ - (length))) 47 #define Bitfield_mask(start, len, object) \ argument 48 ((object) & (((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len))) 50 #define Bitfield_deposit(value,start,len,object) object = \ argument 51 ((object) & ~(((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len))) | \
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | object.c | 32 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 D | oproxy.c | 27 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 D | ioctl.c | 34 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 D | uevent.c | 22 #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, bool 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 D | kmemleak.c | 293 struct kmemleak_object *object) in hex_dump_object() argument 295 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object() 298 if (WARN_ON_ONCE(object->flags & OBJECT_PHYS)) in hex_dump_object() 301 if (object->flags & OBJECT_PERCPU) in hex_dump_object() 302 ptr = (const u8 *)this_cpu_ptr((void __percpu *)object->pointer); in hex_dump_object() 305 len = min_t(size_t, object->size, HEX_MAX_LINES * HEX_ROW_SIZE); in hex_dump_object() 307 if (object->flags & OBJECT_PERCPU) in hex_dump_object() 326 static bool color_white(const struct kmemleak_object *object) in color_white() argument 328 return object->count != KMEMLEAK_BLACK && in color_white() 329 object->count < object->min_count; in color_white() [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utdelete.c | 18 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 D | nsobject.c | 38 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 …]
|
| H A D | dsmthdat.c | 25 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 …]
|
| H A D | utobject.c | 60 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 …]
|
| H A D | utdecode.c | 239 const char *acpi_ut_get_node_name(void *object) in acpi_ut_get_node_name() argument 241 struct acpi_namespace_node *node = (struct acpi_namespace_node *)object; in acpi_ut_get_node_name() 245 if (!object) { in acpi_ut_get_node_name() 251 if ((object == ACPI_ROOT_OBJECT) || (object == acpi_gbl_root_node)) { in acpi_ut_get_node_name() 305 const char *acpi_ut_get_descriptor_name(void *object) in acpi_ut_get_descriptor_name() argument 308 if (!object) { in acpi_ut_get_descriptor_name() 312 if (ACPI_GET_DESCRIPTOR_TYPE(object) > ACPI_DESC_TYPE_MAX) { in acpi_ut_get_descriptor_name() 316 return (acpi_gbl_desc_type_names[ACPI_GET_DESCRIPTOR_TYPE(object)]); in acpi_ut_get_descriptor_name() 343 const char *acpi_ut_get_reference_name(union acpi_operand_object *object) in acpi_ut_get_reference_name() argument 346 if (!object) { in acpi_ut_get_reference_name() [all …]
|
| H A D | utcache.c | 153 acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object) in acpi_os_release_object() argument 159 if (!cache || !object) { in acpi_os_release_object() 166 ACPI_FREE(object); in acpi_os_release_object() 180 memset(object, 0xCA, cache->object_size); in acpi_os_release_object() 181 ACPI_SET_DESCRIPTOR_TYPE(object, ACPI_DESC_TYPE_CACHED); in acpi_os_release_object() 185 ACPI_SET_DESCRIPTOR_PTR(object, cache->list_head); in acpi_os_release_object() 186 cache->list_head = object; in acpi_os_release_object() 211 void *object; in acpi_os_acquire_object() local 232 object = cache->list_head; in acpi_os_acquire_object() 233 cache->list_head = ACPI_GET_DESCRIPTOR_PTR(object); in acpi_os_acquire_object() [all …]
|
| /linux/fs/cachefiles/ |
| H A D | ondemand.c | 20 struct cachefiles_object *object = file->private_data; in cachefiles_ondemand_fd_release() local 27 if (!object) in cachefiles_ondemand_fd_release() 30 info = object->ondemand; in cachefiles_ondemand_fd_release() 31 cache = object->volume->cache; in cachefiles_ondemand_fd_release() 38 cachefiles_ondemand_set_object_close(object); in cachefiles_ondemand_fd_release() 52 trace_cachefiles_ondemand_fd_release(object, object_id); in cachefiles_ondemand_fd_release() 53 cachefiles_put_object(object, cachefiles_obj_put_ondemand_fd); in cachefiles_ondemand_fd_release() 61 struct cachefiles_object *object = kiocb->ki_filp->private_data; in cachefiles_ondemand_fd_write_iter() local 62 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() 69 spin_lock(&object->lock); in cachefiles_ondemand_fd_write_iter() [all …]
|
| H A D | xattr.c | 39 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() 77 trace_cachefiles_vfs_error(object, file_inode(file), ret, in cachefiles_set_object_xattr() 79 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr() [all …]
|
| H A D | io.c | 27 struct cachefiles_object *object; member 38 cachefiles_put_object(ki->object, cachefiles_obj_put_ioreq); in cachefiles_put_kiocb() 55 trace_cachefiles_io_error(ki->object, inode, ret, in cachefiles_read_complete() 60 if (ki->object->cookie->inval_counter == ki->inval_counter) in cachefiles_read_complete() 82 struct cachefiles_object *object; in cachefiles_read() local 93 object = cachefiles_cres_object(cres); in cachefiles_read() 145 ki->object = object; in cachefiles_read() 155 cachefiles_grab_object(object, cachefiles_obj_get_ioreq); in cachefiles_read() 157 trace_cachefiles_read(object, file_inode(file), ki->iocb.ki_pos, len - skipped); in cachefiles_read() 203 struct cachefiles_object *object; in cachefiles_query_occupancy() local [all …]
|
| /linux/mm/kasan/ |
| H A D | common.c | 165 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object) in __kasan_unpoison_new_object() argument 167 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_new_object() 170 void __kasan_poison_new_object(struct kmem_cache *cache, void *object) in __kasan_poison_new_object() argument 172 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_new_object() 187 const void *object, bool init) in assign_tag() argument 204 return init ? kasan_random_tag() : get_tag(object); in assign_tag() 208 const void *object) in __kasan_init_slab_obj() argument 212 kasan_init_object_meta(cache, object); in __kasan_init_slab_obj() 215 object = set_tag(object, assign_tag(cache, object, true)); in __kasan_init_slab_obj() 217 return (void *)object; in __kasan_init_slab_obj() [all …]
|
| /linux/tools/lib/perf/include/internal/ |
| H A D | rc_check.h | 43 #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 D | hpimsginit.c | 27 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/drivers/tee/qcomtee/ |
| H A D | core.c | 55 struct qcomtee_object *object; in qcomtee_qtee_object_alloc() local 57 object = kzalloc(sizeof(*object), GFP_KERNEL); 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 …]
|
| /linux/arch/powerpc/boot/ |
| H A D | wrapper | 61 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" 237 platformo=$object/"$platform".o 238 lds=$object/zImage.lds 256 platformo="$object/of.o $object/epapr.o" 260 platformo="$object/pseries-head.o $object/of.o $object/epapr.o" 269 platformo="$object/of.o $object/epapr.o" [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | gsp.h | 201 } object; member 209 struct nvkm_gsp_object object; member 315 nvkm_gsp_rm_ctrl_get(struct nvkm_gsp_object *object, u32 cmd, u32 argc) in nvkm_gsp_rm_ctrl_get() argument 317 return object->client->gsp->rm->api->ctrl->get(object, cmd, argc); in nvkm_gsp_rm_ctrl_get() 321 nvkm_gsp_rm_ctrl_push(struct nvkm_gsp_object *object, void *argv, u32 repc) in nvkm_gsp_rm_ctrl_push() argument 323 return object->client->gsp->rm->api->ctrl->push(object, argv, repc); in nvkm_gsp_rm_ctrl_push() 327 nvkm_gsp_rm_ctrl_rd(struct nvkm_gsp_object *object, u32 cmd, u32 repc) in nvkm_gsp_rm_ctrl_rd() argument 329 void *argv = nvkm_gsp_rm_ctrl_get(object, cmd, repc); in nvkm_gsp_rm_ctrl_rd() 335 ret = nvkm_gsp_rm_ctrl_push(object, &argv, repc); in nvkm_gsp_rm_ctrl_rd() 342 nvkm_gsp_rm_ctrl_wr(struct nvkm_gsp_object *object, void *argv) in nvkm_gsp_rm_ctrl_wr() argument [all …]
|
| /linux/include/linux/ |
| H A D | kasan.h | 136 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object); 148 void *object) in kasan_unpoison_new_object() argument 151 __kasan_unpoison_new_object(cache, object); in kasan_unpoison_new_object() 154 void __kasan_poison_new_object(struct kmem_cache *cache, void *object); 165 void *object) in kasan_poison_new_object() argument 168 __kasan_poison_new_object(cache, object); in kasan_poison_new_object() 172 const void *object); 174 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj() argument 177 return __kasan_init_slab_obj(cache, object); in kasan_init_slab_obj() 178 return (void *)object; in kasan_init_slab_obj() [all …]
|
| /linux/Documentation/core-api/ |
| H A D | debug-objects.rst | 2 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 D | umem.c | 37 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 …]
|