Searched refs:ifc (Results 1 – 2 of 2) sorted by relevance
/net/core/ |
D | dev_ioctl.c | 70 struct ifconf ifc; in dev_ifconf() local 81 if (copy_from_user(&ifc, arg, sizeof(struct ifconf))) in dev_ifconf() 84 pos = ifc.ifc_buf; in dev_ifconf() 85 len = ifc.ifc_len; in dev_ifconf() 111 ifc.ifc_len = total; in dev_ifconf() 116 return copy_to_user(arg, &ifc, sizeof(struct ifconf)) ? -EFAULT : 0; in dev_ifconf()
|
/net/ |
D | socket.c | 2796 struct ifconf ifc; in dev_ifconf() local 2806 memset(&ifc, 0, sizeof(ifc)); in dev_ifconf() 2809 ifc.ifc_len = 0; in dev_ifconf() 2810 ifc.ifc_req = NULL; in dev_ifconf() 2816 ifc.ifc_len = len; in dev_ifconf() 2817 ifr = ifc.ifc_req = (void __user *)(uifc + 1); in dev_ifconf() 2826 if (copy_to_user(uifc, &ifc, sizeof(struct ifconf))) in dev_ifconf() 2833 if (copy_from_user(&ifc, uifc, sizeof(struct ifconf))) in dev_ifconf() 2836 ifr = ifc.ifc_req; in dev_ifconf() 2839 i + sizeof(struct compat_ifreq) <= ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf() [all …]
|