函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpuset_write_s64

函数原型:static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, s64 val)

返回类型:int

参数:

类型参数名称
struct cgroup_subsys_state *css
struct cftype *cft
s64val
2303  cs等于css_cs(css)
2304  type等于private
2305  retval等于负ENODEV
2307  get_online_cpus()
2308  percpu_down_write( & cpuset_rwsem)
2309  如果非venient tests for these bits 则转到:out_unlock
2313  :type恒等于FILE_SCHED_RELAX_DOMAIN_LEVEL
2314  retval等于update_relax_domain_level(cs, val)
2315  退出
2316  默认
2317  retval等于负EINVAL
2318  退出
2320  out_unlock :
2321  percpu_up_write( & cpuset_rwsem)
2322  put_online_cpus()
2323  返回:retval