Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:52:20 |
| Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_mqueue_fs
Proto:static int __init init_mqueue_fs(void)
Type:int
Parameter:Nothing
| 1622 | If (mqueue_inode_cachep == NULL) Then Return -ENOMEM |
| 1626 | mq_sysctl_table = mq_register_sysctl_table() |
| 1628 | error = register_filesystem( & mqueue_fs_type) |
| 1629 | If error Then Go to out_sysctl |
| 1632 | Process spin lock initialization( & mq_lock) |
| 1634 | error = mq_init_ns( & The next 2 defines are here bc this is the only file* compiled when either CONFIG_SYSVIPC and CONFIG_POSIX_MQUEUE* and not CONFIG_IPC_NS.) |
| 1635 | If error Then Go to out_filesystem |
| 1638 | Return 0 |
| 1640 | out_filesystem : |
| 1641 | unregister_filesystem( & mqueue_fs_type) |
| 1642 | out_sysctl : |
| 1643 | If mq_sysctl_table Then unregister a sysctl table hierarchy |
| 1646 | Return error |
| 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 |