函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Uniprocessor. Assume all masks are "1".

函数原型:static inline unsigned int cpumask_first(const struct cpumask *srcp)

返回类型:unsigned int

参数:

类型参数名称
const struct cpumask *srcp
152  返回:0
调用者
名称描述
init_test_configurtion
mtrr_save_stateSave current fixed-range MTRR state of the first cpu in cpu_online_mask.
__reload_lateReturns:* < 0 - on error* 0 - no update done* 1 - microcode was updated
pseudo_lock_region_initpseudo_lock_region_init - Initialize pseudo-lock region information*@plr: pseudo-lock region* Called after user provided a schemata to be pseudo-locked. From the* schemata the &struct pseudo_lock_region is on entry already initialized
pseudo_lock_measure_cyclespseudo_lock_measure_cycles - Trigger latency measure to pseudo-locked region* The measurement of latency to access a pseudo-locked region should be* done from a cpu that is associated with that pseudo-locked region
set_cpu_sibling_map
vector_assign_managed_shutdown
msi_set_affinity
migrate_to_reboot_cpu
update_top_cache_domain
group_balance_cpuReturn the canonical balance CPU for this group, this is the first CPU* of this group that's also in the balance mask.* The balance mask are all those CPUs that could actually end up at this* group. See build_balance_mask().* Also see should_we_balance().
get_groupPackage topology (also see the load-balance blurb in fair
sd_init
asym_cpu_capacity_levelFind the sched_domain_topology_level where all CPU capacities are visible* for all CPUs.
partition_sched_domains_lockedPartition sched domains as specified by the 'ndoms_new'* cpumasks in the array doms_new[] of cpumasks. This compares* doms_new[] to the current sched domain partitioning, doms_cur[].* It destroys each deleted domain and builds each new domain.
schedstat_startThis itererator needs some explanation.* It returns 1 for the header position.* This means 2 is cpu 0.* In a hotplugged system some CPUs, including cpu 0, may be missing so we have* to use cpumask_* to iterate over the CPUs.
sched_debug_startThis itererator needs some explanation.* It returns 1 for the header position.* This means 2 is CPU 0.* In a hotplugged system some CPUs, including CPU 0, may be missing so we have* to use cpumask_* to iterate over the CPUs.
sugov_kthread_create
handle_poweroff
em_create_pd
__free_percpu_irqInternal function to unregister a percpu irqaction.
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_destroy_ipiq_destroy_ipi() - unreserve an IPI that was previously allocated*@irq: linux irq number to be destroyed*@dest: cpumask of cpus which should have the IPI removed* The IPIs allocated with irq_reserve_ipi() are retuerned to the system
irq_spread_init_one
tick_do_broadcastBroadcast the event to the cpus, which are set in the mask (mangled).
multi_cpu_stopThis is the cpu_stop function which stops the CPU.
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.
get_next_cpu
padata_index_to_cpu
padata_do_parallelpadata_do_parallel - padata parallelization function*@ps: padatashell*@padata: object to be parallelized*@cb_cpu: pointer to the CPU that the serialization callback function should* run on. If it's not in the serial cpumask of @pinst* (i
padata_alloc_pdAllocate and initialize the internal cpumask dependend resources.
blk_mq_first_mapped_cpu
get_first_sibling