函数逻辑报告

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

函数名称:释放CPU掩码

函数原型:static inline void free_cpumask_var(cpumask_var_t mask)

返回类型:void

参数:

类型参数名称
cpumask_var_tmask

NULL

调用者
名称描述
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
x2apic_dead_cpu
free_workqueue_attrs_workqueue_attrs - free a workqueue_attrs*@attrs: workqueue_attrs to free* Undo alloc_workqueue_attrs().
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
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
cpupri_initpupri_init - initialize the cpupri structure*@cp: The cpupri context* Return: -ENOMEM on memory allocation failure.
cpupri_cleanuppupri_cleanup - clean up the cpupri structure*@cp: The cpupri context
cpudl_cleanuppudl_cleanup - clean up the cpudl structure*@cp: the cpudl max-heap context
free_rootdomain
init_rootdomain
free_sched_domains
membarrier_global_expedited
membarrier_private_expedited
sync_runqueues_membarrier_state
alloc_node_to_cpumask
free_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
profile_init分配内核性能统计
prof_cpu_mask_proc_write
smpcfd_prepare_cpu
smpcfd_dead_cpu
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
COMPAT_SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE3
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.
free_cpumasks_cpumasks - free cpumasks in a tmpmasks structure*@cs: the cpuset that have cpumasks to be free.*@tmp: the tmpmasks structure pointer
cmd_attr_register_cpumask
cmd_attr_deregister_cpumask
__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
ring_buffer_freeg_buffer_free - free a ring buffer.*@buffer: the buffer to free.
tracing_release
tracing_cpumask_write
tracing_release_pipe
trace_array_create
__remove_instance
tracer_alloc_buffers
pd_setup_cpumasks
padata_free_pd
__padata_free
store_cpumask
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers
torture_shuffle_cleanupStop the shuffling.
blk_mq_alloc_hctx
blk_mq_hw_sysfs_release