Function report |
Source Code:include\linux\cgroup.h |
Create Date:2022-07-28 05:55:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_parent
Proto:static inline struct cgroup *cgroup_parent(struct cgroup *cgrp)
Type:struct cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | cgrp |
552 | parent_css = PI: the parent css. Placed here for cache proximity to following* fields of the containing structure. |
556 | Return NULL |
Name | Describe |
---|---|
iterate_groups | |
cgroup_is_mixable | an @cgrp host both domain and threaded children? |
cgroup_is_valid_domain | a domain which isn't connected to the root w/o brekage can't be used |
cgroup_control | subsystems visibly enabled on a cgroup |
cgroup_ss_mask | subsystems enabled on a cgroup |
cgroup_e_css_by_mask | group_e_css_by_mask - obtain a cgroup's effective css for the specified ss*@cgrp: the cgroup of interest*@ss: the subsystem of interest (%NULL returns @cgrp->self)* Similar to cgroup_css() but returns the effective css, which is defined* as the matching |
cgroup_e_css | group_e_css - obtain 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 |
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 |
cgroup_update_populated | group_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last |
put_css_set_locked | |
link_css_set | link_css_set - a helper function to link a css_set to a cgroup*@tmp_links: cgrp_cset_link objects allocated by allocate_cgrp_cset_links()*@cset: the css_set to be linked*@cgrp: the destination cgroup |
cgroup_enable_threaded | group_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain. |
cgroup_addrm_files | |
cgroup_procs_write_permission | |
css_free_rwork_fn | ss destruction is four-stage process |
css_release_work_fn | |
init_and_link_css | |
css_create | |
cgroup_create | The returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied. |
cgroup_check_hierarchy_limits | |
cgroup_destroy_locked | group_destroy_locked - the first stage of cgroup destruction*@cgrp: cgroup to be destroyed* css's make use of percpu refcnts whose killing latency shouldn't be* exposed to userland and are RCU protected |
cgroup_rstat_updated | group_rstat_updated - keep track of updated rstat_cpu*@cgrp: target cgroup*@cpu: cpu on which rstat_cpu was updated*@cgrp's rstat_cpu on @cpu was updated. Put it on the parent's matching* rstat_cpu->updated_children list. See the comment on top of |
cgroup_rstat_cpu_pop_updated | group_rstat_cpu_pop_updated - iterate and dismantle rstat_cpu updated tree*@pos: current position*@root: root of the tree to traversal*@cpu: target cpu* Walks the udpated rstat_cpu tree on @cpu from @root. %NULL @pos starts |
cgroup_base_stat_flush | |
cgroup_base_stat_cputime_show | |
cgroup_propagate_frozen | Propagate the cgroup frozen state upwards by the cgroup tree. |
cgroup_bpf_release | group_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify |
hierarchy_allows_attach | parent has non-overridable prog attached,* disallow attaching new programs to the descendent cgroup.* if parent has overridable or multi-prog, allow attaching |
compute_effective_progs | mpute a chain of effective programs for a given cgroup:* start from the list of programs in this cgroup and add* all parent programs.* Note that parent's F_ALLOW_OVERRIDE-type program is yielding* to programs in this cgroup |
cgroup_bpf_inherit | group_bpf_inherit() - inherit effective programs from parent*@cgrp: the cgroup to modify |
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 |