Searched refs:srcu_index (Results 1 – 1 of 1) sorted by relevance
560 static struct rtnl_link_ops *rtnl_link_ops_get(const char *kind, int *srcu_index) in rtnl_link_ops_get() argument568 *srcu_index = srcu_read_lock(&ops->srcu); in rtnl_link_ops_get()580 static void rtnl_link_ops_put(struct rtnl_link_ops *ops, int srcu_index) in rtnl_link_ops_put() argument582 srcu_read_unlock(&ops->srcu, srcu_index); in rtnl_link_ops_put()742 static struct rtnl_af_ops *rtnl_af_lookup(const int family, int *srcu_index) in rtnl_af_lookup() argument752 *srcu_index = srcu_read_lock(&ops->srcu); in rtnl_af_lookup()764 static void rtnl_af_put(struct rtnl_af_ops *ops, int srcu_index) in rtnl_af_put() argument766 srcu_read_unlock(&ops->srcu, srcu_index); in rtnl_af_put()