Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\memcontrol.h Create Date:2022-07-28 05:57:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mem_cgroup_from_css

Proto:static inline struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css)

Type:struct mem_cgroup

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
429  Return css ? container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(css, structmem_cgroup, css) : NULL
Caller
NameDescribe
mem_cgroup_from_task
mem_cgroup_itermem_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_force_empty_write
mem_cgroup_hierarchy_read
mem_cgroup_hierarchy_write
mem_cgroup_read_u64
mem_cgroup_writeThe user of this function is...* RES_LIMIT.
mem_cgroup_reset
mem_cgroup_move_charge_read
mem_cgroup_move_charge_write
mem_cgroup_swappiness_read
mem_cgroup_swappiness_write
mem_cgroup_oom_control_write
memcg_write_event_controlDO NOT USE IN NEW FILES.* Parse input and register new cgroup event handler.* Input must be in format ' '.* Interpretation of args is defined by control file implementation.
mem_cgroup_css_alloc
mem_cgroup_css_online
mem_cgroup_css_offline
mem_cgroup_css_released
mem_cgroup_css_free
mem_cgroup_css_resetmem_cgroup_css_reset - reset the states of a mem_cgroup*@css: the target css* Reset the states of the mem_cgroup associated with @css. This is* invoked when the userland requests disabling on the default hierarchy
mem_cgroup_can_attach
memory_current_read
memory_min_write
memory_low_write
memory_high_write
memory_max_write
memory_oom_group_write
swap_current_read
swap_max_write
vmpressure_parent