Home
last modified time | relevance | path

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

/fs/
Dcompat_ioctl.c322 struct ifreq __user *uifr; in dev_ifname32() local
325 uifr = compat_alloc_user_space(sizeof(struct ifreq)); in dev_ifname32()
326 if (copy_in_user(uifr, compat_ptr(arg), sizeof(struct ifreq32))) in dev_ifname32()
329 err = sys_ioctl(fd, SIOCGIFNAME, (unsigned long)uifr); in dev_ifname32()
333 if (copy_in_user(compat_ptr(arg), uifr, sizeof(struct ifreq32))) in dev_ifname32()
434 struct ifreq __user *uifr; in bond_ioctl() local
457 uifr = compat_alloc_user_space(sizeof(*uifr)); in bond_ioctl()
458 if (copy_in_user(&uifr->ifr_name, &ifr32->ifr_name, IFNAMSIZ)) in bond_ioctl()
465 if (put_user(datap, &uifr->ifr_ifru.ifru_data)) in bond_ioctl()
468 return sys_ioctl (fd, cmd, (unsigned long)uifr); in bond_ioctl()