Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-28 11:17:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpuset_write_s64

Proto:static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, s64 val)

Type:int

Parameter:

TypeParameterName
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  If Not venient tests for these bits Then Go to out_unlock
2313  Case type == FILE_SCHED_RELAX_DOMAIN_LEVEL
2314  retval = update_relax_domain_level(cs, val)
2315  Break
2316  Default
2317  retval = -EINVAL
2318  Break
2320  out_unlock :
2321  percpu_up_write( & cpuset_rwsem)
2322  put_online_cpus()
2323  Return retval