Searched refs:container_of (Results 1 - 25 of 61) sorted by relevance

123

/external/iptables/libiptc/
H A Dlinux_stddef.h16 * container_of - cast a member of a structure out to the containing structure
23 #define container_of(ptr, type, member) ({ \ macro
/external/kernel-headers/original/linux/
H A 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)
H A Dnode.h57 #define to_node(sys_device) container_of(sys_device, struct node, sysdev)
H A Dtransport_class.h54 container_of(x, struct transport_class, class)
62 container_of(x, struct transport_container, ac)
H A Dplist.h228 container_of(plist_first(head), type, member); \
232 container_of(plist_first(head), type, member)
H A Dplatform_device.h24 #define to_platform_device(x) container_of((x), struct platform_device, dev)
H A 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)
H A Drbtree.h133 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
H A 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));
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)
H A 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)
/external/qemu/
H A Dqbool.c57 return container_of(obj, QBool, base);
H A Dqfloat.c57 return container_of(obj, QFloat, base);
H A Dqint.c56 return container_of(obj, QInt, base);
H A 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)
H A Djson-streamer.c23 JSONMessageParser *parser = container_of(lexer, JSONMessageParser, lexer);
H A Dmigration.h102 return container_of(mig_state, FdMigrationState, mig_state);
H A Dqstring.c115 return container_of(obj, QString, base);
H A Dqlist.c136 return container_of(obj, QList, base);
/external/blktrace/
H A Drbtree.h120 #define container_of(ptr, type, member) ({ \ macro
141 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/blktrace/btt/
H A Dlist.h13 #ifndef container_of
21 #define container_of(ptr, type, member) ({ \ macro
147 container_of(ptr, type, member)
/external/qemu/hw/
H A 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/
H A Dkernel.h25 #ifndef container_of
27 * container_of - cast a member of a structure out to the containing structure
33 #define container_of(ptr, type, member) ({ \ macro
/external/kernel-headers/original/linux/mmc/
H A Dcard.h88 #define mmc_list_to_card(l) container_of(l, struct mmc_card, node)
/external/linux-tools-perf/util/include/linux/added/
H A Drbtree.h139 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/linux-tools-perf/util/
H A Dannotate.h79 struct sannotation *a = container_of(sym, struct sannotation, symbol);

Completed in 456 milliseconds

123