Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:50:45 |
Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mqueue_create_attr
Proto:static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
umode_t | mode | |
void * | arg |
502 | If Not ipc_ns Then |
504 | Go to out_unlock |
507 | If mq_queues_count >= mq_queues_max && Not Check operation authority Then |
510 | Go to out_unlock |
512 | mq_queues_count++ |
513 | spin_unlock( & mq_lock) |
523 | put_ipc_ns(ipc_ns) |
524 | i_size += DIRENT_SIZE |
525 | i_ctime = i_mtime = i_atime = current_time(dir) |
529 | Return 0 |
530 | out_unlock : |
531 | spin_unlock( & mq_lock) |
532 | If ipc_ns Then put_ipc_ns(ipc_ns) |
534 | Return error |
Name | Describe |
---|---|
mqueue_create |
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 |