/drivers/net/bonding/ |
D | bond_sysfs.c | 79 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name() argument 84 if (strncmp(bond->dev->name, ifname, IFNAMSIZ) == 0) in bond_get_by_name() 102 char *ifname; in bonding_store_bonds() local 106 ifname = command + 1; in bonding_store_bonds() 108 !dev_valid_name(ifname)) in bonding_store_bonds() 112 pr_info("%s is being created...\n", ifname); in bonding_store_bonds() 113 rv = bond_create(bn->net, ifname); in bonding_store_bonds() 116 pr_info("%s already exists\n", ifname); in bonding_store_bonds() 118 pr_info("%s creation failed\n", ifname); in bonding_store_bonds() 125 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds() [all …]
|
D | bond_options.c | 709 char ifname[IFNAMSIZ] = { 0, }; in bond_option_active_slave_set() local 713 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */ in bond_option_active_slave_set() 714 if (!strlen(ifname) || newval->string[0] == '\n') { in bond_option_active_slave_set() 717 slave_dev = __dev_get_by_name(dev_net(bond->dev), ifname); in bond_option_active_slave_set() 1302 char *ifname; in bond_option_slaves_set() local 1306 ifname = command + 1; in bond_option_slaves_set() 1308 !dev_valid_name(ifname)) in bond_option_slaves_set() 1311 dev = __dev_get_by_name(dev_net(bond->dev), ifname); in bond_option_slaves_set() 1314 ifname); in bond_option_slaves_set()
|
/drivers/staging/rtl8712/ |
D | os_intfs.c | 45 static char ifname[IFNAMSIZ] = "wlan%d"; variable 100 module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); 122 MODULE_PARM_DESC(ifname, " Net interface name, wlan%d=default"); 220 if (dev_alloc_name(pnetdev, ifname) < 0) { in r8712_init_netdev() 221 strcpy(ifname, "wlan%d"); in r8712_init_netdev() 222 dev_alloc_name(pnetdev, ifname); in r8712_init_netdev()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 54 char ifname[IFNAMSIZ]; member 207 brcmf_dbg(EVENT, "adding %s (%pM)\n", emsg->ifname, in brcmf_fweh_handle_if_event() 210 emsg->ifname, emsg->addr); in brcmf_fweh_handle_if_event() 286 memcpy(emsg.ifname, emsg_be->ifname, sizeof(emsg.ifname)); in brcmf_fweh_event_worker()
|
D | fweh.h | 211 char ifname[IFNAMSIZ]; member
|
/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 117 static char *ifname = "wlan%d"; variable 118 module_param(ifname, charp, 0644); 119 MODULE_PARM_DESC(ifname, "The default name to allocate for first interface"); 233 snprintf(registry_par->ifname, 16, "%s", ifname); in loadparam() 342 int rtw_init_netdev23a_name23a(struct net_device *pnetdev, const char *ifname) in rtw_init_netdev23a_name23a() argument 344 if (dev_alloc_name(pnetdev, ifname) < 0) { in rtw_init_netdev23a_name23a() 635 name = if1->registrypriv.ifname; in rtw_drv_register_netdev()
|
/drivers/net/ |
D | veth.c | 330 char ifname[IFNAMSIZ]; in veth_newlink() local 361 nla_strlcpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink() 364 snprintf(ifname, IFNAMSIZ, DRV_NAME "%%d"); in veth_newlink() 372 peer = rtnl_create_link(net, ifname, name_assign_type, in veth_newlink()
|
/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 695 char ifname[IFNAMSIZ + 2]; in fcoe_if_to_netdev() local 698 strlcpy(ifname, buffer, IFNAMSIZ); in fcoe_if_to_netdev() 699 cp = ifname + strlen(ifname); in fcoe_if_to_netdev() 700 while (--cp >= ifname && *cp == '\n') in fcoe_if_to_netdev() 702 return dev_get_by_name(&init_net, ifname); in fcoe_if_to_netdev()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2678 kiblnd_create_dev(char *ifname) in kiblnd_create_dev() argument 2687 rc = libcfs_ipif_query(ifname, &up, &ip, &netmask); in kiblnd_create_dev() 2690 ifname, rc); in kiblnd_create_dev() 2695 CERROR("Can't query IPoIB interface %s: it's down\n", ifname); in kiblnd_create_dev() 2703 netdev = dev_get_by_name(&init_net, ifname); in kiblnd_create_dev() 2715 strcpy(&dev->ibd_ifname[0], ifname); in kiblnd_create_dev() 3030 kiblnd_dev_search(char *ifname) in kiblnd_dev_search() argument 3037 colon = strchr(ifname, ':'); in kiblnd_dev_search() 3039 if (strcmp(&dev->ibd_ifname[0], ifname) == 0) in kiblnd_dev_search() 3051 if (strcmp(&dev->ibd_ifname[0], ifname) == 0) in kiblnd_dev_search() [all …]
|
/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 112 static char *ifname = "wlan%d"; variable 113 module_param(ifname, charp, 0644); 114 MODULE_PARM_DESC(ifname, "The default name to allocate for first interface"); 582 snprintf(registry_par->ifname, 16, "%s", ifname); in loadparam() 695 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname) in rtw_init_netdev_name() argument 697 if (dev_alloc_name(pnetdev, ifname) < 0) in rtw_init_netdev_name()
|
D | usb_intf.c | 434 rtw_init_netdev_name(pnetdev, padapter->registrypriv.ifname); in rtw_usb_if1_init()
|
/drivers/net/hamradio/ |
D | baycom_par.c | 505 char ifname[IFNAMSIZ]; in init_baycompar() local 507 sprintf(ifname, "bcp%d", i); in init_baycompar() 516 ifname, iobase[i], 0, 0); in init_baycompar()
|
D | baycom_ser_fdx.c | 640 char ifname[IFNAMSIZ]; in init_baycomserfdx() local 642 sprintf(ifname, "bcsf%d", i); in init_baycomserfdx() 651 ifname, iobase[i], irq[i], 0); in init_baycomserfdx()
|
D | baycom_ser_hdx.c | 668 char ifname[IFNAMSIZ]; in init_baycomserhdx() local 670 sprintf(ifname, "bcsh%d", i); in init_baycomserhdx() 679 ifname, iobase[i], irq[i], 0); in init_baycomserhdx()
|
D | hdlcdrv.c | 689 unsigned int privsize, const char *ifname, in hdlcdrv_register() argument 702 dev = alloc_netdev(privsize, ifname, NET_NAME_UNKNOWN, hdlcdrv_setup); in hdlcdrv_register()
|
/drivers/staging/rtl8723au/include/ |
D | osdep_intf.h | 31 int rtw_init_netdev23a_name23a(struct net_device *pnetdev, const char *ifname);
|
D | drv_types.h | 123 u8 ifname[16]; member
|
/drivers/staging/rtl8188eu/include/ |
D | osdep_intf.h | 40 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
|
D | drv_types.h | 130 u8 ifname[16]; member
|
/drivers/net/usb/ |
D | cdc-phonet.c | 333 static const char ifname[] = "usbpn%d"; in usbpn_probe() local 390 ifname, NET_NAME_UNKNOWN, usbpn_setup); in usbpn_probe()
|
/drivers/usb/gadget/function/ |
D | u_ether_configfs.h | 162 __CONFIGFS_ATTR_RO(ifname, _f_##_opts_ifname_show)
|
/drivers/staging/vt6655/ |
D | ioctl.c | 623 memset(wpa_Result.ifname, 0, sizeof(wpa_Result.ifname)); in private_ioctl()
|
D | iocmd.h | 134 char ifname[100]; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.c | 60 static char *ifname = "wlan%d"; variable 2942 if (dev_alloc_name(dev, ifname) < 0) { in rtl8192_pci_probe() 2945 dev_alloc_name(dev, ifname); in rtl8192_pci_probe() 3126 module_param(ifname, charp, S_IRUGO|S_IWUSR); 3130 MODULE_PARM_DESC(ifname, " Net interface name, wlan%d=default");
|
/drivers/hsi/clients/ |
D | ssi_protocol.c | 1071 static const char ifname[] = "phonet%d"; in ssi_protocol_probe() local 1118 ssi->netdev = alloc_netdev(0, ifname, NET_NAME_UNKNOWN, ssip_pn_setup); in ssi_protocol_probe()
|