Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:13:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_rename - Only allow simple rename of directories in place.
Proto:static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, const char *new_name_str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_node * | kn | |
struct kernfs_node * | new_parent | |
const char * | new_name_str |
824 | If kernfs_type(kn) != KERNFS_DIR Then Return -ENOTDIR |
839 | ret = kernfs_rename(kn, new_parent, new_name_str) |
840 | If Not ret Then cgroup_path() takes a spin lock(rename, cgrp) |
847 | Return ret |
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 |