Function report |
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 activity | Download SCCT | Chinese |
Name:cpuset_write_s64
Proto:static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, s64 val)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft | |
| s64 | val |
| 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 |
| 2320 | out_unlock : |
| 2321 | percpu_up_write( & cpuset_rwsem) |
| 2322 | put_online_cpus() |
| 2323 | Return retval |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |