Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dpolicy.c50 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node, in stp_policy_node_get_ranges() argument
54 *mstart = policy_node->first_master; in stp_policy_node_get_ranges()
55 *mend = policy_node->last_master; in stp_policy_node_get_ranges()
56 *cstart = policy_node->first_channel; in stp_policy_node_get_ranges()
57 *cend = policy_node->last_channel; in stp_policy_node_get_ranges()
60 static inline char *stp_policy_node_name(struct stp_policy_node *policy_node) in stp_policy_node_name() argument
62 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
92 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show() local
95 count = sprintf(page, "%u %u\n", policy_node->first_master, in stp_policy_node_masters_show()
96 policy_node->last_master); in stp_policy_node_masters_show()
[all …]
Dstm.h53 void stp_policy_node_put(struct stp_policy_node *policy_node);
56 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node,
Dcore.c282 struct stp_policy_node *policy_node, in stm_output_assign() argument
292 if (WARN_ON_ONCE(!policy_node)) in stm_output_assign()
299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign()
315 void *priv = stp_policy_node_priv(policy_node); in stm_output_assign()
/kernel/linux/linux-5.10/mm/
Dmempolicy.c1880 static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd) in policy_node() function
2025 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2228 preferred_nid = policy_node(gfp, pol, node); in alloc_pages_vma()
2267 policy_node(gfp, pol, numa_node_id()), in alloc_pages_current()
/kernel/linux/linux-5.10/Documentation/trace/
Dstm.rst32 This policy is a tree structure containing rules (policy_node) that