Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:51:12 |
Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_mq_open
Proto:static int do_mq_open(const char __user *u_name, int oflag, umode_t mode, struct mq_attr *attr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char __user * | u_name | |
int | oflag | |
umode_t | mode | |
struct mq_attr * | attr |
802 | root = root of the mounted tree |
808 | audit_mq_open(oflag, mode, attr) |
813 | fd = get_unused_fd_flags(O_CLOEXEC) |
814 | If fd < 0 Then Go to out_putname |
817 | ro = mnt_want_write(mnt) |
819 | dentry = lookup_one_len( pointer to actual string , root, strlen - Find the length of a string*@s: The string to be sized) |
826 | If Not error Then |
828 | If Not IS_ERR(file) Then fd_install(fd, file) |
834 | out_putfd : |
835 | If error Then |
836 | put_unused_fd(fd) |
840 | If Not ro Then mnt_drop_write(mnt) |
842 | out_putname : |
844 | Return fd |
Name | Describe |
---|---|
SYSCALL_DEFINE4 | |
COMPAT_SYSCALL_DEFINE4 |
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 |