Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:12:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_release_agent_write
Proto:static ssize_t cgroup_release_agent_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 |
| 550 | BUILD_BUG_ON - break compile if a condition is true( size of The path to use for release notifications. < # chars in a path name including nul ) |
| 555 | spin_lock( & Protects cgroup_subsys->release_agent_path. Modifying it also requires* cgroup_mutex. Reading requires either cgroup_mutex or this spinlock.) |
| 558 | spin_unlock( & Protects cgroup_subsys->release_agent_path. Modifying it also requires* cgroup_mutex. Reading requires either cgroup_mutex or this spinlock.) |
| 560 | 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 |