Home
last modified time | relevance | path

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

/fs/
Dcompat_ioctl.c341 struct ifconf32 ifc32; in dev_ifconf() local
349 if (copy_from_user(&ifc32, compat_ptr(arg), sizeof(struct ifconf32))) in dev_ifconf()
352 if (ifc32.ifcbuf == 0) { in dev_ifconf()
353 ifc32.ifc_len = 0; in dev_ifconf()
358 size_t len =((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
363 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()
364 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
382 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()
384 i + sizeof (struct ifreq32) <= ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
392 if (ifc32.ifcbuf == 0) { in dev_ifconf()
[all …]