Home
last modified time | relevance | path

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

/fs/
Dcompat_ioctl.c292 struct ifreq32 { struct
326 if (copy_in_user(uifr, compat_ptr(arg), sizeof(struct ifreq32))) in dev_ifname32() argument
333 if (copy_in_user(compat_ptr(arg), uifr, sizeof(struct ifreq32))) in dev_ifname32()
344 struct ifreq32 __user *ifr32; in dev_ifconf()
358 size_t len =((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
364 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
365 if (copy_in_user(ifr, ifr32, sizeof(struct ifreq32))) in dev_ifconf()
384 i + sizeof (struct ifreq32) <= ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
385 i += sizeof (struct ifreq32), j += sizeof (struct ifreq)) { in dev_ifconf()
386 if (copy_in_user(ifr32, ifr, sizeof (struct ifreq32))) in dev_ifconf()
[all …]