函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:19:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cpuset_write_u64
函数原型:static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys_state * | css | |
struct cftype * | cft | |
u64 | val |
2256 | retval等于0 |
2258 | get_online_cpus() |
2259 | percpu_down_write( & cpuset_rwsem) |
2260 | 如果非venient tests for these bits 则 |
2262 | 转到:out_unlock |
2266 | 当:type恒等于FILE_CPU_EXCLUSIVE |
2267 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2268 | 退出 |
2269 | 当:type恒等于FILE_MEM_EXCLUSIVE |
2270 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2271 | 退出 |
2272 | 当:type恒等于FILE_MEM_HARDWALL |
2273 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2274 | 退出 |
2275 | 当:type恒等于FILE_SCHED_LOAD_BALANCE |
2276 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2277 | 退出 |
2278 | 当:type恒等于FILE_MEMORY_MIGRATE |
2279 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2280 | 退出 |
2281 | 当:type恒等于FILE_MEMORY_PRESSURE_ENABLED |
2282 | cpuset_memory_pressure_enabled等于非非val |
2283 | 退出 |
2284 | 当:type恒等于FILE_SPREAD_PAGE |
2285 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2286 | 退出 |
2287 | 当:type恒等于FILE_SPREAD_SLAB |
2288 | retval等于pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
2289 | 退出 |
2290 | 默认 |
2294 | out_unlock : |
2295 | percpu_up_write( & cpuset_rwsem) |
2296 | put_online_cpus() |
2297 | 返回:retval |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |