/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
H A D | float.h | 48 #define Sall(object) (object) 49 #define Ssign(object) Bitfield_extract( 0, 1,object) 50 #define Ssignedsign(object) Bitfield_signed_extract( 0, 1,object) 51 #define Sexponent(object) Bitfield_extract( 1, 8,object) 52 #define Smantissa(object) Bitfield_mask( 9, 23,object) [all...] |
/kernel/linux/linux-6.6/arch/parisc/math-emu/ |
H A D | float.h | 48 #define Sall(object) (object) 49 #define Ssign(object) Bitfield_extract( 0, 1,object) 50 #define Ssignedsign(object) Bitfield_signed_extract( 0, 1,object) 51 #define Sexponent(object) Bitfield_extract( 1, 8,object) 52 #define Smantissa(object) Bitfield_mask( 9, 23,object) [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | object.c | 24 #include <core/object.h> 32 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() 58 nvkm_object_remove(struct nvkm_object *object) nvkm_object_remove() argument 65 nvkm_object_insert(struct nvkm_object *object) nvkm_object_insert() argument 88 nvkm_object_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_object_mthd() argument 96 nvkm_object_ntfy(struct nvkm_object *object, u32 mthd, struct nvkm_event **pevent) nvkm_object_ntfy() argument 105 nvkm_object_map(struct nvkm_object *object, void *argv, u32 argc, enum nvkm_object_map *type, u64 *addr, u64 *size) nvkm_object_map() argument 114 nvkm_object_unmap(struct nvkm_object *object) nvkm_object_unmap() argument 122 nvkm_object_rd08(struct nvkm_object *object, u64 addr, u8 *data) nvkm_object_rd08() argument 130 nvkm_object_rd16(struct nvkm_object *object, u64 addr, u16 *data) nvkm_object_rd16() argument 138 nvkm_object_rd32(struct nvkm_object *object, u64 addr, u32 *data) nvkm_object_rd32() argument 146 nvkm_object_wr08(struct nvkm_object *object, u64 addr, u8 data) nvkm_object_wr08() argument 154 nvkm_object_wr16(struct nvkm_object *object, u64 addr, u16 data) nvkm_object_wr16() argument 162 nvkm_object_wr32(struct nvkm_object *object, u64 addr, u32 data) nvkm_object_wr32() argument 170 nvkm_object_bind(struct nvkm_object *object, struct nvkm_gpuobj *gpuobj, int align, struct nvkm_gpuobj **pgpuobj) nvkm_object_bind() argument 179 nvkm_object_fini(struct nvkm_object *object, bool suspend) nvkm_object_fini() argument 222 nvkm_object_init(struct nvkm_object *object) nvkm_object_init() argument 258 nvkm_object_dtor(struct nvkm_object *object) nvkm_object_dtor() argument 283 struct nvkm_object *object = *pobject; nvkm_object_del() local 294 nvkm_object_ctor(const struct nvkm_object_func *func, const struct nvkm_oclass *oclass, struct nvkm_object *object) nvkm_object_ctor() argument [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 54 nvkm_oproxy_rd08(struct nvkm_object *object, u64 addr, u8 *data) nvkm_oproxy_rd08() argument 60 nvkm_oproxy_rd16(struct nvkm_object *object, u64 addr, u16 *data) nvkm_oproxy_rd16() argument 66 nvkm_oproxy_rd32(struct nvkm_object *object, u64 addr, u32 *data) nvkm_oproxy_rd32() argument 72 nvkm_oproxy_wr08(struct nvkm_object *object, u64 addr, u8 data) nvkm_oproxy_wr08() argument 78 nvkm_oproxy_wr16(struct nvkm_object *object, u64 addr, u16 data) nvkm_oproxy_wr16() argument 84 nvkm_oproxy_wr32(struct nvkm_object *object, u64 addr, u32 data) nvkm_oproxy_wr32() argument 90 nvkm_oproxy_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent, int align, struct nvkm_gpuobj **pgpuobj) nvkm_oproxy_bind() argument 98 nvkm_oproxy_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) nvkm_oproxy_sclass() argument 109 nvkm_oproxy_fini(struct nvkm_object *object, bool suspend) nvkm_oproxy_fini() argument 136 nvkm_oproxy_init(struct nvkm_object *object) nvkm_oproxy_init() argument 163 nvkm_oproxy_dtor(struct nvkm_object *object) nvkm_oproxy_dtor() argument [all...] |
H A D | ioctl.c | 33 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() 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() 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 in nvkm_ioctl_new() local 32 nvkm_ioctl_nop(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_nop() argument 50 nvkm_ioctl_sclass(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_sclass() argument 146 nvkm_ioctl_del(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_del() argument 165 nvkm_ioctl_mthd(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_mthd() argument 185 nvkm_ioctl_rd(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_rd() argument 225 nvkm_ioctl_wr(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_wr() argument 254 nvkm_ioctl_map(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_map() argument 279 nvkm_ioctl_unmap(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_unmap() argument 297 nvkm_ioctl_ntfy_new(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_ntfy_new() argument 324 nvkm_ioctl_ntfy_del(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_ntfy_del() argument 343 nvkm_ioctl_ntfy_get(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_ntfy_get() argument 362 nvkm_ioctl_ntfy_put(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_ntfy_put() argument 404 struct nvkm_object *object; nvkm_ioctl_path() local 432 struct nvkm_object *object = &client->object; nvkm_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | object.c | 24 #include <core/object.h> 32 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() 58 nvkm_object_remove(struct nvkm_object *object) nvkm_object_remove() argument 65 nvkm_object_insert(struct nvkm_object *object) nvkm_object_insert() argument 88 nvkm_object_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_object_mthd() argument 96 nvkm_object_ntfy(struct nvkm_object *object, u32 mthd, struct nvkm_event **pevent) nvkm_object_ntfy() argument 105 nvkm_object_map(struct nvkm_object *object, void *argv, u32 argc, enum nvkm_object_map *type, u64 *addr, u64 *size) nvkm_object_map() argument 114 nvkm_object_unmap(struct nvkm_object *object) nvkm_object_unmap() argument 122 nvkm_object_rd08(struct nvkm_object *object, u64 addr, u8 *data) nvkm_object_rd08() argument 130 nvkm_object_rd16(struct nvkm_object *object, u64 addr, u16 *data) nvkm_object_rd16() argument 138 nvkm_object_rd32(struct nvkm_object *object, u64 addr, u32 *data) nvkm_object_rd32() argument 146 nvkm_object_wr08(struct nvkm_object *object, u64 addr, u8 data) nvkm_object_wr08() argument 154 nvkm_object_wr16(struct nvkm_object *object, u64 addr, u16 data) nvkm_object_wr16() argument 162 nvkm_object_wr32(struct nvkm_object *object, u64 addr, u32 data) nvkm_object_wr32() argument 170 nvkm_object_bind(struct nvkm_object *object, struct nvkm_gpuobj *gpuobj, int align, struct nvkm_gpuobj **pgpuobj) nvkm_object_bind() argument 179 nvkm_object_fini(struct nvkm_object *object, bool suspend) nvkm_object_fini() argument 222 nvkm_object_init(struct nvkm_object *object) nvkm_object_init() argument 258 nvkm_object_dtor(struct nvkm_object *object) nvkm_object_dtor() argument 283 struct nvkm_object *object = *pobject; nvkm_object_del() local 294 nvkm_object_ctor(const struct nvkm_object_func *func, const struct nvkm_oclass *oclass, struct nvkm_object *object) nvkm_object_ctor() argument [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 59 nvkm_oproxy_rd08(struct nvkm_object *object, u64 addr, u8 *data) nvkm_oproxy_rd08() argument 65 nvkm_oproxy_rd16(struct nvkm_object *object, u64 addr, u16 *data) nvkm_oproxy_rd16() argument 71 nvkm_oproxy_rd32(struct nvkm_object *object, u64 addr, u32 *data) nvkm_oproxy_rd32() argument 77 nvkm_oproxy_wr08(struct nvkm_object *object, u64 addr, u8 data) nvkm_oproxy_wr08() argument 83 nvkm_oproxy_wr16(struct nvkm_object *object, u64 addr, u16 data) nvkm_oproxy_wr16() argument 89 nvkm_oproxy_wr32(struct nvkm_object *object, u64 addr, u32 data) nvkm_oproxy_wr32() argument 95 nvkm_oproxy_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent, int align, struct nvkm_gpuobj **pgpuobj) nvkm_oproxy_bind() argument 103 nvkm_oproxy_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) nvkm_oproxy_sclass() argument 114 nvkm_oproxy_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) nvkm_oproxy_uevent() argument 126 nvkm_oproxy_fini(struct nvkm_object *object, bool suspend) nvkm_oproxy_fini() argument 153 nvkm_oproxy_init(struct nvkm_object *object) nvkm_oproxy_init() argument 180 nvkm_oproxy_dtor(struct nvkm_object *object) nvkm_oproxy_dtor() argument [all...] |
H A D | ioctl.c | 34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() 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() 53 nvkm_ioctl_sclass_(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) in nvkm_ioctl_sclass_() argument 55 if ( object->func->uevent && in nvkm_ioctl_sclass_() 56 !object->func->uevent(object, NULL, 0, NULL) && index-- == 0) { in nvkm_ioctl_sclass_() 64 if (object->func->sclass) in nvkm_ioctl_sclass_() 65 return object->func->sclass(object, inde in nvkm_ioctl_sclass_() 33 nvkm_ioctl_nop(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_nop() argument 71 nvkm_ioctl_sclass(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_sclass() argument 109 struct nvkm_object *object = NULL; nvkm_ioctl_new() local 166 nvkm_ioctl_del(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_del() argument 185 nvkm_ioctl_mthd(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_mthd() argument 205 nvkm_ioctl_rd(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_rd() argument 245 nvkm_ioctl_wr(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_wr() argument 274 nvkm_ioctl_map(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_map() argument 299 nvkm_ioctl_unmap(struct nvkm_client *client, struct nvkm_object *object, void *data, u32 size) nvkm_ioctl_unmap() argument 336 struct nvkm_object *object; nvkm_ioctl_path() local 363 struct nvkm_object *object = &client->object; nvkm_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utdelete.c | 4 * Module Name: utdelete - object deletion and reference count utilities 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); 27 * PARAMETERS: object - Object to be deleted 31 * DESCRIPTION: Low level object deletion, after reference counts have been 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() 52 * Must delete or free any pointers within the object that are not in acpi_ut_delete_internal_obj() 55 switch (object in acpi_ut_delete_internal_obj() 365 acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action) acpi_ut_update_ref_count() argument 482 acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action) acpi_ut_update_object_reference() argument 677 acpi_ut_add_reference(union acpi_operand_object *object) acpi_ut_add_reference() argument 710 acpi_ut_remove_reference(union acpi_operand_object *object) acpi_ut_remove_reference() argument [all...] |
H A D | nsobject.c | 21 * object - Object to be attached 22 * type - Type of object, or ACPI_TYPE_ANY if not 27 * DESCRIPTION: Record the given object as the value associated with the 38 union acpi_operand_object *object, acpi_object_type type) in acpi_ns_attach_object() 57 if (!object && (ACPI_TYPE_ANY != type)) { in acpi_ns_attach_object() 59 /* Null object */ in acpi_ns_attach_object() 62 "Null object, but type not ACPI_TYPE_ANY")); in acpi_ns_attach_object() 75 /* Check if this object is already attached */ in acpi_ns_attach_object() 77 if (node->object == object) { in acpi_ns_attach_object() 37 acpi_ns_attach_object(struct acpi_namespace_node *node, union acpi_operand_object *object, acpi_object_type type) acpi_ns_attach_object() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utdelete.c | 4 * Module Name: utdelete - object deletion and reference count utilities 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); 27 * PARAMETERS: object - Object to be deleted 31 * DESCRIPTION: Low level object deletion, after reference counts have been 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() 52 * Must delete or free any pointers within the object that are not in acpi_ut_delete_internal_obj() 55 switch (object in acpi_ut_delete_internal_obj() 365 acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action) acpi_ut_update_ref_count() argument 482 acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action) acpi_ut_update_object_reference() argument 677 acpi_ut_add_reference(union acpi_operand_object *object) acpi_ut_add_reference() argument 710 acpi_ut_remove_reference(union acpi_operand_object *object) acpi_ut_remove_reference() argument [all...] |
/kernel/linux/linux-5.10/fs/fscache/ |
H A D | object.c | 2 /* FS-Cache object state machine handler 7 * See Documentation/filesystems/caching/object.rst for a description of the 8 * object state machine and the in-kernel representations. 74 * The object state machine. 113 * In such a situation, object->state remembers the state the machine should 149 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 ! in fscache_object_sm_dispatcher() 278 struct fscache_object *object = fscache_object_work_func() local 301 fscache_object_init(struct fscache_object *object, struct fscache_cookie *cookie, struct fscache_cache *cache) fscache_object_init() argument 345 fscache_mark_object_dead(struct fscache_object *object) fscache_mark_object_dead() argument 355 fscache_abort_initialisation(struct fscache_object *object, int event) fscache_abort_initialisation() argument 372 fscache_initialise_object(struct fscache_object *object, int event) fscache_initialise_object() argument 427 fscache_parent_ready(struct fscache_object *object, int event) fscache_parent_ready() argument 451 fscache_look_up_object(struct fscache_object *object, int event) fscache_look_up_object() argument 510 fscache_object_lookup_negative(struct fscache_object *object) fscache_object_lookup_negative() argument 543 fscache_obtained_object(struct fscache_object *object) fscache_obtained_object() argument 575 fscache_object_available(struct fscache_object *object, int event) fscache_object_available() argument 609 fscache_jumpstart_dependents(struct fscache_object *object, int event) fscache_jumpstart_dependents() argument 622 fscache_lookup_failure(struct fscache_object *object, int event) fscache_lookup_failure() argument 650 fscache_kill_object(struct fscache_object *object, int event) fscache_kill_object() argument 686 fscache_kill_dependents(struct fscache_object *object, int event) fscache_kill_dependents() argument 699 fscache_drop_object(struct fscache_object *object, int event) fscache_drop_object() argument 772 fscache_get_object(struct fscache_object *object, enum fscache_obj_ref_trace why) fscache_get_object() argument 786 fscache_put_object(struct fscache_object *object, enum fscache_obj_ref_trace why) fscache_put_object() argument 800 fscache_object_destroy(struct fscache_object *object) fscache_object_destroy() argument 813 fscache_enqueue_object(struct fscache_object *object) fscache_enqueue_object() argument 867 fscache_enqueue_dependents(struct fscache_object *object, int event) fscache_enqueue_dependents() argument 900 fscache_dequeue_object(struct fscache_object *object) fscache_dequeue_object() argument 924 fscache_check_aux(struct fscache_object *object, const void *data, uint16_t datalen, loff_t object_size) fscache_check_aux() argument 964 _fscache_invalidate_object(struct fscache_object *object, int event) _fscache_invalidate_object() argument 1034 fscache_invalidate_object(struct fscache_object *object, int event) fscache_invalidate_object() argument 1049 fscache_update_aux_data(struct fscache_object *object) fscache_update_aux_data() argument 1060 fscache_update_object(struct fscache_object *object, int event) fscache_update_object() argument 1078 fscache_object_retrying_stale(struct fscache_object *object) fscache_object_retrying_stale() argument 1092 fscache_object_mark_killed(struct fscache_object *object, enum fscache_why_object_killed why) fscache_object_mark_killed() argument 1124 fscache_object_dead(struct fscache_object *object, int event) fscache_object_dead() argument [all...] |
H A D | operation.c | 29 * object and processor if needed. 56 * This will get its own ref on the object. 60 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 in fscache_report_unexpected_submission() 154 fscache_submit_exclusive_op(struct fscache_object *object, struct fscache_operation *op) fscache_submit_exclusive_op() argument 240 fscache_submit_op(struct fscache_object *object, struct fscache_operation *op) fscache_submit_op() argument 319 fscache_abort_object(struct fscache_object *object) fscache_abort_object() argument 330 fscache_start_operations(struct fscache_object *object) fscache_start_operations() argument 363 struct fscache_object *object = op->object; fscache_cancel_op() local 419 fscache_cancel_all_ops(struct fscache_object *object) fscache_cancel_all_ops() argument 456 struct fscache_object *object = op->object; fscache_op_complete() local 495 struct fscache_object *object; fscache_put_operation() local 564 struct fscache_object *object; fscache_operation_gc() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | kmemleak.c | 40 * Note that the kmemleak_object.use_count is incremented when an object is 48 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 50 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 112 #define MSECS_MIN_AGE 5000 /* minimum object age for reporting */ 138 * object->lock. Insertions or deletions from object_list, gray_list or 145 unsigned int flags; /* object status flags */ 150 /* object usage count; object freed when use_count == 0 */ 159 /* the total number of pointers found pointing to this object */ 163 /* memory ranges to be scanned inside an object (empt 295 hex_dump_object(struct seq_file *seq, struct kmemleak_object *object) hex_dump_object() argument 324 color_white(const struct kmemleak_object *object) color_white() argument 330 color_gray(const struct kmemleak_object *object) color_gray() argument 341 unreferenced_object(struct kmemleak_object *object) unreferenced_object() argument 352 print_unreferenced(struct seq_file *seq, struct kmemleak_object *object) print_unreferenced() argument 380 dump_object_info(struct kmemleak_object *object) dump_object_info() argument 409 struct kmemleak_object *object; __lookup_object() local 443 get_object(struct kmemleak_object *object) get_object() argument 454 struct kmemleak_object *object; mem_pool_alloc() local 481 mem_pool_free(struct kmemleak_object *object) mem_pool_free() argument 503 struct kmemleak_object *object = free_object_rcu() local 524 put_object(struct kmemleak_object *object) put_object() argument 550 struct kmemleak_object *object; __find_and_get_object() local 576 __remove_object(struct kmemleak_object *object) __remove_object() argument 596 struct kmemleak_object *object; find_and_remove_object() local 635 struct kmemleak_object *object, *parent; __create_object() local 742 __delete_object(struct kmemleak_object *object) __delete_object() argument 765 struct kmemleak_object *object; delete_object_full() local 785 struct kmemleak_object *object; delete_object_part() local 814 __paint_it(struct kmemleak_object *object, int color) __paint_it() argument 821 paint_it(struct kmemleak_object *object, int color) paint_it() argument 832 struct kmemleak_object *object; paint_ptr() local 871 struct kmemleak_object *object; add_scan_area() local 924 struct kmemleak_object *object; object_set_excess_ref() local 947 struct kmemleak_object *object; object_no_scan() local 1100 struct kmemleak_object *object; kmemleak_update_trace() local 1250 update_checksum(struct kmemleak_object *object) update_checksum() argument 1269 update_refs(struct kmemleak_object *object) update_refs() argument 1326 struct kmemleak_object *object; scan_block() local 1406 scan_object(struct kmemleak_object *object) scan_object() argument 1460 struct kmemleak_object *object, *tmp; scan_gray_list() local 1492 kmemleak_cond_resched(struct kmemleak_object *object) kmemleak_cond_resched() argument 1523 struct kmemleak_object *object; kmemleak_scan() local 1774 struct kmemleak_object *object; kmemleak_seq_start() local 1839 struct kmemleak_object *object = v; kmemleak_seq_show() local 1864 struct kmemleak_object *object; dump_str_object_info() local 1891 struct kmemleak_object *object; kmemleak_clear() local 2008 struct kmemleak_object *object, *tmp; __kmemleak_do_cleanup() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | kmemleak.c | 37 * Note that the kmemleak_object.use_count is incremented when an object is 45 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 47 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 107 #define MSECS_MIN_AGE 5000 /* minimum object age for reporting */ 132 * object->lock. Insertions or deletions from object_list, gray_list or 139 unsigned int flags; /* object status flags */ 144 /* object usage count; object freed when use_count == 0 */ 152 /* the total number of pointers found pointing to this object */ 156 /* memory ranges to be scanned inside an object (empt 280 hex_dump_object(struct seq_file *seq, struct kmemleak_object *object) hex_dump_object() argument 306 color_white(const struct kmemleak_object *object) color_white() argument 312 color_gray(const struct kmemleak_object *object) color_gray() argument 323 unreferenced_object(struct kmemleak_object *object) unreferenced_object() argument 334 print_unreferenced(struct seq_file *seq, struct kmemleak_object *object) print_unreferenced() argument 359 dump_object_info(struct kmemleak_object *object) dump_object_info() argument 384 struct kmemleak_object *object = lookup_object() local 408 get_object(struct kmemleak_object *object) get_object() argument 419 struct kmemleak_object *object; mem_pool_alloc() local 446 mem_pool_free(struct kmemleak_object *object) mem_pool_free() argument 468 struct kmemleak_object *object = free_object_rcu() local 489 put_object(struct kmemleak_object *object) put_object() argument 514 struct kmemleak_object *object; find_and_get_object() local 533 __remove_object(struct kmemleak_object *object) __remove_object() argument 547 struct kmemleak_object *object; find_and_remove_object() local 574 struct kmemleak_object *object, *parent; create_object() local 659 __delete_object(struct kmemleak_object *object) __delete_object() argument 682 struct kmemleak_object *object; delete_object_full() local 702 struct kmemleak_object *object; delete_object_part() local 731 __paint_it(struct kmemleak_object *object, int color) __paint_it() argument 738 paint_it(struct kmemleak_object *object, int color) paint_it() argument 749 struct kmemleak_object *object; paint_ptr() local 788 struct kmemleak_object *object; add_scan_area() local 841 struct kmemleak_object *object; object_set_excess_ref() local 864 struct kmemleak_object *object; object_no_scan() local 1017 struct kmemleak_object *object; kmemleak_update_trace() local 1172 update_checksum(struct kmemleak_object *object) update_checksum() argument 1188 update_refs(struct kmemleak_object *object) update_refs() argument 1245 struct kmemleak_object *object; scan_block() local 1325 scan_object(struct kmemleak_object *object) scan_object() argument 1373 struct kmemleak_object *object, *tmp; scan_gray_list() local 1408 struct kmemleak_object *object; kmemleak_scan() local 1624 struct kmemleak_object *object; kmemleak_seq_start() local 1689 struct kmemleak_object *object = v; kmemleak_seq_show() local 1714 struct kmemleak_object *object; dump_str_object_info() local 1741 struct kmemleak_object *object; kmemleak_clear() local 1853 struct kmemleak_object *object, *tmp; __kmemleak_do_cleanup() local [all...] |
/kernel/linux/linux-5.10/fs/cachefiles/ |
H A D | interface.c | 20 * allocate an object record for a cookie lookup and prepare the lookup data 27 struct cachefiles_object *object; in cachefiles_alloc_object() local 42 /* create a new object record and a temporary leaf image */ in cachefiles_alloc_object() 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 in cachefiles_alloc_object() 122 struct cachefiles_object *parent, *object; cachefiles_lookup_object() local 164 struct cachefiles_object *object; cachefiles_lookup_complete() local 185 struct cachefiles_object *object = cachefiles_grab_object() local 206 struct cachefiles_object *object; cachefiles_update_object() local 263 struct cachefiles_object *object; cachefiles_drop_object() local 325 struct cachefiles_object *object; cachefiles_put_object() local 407 struct cachefiles_object *object; cachefiles_check_consistency() local 432 struct cachefiles_object *object; cachefiles_attr_changed() local 501 struct cachefiles_object *object; cachefiles_invalidate_object() local [all...] |
H A D | namei.c | 24 * dump debugging info about an object 27 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 in __cachefiles_printk_object() 69 cachefiles_printk_object(struct cachefiles_object *object, struct cachefiles_object *xobject) cachefiles_printk_object() argument 88 struct cachefiles_object *object; cachefiles_mark_object_buried() local 136 cachefiles_mark_object_active(struct cachefiles_cache *cache, struct cachefiles_object *object) cachefiles_mark_object_active() argument 256 cachefiles_mark_object_inactive(struct cachefiles_cache *cache, struct cachefiles_object *object, blkcnt_t i_blocks) cachefiles_mark_object_inactive() argument 287 cachefiles_bury_object(struct cachefiles_cache *cache, struct cachefiles_object *object, struct dentry *dir, struct dentry *rep, bool preemptive, enum fscache_why_object_killed why) cachefiles_bury_object() argument 435 cachefiles_delete_object(struct cachefiles_cache *cache, struct cachefiles_object *object) cachefiles_delete_object() argument 482 cachefiles_walk_to_object(struct cachefiles_object *parent, struct cachefiles_object *object, const char *key, struct cachefiles_xattr *auxdata) cachefiles_walk_to_object() argument 867 struct cachefiles_object *object; cachefiles_check_active() local [all...] |
/kernel/linux/linux-6.6/fs/cachefiles/ |
H A D | interface.c | 19 * Allocate a cache object record. 26 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 in cachefiles_alloc_object() 51 cachefiles_see_object(struct cachefiles_object *object, enum cachefiles_obj_ref_trace why) cachefiles_see_object() argument 61 cachefiles_grab_object(struct cachefiles_object *object, enum cachefiles_obj_ref_trace why) cachefiles_grab_object() argument 74 cachefiles_put_object(struct cachefiles_object *object, enum cachefiles_obj_ref_trace why) cachefiles_put_object() argument 109 cachefiles_adjust_size(struct cachefiles_object *object) cachefiles_adjust_size() argument 174 struct cachefiles_object *object; cachefiles_lookup_cookie() local 227 cachefiles_shorten_object(struct cachefiles_object *object, struct file *file, loff_t new_size) cachefiles_shorten_object() argument 276 struct cachefiles_object *object = cachefiles_cres_object(cres); cachefiles_resize_cookie() local 303 cachefiles_commit_object(struct cachefiles_object *object, struct cachefiles_cache *cache) cachefiles_commit_object() argument 322 cachefiles_clean_up_object(struct cachefiles_object *object, struct cachefiles_cache *cache) cachefiles_clean_up_object() argument 351 struct cachefiles_object *object = cookie->cache_priv; cachefiles_withdraw_cookie() local 382 struct cachefiles_object *object = cookie->cache_priv; cachefiles_invalidate_cookie() local [all...] |
/kernel/linux/linux-6.6/tools/lib/perf/include/internal/ |
H A D | rc_check.h | 40 * Interpose the indirection. Result will hold the indirection and object is the 43 #define ADD_RC_CHK(result, object) (result = object, object) 46 #define RC_CHK_ACCESS(object) object 48 /* Frees the object and the indirection layer. */ 49 #define RC_CHK_FREE(object) free(object) 52 #define RC_CHK_GET(result, object) ADD_RC_CH [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 25 #include <nvif/object.h> 31 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, struc argument 103 nvif_object_rd(struct nvif_object *object, int size, u64 addr) nvif_object_rd() argument 122 nvif_object_wr(struct nvif_object *object, int size, u64 addr, u32 data) nvif_object_wr() argument 140 nvif_object_mthd(struct nvif_object *object, u32 mthd, void *data, u32 size) nvif_object_mthd() argument 169 nvif_object_unmap_handle(struct nvif_object *object) nvif_object_unmap_handle() argument 182 nvif_object_map_handle(struct nvif_object *object, void *argv, u32 argc, u64 *handle, u64 *length) nvif_object_map_handle() argument 206 nvif_object_unmap(struct nvif_object *object) nvif_object_unmap() argument 221 nvif_object_map(struct nvif_object *object, void *argv, u32 argc) nvif_object_map() argument 245 nvif_object_dtor(struct nvif_object *object) nvif_object_dtor() argument 263 nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle, s32 oclass, void *data, u32 size, struct nvif_object *object) nvif_object_ctor() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 25 #include <nvif/object.h> 31 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, struc argument 102 nvif_object_rd(struct nvif_object *object, int size, u64 addr) nvif_object_rd() argument 121 nvif_object_wr(struct nvif_object *object, int size, u64 addr, u32 data) nvif_object_wr() argument 139 nvif_object_mthd(struct nvif_object *object, u32 mthd, void *data, u32 size) nvif_object_mthd() argument 168 nvif_object_unmap_handle(struct nvif_object *object) nvif_object_unmap_handle() argument 181 nvif_object_map_handle(struct nvif_object *object, void *argv, u32 argc, u64 *handle, u64 *length) nvif_object_map_handle() argument 205 nvif_object_unmap(struct nvif_object *object) nvif_object_unmap() argument 220 nvif_object_map(struct nvif_object *object, void *argv, u32 argc) nvif_object_map() argument 244 nvif_object_dtor(struct nvif_object *object) nvif_object_dtor() argument 262 nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle, s32 oclass, void *data, u32 size, struct nvif_object *object) nvif_object_ctor() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpimsginit.c | 17 /* The actual message size for each object type */ 19 /* The actual response size for each object type */ 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 hpi_init_response(struct hpi_response *phr, u16 object, u16 function, u16 error) hpi_init_response() argument 78 hpi_init_message_response(struct hpi_message *phm, struct hpi_response *phr, u16 object, u16 function) hpi_init_message_response() argument 88 hpi_init_messageV1(struct hpi_message_header *phm, u16 size, u16 object, u16 function) hpi_init_messageV1() argument 102 hpi_init_responseV1(struct hpi_response_header *phr, u16 size, u16 object, u16 function) hpi_init_responseV1() argument 114 hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, struct hpi_response_header *phr, u16 res_size, u16 object, u16 function) hpi_init_message_responseV1() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | hpimsginit.c | 17 /* The actual message size for each object type */ 19 /* The actual response size for each object type */ 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 hpi_init_response(struct hpi_response *phr, u16 object, u16 function, u16 error) hpi_init_response() argument 78 hpi_init_message_response(struct hpi_message *phm, struct hpi_response *phr, u16 object, u16 function) hpi_init_message_response() argument 88 hpi_init_messageV1(struct hpi_message_header *phm, u16 size, u16 object, u16 function) hpi_init_messageV1() argument 102 hpi_init_responseV1(struct hpi_response_header *phr, u16 size, u16 object, u16 function) hpi_init_responseV1() argument 114 hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, struct hpi_response_header *phr, u16 res_size, u16 object, u16 function) hpi_init_message_responseV1() argument [all...] |
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | common.c | 136 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() 148 * This function assigns a tag to an object considering the following: 150 * object somewhere (e.g. in the object itself). We preassign a tag for 151 * each object in caches with constructors during slab creation and reuse 152 * the same tag each time a particular object is allocated. 162 const void *object, boo in assign_tag() 161 assign_tag(struct kmem_cache *cache, const void *object, bool init) assign_tag() argument 187 __kasan_init_slab_obj(struct kmem_cache *cache, const void *object) __kasan_init_slab_obj() argument 200 ____kasan_slab_free(struct kmem_cache *cache, void *object, unsigned long ip, bool quarantine, bool init) ____kasan_slab_free() argument 241 __kasan_slab_free(struct kmem_cache *cache, void *object, unsigned long ip, bool init) __kasan_slab_free() argument 298 __kasan_slab_alloc(struct kmem_cache *cache, void *object, gfp_t flags, bool init) __kasan_slab_alloc() argument 333 ____kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size, gfp_t flags) ____kasan_kmalloc() argument 380 __kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size, gfp_t flags) __kasan_kmalloc() argument 422 __kasan_krealloc(const void *object, size_t size, gfp_t flags) __kasan_krealloc() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 41 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 107 struct nvkm_fifo_chan_object *object = nvkm_fifo_chan_child_del() local 139 struct nvkm_fifo_chan_object *object; nvkm_fifo_chan_child_new() local 201 nvkm_fifo_chan_child_get(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) nvkm_fifo_chan_child_get() argument 246 nvkm_fifo_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) nvkm_fifo_chan_ntfy() argument 256 nvkm_fifo_chan_map(struct nvkm_object *object, void *argv, u32 argc, enum nvkm_object_map *type, u64 *addr, u64 *size) nvkm_fifo_chan_map() argument 267 nvkm_fifo_chan_rd32(struct nvkm_object *object, u64 addr, u32 *data) nvkm_fifo_chan_rd32() argument 282 nvkm_fifo_chan_wr32(struct nvkm_object *object, u64 addr, u32 data) nvkm_fifo_chan_wr32() argument 297 nvkm_fifo_chan_fini(struct nvkm_object *object, bool suspend) nvkm_fifo_chan_fini() argument 305 nvkm_fifo_chan_init(struct nvkm_object *object) nvkm_fifo_chan_init() argument 313 nvkm_fifo_chan_dtor(struct nvkm_object *object) nvkm_fifo_chan_dtor() argument [all...] |