Lines Matching refs:ifc32
2795 struct compat_ifconf ifc32; in dev_ifconf() local
2803 if (copy_from_user(&ifc32, uifc32, sizeof(struct compat_ifconf))) in dev_ifconf()
2807 if (ifc32.ifcbuf == 0) { in dev_ifconf()
2808 ifc32.ifc_len = 0; in dev_ifconf()
2813 size_t len = ((ifc32.ifc_len / sizeof(struct compat_ifreq)) + 1) * in dev_ifconf()
2818 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()
2819 for (i = 0; i < ifc32.ifc_len; i += sizeof(struct compat_ifreq)) { in dev_ifconf()
2837 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()
2839 i + sizeof(struct compat_ifreq) <= ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
2847 if (ifc32.ifcbuf == 0) { in dev_ifconf()
2853 ifc32.ifc_len = i; in dev_ifconf()
2855 ifc32.ifc_len = i; in dev_ifconf()
2857 if (copy_to_user(uifc32, &ifc32, sizeof(struct compat_ifconf))) in dev_ifconf()