Lines Matching defs:ifreq
1172 unsigned int cmd, struct ifreq *ifr,
1176 unsigned int cmd, struct ifreq *ifr,
1186 struct ifreq *ifr, void __user *uarg)
1216 struct ifreq ifr;
1263 struct ifreq ifr;
3297 /* Handle the fact that while struct ifreq has the same *layout* on
3298 * 32/64 for everything but ifreq::ifru_ifmap and ifreq::ifru_data,
3300 * ifreq::ifru_ifmap (which is 16 bytes on 32 bit, 24 bytes on 64-bit,
3301 * resulting in struct ifreq being 32 and 40 bytes respectively).
3306 int get_user_ifreq(struct ifreq *ifr, void __user **ifrdata, void __user *arg)
3331 int put_user_ifreq(struct ifreq *ifr, void __user *arg)
3349 struct ifreq ifr;
3371 /* Handle ioctls that use ifreq::ifr_data and just need struct ifreq converted */
3375 struct ifreq ifreq;
3380 if (get_user_ifreq(&ifreq, &data, u_ifreq32))
3382 ifreq.ifr_data = data;
3384 return dev_ioctl(net, cmd, &ifreq, data, NULL);