Searched refs:ifc32 (Results 1 – 1 of 1) sorted by relevance
2645 struct compat_ifconf ifc32; in dev_ifconf() local2653 if (copy_from_user(&ifc32, uifc32, sizeof(struct compat_ifconf))) in dev_ifconf()2657 if (ifc32.ifcbuf == 0) { in dev_ifconf()2658 ifc32.ifc_len = 0; in dev_ifconf()2663 size_t len = ((ifc32.ifc_len / sizeof(struct compat_ifreq)) + 1) * in dev_ifconf()2668 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()2669 for (i = 0; i < ifc32.ifc_len; i += sizeof(struct compat_ifreq)) { in dev_ifconf()2687 ifr32 = compat_ptr(ifc32.ifcbuf); in dev_ifconf()2689 i + sizeof(struct compat_ifreq) <= ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()2697 if (ifc32.ifcbuf == 0) { in dev_ifconf()[all …]