/openbmc/linux/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 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() [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 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, index, oclass); in nvkm_ioctl_sclass_() 72 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass() argument 80 nvif_ioctl(object, "sclass size %d\n", size); in nvkm_ioctl_sclass() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/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 if (cachefiles_ondemand_init_obj_info(object, volume)) { in cachefiles_alloc_object() 35 kmem_cache_free(cachefiles_object_jar, object); in cachefiles_alloc_object() 39 refcount_set(&object->ref, 1); in cachefiles_alloc_object() 41 spin_lock_init(&object->lock); in cachefiles_alloc_object() 42 INIT_LIST_HEAD(&object->cache_link); in cachefiles_alloc_object() 43 object->volume = volume; in cachefiles_alloc_object() [all …]
|
H A D | ondemand.c | 21 struct cachefiles_object *object = file->private_data; in cachefiles_ondemand_fd_release() local 28 if (!object) in cachefiles_ondemand_fd_release() 31 info = object->ondemand; in cachefiles_ondemand_fd_release() 32 cache = object->volume->cache; in cachefiles_ondemand_fd_release() 39 cachefiles_ondemand_set_object_close(object); in cachefiles_ondemand_fd_release() 53 trace_cachefiles_ondemand_fd_release(object, object_id); in cachefiles_ondemand_fd_release() 54 cachefiles_put_object(object, cachefiles_obj_put_ondemand_fd); in cachefiles_ondemand_fd_release() 62 struct cachefiles_object *object = kiocb->ki_filp->private_data; in cachefiles_ondemand_fd_write_iter() local 63 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() 64 struct file *file = object->file; in cachefiles_ondemand_fd_write_iter() [all …]
|
H A D | namei.c | 17 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 …]
|
/openbmc/linux/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 (empty for all) */ 173 /* flag set after the first reporting of an unreference object */ [all …]
|
/openbmc/linux/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->common.type) { in acpi_ut_delete_internal_obj() [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 28 * name whose acpi_handle is passed. If Object is NULL 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() 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() [all …]
|
H A D | utobject.c | 4 * Module Name: utobject - ACPI object create/delete/size/cache routines 39 * type - ACPI Type of the new object 41 * RETURN: A new internal object, null on failure 43 * DESCRIPTION: Create and initialize a new internal object. 45 * NOTE: We always allocate the worst-case object descriptor because 48 * the most memory efficient, but the efficiency of the object 60 union acpi_operand_object *object; in acpi_ut_create_internal_object_dbg() local 66 /* Allocate the raw object descriptor */ in acpi_ut_create_internal_object_dbg() 68 object = in acpi_ut_create_internal_object_dbg() 71 if (!object) { in acpi_ut_create_internal_object_dbg() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/include/qom/ |
H A D | object.h | 2 * QEMU Object Model 28 #define TYPE_OBJECT "object" 34 * @obj: the object that owns the property 37 * @opaque: the object property opaque 42 typedef void (ObjectPropertyAccessor)(Object *obj, 50 * @obj: the object that owns the property 54 * Resolves the #Object corresponding to property @part. 56 * The returned object can also be used as a starting point 60 * returns the #Object corresponding to "@path/@part". 61 * If "@path/@part" is not a valid object path, it returns #NULL. [all …]
|
/openbmc/linux/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, 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 [all …]
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | qapi-schema-test.out | 2 object q_empty 12 object TestStruct 16 object NestedEnumsOne 22 object Empty1 23 object Empty2 25 object q_obj_Union-base 27 object Union 40 object UserDefOne 49 object UserDefZero 51 object UserDefTwoDictDict [all …]
|
/openbmc/linux/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) argument 46 #define RC_CHK_ACCESS(object) object argument 48 /* Frees the object and the indirection layer. */ 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 71 * Interpose the indirection. Result will hold the indirection and object is the 74 #define ADD_RC_CHK(result, object) \ argument 76 object ? (result = malloc(sizeof(*result)), \ [all …]
|
/openbmc/linux/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, bool init) in assign_tag() argument 169 * set, assign a tag when the object is being allocated (init == false). in assign_tag() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/fixtures/ |
H A D | poky.xml | 4 <object model="orm.toastersetting" pk="1"> 7 </object> 10 <object model="orm.bitbakeversion" pk="1"> 15 </object> 16 <object model="orm.bitbakeversion" pk="2"> 21 </object> 22 <object model="orm.bitbakeversion" pk="3"> 27 </object> 28 <object model="orm.bitbakeversion" pk="4"> 33 </object> [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-pkgdata-browser.glade | 5 <object class="GtkListStore" id="file_store"> 12 </object> 13 <object class="GtkListStore" id="package_store"> 20 </object> 21 <object class="GtkListStore" id="pkgdata_store"> 28 </object> 29 <object class="GtkListStore" id="recipe_store"> 34 </object> 35 <object class="GtkWindow" id="window"> 43 <object class="GtkBox" id="box1"> [all …]
|
/openbmc/linux/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 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() [all …]
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | config_base.hpp | 33 * Configuration object key to uniquely map to the configuration object 35 * std::string = Configuration object's name 36 * std::vector<std::string> = List of profiles the configuration object 42 * @class ConfigBase - Base configuration object 58 // Set the name of this configuration object in ConfigBase() 72 * object data 74 * @param[in] origObj - Original ConfigBase object to be created from 83 * @brief Get the configuration object's name 85 * @return Name of the configuration object 93 * @brief Get the configuration object's list of profiles [all …]
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | openbmc_intf.h | 33 gint (*get_poll_interval) (Hwmon *object); 35 gint (*get_scale) (Hwmon *object); 37 const gchar * (*get_sysfs_path) (Hwmon *object); 48 gint hwmon_get_poll_interval (Hwmon *object); 49 void hwmon_set_poll_interval (Hwmon *object, gint value); 51 const gchar *hwmon_get_sysfs_path (Hwmon *object); 52 gchar *hwmon_dup_sysfs_path (Hwmon *object); 53 void hwmon_set_sysfs_path (Hwmon *object, const gchar *value); 55 gint hwmon_get_scale (Hwmon *object); 56 void hwmon_set_scale (Hwmon *object, gint value); [all …]
|
/openbmc/linux/include/media/ |
H A D | media-request.h | 127 * object in it. A reference to the request must be held during the update. This 240 * struct media_request_object_ops - Media request object operations 241 * @prepare: Validate and prepare the request object, optional. 242 * @unprepare: Unprepare the request object, optional. 243 * @queue: Queue the request object, optional. 244 * @unbind: Unbind the request object, optional. 245 * @release: Release the request object, required. 248 int (*prepare)(struct media_request_object *object); 249 void (*unprepare)(struct media_request_object *object); 250 void (*queue)(struct media_request_object *object); [all …]
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_dpbp.h | 50 * dpbp_open() - Open a control session for the specified object. 51 * @mc_io: Pointer to MC portal's I/O object 57 * already created object; an object may have been declared in 60 * associated with the specific object ID and the specific MC 62 * this specific object 72 * dpbp_close() - Close the control session of the object 73 * @mc_io: Pointer to MC portal's I/O object 75 * @token: Token of DPBP object 78 * allowed on the object without opening a new control session. 95 * dpbp_create() - Create the DPBP object. [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | check-qom-proplist.c | 27 #include "qom/object.h" 63 Object parent_obj; 75 static void dummy_set_bv(Object *obj, in dummy_set_bv() 84 static bool dummy_get_bv(Object *obj, in dummy_get_bv() 93 static void dummy_set_av(Object *obj, in dummy_set_av() 102 static int dummy_get_av(Object *obj, in dummy_get_av() 111 static void dummy_set_sv(Object *obj, in dummy_set_sv() 121 static char *dummy_get_sv(Object *obj, in dummy_get_sv() 130 static void dummy_init(Object *obj) in dummy_init() 151 static void dummy_finalize(Object *obj) in dummy_finalize() [all …]
|