Home
last modified time | relevance | path

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

/linux-6.6.21/security/keys/
Dkey.c579 int ret, awaken, link_ret = 0; in key_reject_and_link() local
591 link_ret = __key_link_lock(keyring, &key->index_key); in key_reject_and_link()
592 if (link_ret == 0) { in key_reject_and_link()
593 link_ret = __key_link_begin(keyring, &key->index_key, &edit); in key_reject_and_link()
594 if (link_ret < 0) in key_reject_and_link()
615 if (keyring && link_ret == 0) in key_reject_and_link()
625 if (keyring && link_ret == 0) in key_reject_and_link()
632 return ret == 0 ? link_ret : ret; in key_reject_and_link()
/linux-6.6.21/drivers/base/
Ddd.c607 int ret, link_ret; in really_probe() local
619 link_ret = device_links_check_suppliers(dev); in really_probe()
620 if (link_ret == -EPROBE_DEFER) in really_probe()
621 return link_ret; in really_probe()
666 if (link_ret == -EAGAIN) in really_probe()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c62 static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret,
7555 int link_ret) in hclge_phy_link_status_wait() argument
7571 if (phydev->link == link_ret) in hclge_phy_link_status_wait()
7578 static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret, in hclge_mac_link_status_wait() argument
7589 if (link_status == link_ret) in hclge_mac_link_status_wait()
7602 int link_ret; in hclge_mac_phy_link_status_wait() local
7604 link_ret = en ? HCLGE_LINK_STATUS_UP : HCLGE_LINK_STATUS_DOWN; in hclge_mac_phy_link_status_wait()
7607 hclge_phy_link_status_wait(hdev, link_ret); in hclge_mac_phy_link_status_wait()
7609 return hclge_mac_link_status_wait(hdev, link_ret, in hclge_mac_phy_link_status_wait()