Lines Matching refs:rc
88 int rc = -ENOBUFS; in ieee802154_list_phy() local
108 rc = ieee802154_nl_fill_phy(msg, info->snd_portid, info->snd_seq, in ieee802154_list_phy()
110 if (rc < 0) in ieee802154_list_phy()
120 return rc; in ieee802154_list_phy()
132 int rc; in ieee802154_dump_phy_iter() local
140 rc = ieee802154_nl_fill_phy(data->skb, in ieee802154_dump_phy_iter()
146 if (rc < 0) { in ieee802154_dump_phy_iter()
148 return rc; in ieee802154_dump_phy_iter()
180 int rc = -ENOBUFS; in ieee802154_add_iface() local
214 rc = -EINVAL; in ieee802154_add_iface()
221 rc = -EINVAL; in ieee802154_add_iface()
233 rc = PTR_ERR(dev); in ieee802154_add_iface()
249 rc = dev_set_mac_address(dev, &addr); in ieee802154_add_iface()
251 if (rc) in ieee802154_add_iface()
273 return rc; in ieee802154_add_iface()
282 int rc; in ieee802154_del_iface() local
301 rc = -EINVAL; in ieee802154_del_iface()
323 rc = -ENOBUFS; in ieee802154_del_iface()
330 rc = -EINVAL; in ieee802154_del_iface()
357 return rc; in ieee802154_del_iface()
373 int rc; in nl802154_phy_register() local
376 rc = genl_register_ops(&nl802154_family, in nl802154_phy_register()
378 if (rc) in nl802154_phy_register()
379 return rc; in nl802154_phy_register()