'\" t .\" Title: netdev_all_upper_get_next_dev_rcu .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "NETDEV_ALL_UPPER_GET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Network device support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" netdev_all_upper_get_next_dev_rcu \- Get the next dev from upper list .SH "SYNOPSIS" .HP \w'struct\ net_device\ *\ netdev_all_upper_get_next_dev_rcu('u .BI "struct net_device * netdev_all_upper_get_next_dev_rcu(struct\ net_device\ *\ " "dev" ", struct\ list_head\ **\ " "iter" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device .RE .PP \fIiter\fR .RS 4 list_head ** of the current position .RE .SH "DESCRIPTION" .PP Gets the next device from the dev\*(Aqs upper list, starting from iter position\&. The caller must hold RCU read lock\&. .SH "COPYRIGHT" .br