函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zalloc_cpumask_var

函数原型:static inline bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)

返回类型:bool

参数:

类型参数名称
cpumask_var_t *mask
gfp_tflags
769  清空全部CPU信息
770  返回:true
调用者
名称描述
cpu_rmap_updatepu_rmap_update - update CPU rmap following a change of object affinity*@rmap: CPU rmap to update*@index: Index of object whose affinity changed*@affinity: New CPU affinity of object
mcheck_init_device
rdtgroup_cpus_write
set_cache_qos_cfg
reset_all_ctrls
rdtgroup_rmdir
update_domains
rdtgroup_pseudo_locked_in_hierarchydtgroup_pseudo_locked_in_hierarchy - Pseudo-locked region in cache hierarchy*@d: RDT domain under test* The setup of a pseudo-locked region affects all cache instances within* the hierarchy of the region
native_smp_prepare_cpusPrepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support.
x2apic_prepare_cpu
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
cpupri_initpupri_init - initialize the cpupri structure*@cp: The cpupri context* Return: -ENOMEM on memory allocation failure.
cpudl_initpudl_init - initialize the cpudl structure*@cp: the cpudl max-heap context
init_rootdomain
sched_init_domainsSet up scheduler domains and groups. For now this just excludes isolated* CPUs, but could be used to exclude other special cases in the future.
membarrier_global_expedited
membarrier_private_expedited
sync_runqueues_membarrier_state
alloc_node_to_cpumask
irq_build_affinity_masksld affinity in two stages:* 1) spread present CPU on these vectors* 2) spread other possible CPUs on these vectors
tick_broadcast_init
on_each_cpu_cond_mask_each_cpu_cond(): Call a function on each processor for which* the supplied function cond_func returns true, optionally waiting* for all the required CPUs to finish
alloc_cpumasksalloc_cpumasks - allocate three cpumasks for cpuset*@cs: the cpuset that have cpumasks to be allocated.*@tmp: the tmpmasks structure pointer* Return: 0 if successful, -ENOMEM otherwise.* Only one of the two input arguments should be non-NULL.
cpuset_initpuset_init - initialize cpusets at system boot* Description: Initialize top_cpuset
__ring_buffer_alloc__ring_buffer_alloc - allocate a new ring_buffer*@size: the size in bytes per cpu that is needed.*@flags: attributes to set for the ring buffer.* Currently the only flag that is available is the RB_FL_OVERWRITE* flag
__tracing_open
perf_event_init_all_cpus