Function report |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-28 11:17:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpuset_read_u64
Proto:static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft |
| 2439 | Case type == FILE_CPU_EXCLUSIVE |
| 2440 | Return is_cpu_exclusive(cs) |
| 2441 | Case type == FILE_MEM_EXCLUSIVE |
| 2442 | Return is_mem_exclusive(cs) |
| 2443 | Case type == FILE_MEM_HARDWALL |
| 2444 | Return is_mem_hardwall(cs) |
| 2445 | Case type == FILE_SCHED_LOAD_BALANCE |
| 2446 | Return is_sched_load_balance(cs) |
| 2447 | Case type == FILE_MEMORY_MIGRATE |
| 2448 | Return is_memory_migrate(cs) |
| 2449 | Case type == FILE_MEMORY_PRESSURE_ENABLED |
| 2450 | Return cpuset_memory_pressure_enabled |
| 2451 | Case type == FILE_MEMORY_PRESSURE |
| 2453 | Case type == FILE_SPREAD_PAGE |
| 2454 | Return is_spread_page(cs) |
| 2455 | Case type == FILE_SPREAD_SLAB |
| 2456 | Return is_spread_slab(cs) |
| 2457 | Default |
| 2458 | BUG() |
| 2462 | Return 0 |
| 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 |