函数逻辑报告 |
Source Code:ipc\util.h |
Create Date:2022-07-27 18:14:10 |
| Last Modify:2022-05-20 10:36:20 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ipc_unlock_object
函数原型:static inline void ipc_unlock_object(struct kern_ipc_perm *perm)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kern_ipc_perm * | perm |
| 214 | 自旋锁解锁 |
| 名称 | 描述 |
|---|---|
| newque | wque - Create a new msg queue*@ns: namespace*@params: ptr to the structure that contains the key and msgflg* Called with msg_ids.rwsem held (writer) |
| freeque | que() wakes up waiters on the sender and receiver waiting queue,* removes the message queue from message queue ID IDR, and cleans up all the* messages associated with this queue.* msg_ids.rwsem (writer) and the spinlock for this message queue are held |
| msgctl_down | This function handles some msgctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| msgctl_stat | |
| do_msgsnd | |
| do_msgrcv | |
| sem_lock | If the request contains only one semaphore operation, and there are* no complex transactions pending, lock only the semaphore involved |
| sem_unlock | |
| semctl_stat | |
| shm_lock | shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held. |
| newseg | wseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer. |
| shmctl_down | This function handles some shmctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| shmctl_stat | |
| shmctl_do_lock | |
| do_shmat | Fix shmaddr, allocate descriptor, map shm, add attach descriptor to lists.* NOTE! Despite the name, this is NOT a direct system call entrypoint. The* "raddr" thing points to kernel space, and there has to be a wrapper around* this. |
| ipc_unlock |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |