Lines Matching refs:ifs
3322 struct ifstat *ifs = NULL; in ifioctl() local
3515 ifs = kalloc_type(struct ifstat, Z_WAITOK | Z_NOFAIL); in ifioctl()
3516 bcopy(data, ifs, sizeof(*ifs)); in ifioctl()
3517 ifs->ifs_name[IFNAMSIZ - 1] = '\0'; in ifioctl()
3518 bcopy(ifs->ifs_name, ifname, IFNAMSIZ); in ifioctl()
3722 VERIFY(ifs != NULL); in ifioctl()
3723 ifs->ascii[0] = '\0'; in ifioctl()
3725 error = ifnet_ioctl(ifp, SOCK_DOM(so), cmd, (caddr_t)ifs); in ifioctl()
3727 bcopy(ifs, data, sizeof(*ifs)); in ifioctl()
3811 if (ifs != NULL) { in ifioctl()
3812 kfree_type(struct ifstat, ifs); in ifioctl()