函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup-v1.c Create Date:2022-07-27 12:15:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup1_show_options

函数原型:static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)

返回类型:int

参数:

类型参数名称
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)
857  如果 The bitmask of subsystems attached to this hierarchy 按位与1左移ssid位则seq_show_options - display mount options with appropriate escapes.*@m: the seq_file handle*@name: the mount option name*@value: the mount option name's value, can be NULL
859  如果 Hierarchy-specific flags 按位与CGRP_ROOT_NOPREFIXseq_puts(seq, ",noprefix")
861  如果 Hierarchy-specific flags 按位与CGRP_ROOT_XATTRseq_puts(seq, ",xattr")
863  如果 Hierarchy-specific flags 按位与CGRP_ROOT_CPUSET_V2_MODEseq_puts(seq, ",cpuset_v2_mode")
866  加自旋锁
867  如果strlen - Find the length of a string*@s: The string to be sizedseq_show_options - display mount options with appropriate escapes.*@m: the seq_file handle*@name: the mount option name*@value: the mount option name's value, can be NULL
870  自旋锁解锁
872  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromseq_puts(seq, ",clone_children")
874  如果strlen - Find the length of a string*@s: The string to be sizedseq_show_options - display mount options with appropriate escapes.*@m: the seq_file handle*@name: the mount option name*@value: the mount option name's value, can be NULL
876  返回:0