函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:NULL the sd_data elements we've used to build the sched_domain and* sched_group structure so that the subsequent __free_domain_allocs()* will not free the data we're using.

函数原型:static void claim_allocations(int cpu, struct sched_domain *sd)

返回类型:void

参数:

类型参数名称
intcpu
struct sched_domain *sd
1260  sdd等于private
1262  WARN_ON_ONCE( * per_cpu_ptr(sd, cpu) != sd)
1263  * per_cpu_ptr(sd, cpu) = NULL
1265  如果atomic_read( & ref)则 * per_cpu_ptr(sds, cpu) = NULL
1268  如果atomic_read( & ref)则 * per_cpu_ptr(sg, cpu) = NULL
1271  如果atomic_read( & ref)则 * per_cpu_ptr(sgc, cpu) = NULL
调用者
名称描述
build_sched_domainsBuild sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs