函数逻辑报告

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_cpu(int cpu, struct cpumask *dstp)

返回类型:void

参数:

类型参数名称
intcpu
struct cpumask *dstp
343  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
调用者
名称描述
mce_device_remove
domain_remove_cpu
do_boot_cpuNOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu.
x2apic_dead_cpu
remote_ipi
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
cpupri_setpupri_set - update the CPU priority setting*@cp: The cpupri context*@cpu: The target CPU*@newpri: The priority (INVALID-RT99) to assign to this CPU* Note: Assumes cpu_rq(cpu)->lock is locked* Returns: (void)
cpudl_setpudl_set - update the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU*@dl: the new earliest deadline for this CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)
cpudl_clear_freecpupudl_clear_freecpu - Clear the cpudl.free_cpus*@cp: the cpudl max-heap context*@cpu: rd attached CPU
rq_attach_root
sched_domains_numa_masks_clear
irq_percpu_disable
irq_spread_init_one
tick_device_uses_broadcastCheck, if the device is disfunctional and a place holder, which* needs to be handled by the broadcast device.
tick_do_broadcastBroadcast the event to the cpus, which are set in the mask (mangled).
tick_broadcast_controlk_broadcast_control - Enable/disable or force broadcast mode*@mode: The selected broadcast mode* Called when the system enters a state where affected tick devices* might stop. Note: TICK_BROADCAST_FORCE cannot be undone.
perf_event_exit_cpu_context
torture_shuffle_tasksShuffle tasks such that we allow shuffle_idle_cpu to become idle.* A special case is when shuffle_idle_cpu = -1, in which case we allow* the tasks to run on all CPUs.
drain_all_pagesSpill all the per-cpu pages from all CPUs back into the buddy allocator.* When zone parameter is non-NULL, spill just the single zone's pages.* Note that this can be extremely slow as the draining happens in a workqueue.
set_cpu_possible
set_cpu_present
set_cpu_active