函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-27 06:38:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask

函数原型:static inline void cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp)

返回类型:void

参数:

类型参数名称
struct cpumask *dstp
const struct cpumask *srcp
593  bitmap_copy(cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(dstp), cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(srcp), nr_cpumask_bits)
调用者
名称描述
cpus_mon_write
cpus_ctrl_write
native_smp_prepare_cpusPrepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support.
__x2apic_send_IPI_mask
remote_ipi
kvm_flush_tlb_others
init_cpu_present
init_cpu_possible
init_cpu_online
alloc_workqueue_attrsalloc_workqueue_attrs - allocate a workqueue_attrs* Allocate a new workqueue_attrs, initialize with default settings and* return it.* Return: The allocated new workqueue_attr on success. %NULL on failure.
copy_workqueue_attrs
wq_calc_node_cpumaskwq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node*@attrs: the wq_attrs of the default pwq of the target workqueue*@node: the target NUMA node*@cpu_going_down: if >= 0, the CPU to consider as offline*@cpumask: outarg, the
apply_wqattrs_prepareallocate the attrs and pwqs for later installation
workqueue_set_unbound_cpumaskworkqueue_set_unbound_cpumask - Set the low-level unbound cpumask*@cpumask: the cpumask to set* The low-level workqueues cpumask is a global cpumask that limits* the affinity of all unbound workqueues. This function check the @cpumask
workqueue_init_earlyworkqueue_init_early - early init for workqueue subsystem* This is the first half of two-staged workqueue subsystem initialization* and invoked as soon as the bare basics - memory allocation, cpumasks and* idr are up
sched_setaffinity
build_group_from_child_sched_domainXXX: This creates per-node group entries; since the load-balancer will* immediately access remote memory to construct this group's load-balance* statistics having the groups node local is of dubious benefit.
init_overlap_sched_group
get_groupPackage topology (also see the load-balance blurb in fair
em_create_pd
irq_get_percpu_devid_partition
irq_reserve_ipiq_reserve_ipi() - Setup an IPI to destination cpumask*@domain: IPI domain*@dest: cpumask of cpus which can receive the IPI* Allocate a virq that can be used to send IPI to any CPU in dest mask
irq_create_affinity_masksq_create_affinity_masks - Create affinity masks for multiqueue spreading*@nvecs: The total number of vectors*@affd: Description of the affinity requirements* Returns the irq_affinity_desc pointer or NULL if allocation failed.
profile_init分配内核性能统计
prof_cpu_mask_proc_write
guarantee_online_cpusReturn in pmask the portion of a cpusets's cpus_allowed that* are online. If none are online, walk up the cpuset hierarchy* until we find one that does have some online cpus.* One way or another, we guarantee to return some non-empty subset
alloc_trial_cpusetalloc_trial_cpuset - allocate a trial cpuset*@cs: the cpuset that the trial cpuset duplicates
update_parent_subparts_cpumaskpdate_parent_subparts_cpumask - update subparts_cpus mask of parent cpuset*@cpuset: The cpuset that requests change in partition root state*@cmd: Partition root state change command*@newmask: Optional new cpumask for partcmd_update*@tmp: Temporary addmask
update_cpumasks_hierpdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset
update_cpumaskpdate_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it*@cs: the cpuset to consider*@trialcs: trial cpuset*@buf: buffer of cpu numbers written to this cpuset
cpuset_attach
cpuset_css_online
cpuset_bind
hotplug_update_tasks_legacy
hotplug_update_tasks
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
cpuset_init_smppuset_init_smp - initialize cpus_allowed* Description: Finish top cpuset after cpu, node maps are initialized
lockup_detector_init
tracing_cpumask_write
trace_array_create
tracer_alloc_buffers
padata_setup_cpumasks
pd_setup_cpumasks
padata_replace
__padata_set_cpumasks
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers
cpuset_cpus_allowed