Lines Matching refs:ifr
417 struct ifreq *ifr = (struct ifreq *)buffer; in dn_dev_ioctl() local
418 struct sockaddr_dn *sdn = (struct sockaddr_dn *)&ifr->ifr_addr; in dn_dev_ioctl()
425 if (copy_from_user(ifr, arg, DN_IFREQ_SIZE)) in dn_dev_ioctl()
427 ifr->ifr_name[IFNAMSIZ-1] = 0; in dn_dev_ioctl()
430 dev_load(ifr->ifr_name); in dn_dev_ioctl()
448 if ((dev = __dev_get_by_name(ifr->ifr_name)) == NULL) { in dn_dev_ioctl()
455 if (strcmp(ifr->ifr_name, ifa->ifa_label) == 0) in dn_dev_ioctl()
492 if (copy_to_user(arg, ifr, DN_IFREQ_SIZE)) in dn_dev_ioctl()
1065 struct ifreq *ifr = (struct ifreq *)buffer; in dnet_gifconf() local
1066 struct sockaddr_dn *addr = (struct sockaddr_dn *)&ifr->ifr_addr; in dnet_gifconf()
1082 strcpy(ifr->ifr_name, ifa->ifa_label); in dnet_gifconf()
1084 strcpy(ifr->ifr_name, dev->name); in dnet_gifconf()