函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-27 10:43:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle null as "default"

函数原型:static int dattrs_equal(struct sched_domain_attr *cur, int idx_cur, struct sched_domain_attr *new, int idx_new)

返回类型:int

参数:

类型参数名称
struct sched_domain_attr *cur
intidx_cur
struct sched_domain_attr *new
intidx_new
2182  如果非new且非cur则返回:1
2185  tmp等于SD_ATTR_INIT
2187  返回:非内存比较
调用者
名称描述
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.