Home
last modified time | relevance | path

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

/linux-6.1.9/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()
87 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show() local
90 count = sprintf(page, "%u %u\n", policy_node->first_master, in stp_policy_node_masters_show()
91 policy_node->last_master); in stp_policy_node_masters_show()
100 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_store() local
110 stm = policy_node->policy->stm; in stp_policy_node_masters_store()
[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()
/linux-6.1.9/mm/
Dmempolicy.c1869 static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd) in policy_node() function
2031 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2195 node = policy_node(gfp, pol, node); in vma_alloc_folio()
2246 preferred_nid = policy_node(gfp, pol, node); in vma_alloc_folio()
2284 policy_node(gfp, pol, numa_node_id()), pol); in alloc_pages()
2287 policy_node(gfp, pol, numa_node_id()), in alloc_pages()
2381 return __alloc_pages_bulk(gfp, policy_node(gfp, pol, numa_node_id()), in alloc_pages_bulk_array_mempolicy()
/linux-6.1.9/Documentation/trace/
Dstm.rst32 This policy is a tree structure containing rules (policy_node) that