Lines Matching refs:DN_IFREQ_SIZE
46 #define DN_IFREQ_SIZE (sizeof(struct ifreq) - sizeof(struct sockaddr) + sizeof(struct sockaddr_dn)) macro
416 char buffer[DN_IFREQ_SIZE]; in dn_dev_ioctl()
425 if (copy_from_user(ifr, arg, DN_IFREQ_SIZE)) in dn_dev_ioctl()
492 if (copy_to_user(arg, ifr, DN_IFREQ_SIZE)) in dn_dev_ioctl()
1064 char buffer[DN_IFREQ_SIZE]; in dnet_gifconf()
1074 done += sizeof(DN_IFREQ_SIZE); in dnet_gifconf()
1077 if (len < DN_IFREQ_SIZE) in dnet_gifconf()
1079 memset(buffer, 0, DN_IFREQ_SIZE); in dnet_gifconf()
1091 if (copy_to_user(buf, buffer, DN_IFREQ_SIZE)) { in dnet_gifconf()
1096 buf += DN_IFREQ_SIZE; in dnet_gifconf()
1097 len -= DN_IFREQ_SIZE; in dnet_gifconf()
1098 done += DN_IFREQ_SIZE; in dnet_gifconf()