Lines Matching defs:curr
376 * @curr: item we're advancing from
378 * Returns %NULL if list is empty, bond->next_vlan if @curr is %NULL,
379 * or @curr->next otherwise (even if it is @curr itself again).
383 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr)
390 if (!curr) {
396 if (last == curr) {
400 next = list_entry(curr->vlan_list.next,
1029 struct slave *curr = bond->curr_active_slave;
1031 if (!prim || !curr || curr->link != BOND_LINK_UP)
1038 (prim->speed < curr->speed ||
1039 (prim->speed == curr->speed && prim->duplex <= curr->duplex)))
3209 struct slave *curr;
3213 curr = bond->curr_active_slave;
3242 (curr) ? curr->dev->name : "None");