Lines Matching refs:cur
6682 int ret, cur = 0; in __netdev_walk_all_upper_dev() local
6705 dev_stack[cur] = now; in __netdev_walk_all_upper_dev()
6706 iter_stack[cur++] = iter; in __netdev_walk_all_upper_dev()
6711 if (!cur) in __netdev_walk_all_upper_dev()
6713 next = dev_stack[--cur]; in __netdev_walk_all_upper_dev()
6714 niter = iter_stack[cur]; in __netdev_walk_all_upper_dev()
6731 int ret, cur = 0; in netdev_walk_all_upper_dev_rcu() local
6751 dev_stack[cur] = now; in netdev_walk_all_upper_dev_rcu()
6752 iter_stack[cur++] = iter; in netdev_walk_all_upper_dev_rcu()
6757 if (!cur) in netdev_walk_all_upper_dev_rcu()
6759 next = dev_stack[--cur]; in netdev_walk_all_upper_dev_rcu()
6760 niter = iter_stack[cur]; in netdev_walk_all_upper_dev_rcu()
6900 int ret, cur = 0; in netdev_walk_all_lower_dev() local
6920 dev_stack[cur] = now; in netdev_walk_all_lower_dev()
6921 iter_stack[cur++] = iter; in netdev_walk_all_lower_dev()
6926 if (!cur) in netdev_walk_all_lower_dev()
6928 next = dev_stack[--cur]; in netdev_walk_all_lower_dev()
6929 niter = iter_stack[cur]; in netdev_walk_all_lower_dev()
6947 int ret, cur = 0; in __netdev_walk_all_lower_dev() local
6970 dev_stack[cur] = now; in __netdev_walk_all_lower_dev()
6971 iter_stack[cur++] = iter; in __netdev_walk_all_lower_dev()
6976 if (!cur) in __netdev_walk_all_lower_dev()
6978 next = dev_stack[--cur]; in __netdev_walk_all_lower_dev()
6979 niter = iter_stack[cur]; in __netdev_walk_all_lower_dev()
7063 int ret, cur = 0; in netdev_walk_all_lower_dev_rcu() local
7083 dev_stack[cur] = now; in netdev_walk_all_lower_dev_rcu()
7084 iter_stack[cur++] = iter; in netdev_walk_all_lower_dev_rcu()
7089 if (!cur) in netdev_walk_all_lower_dev_rcu()
7091 next = dev_stack[--cur]; in netdev_walk_all_lower_dev_rcu()
7092 niter = iter_stack[cur]; in netdev_walk_all_lower_dev_rcu()