函数逻辑报告 |
Source Code:include\linux\cgroup.h |
Create Date:2022-07-27 06:54:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:设置一个css引用
函数原型:static inline void css_put(struct cgroup_subsys_state *css)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cgroup_subsys_state * | css |
| 400 | 如果非flags按位与CSS_NO_REF的值则percpu计数引用减 |
| 名称 | 描述 |
|---|---|
| kthread_associate_blkcg | kthread_associate_blkcg - associate blkcg to current kthread*@css: the cgroup info* Current thread must be a kthread. The thread is running jobs on behalf of* other threads. In some cases, we expect the jobs attach cgroup info of |
| put_css_set_locked | |
| cgroup_extra_stat_show | |
| css_free_rwork_fn | ss destruction is four-stage process |
| css_killed_work_fn | This is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css(). |
| freezer_read | |
| freezer_change_state | zer_change_state - change the freezing state of a cgroup_freezer*@freezer: freezer of interest*@freeze: whether to freeze or thaw* Freeze or thaw @freezer according to @freeze. The operations are* recursive - all descendants of @freezer will be affected. |
| rdmacg_uncharge_hierarchy | dmacg_uncharge_hierarchy - hierarchically uncharge rdma resource count*@device: pointer to rdmacg device*@stop_cg: while traversing hirerchy, when meet with stop_cg cgroup* stop uncharging*@index: index of the resource to uncharge in cg in given resource |
| update_cpumasks_hier | pdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset |
| update_nodemasks_hier | pdate_nodemasks_hier - Update effective nodemasks and tasks in the subtree*@cs: the cpuset to consider*@new_mems: a temp variable for calculating new effective_mems* When configured nodemask is changed, the effective nodemasks of this cpuset |
| cpuset_write_resmask | Common handling for a write to a "cpus" or "mems" file. |
| sched_partition_write | |
| cpuset_hotplug_workfn | CPU / memory hotplug is handled asynchronously. |
| mem_cgroup_iter | mem_cgroup_iter - iterate over memory cgroup hierarchy*@root: hierarchy root*@prev: previously returned memcg, NULL on first invocation*@reclaim: cookie for shared reclaim walks, NULL for full walks* Returns references to children of the hierarchy below |
| mem_cgroup_iter_break | mem_cgroup_iter_break - abort a hierarchy walk prematurely*@root: hierarchy root*@prev: last visited hierarchy member as returned by mem_cgroup_iter() |
| mem_cgroup_oom_synchronize | mem_cgroup_oom_synchronize - complete memcg OOM handling*@handle: actually kill/wait or just clean up the OOM state* This has to be called at the end of a page fault if the memcg OOM* handler was enabled |
| mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
| mem_cgroup_soft_limit_reclaim | |
| memcg_event_remove | Unregister event and free resources.* Gets called from workqueue. |
| memcg_write_event_control | DO NOT USE IN NEW FILES.* Parse input and register new cgroup event handler.* Input must be in format ' |
| mem_cgroup_id_put_many | |
| mem_cgroup_try_charge | mem_cgroup_try_charge - try charging a page*@page: page to charge*@mm: mm context of the victim*@gfp_mask: reclaim mode*@memcgp: charged memcg return*@compound: charge the page as compound or small page* Try to charge @page to the memcg that @mm belongs |
| mem_cgroup_sk_free | |
| hugetlb_cgroup_charge_cgroup | |
| __blkg_release | |
| blkg_create | If @new_blkg is %NULL, this function tries to allocate a new one as* necessary using %GFP_NOWAIT. @new_blkg is always consumed on return. |
| cgroup_put | |
| mem_cgroup_put |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |