Function report |
Source Code:kernel\cgroup\legacy_freezer.c |
Create Date:2022-07-28 11:14:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:freezer_write
Proto:static ssize_t freezer_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_open_file * | of | |
char * | buf | |
size_t | nbytes | |
loff_t | off |
426 | If strcmp(buf, freezer_state_strs(0)) == 0 Then freeze = false |
428 | Else if strcmp(buf, freezer_state_strs(his and its descendants frozen )) == 0 Then freeze = true |
430 | Else Return -EINVAL |
434 | Return nbytes |
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 |