Lines Matching refs:stp_policy_node
29 struct stp_policy_node { struct
40 void *stp_policy_node_priv(struct stp_policy_node *pn) in stp_policy_node_priv() argument
50 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node, in stp_policy_node_get_ranges()
67 static inline struct stp_policy_node *
71 container_of(to_config_group(item), struct stp_policy_node, in to_stp_policy_node()
78 struct stp_policy_node *node = to_stp_policy_node(item); in to_pdrv_policy_node()
87 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show()
100 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_store()
134 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_channels_show()
147 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_channels_store()
179 struct stp_policy_node *node = to_stp_policy_node(item); in stp_policy_node_release()
226 struct stp_policy_node *policy_node, *parent_node; in stp_policy_node_make()
233 parent_node = container_of(group, struct stp_policy_node, in stp_policy_node_make()
243 kzalloc(offsetof(struct stp_policy_node, priv[pdrv->priv_sz]), in stp_policy_node_make()
490 static struct stp_policy_node *
493 struct stp_policy_node *policy_node, *ret = NULL; in __stp_policy_node_lookup()
532 struct stp_policy_node *
535 struct stp_policy_node *policy_node = NULL; in stp_policy_node_lookup()
552 void stp_policy_node_put(struct stp_policy_node *policy_node) in stp_policy_node_put()