Lines Matching refs:fcf_dev
165 struct fcoe_fcf_device *temp, *fcf_dev; in fcoe_sysfs_fcf_add() local
195 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add()
196 if (unlikely(!fcf_dev)) { in fcoe_sysfs_fcf_add()
212 BUG_ON(fcf_dev->priv); in fcoe_sysfs_fcf_add()
214 fcf_dev->priv = new; in fcoe_sysfs_fcf_add()
215 new->fcf_dev = fcf_dev; in fcoe_sysfs_fcf_add()
238 struct fcoe_fcf_device *fcf_dev; in fcoe_sysfs_fcf_del() local
255 fcf_dev = fcoe_fcf_to_fcf_dev(new); in fcoe_sysfs_fcf_del()
256 WARN_ON(!fcf_dev); in fcoe_sysfs_fcf_del()
257 new->fcf_dev = NULL; in fcoe_sysfs_fcf_del()
258 fcoe_fcf_device_delete(fcf_dev); in fcoe_sysfs_fcf_del()
3214 void fcoe_fcf_get_selected(struct fcoe_fcf_device *fcf_dev) in fcoe_fcf_get_selected() argument
3216 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected()
3223 fcf = fcoe_fcf_device_priv(fcf_dev); in fcoe_fcf_get_selected()
3225 fcf_dev->selected = (fcf == fip->sel_fcf) ? 1 : 0; in fcoe_fcf_get_selected()
3227 fcf_dev->selected = 0; in fcoe_fcf_get_selected()