Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:13:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup1_show_options
Proto:static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | seq | |
struct kernfs_root * | kf_root |
852 | root = cgroup_root_from_kf(kf_root) |
856 | r_each_subsys - iterate all enabled cgroup subsystems*@ss: the iteration cursor*@ssid: the index of @ss, CGROUP_SUBSYS_COUNT after reaching the end(ss, ssid) |
859 | If Hierarchy-specific flags & CGRP_ROOT_NOPREFIX Then seq_puts(seq, ",noprefix") |
861 | If Hierarchy-specific flags & CGRP_ROOT_XATTR Then seq_puts(seq, ",xattr") |
863 | If Hierarchy-specific flags & CGRP_ROOT_CPUSET_V2_MODE Then seq_puts(seq, ",cpuset_v2_mode") |
866 | spin_lock( & Protects cgroup_subsys->release_agent_path. Modifying it also requires* cgroup_mutex. Reading requires either cgroup_mutex or this spinlock.) |
870 | spin_unlock( & Protects cgroup_subsys->release_agent_path. Modifying it also requires* cgroup_mutex. Reading requires either cgroup_mutex or this spinlock.) |
872 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then seq_puts(seq, ",clone_children") |
876 | Return 0 |
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 |