Lines Matching refs:ifr
368 static int sm_ioctl(struct net_device *dev, struct ifreq *ifr,
460 static int sm_ioctl(struct net_device *dev, struct ifreq *ifr, in sm_ioctl() argument
482 return sm->hwdrv->ioctl(dev, sm, ifr, hi, cmd); in sm_ioctl()
488 return sm->hwdrv->ioctl(dev, sm, ifr, hi, cmd); in sm_ioctl()
508 if (copy_to_user(ifr->ifr_data, hi, sizeof(*hi))) in sm_ioctl()
536 if (copy_to_user(ifr->ifr_data, hi, sizeof(*hi))) in sm_ioctl()
542 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl()
550 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()
556 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl()
572 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()
577 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()
584 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()
598 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()