| Function report | 
| Source Code: ipc\util.h | Create Date:2022-07-28 16:38:50 | 
| Last Modify:2022-05-20 10:36:20 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ipc_lock_object
Proto:static inline void ipc_lock_object(struct kern_ipc_perm *perm)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kern_ipc_perm * | perm | 
| Name | Describe | 
|---|---|
| ipc_findkey | pc_findkey - find a key in an ipc identifier set*@ids: ipc identifier set*@key: key to find* Returns the locked pointer to the ipc structure if found or NULL* otherwise. If key is found ipc points to the owning ipc structure* Called with writer ipc_ids | 
| sysvipc_find_ipc | This routine locks the ipc structure found at least at position pos. | 
| 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 | 
| semctl_stat | |
| shm_lock | shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held. | 
| shm_lock_by_ptr | |
| 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. | 
| free_ipcs | _ipcs - free all ipcs of one type*@ns: the namespace to remove the ipcs from*@ids: the table of ipcs to free*@free: the function called to free each individual ipc* Called for each kind of ipc when an ipc_namespace exits. | 
| 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 |