Home
last modified time | relevance | path

Searched refs:newname (Results 1 – 6 of 6) sorted by relevance

/net/wireless/
Dcore.c93 const char *newname) in cfg80211_dev_check_name() argument
100 if (strlen(newname) > NL80211_WIPHY_NAME_MAXLEN) in cfg80211_dev_check_name()
104 sscanf(newname, PHY_NAME "%d%n", &wiphy_idx, &taken); in cfg80211_dev_check_name()
105 if (taken == strlen(newname) && wiphy_idx != rdev->wiphy_idx) { in cfg80211_dev_check_name()
120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name()
127 char *newname) in cfg80211_dev_rename() argument
134 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename()
137 result = cfg80211_dev_check_name(rdev, newname); in cfg80211_dev_rename()
141 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename()
148 rdev->wiphy.debugfsdir->d_parent, newname); in cfg80211_dev_rename()
Dcore.h310 char *newname);
/net/9p/
Dprotocol.c150 const char *oldname, *newname; in p9_msg_buf_size() local
153 newname = va_arg(ap, const char *); in p9_msg_buf_size()
155 return hdr + 4 + P9_STRLEN(oldname) + 4 + P9_STRLEN(newname); in p9_msg_buf_size()
Dclient.c1377 int p9_client_link(struct p9_fid *dfid, struct p9_fid *oldfid, const char *newname) in p9_client_link() argument
1383 dfid->fid, oldfid->fid, newname); in p9_client_link()
1386 newname); in p9_client_link()
/net/core/
Ddev.h62 int dev_change_name(struct net_device *dev, const char *newname);
Ddev.c1185 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name() argument
1216 if (strncmp(newname, dev->name, IFNAMSIZ) == 0) { in dev_change_name()
1223 err = dev_get_valid_name(net, dev, newname); in dev_change_name()
1267 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name()