Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 63) sorted by relevance

123

/external/qemu/
Dosdep.h32 #ifndef container_of
33 #define container_of(ptr, type, member) ({ \ macro
43 container_of(dev, type, field);}))
45 #define DO_UPCAST(type, field, dev) container_of(dev, type, field)
Dqbool.c57 return container_of(obj, QBool, base); in qobject_to_qbool()
Dqfloat.c57 return container_of(obj, QFloat, base); in qobject_to_qfloat()
Dqint.c56 return container_of(obj, QInt, base); in qobject_to_qint()
Djson-streamer.c23 JSONMessageParser *parser = container_of(lexer, JSONMessageParser, lexer); in json_message_process_token()
Dmigration.h102 return container_of(mig_state, FdMigrationState, mig_state); in migrate_to_fms()
/external/kernel-headers/original/linux/
Dmca.h72 #define to_mca_device(mdev) container_of(mdev, struct mca_device, dev)
92 #define to_mca_bus(mdev) container_of(mdev, struct mca_bus, dev)
99 #define to_mca_driver(mdriver) container_of(mdriver, struct mca_driver, driver)
Dtransport_class.h54 container_of(x, struct transport_class, class)
62 container_of(x, struct transport_container, ac)
Dplist.h228 container_of(plist_first(head), type, member); \
232 container_of(plist_first(head), type, member)
Dusb.h148 #define to_usb_interface(d) container_of(d, struct usb_interface, dev)
150 container_of(intf->dev.parent, struct usb_device, dev)
191 container_of(r, struct usb_interface_cache, ref)
193 container_of(a, struct usb_interface_cache, altsetting[0])
377 #define to_usb_device(d) container_of(d, struct usb_device, dev)
612 #define to_usb_driver(d) container_of(d, struct usb_driver, driver)
Di2c.h145 #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver)
168 #define to_i2c_client(d) container_of(d, struct i2c_client, dev)
172 return to_i2c_client(container_of(kobj, struct device, kobj)); in kobj_to_i2c_client()
246 #define dev_to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)
247 #define class_dev_to_i2c_adapter(d) container_of(d, struct i2c_adapter, class_dev)
Dserio.h53 #define to_serio_port(d) container_of(d, struct serio, dev)
72 #define to_serio_driver(d) container_of(d, struct serio_driver, driver)
Dnode.h57 #define to_node(sys_device) container_of(sys_device, struct node, sysdev)
Dkobject.h137 return kobj ? container_of(kobj,struct kset,kobj) : NULL; in to_kset()
247 return s ? container_of(kset_get(&s->kset),struct subsystem,kset) : NULL; in subsys_get()
Dpnp.h155 #define to_pnp_card(n) container_of(n, struct pnp_card, dev)
211 #define to_pnp_dev(n) container_of(n, struct pnp_dev, dev)
303 #define to_pnp_driver(drv) container_of(drv, struct pnp_driver, driver)
317 #define to_pnp_card_driver(drv) container_of(drv, struct pnp_card_driver, link)
Dplatform_device.h24 #define to_platform_device(x) container_of((x), struct platform_device, dev)
Drbtree.h133 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/blktrace/btt/
Dlist.h13 #ifndef container_of
21 #define container_of(ptr, type, member) ({ \ macro
147 container_of(ptr, type, member)
/external/blktrace/
Drbtree.h120 #define container_of(ptr, type, member) ({ \ macro
141 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/qemu/hw/
Dqdev.h112 container_of(dev, type, field);}))
114 #define DO_UPCAST(type, field, dev) container_of(dev, type, field)
/external/linux-tools-perf/util/include/linux/
Dkernel.h25 #ifndef container_of
33 #define container_of(ptr, type, member) ({ \ macro
/external/iptables/libiptc/
Dlinux_stddef.h23 #define container_of(ptr, type, member) ({ \ macro
Dlinux_list.h15 #define container_of(ptr, type, member) ({ \ macro
331 container_of(ptr, type, member)
646 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
/external/linux-tools-perf/
Dbuiltin-lock.c130 st = container_of(node, struct thread_stat, rb); in thread_stat_find()
149 p = container_of(*rb, struct thread_stat, rb); in thread_stat_insert()
282 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
307 return container_of(node, struct lock_stat, rb); in pop_from_result()
829 st = container_of(node, struct thread_stat, rb); in dump_threads()
/external/linux-tools-perf/util/include/linux/added/
Drbtree.h139 #define rb_entry(ptr, type, member) container_of(ptr, type, member)

123