函数逻辑报告 |
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 |
函数名称:ss_tryget_online - try to obtain a reference on the specified css if online*@css: target css* Obtain a reference on @css if it's online
函数原型:static inline bool css_tryget_online(struct cgroup_subsys_state *css)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys_state * | css |
367 | 如果非flags按位与CSS_NO_REF的值则返回:percpu_ref_tryget_live - try to increment a live percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless it has already been killed |
369 | 返回:true |
名称 | 描述 |
---|---|
cgroup_tryget_css | group_tryget_css - try to get a cgroup's css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest* Find and get @cgrp's css assocaited with @ss. If the css doesn't exist* or is offline, %NULL is returned. |
cgroup_get_e_css | group_get_e_css - get a cgroup's effective css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest* Find and get the effective css of @cgrp for @ss |
css_tryget_online_from_dir | ss_tryget_online_from_dir - get corresponding css from a cgroup dentry*@dentry: directory dentry of interest*@ss: subsystem of interest* If @dentry is a directory for a cgroup which has @ss enabled on it, try* to get the corresponding css and return it |
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. |
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_hotplug_workfn | CPU / memory hotplug is handled asynchronously. |
__mem_cgroup_largest_soft_limit_node | |
get_mem_cgroup_from_page | get_mem_cgroup_from_page: Obtain a reference on given page's memcg.*@page: page from which memcg should be extracted.* Obtain a reference on page->memcg and returns it if successful. Otherwise* root_mem_cgroup is returned. |
get_mem_cgroup_from_current | If current->active_memcg is non-NULL, do not fallback to current->mm->memcg. |
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_alloc | |
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |