函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\memcontrol.h Create Date:2022-07-27 06:56:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mem_cgroup_from_css

函数原型:static inline struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css)

返回类型:struct mem_cgroup

参数:

类型参数名称
struct cgroup_subsys_state *css
429  返回: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
调用者
名称描述
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
mem_cgroup_from_seq