Lines Matching refs:ctlr_dev
164 struct fcoe_ctlr_device *ctlr_dev;
185 * If ctlr_dev doesn't exist then it means we're a libfcoe user
192 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip);
193 if (ctlr_dev) {
194 mutex_lock(&ctlr_dev->lock);
195 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp);
198 mutex_unlock(&ctlr_dev->lock);
216 mutex_unlock(&ctlr_dev->lock);
244 * If ctlr_dev doesn't exist then it means we're a libfcoe user
3216 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev);
3217 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev);
3221 mutex_lock(&ctlr_dev->lock);
3229 mutex_unlock(&ctlr_dev->lock);
3234 void fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev)
3236 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev);
3240 switch (ctlr_dev->mode) {