Function report |
Source Code:ipc\shm.c |
Create Date:2022-07-28 16:46:32 |
| Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held.
Proto:static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id)
Type:struct shmid_kernel
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ipc_namespace * | ns | |
| int | id |
| 189 | ipc_lock_object(ipcp) |
| 201 | ipc_unlock_object(ipcp) |
| 203 | err : |
| Name | Describe |
|---|---|
| __shm_open | |
| shm_close | |
| 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. |
| 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 |