Home
last modified time | relevance | path

Searched refs:link_ret (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/security/keys/
Dkey.c581 int ret, awaken, link_ret = 0; in key_reject_and_link() local
593 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()
/linux-6.1.9/drivers/base/
Ddd.c588 int ret, link_ret; in really_probe() local
600 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()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7636 int link_ret) in hclge_phy_link_status_wait() argument
7652 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() argument
7671 if (link_status == link_ret) in hclge_mac_link_status_wait()
7682 int link_ret; in hclge_mac_phy_link_status_wait() local
7684 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()