/kernel/linux/linux-5.10/drivers/hwtracing/stm/ |
H A D | policy.c | 50 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 in stp_policy_node_masters_show() 105 struct stp_policy_node *policy_node = to_stp_policy_node(item); stp_policy_node_masters_store() local 139 struct stp_policy_node *policy_node = to_stp_policy_node(item); stp_policy_node_channels_show() local 152 struct stp_policy_node *policy_node = to_stp_policy_node(item); stp_policy_node_channels_store() local 231 struct stp_policy_node *policy_node, *parent_node; stp_policy_node_make() local 498 struct stp_policy_node *policy_node, *ret = NULL; __stp_policy_node_lookup() local 540 struct stp_policy_node *policy_node = NULL; stp_policy_node_lookup() local 557 stp_policy_node_put(struct stp_policy_node *policy_node) stp_policy_node_put() argument [all...] |
H A D | stm.h | 53 void stp_policy_node_put(struct stp_policy_node *policy_node); 56 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node,
|
H A D | core.c | 282 struct stp_policy_node *policy_node, in stm_output_assign() 291 /* We no longer accept policy_node==NULL here */ in stm_output_assign() 292 if (WARN_ON_ONCE(!policy_node)) in stm_output_assign() 296 * Also, the caller holds reference to policy_node, so it won't 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() 281 stm_output_assign(struct stm_device *stm, unsigned int width, struct stp_policy_node *policy_node, struct stm_output *output) stm_output_assign() argument
|
/kernel/linux/linux-6.6/drivers/hwtracing/stm/ |
H A D | policy.c | 50 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 in stp_policy_node_masters_store() 134 struct stp_policy_node *policy_node = to_stp_policy_node(item); stp_policy_node_channels_show() local 147 struct stp_policy_node *policy_node = to_stp_policy_node(item); stp_policy_node_channels_store() local 226 struct stp_policy_node *policy_node, *parent_node; stp_policy_node_make() local 493 struct stp_policy_node *policy_node, *ret = NULL; __stp_policy_node_lookup() local 535 struct stp_policy_node *policy_node = NULL; stp_policy_node_lookup() local 552 stp_policy_node_put(struct stp_policy_node *policy_node) stp_policy_node_put() argument [all...] |
H A D | stm.h | 53 void stp_policy_node_put(struct stp_policy_node *policy_node); 56 void stp_policy_node_get_ranges(struct stp_policy_node *policy_node,
|
H A D | core.c | 282 struct stp_policy_node *policy_node, in stm_output_assign() 291 /* We no longer accept policy_node==NULL here */ in stm_output_assign() 292 if (WARN_ON_ONCE(!policy_node)) in stm_output_assign() 296 * Also, the caller holds reference to policy_node, so it won't 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() 281 stm_output_assign(struct stm_device *stm, unsigned int width, struct stp_policy_node *policy_node, struct stm_output *output) stm_output_assign() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | mempolicy.c | 1883 * policy_node() is always coupled with policy_nodemask(), which 1886 static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd) in policy_node() function 2048 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 2212 node = policy_node(gfp, pol, node); in vma_alloc_folio() 2263 preferred_nid = policy_node(gfp, pol, node); in vma_alloc_folio() 2301 policy_node(gfp, pol, numa_node_id()), pol); in alloc_pages() 2304 policy_node(gfp, pol, numa_node_id()), in alloc_pages() 2399 return __alloc_pages_bulk(gfp, policy_node(gfp, pol, numa_node_id()), in alloc_pages_bulk_array_mempolicy()
|
/kernel/linux/linux-5.10/mm/ |
H A D | mempolicy.c | 1881 static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd) in policy_node() function 2026 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 2229 preferred_nid = policy_node(gfp, pol, node); in alloc_pages_vma() 2268 policy_node(gfp, pol, numa_node_id()), in alloc_pages_current()
|