Searched refs:policy_node (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/hwtracing/stm/ |
D | policy.c | 40 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node, in stp_policy_node_get_ranges() argument 44 *mstart = policy_node->first_master; in stp_policy_node_get_ranges() 45 *mend = policy_node->last_master; in stp_policy_node_get_ranges() 46 *cstart = policy_node->first_channel; in stp_policy_node_get_ranges() 47 *cend = policy_node->last_channel; in stp_policy_node_get_ranges() 50 static inline char *stp_policy_node_name(struct stp_policy_node *policy_node) in stp_policy_node_name() argument 52 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name() 74 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show() local 77 count = sprintf(page, "%u %u\n", policy_node->first_master, in stp_policy_node_masters_show() 78 policy_node->last_master); in stp_policy_node_masters_show() [all …]
|
D | stm.h | 18 void stp_policy_node_put(struct stp_policy_node *policy_node); 21 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node, 60 struct stp_policy_node *policy_node; member 74 struct stp_policy_node *policy_node; member
|
D | core.c | 287 struct stp_policy_node *policy_node, in stm_output_assign() argument 296 if (policy_node) { in stm_output_assign() 297 stp_policy_node_get_ranges(policy_node, in stm_output_assign() 413 stmf->policy_node = stp_policy_node_lookup(stm, id); in stm_file_assign() 415 ret = stm_output_assign(stm, width, stmf->policy_node, &stmf->output); in stm_file_assign() 417 if (stmf->policy_node) in stm_file_assign() 418 stp_policy_node_put(stmf->policy_node); in stm_file_assign() 838 src->policy_node = in stm_source_link_add() 845 src->policy_node, &src->output); in stm_source_link_add() 847 if (src->policy_node) in stm_source_link_add() [all …]
|
/Linux-v4.19/mm/ |
D | mempolicy.c | 1720 static int policy_node(gfp_t gfp, struct mempolicy *policy, in policy_node() function 1866 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 2056 preferred_nid = policy_node(gfp, pol, node); in alloc_pages_vma() 2094 policy_node(gfp, pol, numa_node_id()), in alloc_pages_current()
|
/Linux-v4.19/Documentation/trace/ |
D | stm.rst | 30 This policy is a tree structure containing rules (policy_node) that
|