Home
last modified time | relevance | path

Searched refs:policy_node (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c48 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node, in stp_policy_node_get_ranges() argument
52 *mstart = policy_node->first_master; in stp_policy_node_get_ranges()
53 *mend = policy_node->last_master; in stp_policy_node_get_ranges()
54 *cstart = policy_node->first_channel; in stp_policy_node_get_ranges()
55 *cend = policy_node->last_channel; in stp_policy_node_get_ranges()
58 static inline char *stp_policy_node_name(struct stp_policy_node *policy_node) in stp_policy_node_name() argument
60 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
82 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show() local
85 count = sprintf(page, "%u %u\n", policy_node->first_master, in stp_policy_node_masters_show()
86 policy_node->last_master); in stp_policy_node_masters_show()
[all …]
Dstm.h26 void stp_policy_node_put(struct stp_policy_node *policy_node);
29 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node,
66 struct stp_policy_node *policy_node; member
80 struct stp_policy_node *policy_node; member
Dcore.c271 struct stp_policy_node *policy_node, in stm_output_assign() argument
280 if (policy_node) { in stm_output_assign()
281 stp_policy_node_get_ranges(policy_node, in stm_output_assign()
373 stmf->policy_node = stp_policy_node_lookup(stm, id); in stm_file_assign()
375 ret = stm_output_assign(stm, width, stmf->policy_node, &stmf->output); in stm_file_assign()
377 if (stmf->policy_node) in stm_file_assign()
378 stp_policy_node_put(stmf->policy_node); in stm_file_assign()
725 src->policy_node = in stm_source_link_add()
732 src->policy_node, &src->output); in stm_source_link_add()
734 if (src->policy_node) in stm_source_link_add()
[all …]
/linux-4.4.14/Documentation/trace/
Dstm.txt29 This policy is a tree structure containing rules (policy_node) that