Searched refs:link_ret (Results 1 – 3 of 3) sorted by relevance
581 int ret, awaken, link_ret = 0; in key_reject_and_link() local593 link_ret = __key_link_lock(keyring, &key->index_key); in key_reject_and_link()594 if (link_ret == 0) { in key_reject_and_link()595 link_ret = __key_link_begin(keyring, &key->index_key, &edit); in key_reject_and_link()596 if (link_ret < 0) in key_reject_and_link()618 if (keyring && link_ret == 0) in key_reject_and_link()628 if (keyring && link_ret == 0) in key_reject_and_link()635 return ret == 0 ? link_ret : ret; in key_reject_and_link()
588 int ret, link_ret; in really_probe() local600 link_ret = device_links_check_suppliers(dev); in really_probe()601 if (link_ret == -EPROBE_DEFER) in really_probe()602 return link_ret; in really_probe()647 if (link_ret == -EAGAIN) in really_probe()
7636 int link_ret) in hclge_phy_link_status_wait() argument7652 if (phydev->link == link_ret) in hclge_phy_link_status_wait()7659 static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret) in hclge_mac_link_status_wait() argument7671 if (link_status == link_ret) in hclge_mac_link_status_wait()7682 int link_ret; in hclge_mac_phy_link_status_wait() local7684 link_ret = en ? HCLGE_LINK_STATUS_UP : HCLGE_LINK_STATUS_DOWN; in hclge_mac_phy_link_status_wait()7687 hclge_phy_link_status_wait(hdev, link_ret); in hclge_mac_phy_link_status_wait()7689 return hclge_mac_link_status_wait(hdev, link_ret); in hclge_mac_phy_link_status_wait()