函数逻辑报告

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 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)

返回类型:bool

参数:

类型参数名称
cpumask_var_t *mask
gfp_tflags
758  返回:true
调用者
名称描述
arch_early_irq_init
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.
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
SYSCALL_DEFINE3sys_sched_setaffinity - set the CPU affinity of a process*@pid: pid of the process*@len: length in bytes of the bitmask pointed to by user_mask_ptr*@user_mask_ptr: user-space pointer to the new CPU mask* Return: 0 on success. An error code otherwise.
SYSCALL_DEFINE3sys_sched_getaffinity - get the CPU affinity of a process*@pid: pid of the process*@len: length in bytes of the bitmask pointed to by user_mask_ptr*@user_mask_ptr: user-space pointer to hold the current CPU mask
alloc_sched_domains
profile_init分配内核性能统计
prof_cpu_mask_proc_write
COMPAT_SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE3
cpuset_initpuset_init - initialize cpusets at system boot* Description: Initialize top_cpuset
cmd_attr_register_cpumask
cmd_attr_deregister_cpumask
tracing_cpumask_write
tracing_open_pipe
trace_array_create
tracer_alloc_buffers
pd_setup_cpumasks
store_cpumask
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers
torture_shuffle_initStart the shuffler, with shuffint in jiffies.