Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:52:00 |
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_getsetattr
Proto:static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | mqdes | |
struct mq_attr * | new | |
struct mq_attr * | old |
1356 | If new && message queue flags & ~O_NONBLOCK Then Return -EINVAL |
1363 | If Value for the false possibility is greater at compile time(f_op != & mqueue_file_operations) Then |
1368 | inode = file_inode(file) |
1373 | If old Then |
1375 | message queue flags = f_flags & O_NONBLOCK |
1377 | If new Then |
1378 | audit_mq_getsetattr(mqdes, new) |
1380 | If message queue flags & O_NONBLOCK Then f_flags |= O_NONBLOCK |
1382 | Else f_flags &= ~O_NONBLOCK |
1386 | i_atime = i_ctime = current_time(inode) |
1389 | spin_unlock( & lock) |
1391 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | |
COMPAT_SYSCALL_DEFINE3 |
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 |