函数逻辑报告

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

函数名称:清空全部CPU信息

函数原型:static inline void cpumask_clear(struct cpumask *dstp)

返回类型:void

参数:

类型参数名称
struct cpumask *dstp
406  bitmap_zero(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), nr_cpumask_bits)
调用者
名称描述
cpus_ctrl_write
local_ipi
get_user_cpu_mask
build_balance_maskBuild the balance mask; it contains only those CPUs that can arrive at this* group and should be considered to continue balancing
build_overlap_sched_groups
build_sched_groupsld_sched_groups will build a circular linked list of the groups* covered by the given span, will set each group's ->cpumask correctly,* and will initialize their ->sgc.* Assumes the sched_domain tree is fully constructed
irq_move_masked_irq
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs
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_hotplug_update_taskspuset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
hardlockup_detector_perf_cleanuphardlockup_detector_perf_cleanup - Cleanup disabled events and destroy them* Called from lockup_detector_cleanup(). Serialized by the caller.
tracing_read_pipeConsumer reader.
move_to_next_cpu
start_kthreadstart_kthread - Kick off the hardware latency sampling/detector kthread* This starts the kernel thread that will sit and sample the CPU timestamp* counter (TSC or similar) and look for potential hardware latencies.
blk_mq_map_swqueue
zalloc_cpumask_var
zalloc_cpumask_var_node
mm_init_cpumaskPointer magic because the dynamic array size confuses some compilers.