Go to the documentation of this file.
23 #include <linux/if_ether.h>
24 #include <linux/device.h>
42 #define dev_to_ctlr(d) \
43 container_of((d), struct fcoe_ctlr_device, dev)
71 static inline void *fcoe_ctlr_device_priv(
const struct fcoe_ctlr_device *ctlr)
73 return (
void *)(ctlr + 1);
105 #define dev_to_fcf(d) \
106 container_of((d), struct fcoe_fcf_device, dev)
108 #define fcoe_fcf_dev_to_ctlr_dev(x) \
109 dev_to_ctlr((x)->dev.parent)
110 #define fcoe_fcf_device_priv(x) \