Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kernfs_type

Proto:static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)

Type:enum kernfs_node_type

Parameter:

TypeParameterName
struct kernfs_node *kn
409  Return 0
Caller
NameDescribe
rdtgroup_kn_mode_restrictdtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
rdtgroup_kn_mode_restoredtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
kernfs_to_rdtgroupWe don't allow rdtgroup directories to be created anywhere* except the root directory
cgroup_kn_unlockgroup_kn_unlock - unlocking helper for cgroup kernfs methods*@kn: the kernfs_node being serviced* This helper undoes cgroup_kn_lock_live() and should be invoked before* the method finishes if locking succeeded
cgroup_kn_lock_livegroup_kn_lock_live - locking helper for cgroup kernfs methods*@kn: the kernfs_node being serviced*@drain_offline: perform offline draining on the cgroup* This helper is to be used by a cgroup kernfs method currently servicing*@kn
css_tryget_online_from_dirss_tryget_online_from_dir - get corresponding css from a cgroup dentry*@dentry: directory dentry of interest*@ss: subsystem of interest* If @dentry is a directory for a cgroup which has @ss enabled on it, try* to get the corresponding css and return it
cgroup_get_from_pathgroup_get_from_path - lookup and get a cgroup from its default hierarchy path*@path: path on the default hierarchy* Find the cgroup at @path on the default hierarchy, increment its* reference count and return it
cgroupstats_buildgroupstats_build - build and fill cgroupstats*@stats: cgroupstats to fill information into*@dentry: A dentry entry belonging to the cgroup for which stats have* been requested.* Build and fill cgroupstats so that taskstats can export it to user* space.
cgroup1_renamegroup_rename - Only allow simple rename of directories in place.