Lines Matching refs:naddr
873 unsigned int naddr = 0; in collect_netdev_uc_list_addrs() local
878 addr[naddr++] = ha->addr; in collect_netdev_uc_list_addrs()
879 if (naddr >= maxaddrs) in collect_netdev_uc_list_addrs()
882 return naddr; in collect_netdev_uc_list_addrs()
896 unsigned int naddr = 0; in collect_netdev_mc_list_addrs() local
901 addr[naddr++] = ha->addr; in collect_netdev_mc_list_addrs()
902 if (naddr >= maxaddrs) in collect_netdev_mc_list_addrs()
905 return naddr; in collect_netdev_mc_list_addrs()
917 unsigned int offset, naddr; in set_addr_filters() local
923 for (offset = 0; ; offset += naddr) { in set_addr_filters()
924 naddr = collect_netdev_uc_list_addrs(dev, addr, offset, in set_addr_filters()
926 if (naddr == 0) in set_addr_filters()
930 naddr, addr, NULL, &uhash, sleep); in set_addr_filters()
938 for (offset = 0; ; offset += naddr) { in set_addr_filters()
939 naddr = collect_netdev_mc_list_addrs(dev, addr, offset, in set_addr_filters()
941 if (naddr == 0) in set_addr_filters()
945 naddr, addr, NULL, &mhash, sleep); in set_addr_filters()