| Function report | 
| Source Code: fs\binfmt_misc.c | Create Date:2022-07-28 20:27:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bm_status_write
Proto:static ssize_t bm_status_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| const char __user * | buffer | |
| size_t | count | |
| loff_t * | ppos | 
| 783 | res = Set status of entry/binfmt_misc:* '1' enables, '0' disables and '-1' clears entry/binfmt_misc | 
| 787 | Case res == 1 | 
| 789 | enabled = 0 | 
| 790 | Break | 
| 791 | Case res == 2 | 
| 793 | enabled = 1 | 
| 794 | Break | 
| 795 | Case res == 3 | 
| 804 | Break | 
| 805 | Default | 
| 806 | Return res | 
| 809 | Return count | 
| 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 |